/openbmc/u-boot/drivers/i2c/ |
H A D | tegra_i2c.c | 29 struct i2c_bus { struct 41 static void set_packet_mode(struct i2c_bus *i2c_bus) in set_packet_mode() 61 static void i2c_reset_controller(struct i2c_bus *i2c_bus) in i2c_reset_controller() 73 static int i2c_init_clock(struct i2c_bus *i2c_bus, unsigned rate) in i2c_init_clock() 93 static void i2c_init_controller(struct i2c_bus *i2c_bus) in i2c_init_controller() 142 struct i2c_bus *i2c_bus, in send_packet_headers() 230 static int send_recv_packets(struct i2c_bus *i2c_bus, in send_recv_packets() 348 struct i2c_bus *i2c_bus = dev_get_priv(dev); in tegra_i2c_set_bus_speed() local 358 struct i2c_bus *i2c_bus = dev_get_priv(dev); in tegra_i2c_probe() local 462 struct i2c_bus *i2c_bus = dev_get_priv(bus); in tegra_i2c_probe_chip() local [all …]
|
H A D | mxc_i2c.c | 136 static uint8_t i2c_imx_get_clk(struct mxc_i2c_bus *i2c_bus, unsigned int rate) in i2c_imx_get_clk() 169 static int bus_i2c_set_bus_speed(struct mxc_i2c_bus *i2c_bus, int speed) in bus_i2c_set_bus_speed() 193 static int wait_for_sr_state(struct mxc_i2c_bus *i2c_bus, unsigned state) in wait_for_sr_state() 227 static int tx_byte(struct mxc_i2c_bus *i2c_bus, u8 byte) in tx_byte() 257 static void i2c_imx_stop(struct mxc_i2c_bus *i2c_bus) in i2c_imx_stop() 276 static int i2c_init_transfer_(struct mxc_i2c_bus *i2c_bus, u8 chip, in i2c_init_transfer_() 336 int i2c_idle_bus(struct mxc_i2c_bus *i2c_bus) in i2c_idle_bus() 354 int i2c_idle_bus(struct mxc_i2c_bus *i2c_bus) in i2c_idle_bus() 414 static int i2c_init_transfer(struct mxc_i2c_bus *i2c_bus, u8 chip, in i2c_init_transfer() 529 static int bus_i2c_read(struct mxc_i2c_bus *i2c_bus, u8 chip, u32 addr, in bus_i2c_read() [all …]
|
H A D | s3c24x0_i2c.c | 86 struct s3c24x0_i2c_bus *i2c_bus = dev_get_priv(dev); in s3c24x0_i2c_set_bus_speed() local 210 struct s3c24x0_i2c_bus *i2c_bus = dev_get_priv(dev); in s3c24x0_i2c_probe() local 226 static int s3c24x0_do_msg(struct s3c24x0_i2c_bus *i2c_bus, struct i2c_msg *msg, in s3c24x0_do_msg() 281 struct s3c24x0_i2c_bus *i2c_bus = dev_get_priv(dev); in s3c24x0_i2c_xfer() local 307 struct s3c24x0_i2c_bus *i2c_bus = dev_get_priv(dev); in s3c_i2c_ofdata_to_platdata() local
|
H A D | exynos_hs_i2c.c | 139 static int hsi2c_get_clk_details(struct s3c24x0_i2c_bus *i2c_bus) in hsi2c_get_clk_details() 173 static void hsi2c_ch_init(struct s3c24x0_i2c_bus *i2c_bus) in hsi2c_ch_init() 224 static void exynos5_i2c_reset(struct s3c24x0_i2c_bus *i2c_bus) in exynos5_i2c_reset() 466 struct s3c24x0_i2c_bus *i2c_bus = dev_get_priv(dev); in exynos_hs_i2c_xfer() local 489 struct s3c24x0_i2c_bus *i2c_bus = dev_get_priv(dev); in s3c24x0_i2c_set_bus_speed() local 502 struct s3c24x0_i2c_bus *i2c_bus = dev_get_priv(dev); in s3c24x0_i2c_probe() local 521 struct s3c24x0_i2c_bus *i2c_bus = dev_get_priv(dev); in s3c_i2c_ofdata_to_platdata() local
|
H A D | davinci_i2c.c | 24 struct i2c_bus { struct 25 int id; 26 uint speed; 27 struct i2c_regs *regs;
|
H A D | cros_ec_tunnel.c | 27 struct cros_ec_i2c_bus *i2c_bus = dev_get_priv(dev); in cros_ec_i2c_xfer() local 34 struct cros_ec_i2c_bus *i2c_bus = dev_get_priv(dev); in cros_ec_i2c_ofdata_to_platdata() local
|
H A D | i2c-cdns.c | 244 static int cdns_i2c_write_data(struct i2c_cdns_bus *i2c_bus, u32 addr, u8 *data, in cdns_i2c_write_data() 306 static int cdns_i2c_read_data(struct i2c_cdns_bus *i2c_bus, u32 addr, u8 *data, in cdns_i2c_read_data() 401 struct i2c_cdns_bus *i2c_bus = dev_get_priv(dev); in cdns_i2c_xfer() local 462 struct i2c_cdns_bus *i2c_bus = dev_get_priv(dev); in cdns_i2c_ofdata_to_platdata() local
|
H A D | imx_lpi2c.c | 271 struct imx_lpi2c_bus *i2c_bus = dev_get_priv(bus); in bus_i2c_set_bus_speed() local 442 struct imx_lpi2c_bus *i2c_bus = dev_get_priv(bus); in imx_lpi2c_probe() local
|
/openbmc/linux/drivers/media/usb/em28xx/ |
H A D | em28xx-i2c.c | 474 static inline int i2c_check_for_device(struct em28xx_i2c_bus *i2c_bus, u16 addr) in i2c_check_for_device() 488 static inline int i2c_recv_bytes(struct em28xx_i2c_bus *i2c_bus, in i2c_recv_bytes() 504 static inline int i2c_send_bytes(struct em28xx_i2c_bus *i2c_bus, in i2c_send_bytes() 527 struct em28xx_i2c_bus *i2c_bus = i2c_adap->algo_data; in em28xx_i2c_xfer() local 881 struct em28xx_i2c_bus *i2c_bus = i2c_adap->algo_data; in functionality() local
|
H A D | em28xx-dvb.c | 197 struct em28xx_i2c_bus *i2c_bus = dvb->adapter.priv; in em28xx_start_streaming() local 240 struct em28xx_i2c_bus *i2c_bus = dvb->adapter.priv; in em28xx_stop_streaming() local 290 struct em28xx_i2c_bus *i2c_bus = fe->dvb->priv; in em28xx_dvb_bus_ctrl() local 728 struct em28xx_i2c_bus *i2c_bus = fe->dvb->priv; in em28xx_pctv_290e_set_lna() local 757 struct em28xx_i2c_bus *i2c_bus = fe->dvb->priv; in em28xx_pctv_292e_set_lna() local
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_i2c.c | 270 const struct amdgpu_i2c_bus_rec *i2c_bus) in amdgpu_i2c_lookup() 283 static void amdgpu_i2c_get_byte(struct amdgpu_i2c_chan *i2c_bus, in amdgpu_i2c_get_byte() 317 static void amdgpu_i2c_put_byte(struct amdgpu_i2c_chan *i2c_bus, in amdgpu_i2c_put_byte()
|
/openbmc/u-boot/cmd/ |
H A D | eeprom.c | 231 static int parse_i2c_bus_addr(int *i2c_bus, ulong *i2c_addr, int argc, in parse_i2c_bus_addr() 297 static int eeprom_execute_command(enum eeprom_action action, int i2c_bus, in eeprom_execute_command() 354 int i2c_bus = -1, index = 0; in do_eeprom() local
|
/openbmc/u-boot/drivers/video/ |
H A D | anx9804.h | 21 static inline void anx9804_init(unsigned int i2c_bus, u8 lanes, u8 data_rate, in anx9804_init()
|
H A D | anx9804.c | 28 void anx9804_init(unsigned int i2c_bus, u8 lanes, u8 data_rate, int bpp) in anx9804_init()
|
/openbmc/qemu/hw/misc/ |
H A D | auxbus.c | 107 I2CBus *i2c_bus = aux_get_i2c_bus(bus); in aux_request() local 256 I2CBus *i2c_bus; member
|
/openbmc/linux/include/sound/ |
H A D | pt2258.h | 13 struct snd_i2c_bus *i2c_bus; member
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_i2c.c | 1028 struct radeon_i2c_bus_rec *i2c_bus) in radeon_i2c_lookup() 1041 void radeon_i2c_get_byte(struct radeon_i2c_chan *i2c_bus, in radeon_i2c_get_byte() 1075 void radeon_i2c_put_byte(struct radeon_i2c_chan *i2c_bus, in radeon_i2c_put_byte()
|
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-is-sensor.h | 46 unsigned int i2c_bus; member
|
/openbmc/u-boot/include/ |
H A D | sound.h | 18 int i2c_bus; member
|
/openbmc/qemu/hw/ppc/ |
H A D | amigaone.c | 76 I2CBus *i2c_bus; in amigaone_init() local
|
/openbmc/linux/drivers/media/pci/cx23885/ |
H A D | netup-init.c | 98 struct cx23885_i2c *i2c_bus = &dev->i2c_bus[2]; in netup_initialize() local
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dvo_dev.h | 45 struct i2c_adapter *i2c_bus; member
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | i2c.c | 68 void *i2c_device_create(void *i2c_bus, QGuestAllocator *alloc, void *addr) in i2c_device_create()
|
/openbmc/u-boot/drivers/board/ |
H A D | gazerbeam.c | 61 struct udevice *i2c_bus; in _read_board_variant_data() local
|
/openbmc/u-boot/drivers/i2c/muxes/ |
H A D | i2c-mux-uclass.c | 22 struct udevice *i2c_bus; member
|