Lines Matching refs:txlen
59 static int dib0700_ctrl_wr(struct dvb_usb_device *d, u8 *tx, u8 txlen) in dib0700_ctrl_wr() argument
64 debug_dump(tx, txlen, deb_data); in dib0700_ctrl_wr()
67 tx[0], USB_TYPE_VENDOR | USB_DIR_OUT, 0, 0, tx, txlen, in dib0700_ctrl_wr()
70 if (status != txlen) in dib0700_ctrl_wr()
71 deb_data("ep 0 write error (status = %d, len: %d)\n",status,txlen); in dib0700_ctrl_wr()
77 int dib0700_ctrl_rd(struct dvb_usb_device *d, u8 *tx, u8 txlen, u8 *rx, u8 rxlen) in dib0700_ctrl_rd() argument
82 if (txlen < 2) { in dib0700_ctrl_rd()
86 if (txlen > 4) { in dib0700_ctrl_rd()
92 debug_dump(tx,txlen,deb_data); in dib0700_ctrl_rd()
94 value = ((txlen - 2) << 8) | tx[1]; in dib0700_ctrl_rd()
96 if (txlen > 2) in dib0700_ctrl_rd()
98 if (txlen > 3) in dib0700_ctrl_rd()