Lines Matching refs:obuf
26 u8 obuf[DVBSKY_BUF_LEN]; member
47 memcpy(state->obuf, wbuf, wlen); in dvbsky_usb_generic_rw()
49 ret = dvb_usbv2_generic_rw_locked(d, state->obuf, wlen, in dvbsky_usb_generic_rw()
67 memcpy(state->obuf, obuf_pre, 3); in dvbsky_stream_ctrl()
68 ret = dvb_usbv2_generic_write_locked(d, state->obuf, 3); in dvbsky_stream_ctrl()
71 memcpy(state->obuf, obuf_post, 3); in dvbsky_stream_ctrl()
72 ret = dvb_usbv2_generic_write_locked(d, state->obuf, 3); in dvbsky_stream_ctrl()
89 u8 obuf[3], ibuf[2]; in dvbsky_gpio_ctrl() local
91 obuf[0] = 0x0e; in dvbsky_gpio_ctrl()
92 obuf[1] = gport; in dvbsky_gpio_ctrl()
93 obuf[2] = value; in dvbsky_gpio_ctrl()
94 ret = dvbsky_usb_generic_rw(d, obuf, 3, ibuf, 1); in dvbsky_gpio_ctrl()
104 u8 ibuf[64], obuf[64]; in dvbsky_i2c_xfer() local
126 obuf[0] = 0x09; in dvbsky_i2c_xfer()
127 obuf[1] = 0; in dvbsky_i2c_xfer()
128 obuf[2] = msg[0].len; in dvbsky_i2c_xfer()
129 obuf[3] = msg[0].addr; in dvbsky_i2c_xfer()
130 ret = dvbsky_usb_generic_rw(d, obuf, 4, in dvbsky_i2c_xfer()
136 obuf[0] = 0x08; in dvbsky_i2c_xfer()
137 obuf[1] = msg[0].addr; in dvbsky_i2c_xfer()
138 obuf[2] = msg[0].len; in dvbsky_i2c_xfer()
139 memcpy(&obuf[3], msg[0].buf, msg[0].len); in dvbsky_i2c_xfer()
140 ret = dvbsky_usb_generic_rw(d, obuf, in dvbsky_i2c_xfer()
152 obuf[0] = 0x09; in dvbsky_i2c_xfer()
153 obuf[1] = msg[0].len; in dvbsky_i2c_xfer()
154 obuf[2] = msg[1].len; in dvbsky_i2c_xfer()
155 obuf[3] = msg[0].addr; in dvbsky_i2c_xfer()
156 memcpy(&obuf[4], msg[0].buf, msg[0].len); in dvbsky_i2c_xfer()
157 ret = dvbsky_usb_generic_rw(d, obuf, in dvbsky_i2c_xfer()
182 u8 obuf[2], ibuf[2], toggle; in dvbsky_rc_query() local
185 obuf[0] = 0x10; in dvbsky_rc_query()
186 ret = dvbsky_usb_generic_rw(d, obuf, 1, ibuf, 2); in dvbsky_rc_query()
235 u8 obuf[] = { 0x1e, 0x00 }; in dvbsky_read_mac_addr() local
241 .buf = obuf, in dvbsky_read_mac_addr()