Home
last modified time | relevance | path

Searched defs:i2c_bus (Results 1 – 18 of 18) sorted by relevance

/u-boot/drivers/i2c/
A Dtegra_i2c.c32 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 Dmxc_i2c.c142 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 Ds3c24x0_i2c.c88 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 Dimx_lpi2c.c100 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 Dcros_ec_tunnel.c28 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 Dexynos_hs_i2c.c142 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 Ddavinci_i2c.c26 struct i2c_bus { struct
27 int id;
28 uint speed;
29 struct i2c_regs *regs;
A Di2c-cdns.c248 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 Di2c_core.c37 struct i2c_bus_hose i2c_bus[CONFIG_SYS_NUM_I2C_BUSES] = variable
/u-boot/drivers/video/
A Danx9804.h21 static inline void anx9804_init(unsigned int i2c_bus, u8 lanes, u8 data_rate, in anx9804_init()
A Danx9804.c29 void anx9804_init(unsigned int i2c_bus, u8 lanes, u8 data_rate, int bpp) in anx9804_init()
/u-boot/cmd/
A Deeprom.c240 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 Dmdio_mux_i2creg.c51 struct udevice *i2c_bus; in mdio_mux_i2creg_probe() local
/u-boot/include/
A Dsound.h18 int i2c_bus; member
/u-boot/drivers/sysinfo/
A Dgazerbeam.c62 struct udevice *i2c_bus; in _read_sysinfo_variant_data() local
/u-boot/drivers/i2c/muxes/
A Di2c-mux-uclass.c24 struct udevice *i2c_bus; member
/u-boot/board/ti/common/
A Dboard_detect.c33 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 Dls1021atwr.c485 unsigned int i2c_bus; in ls1twr_program_regulator() local

Completed in 19 milliseconds