/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-sprd.c | 115 static void sprd_i2c_clear_ack(struct sprd_i2c *i2c_dev) in sprd_i2c_clear_ack() 247 struct sprd_i2c *i2c_dev = i2c_adap->algo_data; in sprd_i2c_handle_msg() local 289 struct sprd_i2c *i2c_dev = i2c_adap->algo_data; in sprd_i2c_master_xfer() local 351 static void sprd_i2c_enable(struct sprd_i2c *i2c_dev) in sprd_i2c_enable() 370 struct sprd_i2c *i2c_dev = dev_id; in sprd_i2c_isr_thread() local 414 struct sprd_i2c *i2c_dev = dev_id; in sprd_i2c_isr() local 485 struct sprd_i2c *i2c_dev; in sprd_i2c_probe() local 595 struct sprd_i2c *i2c_dev = dev_get_drvdata(dev); in sprd_i2c_suspend_noirq() local 603 struct sprd_i2c *i2c_dev = dev_get_drvdata(dev); in sprd_i2c_resume_noirq() local 611 struct sprd_i2c *i2c_dev = dev_get_drvdata(dev); in sprd_i2c_runtime_suspend() local [all …]
|
H A D | i2c-amd-mp2-plat.c | 44 struct amd_i2c_dev *i2c_dev = amd_i2c_dev_common(i2c_common); in i2c_amd_dma_map() local 77 static void i2c_amd_start_cmd(struct amd_i2c_dev *i2c_dev) in i2c_amd_start_cmd() 87 struct amd_i2c_dev *i2c_dev = amd_i2c_dev_common(i2c_common); in i2c_amd_cmd_completion() local 97 static int i2c_amd_check_cmd_completion(struct amd_i2c_dev *i2c_dev) in i2c_amd_check_cmd_completion() 123 static int i2c_amd_enable_set(struct amd_i2c_dev *i2c_dev, bool enable) in i2c_amd_enable_set() 133 static int i2c_amd_xfer_msg(struct amd_i2c_dev *i2c_dev, struct i2c_msg *pmsg) in i2c_amd_xfer_msg() 154 struct amd_i2c_dev *i2c_dev = i2c_get_adapdata(adap); in i2c_amd_xfer() local 189 struct amd_i2c_dev *i2c_dev = amd_i2c_dev_common(i2c_common); in i2c_amd_suspend() local 197 struct amd_i2c_dev *i2c_dev = amd_i2c_dev_common(i2c_common); in i2c_amd_resume() local 249 struct amd_i2c_dev *i2c_dev; in i2c_amd_probe() local [all …]
|
H A D | i2c-tegra.c | 388 struct tegra_i2c_dev *i2c_dev = args; in tegra_i2c_dma_complete() local 502 static void tegra_dvc_init(struct tegra_i2c_dev *i2c_dev) in tegra_dvc_init() 607 static int tegra_i2c_init(struct tegra_i2c_dev *i2c_dev) in tegra_i2c_init() 870 struct tegra_i2c_dev *i2c_dev = dev_id; in tegra_i2c_isr() local 1101 struct tegra_i2c_dev *i2c_dev = i2c_get_adapdata(adap); in tegra_i2c_issue_bus_clear() local 1375 struct tegra_i2c_dev *i2c_dev = i2c_get_adapdata(adap); in tegra_i2c_xfer() local 1747 struct tegra_i2c_dev *i2c_dev; in tegra_i2c_probe() local 1865 struct tegra_i2c_dev *i2c_dev = dev_get_drvdata(dev); in tegra_i2c_runtime_resume() local 1897 struct tegra_i2c_dev *i2c_dev = dev_get_drvdata(dev); in tegra_i2c_runtime_suspend() local 1906 struct tegra_i2c_dev *i2c_dev = dev_get_drvdata(dev); in tegra_i2c_suspend() local [all …]
|
H A D | i2c-stm32f4.c | 144 static void stm32f4_i2c_disable_irq(struct stm32f4_i2c_dev *i2c_dev) in stm32f4_i2c_disable_irq() 280 static int stm32f4_i2c_hw_config(struct stm32f4_i2c_dev *i2c_dev) in stm32f4_i2c_hw_config() 331 static void stm32f4_i2c_write_msg(struct stm32f4_i2c_dev *i2c_dev) in stm32f4_i2c_write_msg() 339 static void stm32f4_i2c_read_msg(struct stm32f4_i2c_dev *i2c_dev) in stm32f4_i2c_read_msg() 394 static void stm32f4_i2c_handle_read(struct stm32f4_i2c_dev *i2c_dev) in stm32f4_i2c_handle_read() 558 struct stm32f4_i2c_dev *i2c_dev = data; in stm32f4_i2c_isr_event() local 630 struct stm32f4_i2c_dev *i2c_dev = data; in stm32f4_i2c_isr_error() local 678 static int stm32f4_i2c_xfer_msg(struct stm32f4_i2c_dev *i2c_dev, in stm32f4_i2c_xfer_msg() 728 struct stm32f4_i2c_dev *i2c_dev = i2c_get_adapdata(i2c_adap); in stm32f4_i2c_xfer() local 759 struct stm32f4_i2c_dev *i2c_dev; in stm32f4_i2c_probe() local [all …]
|
H A D | i2c-stm32f7.c | 840 struct stm32f7_i2c_dev *i2c_dev = i2c_get_adapdata(i2c_adap); in stm32f7_i2c_release_bus() local 1498 struct stm32f7_i2c_dev *i2c_dev = data; in stm32f7_i2c_isr_event() local 1581 struct stm32f7_i2c_dev *i2c_dev = data; in stm32f7_i2c_isr_event_thread() local 1619 struct stm32f7_i2c_dev *i2c_dev = data; in stm32f7_i2c_isr_error() local 2036 struct stm32f7_i2c_dev *i2c_dev) in stm32f7_i2c_setup_fm_plus_bits() 2126 struct stm32f7_i2c_dev *i2c_dev = i2c_get_adapdata(adap); in stm32f7_i2c_func() local 2152 struct stm32f7_i2c_dev *i2c_dev; in stm32f7_i2c_probe() local 2394 struct stm32f7_i2c_dev *i2c_dev = dev_get_drvdata(dev); in stm32f7_i2c_runtime_suspend() local 2404 struct stm32f7_i2c_dev *i2c_dev = dev_get_drvdata(dev); in stm32f7_i2c_runtime_resume() local 2472 struct stm32f7_i2c_dev *i2c_dev = dev_get_drvdata(dev); in stm32f7_i2c_suspend() local [all …]
|
H A D | i2c-bcm2835.c | 73 static inline void bcm2835_i2c_writel(struct bcm2835_i2c_dev *i2c_dev, in bcm2835_i2c_writel() 87 struct bcm2835_i2c_dev *i2c_dev; member 165 struct bcm2835_i2c_dev *i2c_dev) in bcm2835_i2c_register_div() 193 static void bcm2835_fill_txfifo(struct bcm2835_i2c_dev *i2c_dev) in bcm2835_fill_txfifo() 208 static void bcm2835_drain_rxfifo(struct bcm2835_i2c_dev *i2c_dev) in bcm2835_drain_rxfifo() 236 static void bcm2835_i2c_start_transfer(struct bcm2835_i2c_dev *i2c_dev) in bcm2835_i2c_start_transfer() 262 static void bcm2835_i2c_finish_transfer(struct bcm2835_i2c_dev *i2c_dev) in bcm2835_i2c_finish_transfer() 282 struct bcm2835_i2c_dev *i2c_dev = data; in bcm2835_i2c_isr() local 348 struct bcm2835_i2c_dev *i2c_dev = i2c_get_adapdata(adap); in bcm2835_i2c_xfer() local 409 struct bcm2835_i2c_dev *i2c_dev; in bcm2835_i2c_probe() local [all …]
|
H A D | i2c-st.c | 254 static void st_i2c_soft_reset(struct st_i2c_dev *i2c_dev) in st_i2c_soft_reset() 270 static void st_i2c_hw_config(struct st_i2c_dev *i2c_dev) in st_i2c_hw_config() 339 struct st_i2c_dev *i2c_dev = i2c_get_adapdata(i2c_adap); in st_i2c_recover_bus() local 369 static int st_i2c_wait_free_bus(struct st_i2c_dev *i2c_dev) in st_i2c_wait_free_bus() 530 static void st_i2c_handle_read(struct st_i2c_dev *i2c_dev) in st_i2c_handle_read() 567 struct st_i2c_dev *i2c_dev = data; in st_i2c_isr_thread() local 716 struct st_i2c_dev *i2c_dev = i2c_get_adapdata(i2c_adap); in st_i2c_xfer() local 745 struct st_i2c_dev *i2c_dev = dev_get_drvdata(dev); in st_i2c_suspend() local 781 struct st_i2c_dev *i2c_dev) in st_i2c_of_get_deglitch() 805 struct st_i2c_dev *i2c_dev; in st_i2c_probe() local [all …]
|
H A D | i2c-wmt.c | 93 static int wmt_i2c_wait_bus_not_busy(struct wmt_i2c_dev *i2c_dev) in wmt_i2c_wait_bus_not_busy() 109 static int wmt_check_status(struct wmt_i2c_dev *i2c_dev) in wmt_check_status() 125 struct wmt_i2c_dev *i2c_dev = i2c_get_adapdata(adap); in wmt_i2c_write() local 216 struct wmt_i2c_dev *i2c_dev = i2c_get_adapdata(adap); in wmt_i2c_read() local 326 struct wmt_i2c_dev *i2c_dev = data; in wmt_i2c_isr() local 337 static int wmt_i2c_reset_hardware(struct wmt_i2c_dev *i2c_dev) in wmt_i2c_reset_hardware() 373 struct wmt_i2c_dev *i2c_dev; in wmt_i2c_probe() local 439 struct wmt_i2c_dev *i2c_dev = platform_get_drvdata(pdev); in wmt_i2c_remove() local
|
H A D | i2c-owl.c | 121 static void owl_i2c_reset(struct owl_i2c_dev *i2c_dev) in owl_i2c_reset() 133 static int owl_i2c_reset_fifo(struct owl_i2c_dev *i2c_dev) in owl_i2c_reset_fifo() 158 static void owl_i2c_set_freq(struct owl_i2c_dev *i2c_dev) in owl_i2c_set_freq() 168 static void owl_i2c_xfer_data(struct owl_i2c_dev *i2c_dev) in owl_i2c_xfer_data() 214 struct owl_i2c_dev *i2c_dev = _dev; in owl_i2c_interrupt() local 237 struct owl_i2c_dev *i2c_dev = i2c_get_adapdata(adap); in owl_i2c_check_bus_busy() local 255 struct owl_i2c_dev *i2c_dev = i2c_get_adapdata(adap); in owl_i2c_xfer_common() local 439 struct owl_i2c_dev *i2c_dev; in owl_i2c_probe() local
|
H A D | i2c-davinci.c | 144 static inline void davinci_i2c_write_reg(struct davinci_i2c_dev *i2c_dev, in davinci_i2c_write_reg() 150 static inline u16 davinci_i2c_read_reg(struct davinci_i2c_dev *i2c_dev, int reg) in davinci_i2c_read_reg() 155 static inline void davinci_i2c_reset_ctrl(struct davinci_i2c_dev *i2c_dev, in davinci_i2c_reset_ctrl() 907 struct davinci_i2c_dev *i2c_dev = dev_get_drvdata(dev); in davinci_i2c_suspend() local 917 struct davinci_i2c_dev *i2c_dev = dev_get_drvdata(dev); in davinci_i2c_resume() local
|
H A D | i2c-brcmstb.c | 695 struct brcmstb_i2c_dev *i2c_dev = dev_get_drvdata(dev); in brcmstb_i2c_suspend() local 703 struct brcmstb_i2c_dev *i2c_dev = dev_get_drvdata(dev); in brcmstb_i2c_resume() local
|
/openbmc/linux/drivers/i2c/ |
H A D | i2c-dev.c | 42 struct i2c_dev { struct 53 static struct i2c_dev *i2c_dev_get_by_minor(unsigned index) in i2c_dev_get_by_minor() argument 55 struct i2c_dev *i2c_dev; in i2c_dev_get_by_minor() local 70 struct i2c_dev *i2c_dev; in get_free_i2c_dev() local 88 static void put_i2c_dev(struct i2c_dev *i2c_dev, bool del_cdev) in put_i2c_dev() 101 struct i2c_dev *i2c_dev = i2c_dev_get_by_minor(MINOR(dev->devt)); in name_show() local 643 struct i2c_dev *i2c_dev; in i2cdev_dev_release() local 652 struct i2c_dev *i2c_dev; in i2cdev_attach_adapter() local 691 struct i2c_dev *i2c_dev; in i2cdev_detach_adapter() local
|
/openbmc/linux/drivers/gpu/drm/gma500/ |
H A D | oaktrail_hdmi_i2c.c | 96 struct hdmi_i2c_dev *i2c_dev = hdmi_dev->i2c_dev; in xfer_read() local 129 struct hdmi_i2c_dev *i2c_dev = hdmi_dev->i2c_dev; in oaktrail_hdmi_i2c_access() local 177 struct hdmi_i2c_dev *i2c_dev = hdmi_dev->i2c_dev; in hdmi_i2c_read() local 206 struct hdmi_i2c_dev *i2c_dev = hdmi_dev->i2c_dev; in hdmi_i2c_transaction_done() local 226 struct hdmi_i2c_dev *i2c_dev = hdmi_dev->i2c_dev; in oaktrail_hdmi_i2c_handler() local 276 struct hdmi_i2c_dev *i2c_dev; in oaktrail_hdmi_i2c_init() local 323 struct hdmi_i2c_dev *i2c_dev; in oaktrail_hdmi_i2c_exit() local
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | chromeos_laptop.c | 138 struct i2c_peripheral *i2c_dev; in chromeos_laptop_check_adapter() local 201 struct i2c_peripheral *i2c_dev; in chromeos_laptop_detach_i2c_client() local 720 static int __init chromeos_laptop_setup_irq(struct i2c_peripheral *i2c_dev) in chromeos_laptop_setup_irq() 744 struct i2c_peripheral *i2c_dev; in chromeos_laptop_prepare_i2c_peripherals() local 858 struct i2c_peripheral *i2c_dev; in chromeos_laptop_destroy() local
|
/openbmc/linux/drivers/media/usb/em28xx/ |
H A D | em28xx-input.c | 72 static int em28xx_get_key_terratec(struct i2c_client *i2c_dev, in em28xx_get_key_terratec() 103 static int em28xx_get_key_em_haup(struct i2c_client *i2c_dev, in em28xx_get_key_em_haup() 133 static int em28xx_get_key_pinnacle_usb_grey(struct i2c_client *i2c_dev, in em28xx_get_key_pinnacle_usb_grey() 152 static int em28xx_get_key_winfast_usbii_deluxe(struct i2c_client *i2c_dev, in em28xx_get_key_winfast_usbii_deluxe()
|
/openbmc/phosphor-power/tools/i2c/ |
H A D | meson.build | 1 libi2c_dev = static_library( build
|
/openbmc/linux/include/sound/ |
H A D | pt2258.h | 14 struct snd_i2c_device *i2c_dev; member
|
/openbmc/linux/drivers/nfc/fdp/ |
H A D | fdp.h | 15 struct i2c_client *i2c_dev; member
|
/openbmc/google-ipmi-sys/ |
H A D | util.cpp | 98 for (const auto& i2c_dev : fs::directory_iterator("/sys/bus/i2c/devices")) in buildPcieMap() local
|
/openbmc/linux/drivers/nfc/s3fwrn5/ |
H A D | i2c.c | 25 struct i2c_client *i2c_dev; member
|
/openbmc/linux/drivers/nfc/pn533/ |
H A D | i2c.c | 26 struct i2c_client *i2c_dev; member
|
/openbmc/linux/drivers/nfc/st-nci/ |
H A D | i2c.c | 33 struct i2c_client *i2c_dev; member
|
/openbmc/linux/drivers/nfc/nxp-nci/ |
H A D | i2c.c | 33 struct i2c_client *i2c_dev; member
|
/openbmc/linux/drivers/nfc/microread/ |
H A D | i2c.c | 39 struct i2c_client *i2c_dev; member
|
/openbmc/u-boot/drivers/i2c/ |
H A D | sh_i2c.c | 47 static const struct sh_i2c *i2c_dev[CONFIG_SYS_I2C_SH_NUM_CONTROLLERS] = { variable
|