Searched refs:i2c_reg (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-cpm.c | 82 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-6.1.9/drivers/hwmon/ |
D | emc2103.c | 73 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, °rees) < 0) in read_temp_from_i2c() 93 if (read_u8_from_i2c(client, i2c_reg + 1, &fractional) < 0) in read_temp_from_i2c()
|
/linux-6.1.9/drivers/misc/habanalabs/goya/ |
D | goyaP.h | 198 u8 i2c_addr, u8 i2c_reg, u32 *val); 200 u8 i2c_addr, u8 i2c_reg, u32 val);
|
/linux-6.1.9/drivers/misc/habanalabs/common/ |
D | debugfs.c | 24 u8 i2c_reg, u8 i2c_len, u64 *val) in hl_debugfs_i2c_read() argument 44 pkt.i2c_reg = i2c_reg; in hl_debugfs_i2c_read() 56 u8 i2c_reg, u8 i2c_len, u64 val) in hl_debugfs_i2c_write() argument 76 pkt.i2c_reg = i2c_reg; in hl_debugfs_i2c_write() 1140 entry->i2c_reg, entry->i2c_len, &val); in hl_i2c_data_read() 1144 entry->i2c_bus, entry->i2c_addr, entry->i2c_reg, entry->i2c_len); in hl_i2c_data_read() 1168 entry->i2c_reg, entry->i2c_len, value); in hl_i2c_data_write() 1172 value, entry->i2c_bus, entry->i2c_addr, entry->i2c_reg, entry->i2c_len); in hl_i2c_data_write() 1601 &dev_entry->i2c_reg); in add_secured_nodes()
|
D | habanalabs.h | 2321 u8 i2c_reg; member
|
/linux-6.1.9/sound/pci/hda/ |
D | patch_cs8409.c | 176 static int cs8409_i2c_set_page(struct sub_codec *scodec, unsigned int i2c_reg) in cs8409_i2c_set_page() argument 180 if (scodec->paged && (scodec->last_page != (i2c_reg >> 8))) { in cs8409_i2c_set_page() 181 cs8409_vendor_coef_set(codec, CS8409_I2C_QWRITE, i2c_reg >> 8); in cs8409_i2c_set_page() 184 scodec->last_page = i2c_reg >> 8; in cs8409_i2c_set_page()
|
/linux-6.1.9/drivers/clk/tegra/ |
D | clk-dfll.c | 299 u32 i2c_reg; member 721 dfll_i2c_writel(td, td->i2c_reg, DFLL_I2C_VDD_REG_ADDR); in dfll_init_i2c_if() 1841 td->i2c_reg = vsel_reg; in dfll_fetch_i2c_params()
|
/linux-6.1.9/drivers/misc/habanalabs/include/common/ |
D | cpucp_if.h | 769 __u8 i2c_reg; member
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | debugfs-driver-habanalabs | 161 What: /sys/kernel/debug/habanalabs/hl<n>/i2c_reg
|