/Linux-v6.6/drivers/i2c/busses/ |
D | i2c-sprd.c | 93 static void sprd_i2c_set_count(struct sprd_i2c *i2c_dev, u32 count) in sprd_i2c_set_count() 98 static void sprd_i2c_send_stop(struct sprd_i2c *i2c_dev, int stop) in sprd_i2c_send_stop() 108 static void sprd_i2c_clear_start(struct sprd_i2c *i2c_dev) in sprd_i2c_clear_start() 115 static void sprd_i2c_clear_ack(struct sprd_i2c *i2c_dev) in sprd_i2c_clear_ack() 122 static void sprd_i2c_clear_irq(struct sprd_i2c *i2c_dev) in sprd_i2c_clear_irq() 129 static void sprd_i2c_reset_fifo(struct sprd_i2c *i2c_dev) in sprd_i2c_reset_fifo() 134 static void sprd_i2c_set_devaddr(struct sprd_i2c *i2c_dev, struct i2c_msg *m) in sprd_i2c_set_devaddr() 139 static void sprd_i2c_write_bytes(struct sprd_i2c *i2c_dev, u8 *buf, u32 len) in sprd_i2c_write_bytes() 147 static void sprd_i2c_read_bytes(struct sprd_i2c *i2c_dev, u8 *buf, u32 len) in sprd_i2c_read_bytes() 155 static void sprd_i2c_set_full_thld(struct sprd_i2c *i2c_dev, u32 full_thld) in sprd_i2c_set_full_thld() [all …]
|
D | i2c-tegra.c | 302 static void dvc_writel(struct tegra_i2c_dev *i2c_dev, u32 val, in dvc_writel() 308 static u32 dvc_readl(struct tegra_i2c_dev *i2c_dev, unsigned int reg) in dvc_readl() 317 static u32 tegra_i2c_reg_addr(struct tegra_i2c_dev *i2c_dev, unsigned int reg) in tegra_i2c_reg_addr() 327 static void i2c_writel(struct tegra_i2c_dev *i2c_dev, u32 val, unsigned int reg) in i2c_writel() 338 static u32 i2c_readl(struct tegra_i2c_dev *i2c_dev, unsigned int reg) in i2c_readl() 343 static void i2c_writesl(struct tegra_i2c_dev *i2c_dev, void *data, in i2c_writesl() 349 static void i2c_writesl_vi(struct tegra_i2c_dev *i2c_dev, void *data, in i2c_writesl_vi() 364 static void i2c_readsl(struct tegra_i2c_dev *i2c_dev, void *data, in i2c_readsl() 370 static void tegra_i2c_mask_irq(struct tegra_i2c_dev *i2c_dev, u32 mask) in tegra_i2c_mask_irq() 378 static void tegra_i2c_unmask_irq(struct tegra_i2c_dev *i2c_dev, u32 mask) in tegra_i2c_unmask_irq() [all …]
|
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 …]
|
D | i2c-stm32f4.c | 144 static void stm32f4_i2c_disable_irq(struct stm32f4_i2c_dev *i2c_dev) in stm32f4_i2c_disable_irq() 151 static int stm32f4_i2c_set_periph_clk_freq(struct stm32f4_i2c_dev *i2c_dev) in stm32f4_i2c_set_periph_clk_freq() 191 static void stm32f4_i2c_set_rise_time(struct stm32f4_i2c_dev *i2c_dev) in stm32f4_i2c_set_rise_time() 225 static void stm32f4_i2c_set_speed_mode(struct stm32f4_i2c_dev *i2c_dev) in stm32f4_i2c_set_speed_mode() 280 static int stm32f4_i2c_hw_config(struct stm32f4_i2c_dev *i2c_dev) in stm32f4_i2c_hw_config() 298 static int stm32f4_i2c_wait_free_bus(struct stm32f4_i2c_dev *i2c_dev) in stm32f4_i2c_wait_free_bus() 320 static void stm32f4_i2c_write_byte(struct stm32f4_i2c_dev *i2c_dev, u8 byte) in stm32f4_i2c_write_byte() 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() 349 static void stm32f4_i2c_terminate_xfer(struct stm32f4_i2c_dev *i2c_dev) in stm32f4_i2c_terminate_xfer() [all …]
|
D | i2c-stm32f7.c | 429 static void stm32f7_i2c_disable_irq(struct stm32f7_i2c_dev *i2c_dev, u32 mask) in stm32f7_i2c_disable_irq() 446 static int stm32f7_i2c_compute_timing(struct stm32f7_i2c_dev *i2c_dev, in stm32f7_i2c_compute_timing() 650 static int stm32f7_i2c_setup_timing(struct stm32f7_i2c_dev *i2c_dev, in stm32f7_i2c_setup_timing() 718 static void stm32f7_i2c_disable_dma_req(struct stm32f7_i2c_dev *i2c_dev) in stm32f7_i2c_disable_dma_req() 728 struct stm32f7_i2c_dev *i2c_dev = (struct stm32f7_i2c_dev *)arg; in stm32f7_i2c_dma_callback() local 737 static void stm32f7_i2c_hw_config(struct stm32f7_i2c_dev *i2c_dev) in stm32f7_i2c_hw_config() 768 static void stm32f7_i2c_write_tx_data(struct stm32f7_i2c_dev *i2c_dev) in stm32f7_i2c_write_tx_data() 779 static void stm32f7_i2c_read_rx_data(struct stm32f7_i2c_dev *i2c_dev) in stm32f7_i2c_read_rx_data() 793 static void stm32f7_i2c_reload(struct stm32f7_i2c_dev *i2c_dev) in stm32f7_i2c_reload() 814 static void stm32f7_i2c_smbus_reload(struct stm32f7_i2c_dev *i2c_dev) in stm32f7_i2c_smbus_reload() [all …]
|
D | i2c-bcm2835.c | 73 static inline void bcm2835_i2c_writel(struct bcm2835_i2c_dev *i2c_dev, in bcm2835_i2c_writel() 79 static inline u32 bcm2835_i2c_readl(struct bcm2835_i2c_dev *i2c_dev, u32 reg) in bcm2835_i2c_readl() 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 [all …]
|
D | i2c-st.c | 235 static void st_i2c_flush_rx_fifo(struct st_i2c_dev *i2c_dev) in st_i2c_flush_rx_fifo() 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() 398 static inline void st_i2c_write_tx_fifo(struct st_i2c_dev *i2c_dev, u8 byte) in st_i2c_write_tx_fifo() 412 static void st_i2c_wr_fill_tx_fifo(struct st_i2c_dev *i2c_dev) in st_i2c_wr_fill_tx_fifo() 442 static void st_i2c_rd_fill_tx_fifo(struct st_i2c_dev *i2c_dev, int max) in st_i2c_rd_fill_tx_fifo() 464 static void st_i2c_read_rx_fifo(struct st_i2c_dev *i2c_dev) in st_i2c_read_rx_fifo() 493 static void st_i2c_terminate_xfer(struct st_i2c_dev *i2c_dev) in st_i2c_terminate_xfer() [all …]
|
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
|
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
|
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
|
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
|
/Linux-v6.6/drivers/i2c/ |
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
|
/Linux-v6.6/drivers/gpu/drm/gma500/ |
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
|
/Linux-v6.6/drivers/platform/chrome/ |
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
|
/Linux-v6.6/drivers/media/usb/em28xx/ |
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()
|
/Linux-v6.6/drivers/nfc/fdp/ |
D | fdp.h | 15 struct i2c_client *i2c_dev; member
|
/Linux-v6.6/include/sound/ |
D | pt2258.h | 14 struct snd_i2c_device *i2c_dev; member
|
/Linux-v6.6/drivers/nfc/s3fwrn5/ |
D | i2c.c | 25 struct i2c_client *i2c_dev; member
|
/Linux-v6.6/drivers/nfc/pn533/ |
D | i2c.c | 26 struct i2c_client *i2c_dev; member
|
/Linux-v6.6/drivers/nfc/nxp-nci/ |
D | i2c.c | 33 struct i2c_client *i2c_dev; member
|
/Linux-v6.6/drivers/nfc/st-nci/ |
D | i2c.c | 33 struct i2c_client *i2c_dev; member
|
/Linux-v6.6/drivers/nfc/microread/ |
D | i2c.c | 39 struct i2c_client *i2c_dev; member
|
/Linux-v6.6/drivers/media/pci/bt8xx/ |
D | bttv-input.c | 369 struct i2c_client *i2c_dev; in init_bttv_i2c_ir() local
|
/Linux-v6.6/drivers/nfc/st21nfca/ |
D | i2c.c | 52 struct i2c_client *i2c_dev; member
|
/Linux-v6.6/drivers/media/platform/marvell/ |
D | cafe-driver.c | 482 struct i2c_client *i2c_dev; in cafe_pci_probe() local
|