/u-boot/drivers/i2c/ |
A D | tegra_i2c.c | 32 struct i2c_bus { struct 44 static void set_packet_mode(struct i2c_bus *i2c_bus) in set_packet_mode() 64 static void i2c_reset_controller(struct i2c_bus *i2c_bus) in i2c_reset_controller() 76 static int i2c_init_clock(struct i2c_bus *i2c_bus, unsigned rate) in i2c_init_clock() 96 static void i2c_init_controller(struct i2c_bus *i2c_bus) in i2c_init_controller() 145 struct i2c_bus *i2c_bus, in send_packet_headers() 233 static int send_recv_packets(struct i2c_bus *i2c_bus, in send_recv_packets() 351 struct i2c_bus *i2c_bus = dev_get_priv(dev); in tegra_i2c_set_bus_speed() local 361 struct i2c_bus *i2c_bus = dev_get_priv(dev); in tegra_i2c_probe() local 466 struct i2c_bus *i2c_bus = dev_get_priv(bus); in tegra_i2c_probe_chip() local [all …]
|
A D | mxc_i2c.c | 142 static uint8_t i2c_imx_get_clk(struct mxc_i2c_bus *i2c_bus, unsigned int rate) in i2c_imx_get_clk() 180 static int bus_i2c_set_bus_speed(struct mxc_i2c_bus *i2c_bus, int speed) in bus_i2c_set_bus_speed() 204 static int wait_for_sr_state(struct mxc_i2c_bus *i2c_bus, unsigned state) in wait_for_sr_state() 238 static int tx_byte(struct mxc_i2c_bus *i2c_bus, u8 byte) in tx_byte() 268 static void i2c_imx_stop(struct mxc_i2c_bus *i2c_bus) in i2c_imx_stop() 287 static int i2c_init_transfer_(struct mxc_i2c_bus *i2c_bus, u8 chip, in i2c_init_transfer_() 398 int i2c_idle_bus(struct mxc_i2c_bus *i2c_bus) in i2c_idle_bus() 416 int i2c_idle_bus(struct mxc_i2c_bus *i2c_bus) in i2c_idle_bus() 509 static int i2c_init_transfer(struct mxc_i2c_bus *i2c_bus, u8 chip, in i2c_init_transfer() 672 static int bus_i2c_read(struct mxc_i2c_bus *i2c_bus, u8 chip, u32 addr, in bus_i2c_read() [all …]
|
A D | s3c24x0_i2c.c | 88 struct s3c24x0_i2c_bus *i2c_bus = dev_get_priv(dev); in s3c24x0_i2c_set_bus_speed() local 212 struct s3c24x0_i2c_bus *i2c_bus = dev_get_priv(dev); in s3c24x0_i2c_probe() local 228 static int s3c24x0_do_msg(struct s3c24x0_i2c_bus *i2c_bus, struct i2c_msg *msg, in s3c24x0_do_msg() 283 struct s3c24x0_i2c_bus *i2c_bus = dev_get_priv(dev); in s3c24x0_i2c_xfer() local 309 struct s3c24x0_i2c_bus *i2c_bus = dev_get_priv(dev); in s3c_i2c_of_to_plat() local
|
A D | imx_lpi2c.c | 100 struct imx_lpi2c_bus *i2c_bus = dev_get_priv(bus); in bus_i2c_send() local 122 struct imx_lpi2c_bus *i2c_bus = dev_get_priv(bus); in bus_i2c_receive() local 167 struct imx_lpi2c_bus *i2c_bus = dev_get_priv(bus); in bus_i2c_start() local 204 struct imx_lpi2c_bus *i2c_bus = dev_get_priv(bus); in bus_i2c_stop() local 275 struct imx_lpi2c_bus *i2c_bus = dev_get_priv(bus); in bus_i2c_set_bus_speed() local 354 struct imx_lpi2c_bus *i2c_bus = dev_get_priv(bus); in bus_i2c_init() local 444 struct imx_lpi2c_bus *i2c_bus = dev_get_priv(bus); in imx_lpi2c_probe() local
|
A D | cros_ec_tunnel.c | 28 struct cros_ec_i2c_bus *i2c_bus = dev_get_priv(dev); in cros_ec_i2c_xfer() local 35 struct cros_ec_i2c_bus *i2c_bus = dev_get_priv(dev); in cros_ec_i2c_of_to_plat() local
|
A D | exynos_hs_i2c.c | 142 static int hsi2c_get_clk_details(struct s3c24x0_i2c_bus *i2c_bus) in hsi2c_get_clk_details() 176 static void hsi2c_ch_init(struct s3c24x0_i2c_bus *i2c_bus) in hsi2c_ch_init() 227 static void exynos5_i2c_reset(struct s3c24x0_i2c_bus *i2c_bus) in exynos5_i2c_reset() 469 struct s3c24x0_i2c_bus *i2c_bus = dev_get_priv(dev); in exynos_hs_i2c_xfer() local 492 struct s3c24x0_i2c_bus *i2c_bus = dev_get_priv(dev); in s3c24x0_i2c_set_bus_speed() local 505 struct s3c24x0_i2c_bus *i2c_bus = dev_get_priv(dev); in s3c24x0_i2c_probe() local 524 struct s3c24x0_i2c_bus *i2c_bus = dev_get_priv(dev); in s3c_i2c_of_to_plat() local
|
A D | davinci_i2c.c | 26 struct i2c_bus { struct 27 int id; 28 uint speed; 29 struct i2c_regs *regs;
|
A D | i2c-cdns.c | 248 static int cdns_i2c_write_data(struct i2c_cdns_bus *i2c_bus, u32 addr, u8 *data, in cdns_i2c_write_data() 310 static int cdns_i2c_read_data(struct i2c_cdns_bus *i2c_bus, u32 addr, u8 *data, in cdns_i2c_read_data() 405 struct i2c_cdns_bus *i2c_bus = dev_get_priv(dev); in cdns_i2c_xfer() local 466 struct i2c_cdns_bus *i2c_bus = dev_get_priv(dev); in cdns_i2c_of_to_plat() local
|
A D | i2c_core.c | 37 struct i2c_bus_hose i2c_bus[CONFIG_SYS_NUM_I2C_BUSES] = variable
|
/u-boot/drivers/video/ |
A D | anx9804.h | 21 static inline void anx9804_init(unsigned int i2c_bus, u8 lanes, u8 data_rate, in anx9804_init()
|
A D | anx9804.c | 29 void anx9804_init(unsigned int i2c_bus, u8 lanes, u8 data_rate, int bpp) in anx9804_init()
|
/u-boot/cmd/ |
A D | eeprom.c | 240 static int parse_i2c_bus_addr(int *i2c_bus, ulong *i2c_addr, int argc, in parse_i2c_bus_addr() 306 static int eeprom_execute_command(enum eeprom_action action, int i2c_bus, in eeprom_execute_command() 363 int i2c_bus = -1, index = 0; in do_eeprom() local
|
/u-boot/drivers/net/ |
A D | mdio_mux_i2creg.c | 51 struct udevice *i2c_bus; in mdio_mux_i2creg_probe() local
|
/u-boot/include/ |
A D | sound.h | 18 int i2c_bus; member
|
/u-boot/drivers/sysinfo/ |
A D | gazerbeam.c | 62 struct udevice *i2c_bus; in _read_sysinfo_variant_data() local
|
/u-boot/drivers/i2c/muxes/ |
A D | i2c-mux-uclass.c | 24 struct udevice *i2c_bus; member
|
/u-boot/board/ti/common/ |
A D | board_detect.c | 33 static int __maybe_unused ti_i2c_eeprom_init(int i2c_bus, int dev_addr) in ti_i2c_eeprom_init()
|
/u-boot/board/freescale/ls1021atwr/ |
A D | ls1021atwr.c | 485 unsigned int i2c_bus; in ls1twr_program_regulator() local
|