/linux-master/drivers/mfd/ |
H A D | rt5033.c | 55 static int rt5033_i2c_probe(struct i2c_client *i2c) argument 61 rt5033 = devm_kzalloc(&i2c->dev, sizeof(*rt5033), GFP_KERNEL); 65 i2c_set_clientdata(i2c, rt5033); 66 rt5033->dev = &i2c->dev; 67 rt5033->irq = i2c->irq; 70 rt5033->regmap = devm_regmap_init_i2c(i2c, &rt5033_regmap_config); 72 dev_err(&i2c->dev, "Failed to allocate register map.\n"); 78 dev_err(&i2c->dev, "Device not found\n"); 82 dev_info(&i2c->dev, "Device found (rev. %d)\n", chip_rev); 88 dev_err(&i2c [all...] |
H A D | max8925-i2c.c | 11 #include <linux/i2c.h> 18 static inline int max8925_read_device(struct i2c_client *i2c, argument 24 ret = i2c_smbus_read_i2c_block_data(i2c, reg, bytes, dest); 26 ret = i2c_smbus_read_byte_data(i2c, reg); 34 static inline int max8925_write_device(struct i2c_client *i2c, argument 43 ret = i2c_master_send(i2c, buf, bytes + 1); 49 int max8925_reg_read(struct i2c_client *i2c, int reg) argument 51 struct max8925_chip *chip = i2c_get_clientdata(i2c); 56 ret = max8925_read_device(i2c, reg, 1, &data); 66 int max8925_reg_write(struct i2c_client *i2c, in argument 80 max8925_bulk_read(struct i2c_client *i2c, int reg, int count, unsigned char *buf) argument 94 max8925_bulk_write(struct i2c_client *i2c, int reg, int count, unsigned char *buf) argument 108 max8925_set_bits(struct i2c_client *i2c, int reg, unsigned char mask, unsigned char data) argument [all...] |
/linux-master/drivers/power/supply/ |
H A D | max8998_charger.c | 35 struct i2c_client *i2c = max8998->iodev->i2c; local 41 ret = max8998_read_reg(i2c, MAX8998_REG_STATUS2, ®); 50 ret = max8998_read_reg(i2c, MAX8998_REG_STATUS2, ®); 61 ret = max8998_read_reg(i2c, MAX8998_REG_STATUS2, ®); 97 struct i2c_client *i2c; local 113 i2c = max8998->iodev->i2c; 119 max8998_update_reg(i2c, MAX8998_REG_CHGR1, 132 max8998_update_reg(i2c, MAX8998_REG_CHGR [all...] |
/linux-master/drivers/nfc/microread/ |
H A D | Makefile | 6 microread_i2c-objs = i2c.o
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | i2c.h | 7 #include <linux/i2c.h>
|
/linux-master/drivers/video/fbdev/riva/ |
H A D | Makefile | 11 rivafb-objs += rivafb-i2c.o
|
/linux-master/arch/mips/sibyte/swarm/ |
H A D | Makefile | 5 obj-$(CONFIG_I2C_BOARDINFO) += swarm-i2c.o
|
/linux-master/drivers/media/tuners/ |
H A D | fc2580.h | 13 #include <linux/i2c.h>
|
H A D | mt2131_priv.h | 24 struct i2c_adapter *i2c; member in struct:mt2131_priv
|
/linux-master/drivers/media/usb/hdpvr/ |
H A D | Makefile | 2 hdpvr-objs := hdpvr-control.o hdpvr-core.o hdpvr-video.o hdpvr-i2c.o
|
/linux-master/drivers/nfc/pn544/ |
H A D | Makefile | 6 pn544_i2c-objs = i2c.o
|
/linux-master/drivers/video/fbdev/mb862xx/ |
H A D | Makefile | 9 mb862xxfb-$(CONFIG_FB_MB862XX_I2C) += mb862xx-i2c.o
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | cxd2841er.h | 41 struct i2c_adapter *i2c); 44 struct i2c_adapter *i2c); 48 struct i2c_adapter *i2c) 55 struct cxd2841er_config *cfg, struct i2c_adapter *i2c) 46 cxd2841er_attach_s( struct cxd2841er_config *cfg, struct i2c_adapter *i2c) argument 54 cxd2841er_attach_t_c( struct cxd2841er_config *cfg, struct i2c_adapter *i2c) argument
|
H A D | tc90522.h | 11 * As the sub modules work in parallel and have the separate i2c addr's, 18 #include <linux/i2c.h>
|
H A D | tda1002x.h | 18 /* the demodulator's i2c address */ 31 /* the demodulator's i2c address */ 50 struct i2c_adapter* i2c, u8 pwm); 53 struct i2c_adapter* i2c, u8 pwm) 63 struct i2c_adapter *i2c, u8 pwm); 67 struct i2c_adapter *i2c, u8 pwm) 52 tda10021_attach(const struct tda1002x_config* config, struct i2c_adapter* i2c, u8 pwm) argument 65 tda10023_attach( const struct tda10023_config *config, struct i2c_adapter *i2c, u8 pwm) argument
|
H A D | sp887x.h | 14 /* the demodulator's i2c address */ 23 struct i2c_adapter* i2c); 26 struct i2c_adapter* i2c) 25 sp887x_attach(const struct sp887x_config* config, struct i2c_adapter* i2c) argument
|
H A D | cx24116.h | 15 /* the demodulator's i2c address */ 34 struct i2c_adapter *i2c); 38 struct i2c_adapter *i2c) 36 cx24116_attach( const struct cx24116_config *config, struct i2c_adapter *i2c) argument
|
H A D | ds3000.h | 16 /* the demodulator's i2c address */ 27 struct i2c_adapter *i2c); 31 struct i2c_adapter *i2c) 30 ds3000_attach(const struct ds3000_config *config, struct i2c_adapter *i2c) argument
|
/linux-master/include/sound/ |
H A D | tea6330t.h | 10 #include <sound/i2c.h> /* generic i2c support */
|
/linux-master/include/media/drv-intf/ |
H A D | sh_vou.h | 10 #include <linux/i2c.h>
|
/linux-master/include/linux/iio/common/ |
H A D | st_sensors_i2c.h | 3 * STMicroelectronics sensors i2c library driver 13 #include <linux/i2c.h>
|
/linux-master/drivers/media/common/ |
H A D | ttpci-eeprom.h | 17 #include <linux/i2c.h>
|
/linux-master/include/linux/mdio/ |
H A D | mdio-i2c.h | 21 struct mii_bus *mdio_i2c_alloc(struct device *parent, struct i2c_adapter *i2c,
|
/linux-master/drivers/media/radio/si470x/ |
H A D | Makefile | 8 obj-$(CONFIG_I2C_SI470X) += radio-si470x-i2c.o
|
/linux-master/drivers/video/fbdev/savage/ |
H A D | Makefile | 9 savagefb-$(CONFIG_FB_SAVAGE_I2C) += savagefb-i2c.o
|