Lines Matching +defs:val +defs:buf

95 static int anysee_read_reg(struct dvb_usb_device *d, u16 reg, u8 *val)  in anysee_read_reg()
97 u8 buf[] = {CMD_REG_READ, reg >> 8, reg & 0xff, 0x01}; in anysee_read_reg() local
104 static int anysee_write_reg(struct dvb_usb_device *d, u16 reg, u8 val) in anysee_write_reg()
106 u8 buf[] = {CMD_REG_WRITE, reg >> 8, reg & 0xff, 0x01, val}; in anysee_write_reg() local
112 static int anysee_wr_reg_mask(struct dvb_usb_device *d, u16 reg, u8 val, in anysee_wr_reg_mask()
133 static int anysee_rd_reg_mask(struct dvb_usb_device *d, u16 reg, u8 *val, in anysee_rd_reg_mask()
157 u8 buf[] = {CMD_GET_HW_INFO}; in anysee_get_hw_info() local
163 u8 buf[] = {CMD_STREAMING_CTRL, (u8)onoff, 0x00}; in anysee_streaming_ctrl() local
170 u8 buf[] = {CMD_LED_AND_IR_CTRL, 0x01, mode, interval}; in anysee_led_ctrl() local
178 u8 buf[] = {CMD_LED_AND_IR_CTRL, 0x02, onoff}; in anysee_ir_ctrl() local
189 u8 buf[52]; /* 4 + 48 (I2C WR USB command header + I2C WR max) */ in anysee_master_xfer() local
1108 u8 buf[] = {CMD_GET_IR_CODE}; in anysee_rc_query() local
1151 u8 buf[] = {CMD_CI, 0x02, 0x40 | addr >> 8, addr & 0xff, 0x00, 1}; in anysee_ci_read_attribute_mem() local
1152 u8 val; in anysee_ci_read_attribute_mem() local
1162 int addr, u8 val) in anysee_ci_write_attribute_mem()
1165 u8 buf[] = {CMD_CI, 0x03, 0x40 | addr >> 8, addr & 0xff, 0x00, 1, val}; in anysee_ci_write_attribute_mem() local
1175 u8 buf[] = {CMD_CI, 0x04, 0x40, addr, 0x00, 1}; in anysee_ci_read_cam_control() local
1176 u8 val; in anysee_ci_read_cam_control() local
1186 u8 addr, u8 val) in anysee_ci_write_cam_control()
1189 u8 buf[] = {CMD_CI, 0x05, 0x40, addr, 0x00, 1, val}; in anysee_ci_write_cam_control() local