Lines Matching refs:chn

48 	unsigned short chn, int book)  in tasdevice_change_chn_book()  argument
53 if (chn < tas_priv->ndev) { in tasdevice_change_chn_book()
54 struct tasdevice *tasdev = &tas_priv->tasdevice[chn]; in tasdevice_change_chn_book()
84 chn); in tasdevice_change_chn_book()
92 unsigned short chn, unsigned int reg, unsigned int *val) in tasdevice_dev_read() argument
96 if (chn < tas_priv->ndev) { in tasdevice_dev_read()
99 ret = tasdevice_change_chn_book(tas_priv, chn, in tasdevice_dev_read()
110 chn); in tasdevice_dev_read()
119 unsigned short chn, unsigned int reg, unsigned int value) in tasdevice_dev_write() argument
123 if (chn < tas_priv->ndev) { in tasdevice_dev_write()
126 ret = tasdevice_change_chn_book(tas_priv, chn, in tasdevice_dev_write()
138 chn); in tasdevice_dev_write()
147 struct tasdevice_priv *tas_priv, unsigned short chn, in tasdevice_dev_bulk_write() argument
153 if (chn < tas_priv->ndev) { in tasdevice_dev_bulk_write()
156 ret = tasdevice_change_chn_book(tas_priv, chn, in tasdevice_dev_bulk_write()
168 chn); in tasdevice_dev_bulk_write()
177 unsigned short chn, unsigned int reg, unsigned char *data, in tasdevice_dev_bulk_read() argument
182 if (chn < tas_priv->ndev) { in tasdevice_dev_bulk_read()
185 ret = tasdevice_change_chn_book(tas_priv, chn, in tasdevice_dev_bulk_read()
195 chn); in tasdevice_dev_bulk_read()
203 struct tasdevice_priv *tas_priv, unsigned short chn, in tasdevice_dev_update_bits() argument
208 if (chn < tas_priv->ndev) { in tasdevice_dev_update_bits()
211 ret = tasdevice_change_chn_book(tas_priv, chn, in tasdevice_dev_update_bits()
222 chn); in tasdevice_dev_update_bits()