Home
last modified time | relevance | path

Searched refs:i2c_reg (Results 1 – 5 of 5) sorted by relevance

/drivers/i2c/busses/
Di2c-cpm.c91 struct i2c_reg { struct
114 struct i2c_reg __iomem *i2c_reg; argument
129 struct i2c_reg __iomem *i2c_reg; in cpm_i2c_interrupt() local
134 i2c_reg = cpm->i2c_reg; in cpm_i2c_interrupt()
137 i = in_8(&i2c_reg->i2cer); in cpm_i2c_interrupt()
138 out_8(&i2c_reg->i2cer, i); in cpm_i2c_interrupt()
180 struct i2c_reg __iomem *i2c_reg = cpm->i2c_reg; in cpm_i2c_force_close() local
186 out_8(&i2c_reg->i2cmr, 0x00); /* Disable all interrupts */ in cpm_i2c_force_close()
187 out_8(&i2c_reg->i2cer, 0xff); in cpm_i2c_force_close()
311 struct i2c_reg __iomem *i2c_reg = cpm->i2c_reg; in cpm_i2c_xfer() local
[all …]
Di2c-puv3.c52 int i2c_reg = *buf; in xfer_read() local
62 writel(i2c_reg | I2C_DATACMD_WRITE, I2C_DATACMD); in xfer_read()
65 i2c_reg++; in xfer_read()
86 int i2c_reg = *buf; in xfer_write() local
89 if (i2c_reg == -1) { in xfer_write()
101 writel(i2c_reg | I2C_DATACMD_WRITE, I2C_DATACMD); in xfer_write()
110 i2c_reg++; in xfer_write()
/drivers/gpu/drm/gma500/
Dcdv_intel_crt.c259 u32 i2c_reg; in cdv_intel_crt_init() local
281 i2c_reg = GPIOA; in cdv_intel_crt_init()
288 i2c_reg, "CRTDDC_A"); in cdv_intel_crt_init()
/drivers/hwmon/
Demc2103.c86 static int read_u8_from_i2c(struct i2c_client *client, u8 i2c_reg, u8 *output) in read_u8_from_i2c() argument
88 int status = i2c_smbus_read_byte_data(client, i2c_reg); in read_u8_from_i2c()
91 i2c_reg, status); in read_u8_from_i2c()
98 static void read_temp_from_i2c(struct i2c_client *client, u8 i2c_reg, in read_temp_from_i2c() argument
103 if (read_u8_from_i2c(client, i2c_reg, &degrees) < 0) in read_temp_from_i2c()
106 if (read_u8_from_i2c(client, i2c_reg + 1, &fractional) < 0) in read_temp_from_i2c()
/drivers/clk/tegra/
Dclk-dfll.c299 u32 i2c_reg; member
572 dfll_i2c_writel(td, td->i2c_reg, DFLL_I2C_VDD_REG_ADDR); in dfll_init_i2c_if()
1560 td->i2c_reg = vsel_reg; in dfll_fetch_i2c_params()