/linux-6.3-rc2/drivers/media/dvb-frontends/ |
A D | lnbp21.c | 27 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()
|
A D | isl6421.c | 26 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()
|
A D | isl6405.c | 26 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()
|
A D | zl10039.c | 34 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()
|
A D | dibx000_common.c | 35 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 …]
|
A D | s921.c | 199 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 = ®, .len = 1 }, in s921_i2c_readreg() 236 { .addr = i2c_addr, .flags = I2C_M_RD, .buf = &val, .len = 1 } in s921_i2c_readreg()
|
A D | zl10039.h | 14 u8 i2c_addr, 18 u8 i2c_addr, in zl10039_attach() argument
|
A D | dib3000mc.c | 39 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() 919 st->i2c_addr = i2c_addr; in dib3000mc_attach() [all …]
|
A D | isl6421.h | 27 … 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
|
A D | lnbh24.h | 29 u8 override_clear, u8 i2c_addr); 33 u8 override_clear, u8 i2c_addr) in lnbh24_attach() argument
|
A D | isl6405.h | 46 u8 i2c_addr, u8 override_set, u8 override_clear); 49 struct i2c_adapter *i2c, u8 i2c_addr, in isl6405_attach() argument
|
/linux-6.3-rc2/drivers/media/usb/pvrusb2/ |
A D | pvrusb2-i2c-core.c | 40 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() 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 174 return pvr2_i2c_write(hdw,i2c_addr,wdata,wlen); in pvr2_i2c_basic_op() [all …]
|
/linux-6.3-rc2/drivers/media/tuners/ |
A D | tea5761.h | 12 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
|
A D | tea5767.h | 31 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
|
A D | tda8290.h | 30 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
|
A D | tea5761.c | 262 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()
|
A D | tda9887.h | 15 u8 i2c_addr); 19 u8 i2c_addr) in tda9887_attach() argument
|
A D | mt20xx.h | 14 u8 i2c_addr); 18 u8 i2c_addr) in microtune_attach() argument
|
A D | tuner-simple.h | 14 u8 i2c_addr, 19 u8 i2c_addr, in simple_tuner_attach() argument
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_i2c.c | 351 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-6.3-rc2/drivers/i2c/busses/ |
A D | i2c-cpm.c | 107 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() 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() 627 if ((cpm->version == 1) && (!cpm->i2c_addr)) in cpm_i2c_shutdown() [all …]
|
/linux-6.3-rc2/drivers/mfd/ |
A D | intel_soc_pmic_bxtwc.c | 279 int i2c_addr; in regmap_ipc_byte_reg_read() local 288 i2c_addr = (reg & REG_ADDR_MASK) >> REG_ADDR_SHIFT; in regmap_ipc_byte_reg_read() 290 i2c_addr = BXTWC_DEVICE1_ADDR; in regmap_ipc_byte_reg_read() 295 ipc_in[1] = i2c_addr; in regmap_ipc_byte_reg_read() 310 int i2c_addr; in regmap_ipc_byte_reg_write() local 318 i2c_addr = (reg & REG_ADDR_MASK) >> REG_ADDR_SHIFT; in regmap_ipc_byte_reg_write() 320 i2c_addr = BXTWC_DEVICE1_ADDR; in regmap_ipc_byte_reg_write() 325 ipc_in[1] = i2c_addr; in regmap_ipc_byte_reg_write()
|
/linux-6.3-rc2/drivers/iio/imu/inv_mpu6050/ |
A D | inv_mpu_acpi.c | 106 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-6.3-rc2/drivers/iio/imu/st_lsm6dsx/ |
A D | st_lsm6dsx_shub.c | 42 .i2c_addr = { 0x1e }, 93 .i2c_addr = { 0x1e }, 728 u8 i2c_addr, const char *name) in st_lsm6dsx_shub_alloc_iiodev() argument 749 sensor->ext_info.addr = i2c_addr; in st_lsm6dsx_shub_alloc_iiodev() 838 for (i = 0; i < ARRAY_SIZE(settings->i2c_addr); i++) { in st_lsm6dsx_shub_check_wai() 839 if (!settings->i2c_addr[i]) in st_lsm6dsx_shub_check_wai() 843 config[0] = (settings->i2c_addr[i] << 1) | 0x1; in st_lsm6dsx_shub_check_wai() 868 *i2c_addr = settings->i2c_addr[i]; in st_lsm6dsx_shub_check_wai() 890 u8 i2c_addr = 0; in st_lsm6dsx_shub_probe() local 893 err = st_lsm6dsx_shub_check_wai(hw, &i2c_addr, in st_lsm6dsx_shub_probe() [all …]
|
/linux-6.3-rc2/drivers/input/touchscreen/ |
A D | chipone_icn8505.c | 76 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()
|