Home
last modified time | relevance | path

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

/external/u-boot/drivers/i2c/
Dtegra_i2c.c29 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()
306 static int tegra_i2c_write_data(struct i2c_bus *i2c_bus, u32 addr, u8 *data, in tegra_i2c_write_data()
327 static int tegra_i2c_read_data(struct i2c_bus *i2c_bus, u32 addr, u8 *data, in tegra_i2c_read_data()
348 struct i2c_bus *i2c_bus = dev_get_priv(dev); in tegra_i2c_set_bus_speed() local
[all …]
Dmxc_i2c.c136 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()
447 static int i2c_write_data(struct mxc_i2c_bus *i2c_bus, u8 chip, const u8 *buf, in i2c_write_data()
[all …]
Ds3c24x0_i2c.c86 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
Dcros_ec_tunnel.c27 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
Dexynos_hs_i2c.c139 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
Ddavinci_i2c.c24 struct i2c_bus { struct
25 int id;
26 uint speed;
27 struct i2c_regs *regs;
Di2c-cdns.c226 static int cdns_i2c_write_data(struct i2c_cdns_bus *i2c_bus, u32 addr, u8 *data, in cdns_i2c_write_data()
274 static int cdns_i2c_read_data(struct i2c_cdns_bus *i2c_bus, u32 addr, u8 *data, in cdns_i2c_read_data()
367 struct i2c_cdns_bus *i2c_bus = dev_get_priv(dev); in cdns_i2c_xfer() local
415 struct i2c_cdns_bus *i2c_bus = dev_get_priv(dev); in cdns_i2c_ofdata_to_platdata() local
Di2c_core.c35 struct i2c_bus_hose i2c_bus[CONFIG_SYS_NUM_I2C_BUSES] = variable
Dimx_lpi2c.c405 struct imx_lpi2c_bus *i2c_bus = dev_get_priv(bus); in imx_lpi2c_probe() local
/external/u-boot/drivers/video/
Danx9804.h21 static inline void anx9804_init(unsigned int i2c_bus, u8 lanes, u8 data_rate, in anx9804_init()
Danx9804.c28 void anx9804_init(unsigned int i2c_bus, u8 lanes, u8 data_rate, int bpp) in anx9804_init()
/external/u-boot/include/
Dsound.h26 int i2c_bus; member
/external/u-boot/cmd/
Deeprom.c227 static int parse_i2c_bus_addr(int *i2c_bus, ulong *i2c_addr, int argc, in parse_i2c_bus_addr()
293 static int eeprom_execute_command(enum eeprom_action action, int i2c_bus, in eeprom_execute_command()
350 int i2c_bus = -1, index = 0; in do_eeprom() local
/external/u-boot/drivers/i2c/muxes/
Di2c-mux-uclass.c24 struct udevice *i2c_bus; member
/external/u-boot/board/ti/common/
Dboard_detect.c60 static int __maybe_unused ti_i2c_eeprom_init(int i2c_bus, int dev_addr) in ti_i2c_eeprom_init()
/external/u-boot/board/freescale/ls1021atwr/
Dls1021atwr.c497 unsigned int i2c_bus; in ls1twr_program_regulator() local