Home
last modified time | relevance | path

Searched refs:i2c_addr (Results 1 – 25 of 142) sorted by relevance

123456

/linux-5.19.10/drivers/media/dvb-frontends/
Dlnbp21.c27 u8 i2c_addr; member
34 struct i2c_msg msg = { .addr = lnbp21->i2c_addr, .flags = 0, in lnbp21_set_voltage()
62 struct i2c_msg msg = { .addr = lnbp21->i2c_addr, .flags = 0, in lnbp21_enable_high_lnb_voltage()
81 struct i2c_msg msg = { .addr = lnbp21->i2c_addr, .flags = 0, in lnbp21_set_tone()
114 u8 override_clear, u8 i2c_addr, u8 config) in lnbx2x_attach() argument
123 lnbp21->i2c_addr = i2c_addr; in lnbx2x_attach()
146 printk(KERN_INFO "LNBx2x attached on addr=%x\n", lnbp21->i2c_addr); in lnbx2x_attach()
153 u8 override_clear, u8 i2c_addr) in lnbh24_attach() argument
156 i2c_addr, LNBH24_TTX); in lnbh24_attach()
Disl6421.c26 u8 i2c_addr; member
39 .addr = isl6421->i2c_addr, in isl6421_set_voltage()
44 .addr = isl6421->i2c_addr, in isl6421_set_voltage()
127 struct i2c_msg msg = { .addr = isl6421->i2c_addr, .flags = 0, in isl6421_enable_high_lnb_voltage()
146 struct i2c_msg msg = { .addr = isl6421->i2c_addr, .flags = 0, in isl6421_set_tone()
177 struct dvb_frontend *isl6421_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, u8 i2c_addr, in isl6421_attach() argument
187 isl6421->i2c_addr = i2c_addr; in isl6421_attach()
Disl6405.c26 u8 i2c_addr; member
33 struct i2c_msg msg = { .addr = isl6405->i2c_addr, .flags = 0, in isl6405_set_voltage()
75 struct i2c_msg msg = { .addr = isl6405->i2c_addr, .flags = 0, in isl6405_enable_high_lnb_voltage()
107 u8 i2c_addr, u8 override_set, u8 override_clear) in isl6405_attach() argument
119 isl6405->i2c_addr = i2c_addr; in isl6405_attach()
Dzl10039.c34 u8 i2c_addr; member
64 .addr = state->i2c_addr, in zl10039_read()
69 .addr = state->i2c_addr, in zl10039_read()
92 .addr = state->i2c_addr, in zl10039_write()
252 u8 i2c_addr, struct i2c_adapter *i2c) in zl10039_attach() argument
262 state->i2c_addr = i2c_addr; in zl10039_attach()
292 dprintk("Tuner attached @ i2c address 0x%02x\n", i2c_addr); in zl10039_attach()
Ddibx000_common.c35 mst->msg[0].addr = mst->i2c_addr; in dibx000_write_word()
59 mst->msg[0].addr = mst->i2c_addr; in dibx000_read_word()
63 mst->msg[1].addr = mst->i2c_addr; in dibx000_read_word()
308 mst->msg[0].addr = mst->i2c_addr; in dibx000_i2c_gated_gpio67_xfer()
316 mst->msg[num + 1].addr = mst->i2c_addr; in dibx000_i2c_gated_gpio67_xfer()
354 mst->msg[0].addr = mst->i2c_addr; in dibx000_i2c_gated_tuner_xfer()
362 mst->msg[num + 1].addr = mst->i2c_addr; in dibx000_i2c_gated_tuner_xfer()
414 struct i2c_msg m = {.addr = mst->i2c_addr,.buf = tx,.len = 4 }; in dibx000_reset_i2c_master()
438 struct i2c_adapter *i2c_adap, u8 i2c_addr) in dibx000_init_i2c_master() argument
448 mst->msg[0].addr = i2c_addr >> 1; in dibx000_init_i2c_master()
[all …]
Ds921.c199 u8 i2c_addr, int reg, int data) in s921_i2c_writereg() argument
203 .addr = i2c_addr, .flags = 0, .buf = buf, .len = 2 in s921_i2c_writereg()
217 static int s921_i2c_writeregdata(struct s921_state *state, u8 i2c_addr, in s921_i2c_writeregdata() argument
223 rc = s921_i2c_writereg(state, i2c_addr, rd[i].reg, rd[i].data); in s921_i2c_writeregdata()
230 static int s921_i2c_readreg(struct s921_state *state, u8 i2c_addr, u8 reg) in s921_i2c_readreg() argument
235 { .addr = i2c_addr, .flags = 0, .buf = &reg, .len = 1 }, in s921_i2c_readreg()
236 { .addr = i2c_addr, .flags = I2C_M_RD, .buf = &val, .len = 1 } in s921_i2c_readreg()
Dzl10039.h14 u8 i2c_addr,
18 u8 i2c_addr, in zl10039_attach() argument
Ddib3000mc.c39 u8 i2c_addr; member
56 { .addr = state->i2c_addr >> 1, .flags = 0, .len = 2 }, in dib3000mc_read_word()
57 { .addr = state->i2c_addr >> 1, .flags = I2C_M_RD, .len = 2 }, in dib3000mc_read_word()
86 .addr = state->i2c_addr >> 1, .flags = 0, .len = 4 in dib3000mc_write_word()
875 dmcst->i2c_addr = new_addr; in dib3000mc_i2c_enumeration()
877 dmcst->i2c_addr = default_addr; in dib3000mc_i2c_enumeration()
889 dmcst->i2c_addr = new_addr; in dib3000mc_i2c_enumeration()
894 dmcst->i2c_addr = DIB3000MC_I2C_ADDRESS[k]; in dib3000mc_i2c_enumeration()
896 dib3000mc_write_word(dmcst, 1024, dmcst->i2c_addr << 3); in dib3000mc_i2c_enumeration()
909 struct dvb_frontend * dib3000mc_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, struct dib3000mc_… in dib3000mc_attach() argument
[all …]
Disl6421.h27 … struct dvb_frontend *isl6421_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, u8 i2c_addr,
30 … struct dvb_frontend *isl6421_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, u8 i2c_addr, in isl6421_attach() argument
Dlnbh24.h29 u8 override_clear, u8 i2c_addr);
33 u8 override_clear, u8 i2c_addr) in lnbh24_attach() argument
Disl6405.h46 u8 i2c_addr, u8 override_set, u8 override_clear);
49 struct i2c_adapter *i2c, u8 i2c_addr, in isl6405_attach() argument
/linux-5.19.10/drivers/media/usb/pvrusb2/
Dpvrusb2-i2c-core.c40 u8 i2c_addr, /* I2C address we're talking to */ in pvr2_i2c_write() argument
52 i2c_addr, in pvr2_i2c_write()
64 hdw->cmd_buffer[1] = i2c_addr; /* i2c addr of chip */ in pvr2_i2c_write()
79 i2c_addr,hdw->cmd_buffer[0]); in pvr2_i2c_write()
90 u8 i2c_addr, /* I2C address we're talking to */ in pvr2_i2c_read() argument
104 i2c_addr, in pvr2_i2c_read()
111 i2c_addr, in pvr2_i2c_read()
126 hdw->cmd_buffer[3] = i2c_addr; /* i2c addr of chip */ in pvr2_i2c_read()
140 i2c_addr,hdw->cmd_buffer[0]); in pvr2_i2c_read()
163 u8 i2c_addr, in pvr2_i2c_basic_op() argument
[all …]
/linux-5.19.10/drivers/media/tuners/
Dtea5761.h12 extern int tea5761_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr);
16 u8 i2c_addr);
19 u8 i2c_addr) in tea5761_autodetection() argument
28 u8 i2c_addr) in tea5761_attach() argument
Dtea5767.h31 extern int tea5767_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr);
35 u8 i2c_addr);
38 u8 i2c_addr) in tea5767_autodetection() argument
47 u8 i2c_addr) in tea5767_attach() argument
Dtda8290.h30 extern int tda829x_probe(struct i2c_adapter *i2c_adap, u8 i2c_addr);
34 u8 i2c_addr,
37 static inline int tda829x_probe(struct i2c_adapter *i2c_adap, u8 i2c_addr) in tda829x_probe() argument
45 u8 i2c_addr, in tda829x_attach() argument
Dtea5761.c262 int tea5761_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr) in tea5761_autodetection() argument
266 struct tuner_i2c_props i2c = { .adap = i2c_adap, .addr = i2c_addr }; in tea5761_autodetection()
311 u8 i2c_addr) in tea5761_attach() argument
315 if (tea5761_autodetection(i2c_adap, i2c_addr) != 0) in tea5761_attach()
323 priv->i2c_props.addr = i2c_addr; in tea5761_attach()
Dmt20xx.h14 u8 i2c_addr);
18 u8 i2c_addr) in microtune_attach() argument
Dtda9887.h15 u8 i2c_addr);
19 u8 i2c_addr) in tda9887_attach() argument
Dtuner-simple.h14 u8 i2c_addr,
19 u8 i2c_addr, in simple_tuner_attach() argument
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_i2c.c351 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port()
355 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port()
358 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port()
363 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port()
380 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_cd_port()
384 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_cd_port()
387 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_cd_port()
392 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_cd_port()
/linux-5.19.10/drivers/i2c/busses/
Di2c-cpm.c107 u16 i2c_addr; member
458 cpm->i2c_addr = in_be16(&cpm->i2c_ram->rpbase); in cpm_i2c_setup()
464 if (cpm->i2c_addr) { in cpm_i2c_setup()
465 cpm->i2c_ram = cpm_muram_addr(cpm->i2c_addr); in cpm_i2c_setup()
472 cpm->i2c_addr = cpm_muram_alloc(sizeof(struct i2c_ram), 64); in cpm_i2c_setup()
473 cpm->i2c_ram = cpm_muram_addr(cpm->i2c_addr); in cpm_i2c_setup()
474 out_be16(i2c_base, cpm->i2c_addr); in cpm_i2c_setup()
552 cpm->i2c_ram, cpm->i2c_addr, cpm->freq); in cpm_i2c_setup()
594 if ((cpm->version == 1) && (!cpm->i2c_addr)) in cpm_i2c_setup()
597 cpm_muram_free(cpm->i2c_addr); in cpm_i2c_setup()
[all …]
/linux-5.19.10/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_acpi.c106 u32 i2c_addr = 0; in inv_mpu_process_acpi_config() local
116 acpi_i2c_check_resource, &i2c_addr); in inv_mpu_process_acpi_config()
121 *primary_addr = i2c_addr & 0x0000ffff; in inv_mpu_process_acpi_config()
122 *secondary_addr = (i2c_addr & 0xffff0000) >> 16; in inv_mpu_process_acpi_config()
/linux-5.19.10/drivers/mfd/
Dintel_soc_pmic_bxtwc.c278 int i2c_addr; in regmap_ipc_byte_reg_read() local
287 i2c_addr = (reg & REG_ADDR_MASK) >> REG_ADDR_SHIFT; in regmap_ipc_byte_reg_read()
289 i2c_addr = BXTWC_DEVICE1_ADDR; in regmap_ipc_byte_reg_read()
294 ipc_in[1] = i2c_addr; in regmap_ipc_byte_reg_read()
309 int i2c_addr; in regmap_ipc_byte_reg_write() local
317 i2c_addr = (reg & REG_ADDR_MASK) >> REG_ADDR_SHIFT; in regmap_ipc_byte_reg_write()
319 i2c_addr = BXTWC_DEVICE1_ADDR; in regmap_ipc_byte_reg_write()
324 ipc_in[1] = i2c_addr; in regmap_ipc_byte_reg_write()
/linux-5.19.10/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_shub.c42 .i2c_addr = { 0x1e },
93 .i2c_addr = { 0x1e },
730 u8 i2c_addr, const char *name) in st_lsm6dsx_shub_alloc_iiodev() argument
751 sensor->ext_info.addr = i2c_addr; in st_lsm6dsx_shub_alloc_iiodev()
822 st_lsm6dsx_shub_check_wai(struct st_lsm6dsx_hw *hw, u8 *i2c_addr, in st_lsm6dsx_shub_check_wai() argument
840 for (i = 0; i < ARRAY_SIZE(settings->i2c_addr); i++) { in st_lsm6dsx_shub_check_wai()
841 if (!settings->i2c_addr[i]) in st_lsm6dsx_shub_check_wai()
845 config[0] = (settings->i2c_addr[i] << 1) | 0x1; in st_lsm6dsx_shub_check_wai()
870 *i2c_addr = settings->i2c_addr[i]; in st_lsm6dsx_shub_check_wai()
892 u8 i2c_addr = 0; in st_lsm6dsx_shub_probe() local
[all …]
/linux-5.19.10/drivers/input/touchscreen/
Dchipone_icn8505.c76 static int icn8505_read_xfer(struct i2c_client *client, u16 i2c_addr, in icn8505_read_xfer() argument
84 .addr = i2c_addr, in icn8505_read_xfer()
89 .addr = i2c_addr, in icn8505_read_xfer()
106 i2c_addr, reg_addr, ret); in icn8505_read_xfer()
113 static int icn8505_write_xfer(struct i2c_client *client, u16 i2c_addr, in icn8505_write_xfer() argument
120 .addr = i2c_addr, in icn8505_write_xfer()
140 i2c_addr, reg_addr, ret); in icn8505_write_xfer()

123456