Home
last modified time | relevance | path

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

123456

/drivers/media/dvb-frontends/
Dlnbp21.c44 u8 i2c_addr; member
51 struct i2c_msg msg = { .addr = lnbp21->i2c_addr, .flags = 0, in lnbp21_set_voltage()
79 struct i2c_msg msg = { .addr = lnbp21->i2c_addr, .flags = 0, in lnbp21_enable_high_lnb_voltage()
98 struct i2c_msg msg = { .addr = lnbp21->i2c_addr, .flags = 0, in lnbp21_set_tone()
131 u8 override_clear, u8 i2c_addr, u8 config) in lnbx2x_attach() argument
140 lnbp21->i2c_addr = i2c_addr; in lnbx2x_attach()
163 printk(KERN_INFO "LNBx2x attached on addr=%x\n", lnbp21->i2c_addr); in lnbx2x_attach()
170 u8 override_clear, u8 i2c_addr) in lnbh24_attach() argument
173 i2c_addr, LNBH24_TTX); in lnbh24_attach()
Disl6421.c43 u8 i2c_addr; member
50 struct i2c_msg msg = { .addr = isl6421->i2c_addr, .flags = 0, in isl6421_set_voltage()
78 struct i2c_msg msg = { .addr = isl6421->i2c_addr, .flags = 0, in isl6421_enable_high_lnb_voltage()
97 struct i2c_msg msg = { .addr = isl6421->i2c_addr, .flags = 0, in isl6421_set_tone()
128 struct dvb_frontend *isl6421_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, u8 i2c_addr, in isl6421_attach() argument
138 isl6421->i2c_addr = i2c_addr; in isl6421_attach()
Disl6405.c43 u8 i2c_addr; member
50 struct i2c_msg msg = { .addr = isl6405->i2c_addr, .flags = 0, in isl6405_set_voltage()
92 struct i2c_msg msg = { .addr = isl6405->i2c_addr, .flags = 0, in isl6405_enable_high_lnb_voltage()
124 u8 i2c_addr, u8 override_set, u8 override_clear) in isl6405_attach() argument
136 isl6405->i2c_addr = i2c_addr; in isl6405_attach()
Dzl10039.c48 u8 i2c_addr; member
78 .addr = state->i2c_addr, in zl10039_read()
83 .addr = state->i2c_addr, in zl10039_read()
106 .addr = state->i2c_addr, in zl10039_write()
268 u8 i2c_addr, struct i2c_adapter *i2c) in zl10039_attach() argument
278 state->i2c_addr = i2c_addr; in zl10039_attach()
307 dprintk("Tuner attached @ i2c address 0x%02x\n", i2c_addr); in zl10039_attach()
Ddibx000_common.c28 mst->msg[0].addr = mst->i2c_addr; in dibx000_write_word()
52 mst->msg[0].addr = mst->i2c_addr; in dibx000_read_word()
56 mst->msg[1].addr = mst->i2c_addr; in dibx000_read_word()
301 mst->msg[0].addr = mst->i2c_addr; in dibx000_i2c_gated_gpio67_xfer()
309 mst->msg[num + 1].addr = mst->i2c_addr; in dibx000_i2c_gated_gpio67_xfer()
347 mst->msg[0].addr = mst->i2c_addr; in dibx000_i2c_gated_tuner_xfer()
355 mst->msg[num + 1].addr = mst->i2c_addr; in dibx000_i2c_gated_tuner_xfer()
407 struct i2c_msg m = {.addr = mst->i2c_addr,.buf = tx,.len = 4 }; in dibx000_reset_i2c_master()
431 struct i2c_adapter *i2c_adap, u8 i2c_addr) in dibx000_init_i2c_master() argument
441 mst->msg[0].addr = i2c_addr >> 1; in dibx000_init_i2c_master()
[all …]
Ds921.c207 u8 i2c_addr, int reg, int data) in s921_i2c_writereg() argument
211 .addr = i2c_addr, .flags = 0, .buf = buf, .len = 2 in s921_i2c_writereg()
225 static int s921_i2c_writeregdata(struct s921_state *state, u8 i2c_addr, in s921_i2c_writeregdata() argument
231 rc = s921_i2c_writereg(state, i2c_addr, rd[i].reg, rd[i].data); in s921_i2c_writeregdata()
238 static int s921_i2c_readreg(struct s921_state *state, u8 i2c_addr, u8 reg) in s921_i2c_readreg() argument
243 { .addr = i2c_addr, .flags = 0, .buf = &reg, .len = 1 }, in s921_i2c_readreg()
244 { .addr = i2c_addr, .flags = I2C_M_RD, .buf = &val, .len = 1 } in s921_i2c_readreg()
Ddib3000mc.c36 u8 i2c_addr; member
55 { .addr = state->i2c_addr >> 1, .flags = 0, .buf = wb, .len = 2 }, in dib3000mc_read_word()
56 { .addr = state->i2c_addr >> 1, .flags = I2C_M_RD, .buf = rb, .len = 2 }, in dib3000mc_read_word()
72 .addr = state->i2c_addr >> 1, .flags = 0, .buf = b, .len = 4 in dib3000mc_write_word()
844 dmcst->i2c_addr = new_addr; in dib3000mc_i2c_enumeration()
846 dmcst->i2c_addr = default_addr; in dib3000mc_i2c_enumeration()
858 dmcst->i2c_addr = new_addr; in dib3000mc_i2c_enumeration()
863 dmcst->i2c_addr = DIB3000MC_I2C_ADDRESS[k]; in dib3000mc_i2c_enumeration()
865 dib3000mc_write_word(dmcst, 1024, dmcst->i2c_addr << 3); in dib3000mc_i2c_enumeration()
878 struct dvb_frontend * dib3000mc_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, struct dib3000mc_… in dib3000mc_attach() argument
[all …]
Dzl10039.h27 u8 i2c_addr,
31 u8 i2c_addr, in zl10039_attach() argument
Dlnbh24.h43 u8 override_clear, u8 i2c_addr);
47 u8 override_clear, u8 i2c_addr) in lnbh24_attach() argument
Disl6421.h44 … struct dvb_frontend *isl6421_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, u8 i2c_addr,
47 … struct dvb_frontend *isl6421_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, u8 i2c_addr, in isl6421_attach() argument
Disl6405.h63 u8 i2c_addr, u8 override_set, u8 override_clear);
66 struct i2c_adapter *i2c, u8 i2c_addr, in isl6405_attach() argument
/drivers/media/usb/pvrusb2/
Dpvrusb2-i2c-core.c54 u8 i2c_addr, /* I2C address we're talking to */ in pvr2_i2c_write() argument
67 i2c_addr, in pvr2_i2c_write()
79 hdw->cmd_buffer[1] = i2c_addr; /* i2c addr of chip */ in pvr2_i2c_write()
95 i2c_addr,hdw->cmd_buffer[0]); in pvr2_i2c_write()
106 u8 i2c_addr, /* I2C address we're talking to */ in pvr2_i2c_read() argument
121 i2c_addr, in pvr2_i2c_read()
129 i2c_addr, in pvr2_i2c_read()
144 hdw->cmd_buffer[3] = i2c_addr; /* i2c addr of chip */ in pvr2_i2c_read()
159 i2c_addr,hdw->cmd_buffer[0]); in pvr2_i2c_read()
182 u8 i2c_addr, in pvr2_i2c_basic_op() argument
[all …]
/drivers/media/tuners/
Dtea5761.h24 extern int tea5761_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr);
28 u8 i2c_addr);
31 u8 i2c_addr) in tea5761_autodetection() argument
40 u8 i2c_addr) in tea5761_attach() argument
Dtea5767.h43 extern int tea5767_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr);
47 u8 i2c_addr);
50 u8 i2c_addr) in tea5767_autodetection() argument
59 u8 i2c_addr) in tea5767_attach() argument
Dtda8290.h42 extern int tda829x_probe(struct i2c_adapter *i2c_adap, u8 i2c_addr);
46 u8 i2c_addr,
49 static inline int tda829x_probe(struct i2c_adapter *i2c_adap, u8 i2c_addr) in tda829x_probe() argument
57 u8 i2c_addr, in tda829x_attach() argument
Dtea5761.c265 int tea5761_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr) in tea5761_autodetection() argument
269 struct tuner_i2c_props i2c = { .adap = i2c_adap, .addr = i2c_addr }; in tea5761_autodetection()
318 u8 i2c_addr) in tea5761_attach() argument
322 if (tea5761_autodetection(i2c_adap, i2c_addr) != 0) in tea5761_attach()
330 priv->i2c_props.addr = i2c_addr; in tea5761_attach()
Dmt20xx.h26 u8 i2c_addr);
30 u8 i2c_addr) in microtune_attach() argument
Dtda9887.h27 u8 i2c_addr);
31 u8 i2c_addr) in tda9887_attach() argument
Dtuner-simple.h26 u8 i2c_addr,
31 u8 i2c_addr, in simple_tuner_attach() argument
Dtda827x.c39 int i2c_addr; member
162 struct i2c_msg msg = { .addr = priv->i2c_addr, .flags = 0, in tda827xo_set_params()
228 __func__, priv->i2c_addr << 1); in tda827xo_set_params()
236 struct i2c_msg msg = { .addr = priv->i2c_addr, .flags = 0, in tda827xo_sleep()
258 struct i2c_msg msg = { .addr = priv->i2c_addr, .flags = 0 }; in tda827xo_set_analog_params()
338 struct i2c_msg msg = { .addr = priv->i2c_addr, .flags = 0, in tda827xo_agcf()
448 struct i2c_msg msg = { .addr = priv->i2c_addr, .flags = 0, in tda827xa_sleep()
521 struct i2c_msg msg = { .addr = priv->i2c_addr, .flags = 0, in tda827xa_set_params()
656 __func__, priv->i2c_addr << 1); in tda827xa_set_params()
668 struct i2c_msg msg = { .addr = priv->i2c_addr, .flags = 0, in tda827xa_set_analog_params()
[all …]
/drivers/mfd/
Dintel_soc_pmic_bxtwc.c209 int i2c_addr; in regmap_ipc_byte_reg_read() local
215 i2c_addr = (reg & REG_ADDR_MASK) >> REG_ADDR_SHIFT; in regmap_ipc_byte_reg_read()
217 i2c_addr = BXTWC_DEVICE1_ADDR; in regmap_ipc_byte_reg_read()
218 if (!i2c_addr) { in regmap_ipc_byte_reg_read()
226 ipc_in[1] = i2c_addr; in regmap_ipc_byte_reg_read()
243 int i2c_addr; in regmap_ipc_byte_reg_write() local
248 i2c_addr = (reg & REG_ADDR_MASK) >> REG_ADDR_SHIFT; in regmap_ipc_byte_reg_write()
250 i2c_addr = BXTWC_DEVICE1_ADDR; in regmap_ipc_byte_reg_write()
251 if (!i2c_addr) { in regmap_ipc_byte_reg_write()
259 ipc_in[1] = i2c_addr; in regmap_ipc_byte_reg_write()
/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()
/drivers/i2c/busses/
Di2c-cpm.c113 u16 i2c_addr; member
464 cpm->i2c_addr = in_be16(&cpm->i2c_ram->rpbase); in cpm_i2c_setup()
470 if (cpm->i2c_addr) { in cpm_i2c_setup()
471 cpm->i2c_ram = cpm_muram_addr(cpm->i2c_addr); in cpm_i2c_setup()
478 cpm->i2c_addr = cpm_muram_alloc(sizeof(struct i2c_ram), 64); in cpm_i2c_setup()
479 cpm->i2c_ram = cpm_muram_addr(cpm->i2c_addr); in cpm_i2c_setup()
480 out_be16(i2c_base, cpm->i2c_addr); in cpm_i2c_setup()
556 cpm->i2c_ram, cpm->i2c_addr, cpm->freq); in cpm_i2c_setup()
598 if ((cpm->version == 1) && (!cpm->i2c_addr)) in cpm_i2c_setup()
601 cpm_muram_free(cpm->i2c_addr); in cpm_i2c_setup()
[all …]
/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_acpi.c118 u32 i2c_addr = 0; in inv_mpu_process_acpi_config() local
132 acpi_i2c_check_resource, &i2c_addr); in inv_mpu_process_acpi_config()
137 *primary_addr = i2c_addr & 0x0000ffff; in inv_mpu_process_acpi_config()
138 *secondary_addr = (i2c_addr & 0xffff0000) >> 16; in inv_mpu_process_acpi_config()
/drivers/infiniband/hw/hfi1/
Dqsfp.c314 static int __i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, in __i2c_write() argument
323 slave_addr = (i2c_addr & 0xff) >> 1; /* convert to 7-bit addr */ in __i2c_write()
324 offset_size = (i2c_addr >> 8) & 0x3; in __i2c_write()
333 int i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_write() argument
341 ret = __i2c_write(ppd, target, i2c_addr, offset, bp, len); in i2c_write()
353 static int __i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, in __i2c_read() argument
362 slave_addr = (i2c_addr & 0xff) >> 1; /* convert to 7-bit addr */ in __i2c_read()
363 offset_size = (i2c_addr >> 8) & 0x3; in __i2c_read()
372 int i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_read() argument
380 ret = __i2c_read(ppd, target, i2c_addr, offset, bp, len); in i2c_read()

123456