/kernel/linux/linux-5.10/drivers/media/usb/gspca/ |
D | vc032x.c | 3055 static void i2c_write(struct gspca_dev *gspca_dev, in i2c_write() function 3111 i2c_write(gspca_dev, data[i][1], &data[i][2], 1); in usb_exchange() 3114 i2c_write(gspca_dev, data[i][0], &data[i][1], 2); in usb_exchange() 3264 i2c_write(gspca_dev, 0x98, &data, 1); in setbrightness() 3269 i2c_write(gspca_dev, 0x99, &val, 1); in setcontrast() 3277 i2c_write(gspca_dev, 0x94, &data, 1); in setcolors() 3278 i2c_write(gspca_dev, 0x95, &val, 1); in setcolors() 3295 i2c_write(gspca_dev, 0xf0, data, 2); in sethvflip() 3299 i2c_write(gspca_dev, 0x20, data, 2); in sethvflip() 3306 i2c_write(gspca_dev, OV7660_REG_MVFP, data, 1); in sethvflip() [all …]
|
D | sq930x.c | 479 static void i2c_write(struct sd *sd, in i2c_write() function 964 i2c_write(sd, mi0360_init_23, in sd_start() 966 i2c_write(sd, mi0360_init_24, in sd_start() 968 i2c_write(sd, mi0360_init_25, in sd_start() 973 i2c_write(sd, mi0360_start_2, in sd_start() 975 i2c_write(sd, mi0360_start_3, in sd_start() 983 i2c_write(sd, in sd_start() 991 i2c_write(sd, mt9v111_init_0, in sd_start() 993 i2c_write(sd, mt9v111_init_1, in sd_start() 995 i2c_write(sd, mt9v111_init_2, in sd_start() [all …]
|
D | zc3xx.c | 5590 static u8 i2c_write(struct gspca_dev *gspca_dev, in i2c_write() function 5622 i2c_write(gspca_dev, in usb_exchange() 5628 i2c_write(gspca_dev, in usb_exchange() 5788 i2c_write(gspca_dev, 0x25, val >> 9, 0x00); in setexposure() 5789 i2c_write(gspca_dev, 0x26, val >> 1, 0x00); in setexposure() 5790 i2c_write(gspca_dev, 0x27, val << 7, 0x00); in setexposure() 5793 i2c_write(gspca_dev, 0x10, val, 0x00); in setexposure() 5929 i2c_write(gspca_dev, 0x13, val ? 0xa3 : 0x80, 0x00); in setautogain() 6067 i2c_write(gspca_dev, 0x01, 0xaa, 0x00); in vga_2wr_probe() 6073 i2c_write(gspca_dev, 0x01, 0xaa, 0x00); in vga_2wr_probe() [all …]
|
D | spca561.c | 326 static void i2c_write(struct gspca_dev *gspca_dev, __u16 value, __u16 reg) in i2c_write() function 377 i2c_write(gspca_dev, (*sensor)[1], (*sensor)[0]); in write_sensor_72a() 689 i2c_write(gspca_dev, gainG, 0x35); in do_autogain() 695 i2c_write(gspca_dev, expotimes | pixelclk, 0x09); in do_autogain()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/ |
D | test-drm_dp_mst_helper.c | 102 #define IN in->u.i2c_write in sideband_msg_req_equal() 103 #define OUT out->u.i2c_write in sideband_msg_req_equal() 153 kfree(out.u.i2c_write.bytes); in sideband_msg_req_encode_decode() 234 in.u.i2c_write.port_number = 0xf; in igt_dp_mst_sideband_msg_req_decode() 236 in.u.i2c_write.write_i2c_device_id = 0x7f; in igt_dp_mst_sideband_msg_req_decode() 238 in.u.i2c_write.num_bytes = ARRAY_SIZE(data); in igt_dp_mst_sideband_msg_req_decode() 239 in.u.i2c_write.bytes = data; in igt_dp_mst_sideband_msg_req_decode()
|
/kernel/linux/linux-5.10/sound/pci/ctxfi/ |
D | cthw20k1.c | 1376 static void i2c_write(struct hw *hw, u32 device, u32 addr, u32 data) in i2c_write() function 1414 i2c_write(hw, 0x00180080, 0x01, 0x80); in hw_reset_dac() 1415 i2c_write(hw, 0x00180080, 0x02, 0x10); in hw_reset_dac() 1467 i2c_write(hw, 0x00180080, 0x06, data); in hw_dac_init() 1468 i2c_write(hw, 0x00180080, 0x09, data); in hw_dac_init() 1469 i2c_write(hw, 0x00180080, 0x0c, data); in hw_dac_init() 1470 i2c_write(hw, 0x00180080, 0x0f, data); in hw_dac_init() 1618 i2c_write(hw, 0x001a0080, 0x2a, i2c_data); in adc_input_select_SBx() 1620 i2c_write(hw, 0x001a0080, 0x1c, 0xe7); /* +12dB boost */ in adc_input_select_SBx() 1621 i2c_write(hw, 0x001a0080, 0x1e, 0xe7); /* +12dB boost */ in adc_input_select_SBx() [all …]
|
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/ |
D | ddbridge-i2c.h | 44 static int __maybe_unused i2c_write(struct i2c_adapter *adap, u8 adr, in i2c_write() function 89 return i2c_write(adap, adr, msg, 3); in i2c_write_reg16() 97 return i2c_write(adap, adr, msg, 2); in i2c_write_reg()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link.c | 1862 static bool i2c_write(struct pipe_ctx *pipe_ctx, in i2c_write() function 1913 i2c_success = i2c_write(pipe_ctx, slave_address, in write_i2c_retimer_setting() 1944 i2c_success = i2c_write(pipe_ctx, slave_address, in write_i2c_retimer_setting() 1963 i2c_success = i2c_write(pipe_ctx, slave_address, in write_i2c_retimer_setting() 1994 i2c_success = i2c_write(pipe_ctx, slave_address, in write_i2c_retimer_setting() 2012 i2c_success = i2c_write(pipe_ctx, slave_address, in write_i2c_retimer_setting() 2023 i2c_success = i2c_write(pipe_ctx, slave_address, in write_i2c_retimer_setting() 2034 i2c_success = i2c_write(pipe_ctx, slave_address, in write_i2c_retimer_setting() 2066 i2c_success = i2c_write(pipe_ctx, slave_address, in write_i2c_default_retimer_setting() 2077 i2c_success = i2c_write(pipe_ctx, slave_address, in write_i2c_default_retimer_setting() [all …]
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
D | stv6111.c | 318 static int i2c_write(struct i2c_adapter *adap, u8 adr, u8 *data, int len) in i2c_write() function 336 return i2c_write(state->i2c, state->adr, d, len + 1); in write_regs() 343 return i2c_write(state->i2c, state->adr, d, 2); in write_reg()
|
D | tda18271c2dd.c | 112 static int i2c_write(struct i2c_adapter *adap, u8 adr, u8 *data, int len) in i2c_write() function 138 return i2c_write(state->i2c, state->adr, data, nRegs + 1); in WriteRegs() 145 return i2c_write(state->i2c, state->adr, msg, 2); in WriteReg()
|
D | drxd_hard.c | 189 static int i2c_write(struct i2c_adapter *adap, u8 adr, u8 * data, int len) in i2c_write() function 263 if (i2c_write(state->i2c, adr, mm, 6) < 0) in Write16() 277 if (i2c_write(state->i2c, adr, mm, 8) < 0) in Write32() 293 if (i2c_write(state->i2c, adr, mm, 4 + len) < 0) { in write_chunk()
|
D | mxl5xx.c | 129 static int i2c_write(struct i2c_adapter *adap, u8 adr, in i2c_write() function 154 return i2c_write(state->base->i2c, state->base->adr, data, len); in i2cwrite()
|
D | drxk_hard.c | 226 static int i2c_write(struct drxk_state *state, u8 adr, u8 *data, int len) in i2c_write() function 373 return i2c_write(state, adr, mm, len + 2); in write16_flags() 404 return i2c_write(state, adr, mm, len + 4); in write32_flags() 451 status = i2c_write(state, state->demod_address, in write_block() 481 status = i2c_write(state, state->demod_address, in power_up_device()
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-au1550.c | 185 static int i2c_write(struct i2c_au1550_data *adap, unsigned char *buf, in i2c_write() function 230 err = i2c_write(adap, p->buf, p->len); in au1550_xfer()
|
D | i2c-amd-mp2-plat.c | 107 i2c_common->reqcmd == i2c_write) && in i2c_amd_check_cmd_completion() 148 amd_mp2_rw(i2c_common, i2c_write); in i2c_amd_xfer_msg()
|
D | i2c-amd-mp2.h | 48 i2c_write, enumerator
|
D | i2c-amd-mp2-pci.c | 97 if (reqcmd == i2c_write) in amd_mp2_rw() 162 case i2c_write: in __amd_mp2_process_event()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | qsfp.h | 232 int i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr,
|
D | qsfp.c | 335 int i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_write() function
|
D | debugfs.c | 791 total_written = i2c_write(ppd, target, i2c_addr, offset, buff, count); in __i2c_debugfs_write()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | i2c.h | 25 TRACE_EVENT_FN(i2c_write,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_dp_mst_topology.c | 422 buf[idx] = (req->u.i2c_write.port_number & 0xf) << 4; in drm_dp_encode_sideband_req() 424 buf[idx] = (req->u.i2c_write.write_i2c_device_id) & 0x7f; in drm_dp_encode_sideband_req() 426 buf[idx] = (req->u.i2c_write.num_bytes); in drm_dp_encode_sideband_req() 428 memcpy(&buf[idx], req->u.i2c_write.bytes, req->u.i2c_write.num_bytes); in drm_dp_encode_sideband_req() 429 idx += req->u.i2c_write.num_bytes; in drm_dp_encode_sideband_req() 564 struct drm_dp_remote_i2c_write *w = &req->u.i2c_write; in drm_dp_decode_sideband_req() 662 req->u.i2c_write.port_number, in drm_dp_dump_sideband_msg_req_body() 663 req->u.i2c_write.write_i2c_device_id, in drm_dp_dump_sideband_msg_req_body() 664 req->u.i2c_write.num_bytes, req->u.i2c_write.num_bytes, in drm_dp_dump_sideband_msg_req_body() 665 req->u.i2c_write.bytes); in drm_dp_dump_sideband_msg_req_body() [all …]
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_dp_mst_helper.h | 461 struct drm_dp_remote_i2c_write i2c_write; member
|
/kernel/linux/linux-5.10/drivers/media/pci/ngene/ |
D | ngene-cards.c | 54 static int i2c_write(struct i2c_adapter *adap, u8 adr, u8 *data, int len) in i2c_write() function 67 return i2c_write(adap, adr, msg, 2); in i2c_write_reg()
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
D | cb_pcidas64.c | 1690 static void i2c_write(struct comedi_device *dev, unsigned int address, in i2c_write() function 1843 i2c_write(dev, RANGE_CAL_I2C_ADDR, &i2c_data, in ai_rinsn() 2523 i2c_write(dev, RANGE_CAL_I2C_ADDR, &i2c_data, in setup_channel_queue() 3606 i2c_write(dev, i2c_addr, serial_bytes, 3); in caldac_i2c_write() 3827 i2c_write(dev, RANGE_CAL_I2C_ADDR, &data, sizeof(data)); in setup_subdevices()
|