Lines Matching +full:4 +full:- +full:temp
1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * TBS 6920 PCIe DVB-S2 cards.
9 * GPIO0 - data - P0.3 F300
10 * GPIO1 - reset - P0.2 F300
11 * GPIO2 - clk - P0.1 F300
12 * GPIO3 - busy - P0.0 F300
18 #include "cx23885-f300.h"
75 struct cx23885_tsport *port = fe->dvb->priv; in f300_xfer()
76 struct cx23885_dev *dev = port->dev; in f300_xfer()
77 u8 i, temp, ret = 0; in f300_xfer() local
79 temp = buf[0]; in f300_xfer()
81 temp += buf[i + 1]; in f300_xfer()
82 temp = (~temp + 1);/* get check sum */ in f300_xfer()
83 buf[1 + buf[0]] = temp; in f300_xfer()
98 temp = buf[0]; in f300_xfer()
99 temp += 2; in f300_xfer()
100 for (i = 0; i < temp; i++) in f300_xfer()
107 temp = 0; in f300_xfer()
108 for (i = 0; ((i < 8) & (temp == 0)); i++) { in f300_xfer()
111 temp = 1; in f300_xfer()
123 temp = f300_get_byte(dev);/*get the data length */ in f300_xfer()
124 if (temp > 14) in f300_xfer()
125 temp = 14; in f300_xfer()
127 for (i = 0; i < (temp + 1); i++) in f300_xfer()
148 buf[4] = 0x02;/* B port, H/V */ in f300_set_voltage()
153 buf[4] = 0x02; in f300_set_voltage()
158 buf[4] = 0x00; in f300_set_voltage()