Home
last modified time | relevance | path

Searched refs:i2c_write (Results 1 – 25 of 26) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/media/usb/gspca/
Dvc032x.c3055 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 …]
Dsq930x.c479 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 …]
Dzc3xx.c5590 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 …]
Dspca561.c326 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/
Dtest-drm_dp_mst_helper.c102 #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/
Dcthw20k1.c1376 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/
Dddbridge-i2c.h44 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/
Ddc_link.c1862 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/
Dstv6111.c318 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()
Dtda18271c2dd.c112 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()
Ddrxd_hard.c189 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()
Dmxl5xx.c129 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()
Ddrxk_hard.c226 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/
Di2c-au1550.c185 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()
Di2c-amd-mp2-plat.c107 i2c_common->reqcmd == i2c_write) && in i2c_amd_check_cmd_completion()
148 amd_mp2_rw(i2c_common, i2c_write); in i2c_amd_xfer_msg()
Di2c-amd-mp2.h48 i2c_write, enumerator
Di2c-amd-mp2-pci.c97 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/
Dqsfp.h232 int i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr,
Dqsfp.c335 int i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_write() function
Ddebugfs.c791 total_written = i2c_write(ppd, target, i2c_addr, offset, buff, count); in __i2c_debugfs_write()
/kernel/linux/linux-5.10/include/trace/events/
Di2c.h25 TRACE_EVENT_FN(i2c_write,
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_dp_mst_topology.c422 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/
Ddrm_dp_mst_helper.h461 struct drm_dp_remote_i2c_write i2c_write; member
/kernel/linux/linux-5.10/drivers/media/pci/ngene/
Dngene-cards.c54 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/
Dcb_pcidas64.c1690 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()

12