Lines Matching refs:value
100 static int __az6007_read(struct usb_device *udev, u8 req, u16 value, in __az6007_read() argument
109 value, index, b, blen, 5000); in __az6007_read()
117 req, value, index); in __az6007_read()
125 static int az6007_read(struct dvb_usb_device *d, u8 req, u16 value, in az6007_read() argument
134 ret = __az6007_read(d->udev, req, value, index, b, blen); in az6007_read()
141 static int __az6007_write(struct usb_device *udev, u8 req, u16 value, in __az6007_write() argument
148 req, value, index); in __az6007_write()
163 value, index, b, blen, 5000); in __az6007_write()
172 static int az6007_write(struct dvb_usb_device *d, u8 req, u16 value, in az6007_write() argument
181 ret = __az6007_write(d->udev, req, value, index, b, blen); in az6007_write()
257 u16 value; in az6007_ci_read_attribute_mem() local
272 value = address; in az6007_ci_read_attribute_mem()
276 ret = az6007_read(d, req, value, index, b, blen); in az6007_ci_read_attribute_mem()
292 u8 value) in az6007_ci_write_attribute_mem() argument
310 index = value; in az6007_ci_write_attribute_mem()
330 u16 value; in az6007_ci_read_cam_control() local
345 value = address; in az6007_ci_read_cam_control()
349 ret = az6007_read(d, req, value, index, b, blen); in az6007_ci_read_cam_control()
358 pr_debug("read cam data = %x from 0x%x\n", b[1], value); in az6007_ci_read_cam_control()
369 u8 value) in az6007_ci_write_cam_control() argument
386 index = value; in az6007_ci_write_cam_control()
406 u16 value; in CI_CamReady() local
416 value = 0; in CI_CamReady()
420 ret = az6007_read(d, req, value, index, b, blen); in CI_CamReady()
438 u16 value; in az6007_ci_slot_reset() local
445 value = 1; in az6007_ci_slot_reset()
449 ret = az6007_write(d, req, value, index, NULL, blen); in az6007_ci_slot_reset()
457 value = 0; in az6007_ci_slot_reset()
461 ret = az6007_write(d, req, value, index, NULL, blen); in az6007_ci_slot_reset()
494 u16 value; in az6007_ci_slot_ts_enable() local
501 value = 1; in az6007_ci_slot_ts_enable()
505 ret = az6007_write(d, req, value, index, NULL, blen); in az6007_ci_slot_ts_enable()
522 u16 value; in az6007_ci_poll_slot_status() local
533 value = 0; in az6007_ci_poll_slot_status()
537 ret = az6007_read(d, req, value, index, b, blen); in az6007_ci_poll_slot_status()
751 u16 value; in az6007_i2c_xfer() local
775 value = addr | (1 << 8); in az6007_i2c_xfer()
778 ret = __az6007_read(d->udev, req, value, index, in az6007_i2c_xfer()
797 value = addr | (1 << 8); in az6007_i2c_xfer()
802 ret = __az6007_write(d->udev, req, value, index, in az6007_i2c_xfer()
815 value = addr; in az6007_i2c_xfer()
818 ret = __az6007_read(d->udev, req, value, index, in az6007_i2c_xfer()