/linux-master/sound/soc/intel/boards/ |
H A D | bytcr_rt5640.c | 12 #include <linux/i2c.h> 1526 /* overwritten with HID */ "i2c-10EC5640:00", 1671 "i2c-10EC5640:00")) { 1681 "i2c-%s", acpi_dev_name(adev));
|
/linux-master/sound/soc/codecs/ |
H A D | rt5645.c | 14 #include <linux/i2c.h> 445 struct i2c_client *i2c; member in struct:rt5645_priv 3637 MODULE_DEVICE_TABLE(i2c, rt5645_i2c_id); 3983 static int rt5645_i2c_probe(struct i2c_client *i2c) argument 3990 rt5645 = devm_kzalloc(&i2c->dev, sizeof(struct rt5645_priv), 3995 rt5645->i2c = i2c; 3996 i2c_set_clientdata(i2c, rt5645); 3997 rt5645_get_pdata(&i2c->dev, &rt5645->pdata); 3999 if (has_acpi_companion(&i2c 4265 rt5645_i2c_remove(struct i2c_client *i2c) argument 4287 rt5645_i2c_shutdown(struct i2c_client *i2c) argument [all...] |
H A D | da7219-aad.c | 13 #include <linux/i2c.h> 663 struct i2c_client *i2c = to_i2c_client(dev); local 679 aad_pdata->irq = i2c->irq; 1058 int da7219_aad_probe(struct i2c_client *i2c) argument 1060 struct da7219_priv *da7219 = i2c_get_clientdata(i2c); 1061 struct device *dev = &i2c->dev;
|
H A D | rt715.c | 15 #include <linux/i2c.h>
|
H A D | es8326.c | 10 #include <linux/i2c.h> 23 struct i2c_client *i2c; member in struct:es8326_priv 1192 static int es8326_i2c_probe(struct i2c_client *i2c) argument 1197 es8326 = devm_kzalloc(&i2c->dev, sizeof(struct es8326_priv), GFP_KERNEL); 1201 i2c_set_clientdata(i2c, es8326); 1202 es8326->i2c = i2c; 1204 es8326->regmap = devm_regmap_init_i2c(i2c, &es8326_regmap_config); 1207 dev_err(&i2c->dev, "Failed to init regmap: %d\n", ret); 1211 es8326->irq = i2c [all...] |
/linux-master/include/linux/ |
H A D | regmap.h | 601 struct regmap *__regmap_init_i2c(struct i2c_client *i2c, 609 struct regmap *__regmap_init_sccb(struct i2c_client *i2c, 665 struct regmap *__devm_regmap_init_i2c(struct i2c_client *i2c, 673 struct regmap *__devm_regmap_init_sccb(struct i2c_client *i2c, 771 * @i2c: Device that will be interacted with 777 #define regmap_init_i2c(i2c, config) \ 779 i2c, config) 797 * @i2c: Device that will be interacted with 803 #define regmap_init_sccb(i2c, config) \ 805 i2c, confi [all...] |
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm.c | 3436 * conflict, after implement i2c helper, this mutex should be 6574 if (aconnector->i2c) { 6575 i2c_del_adapter(&aconnector->i2c->base); 6576 kfree(aconnector->i2c); 6683 ddc = &aconnector->i2c->base; 6743 ddc = &aconnector->i2c->base; 7718 struct amdgpu_i2c_adapter *i2c = i2c_get_adapdata(i2c_adap); local 7719 struct ddc_service *ddc_service = i2c->ddc_service; 7769 struct amdgpu_i2c_adapter *i2c; local 7771 i2c 7798 struct amdgpu_i2c_adapter *i2c; local [all...] |
/linux-master/drivers/power/supply/ |
H A D | rt9455_charger.c | 14 #include <linux/i2c.h> 1724 MODULE_DEVICE_TABLE(i2c, rt9455_i2c_id_table);
|
/linux-master/drivers/misc/eeprom/ |
H A D | at24.c | 13 #include <linux/i2c.h> 187 /* 24rf08 quirk is handled at i2c-core */ 244 MODULE_DEVICE_TABLE(i2c, at24_ids);
|
/linux-master/drivers/i2c/ |
H A D | i2c-core-base.c | 13 #define pr_fmt(fmt) "i2c-core: " fmt 15 #include <dt-bindings/i2c/i2c.h> 24 #include <linux/i2c.h> 25 #include <linux/i2c-smbus.h> 46 #include "i2c-core.h" 49 #include <trace/events/i2c.h> 178 /* i2c bus recovery routines */ 299 dev_dbg(&adap->dev, "Trying i2c bus recovery\n"); 696 .name = "i2c", [all...] |
/linux-master/drivers/net/ethernet/wangxun/txgbe/ |
H A D | txgbe_phy.c | 9 #include <linux/i2c.h> 55 nodes->i2c_props[0] = PROPERTY_ENTRY_STRING("compatible", "snps,designware-i2c"); 56 nodes->i2c_props[1] = PROPERTY_ENTRY_BOOL("wx,i2c-snps-model"); 62 nodes->sfp_props[1] = PROPERTY_ENTRY_REF_ARRAY("i2c-bus", nodes->i2c_ref); 762 wx_err(wx, "failed to init i2c interface: %d\n", ret);
|
/linux-master/drivers/hid/i2c-hid/ |
H A D | i2c-hid-core.c | 22 #include <linux/i2c.h> 44 #include "i2c-hid.h" 92 struct i2c_client *client; /* i2c client */ 95 __le16 wHIDDescRegister; /* location of the i2c 98 unsigned int bufsize; /* i2c buffer size */ 304 * @ihid: the i2c hid device 864 /* i2c hid fetch using a fixed descriptor size (30 bytes) */ 1166 dbg_hid("HID probe called for i2c 0x%02x\n", client->addr); 1170 "HID over i2c has not been provided an Int IRQ\n"); 1177 "HID over i2c does [all...] |
/linux-master/drivers/hid/ |
H A D | hid-mcp2221.c | 18 #include <linux/i2c.h> 122 * Default i2c bus clock frequency 400 kHz. Modify this if you 172 /* Check pass/fail for actual communication with i2c slave */ 181 /* Cancels last command releasing i2c bus just in case occupied */ 192 * If the command did fail, cancel that command which will free the i2c bus. 235 * from host and then send to i2c slave device. 281 * otherwise next write fails on first-try from i2c core. 291 * Device reads all data (0 - 65535 bytes) from i2c slave device and 392 "unsupported multi-msg i2c transaction\n"); 397 "unsupported multi-msg i2c transactio [all...] |
/linux-master/drivers/usb/typec/mux/ |
H A D | it5205.c | 12 #include <linux/i2c.h> 272 MODULE_DEVICE_TABLE(i2c, it5205_table);
|
/linux-master/sound/pci/hda/ |
H A D | tas2781_hda_i2c.c | 14 #include <linux/i2c.h>
|
H A D | cs35l56_hda_i2c.c | 8 #include <linux/i2c.h>
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_atombios.c | 87 struct radeon_i2c_bus_rec i2c; local 89 memset(&i2c, 0, sizeof(struct radeon_i2c_bus_rec)); 91 i2c.mask_clk_reg = le16_to_cpu(gpio->usClkMaskRegisterIndex) * 4; 92 i2c.mask_data_reg = le16_to_cpu(gpio->usDataMaskRegisterIndex) * 4; 93 i2c.en_clk_reg = le16_to_cpu(gpio->usClkEnRegisterIndex) * 4; 94 i2c.en_data_reg = le16_to_cpu(gpio->usDataEnRegisterIndex) * 4; 95 i2c.y_clk_reg = le16_to_cpu(gpio->usClkY_RegisterIndex) * 4; 96 i2c.y_data_reg = le16_to_cpu(gpio->usDataY_RegisterIndex) * 4; 97 i2c.a_clk_reg = le16_to_cpu(gpio->usClkA_RegisterIndex) * 4; 98 i2c 133 struct radeon_i2c_bus_rec i2c; local 169 struct radeon_i2c_bus_rec i2c; local [all...] |
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bios.c | 1293 * handle, but cards exist (nv11 in #14821) with a bad i2c 1316 u8 *i2c = ROMPTR(dev, dcb[2]); local 1318 if (i2c && ent < i2c) 1322 u8 *i2c = ROMPTR(dev, dcb[2]); local 1324 if (i2c && ent < i2c) 1387 static void fabricate_dcb_output(struct dcb_table *dcb, int type, int i2c, argument 1393 entry->i2c_index = i2c; 1663 * which one is in use if it even shares an i2c lin 1850 u8 i2c = dcbt->entry[i].i2c_index; local [all...] |
/linux-master/arch/arm/mach-omap2/ |
H A D | board-n8x0.c | 19 #include <linux/i2c.h>
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_dp.c | 29 #include <linux/i2c.h>
|
H A D | intel_display_types.h | 29 #include <linux/i2c.h>
|
/linux-master/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
H A D | smu_v13_0_0_ppt.c | 28 #include <linux/i2c.h> 2711 DRM_ERROR("Failed to register hw i2c, err: %d\n", res);
|
/linux-master/sound/soc/intel/avs/boards/ |
H A D | rt5682.c | 11 #include <linux/i2c.h> 228 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-10EC5682:00");
|
/linux-master/drivers/regulator/ |
H A D | tps65132-regulator.c | 23 #include <linux/i2c.h> 268 MODULE_DEVICE_TABLE(i2c, tps65132_id);
|
/linux-master/drivers/i2c/busses/ |
H A D | i2c-pxa.c | 24 #include <linux/i2c.h> 34 #include <linux/platform_data/i2c-pxa.h> 113 * 7 GCD 1 (Disables i2c unit response to general call messages as a slave) 115 * 5 SCLE 1 (Enables the i2c clock output for master mode (drives SCL) 207 { .compatible = "mrvl,pxa-i2c", .data = (void *)REGS_PXA2XX }, 210 { .compatible = "marvell,armada-3700-i2c", .data = (void *)REGS_A3700 }, 216 { "pxa2xx-i2c", REGS_PXA2XX }, 218 { "ce4100-i2c", REGS_CE4100 }, 219 { "pxa910-i2c", REGS_PXA910 }, 220 { "armada-3700-i2c", REGS_A370 354 i2c_pxa_show_state(struct pxa_i2c *i2c, int lno, const char *fname) argument 362 i2c_pxa_scream_blue_murder(struct pxa_i2c *i2c, const char *why) argument 393 i2c_pxa_is_slavemode(struct pxa_i2c *i2c) argument 398 i2c_pxa_abort(struct pxa_i2c *i2c) argument 425 i2c_pxa_wait_bus_not_busy(struct pxa_i2c *i2c) argument 450 i2c_pxa_wait_master(struct pxa_i2c *i2c) argument 485 i2c_pxa_set_master(struct pxa_i2c *i2c) argument 503 i2c_pxa_wait_slave(struct pxa_i2c *i2c) argument 536 i2c_pxa_set_slave(struct pxa_i2c *i2c, int errcode) argument 570 i2c_pxa_do_reset(struct pxa_i2c *i2c) argument 592 i2c_pxa_enable(struct pxa_i2c *i2c) argument 599 i2c_pxa_reset(struct pxa_i2c *i2c) argument 615 i2c_pxa_slave_txempty(struct pxa_i2c *i2c, u32 isr) argument 631 i2c_pxa_slave_rxfull(struct pxa_i2c *i2c, u32 isr) argument 641 i2c_pxa_slave_start(struct pxa_i2c *i2c, u32 isr) argument 687 i2c_pxa_slave_stop(struct pxa_i2c *i2c) argument 708 struct pxa_i2c *i2c = slave->adapter->algo_data; local 726 struct pxa_i2c *i2c = slave->adapter->algo_data; local 738 i2c_pxa_slave_txempty(struct pxa_i2c *i2c, u32 isr) argument 748 i2c_pxa_slave_rxfull(struct pxa_i2c *i2c, u32 isr) argument 753 i2c_pxa_slave_start(struct pxa_i2c *i2c, u32 isr) argument 782 i2c_pxa_slave_stop(struct pxa_i2c *i2c) argument 793 i2c_pxa_start_message(struct pxa_i2c *i2c) argument 810 i2c_pxa_stop_message(struct pxa_i2c *i2c) argument 826 i2c_pxa_send_mastercode(struct pxa_i2c *i2c) argument 851 i2c_pxa_master_complete(struct pxa_i2c *i2c, int ret) argument 863 i2c_pxa_irq_txempty(struct pxa_i2c *i2c, u32 isr) argument 970 i2c_pxa_irq_rxfull(struct pxa_i2c *i2c, u32 isr) argument 1001 struct pxa_i2c *i2c = dev_id; local 1051 i2c_pxa_do_xfer(struct pxa_i2c *i2c, struct i2c_msg *msg, int num) argument 1116 i2c_pxa_internal_xfer(struct pxa_i2c *i2c, struct i2c_msg *msgs, int num, int (*xfer)(struct pxa_i2c *, struct i2c_msg *, int num)) argument 1145 struct pxa_i2c *i2c = adap->algo_data; local 1166 i2c_pxa_pio_set_master(struct pxa_i2c *i2c) argument 1192 i2c_pxa_do_pio_xfer(struct pxa_i2c *i2c, struct i2c_msg *msg, int num) argument 1234 struct pxa_i2c *i2c = adap->algo_data; local 1255 i2c_pxa_probe_dt(struct platform_device *pdev, struct pxa_i2c *i2c, enum pxa_i2c_types *i2c_types) argument 1274 i2c_pxa_probe_pdata(struct platform_device *pdev, struct pxa_i2c *i2c, enum pxa_i2c_types *i2c_types) argument 1296 struct pxa_i2c *i2c = adap->algo_data; local 1311 struct pxa_i2c *i2c = adap->algo_data; local 1333 i2c_pxa_init_recovery(struct pxa_i2c *i2c) argument 1423 struct pxa_i2c *i2c; local 1544 struct pxa_i2c *i2c = platform_get_drvdata(dev); local 1553 struct pxa_i2c *i2c = dev_get_drvdata(dev); local 1562 struct pxa_i2c *i2c = dev_get_drvdata(dev); local [all...] |