Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/i2c/busses/
Di2c-cpm.c82 struct i2c_reg { struct
105 struct i2c_reg __iomem *i2c_reg; argument
120 struct i2c_reg __iomem *i2c_reg; in cpm_i2c_interrupt() local
125 i2c_reg = cpm->i2c_reg; in cpm_i2c_interrupt()
128 i = in_8(&i2c_reg->i2cer); in cpm_i2c_interrupt()
129 out_8(&i2c_reg->i2cer, i); in cpm_i2c_interrupt()
171 struct i2c_reg __iomem *i2c_reg = cpm->i2c_reg; in cpm_i2c_force_close() local
177 out_8(&i2c_reg->i2cmr, 0x00); /* Disable all interrupts */ in cpm_i2c_force_close()
178 out_8(&i2c_reg->i2cer, 0xff); in cpm_i2c_force_close()
300 struct i2c_reg __iomem *i2c_reg = cpm->i2c_reg; in cpm_i2c_xfer() local
[all …]
/Linux-v5.10/drivers/gpu/drm/gma500/
Dcdv_intel_crt.c251 u32 i2c_reg; in cdv_intel_crt_init() local
272 i2c_reg = GPIOA; in cdv_intel_crt_init()
279 i2c_reg, "CRTDDC_A"); in cdv_intel_crt_init()
/Linux-v5.10/drivers/hwmon/
Demc2103.c73 static int read_u8_from_i2c(struct i2c_client *client, u8 i2c_reg, u8 *output) in read_u8_from_i2c() argument
75 int status = i2c_smbus_read_byte_data(client, i2c_reg); in read_u8_from_i2c()
78 i2c_reg, status); in read_u8_from_i2c()
85 static void read_temp_from_i2c(struct i2c_client *client, u8 i2c_reg, in read_temp_from_i2c() argument
90 if (read_u8_from_i2c(client, i2c_reg, &degrees) < 0) in read_temp_from_i2c()
93 if (read_u8_from_i2c(client, i2c_reg + 1, &fractional) < 0) in read_temp_from_i2c()
/Linux-v5.10/drivers/misc/habanalabs/common/
Ddebugfs.c22 u8 i2c_reg, long *val) in hl_debugfs_i2c_read() argument
36 pkt.i2c_reg = i2c_reg; in hl_debugfs_i2c_read()
48 u8 i2c_reg, u32 val) in hl_debugfs_i2c_write() argument
62 pkt.i2c_reg = i2c_reg; in hl_debugfs_i2c_write()
887 entry->i2c_reg, &val); in hl_i2c_data_read()
891 entry->i2c_bus, entry->i2c_addr, entry->i2c_reg); in hl_i2c_data_read()
915 entry->i2c_reg, value); in hl_i2c_data_write()
919 value, entry->i2c_bus, entry->i2c_addr, entry->i2c_reg); in hl_i2c_data_write()
1270 &dev_entry->i2c_reg); in hl_debugfs_add_device()
Dhabanalabs.h1280 u8 i2c_reg; member
/Linux-v5.10/drivers/misc/habanalabs/goya/
DgoyaP.h186 u8 i2c_addr, u8 i2c_reg, u32 *val);
188 u8 i2c_addr, u8 i2c_reg, u32 val);
/Linux-v5.10/drivers/misc/habanalabs/include/common/
Dcpucp_if.h285 __u8 i2c_reg; member
/Linux-v5.10/drivers/clk/tegra/
Dclk-dfll.c298 u32 i2c_reg; member
720 dfll_i2c_writel(td, td->i2c_reg, DFLL_I2C_VDD_REG_ADDR); in dfll_init_i2c_if()
1836 td->i2c_reg = vsel_reg; in dfll_fetch_i2c_params()
/Linux-v5.10/Documentation/ABI/testing/
Ddebugfs-driver-habanalabs122 What: /sys/kernel/debug/habanalabs/hl<n>/i2c_reg