/u-boot/board/freescale/ls1012ardb/ |
A D | ls1012ardb.c | 41 int ret, bus_num = 0; in checkboard() local 53 bus_num); in checkboard() 58 i2c_set_bus_num(bus_num); in checkboard() 196 int ret, bus_num = 0; in esdhc_status_fixup() local 205 bus_num); in esdhc_status_fixup() 210 i2c_set_bus_num(bus_num); in esdhc_status_fixup() 274 int ret, bus_num = 0; in switch_to_bank1() local 283 bus_num); in switch_to_bank1() 323 i2c_set_bus_num(bus_num); in switch_to_bank1() 339 int ret, i, bus_num = 0; in switch_to_bank2() local [all …]
|
/u-boot/board/freescale/common/ |
A D | vsc3316_3308.c | 38 int ret, bus_num = 0; in vsc_if_enable() local 41 ret = i2c_get_chip_for_busnum(bus_num, vsc_addr, in vsc_if_enable() 45 bus_num); in vsc_if_enable() 66 int bus_num = 0; in vsc3316_config() local 73 bus_num); in vsc3316_config() 189 int bus_num = 0; in vsc3308_config_adjust() local 196 bus_num); in vsc3308_config_adjust() 389 int bus_num = 0; in vsc3308_config() local 396 bus_num); in vsc3308_config() 513 int ret, bus_num = 0; in vsc_wp_config() local [all …]
|
/u-boot/drivers/ddr/marvell/a38x/ |
A D | ddr3_training_leveling.c | 54 for (bus_num = 0; bus_num < MAX_BUS_NUM; bus_num++) in ddr3_tip_dynamic_read_leveling() 203 for (bus_num = 0; in ddr3_tip_dynamic_read_leveling() 205 bus_num++) { in ddr3_tip_dynamic_read_leveling() 269 for (bus_num = 0; in ddr3_tip_dynamic_read_leveling() 271 bus_num++) { in ddr3_tip_dynamic_read_leveling() 418 for (bus_num = 0; in ddr3_tip_dynamic_per_bit_read_leveling() 419 bus_num <= octets_per_if_num; bus_num++) { in ddr3_tip_dynamic_per_bit_read_leveling() 596 bus_num, in ddr3_tip_dynamic_per_bit_read_leveling() 652 bus_num); in ddr3_tip_dynamic_per_bit_read_leveling() 681 for (bus_num = 0; bus_num < octets_per_if_num; in ddr3_tip_dynamic_per_bit_read_leveling() [all …]
|
A D | ddr3_training.c | 1771 u32 if_id, bus_num, cs_bitmask, data_val, cs_num; in ddr3_tip_write_cs_result() local 1777 for (bus_num = 0; bus_num < octets_per_if_num; in ddr3_tip_write_cs_result() 1778 bus_num++) { in ddr3_tip_write_cs_result() 1779 VALIDATE_BUS_ACTIVE(tm->bus_act_mask, bus_num); in ddr3_tip_write_cs_result() 1782 as_bus_params[bus_num].cs_bitmask; in ddr3_tip_write_cs_result() 1786 ACCESS_TYPE_UNICAST, bus_num, in ddr3_tip_write_cs_result() 1795 bus_num, DDR_PHY_DATA, in ddr3_tip_write_cs_result()
|
/u-boot/board/freescale/ls1043aqds/ |
A D | ls1043aqds.c | 282 int select_i2c_ch_pca9547(u8 ch, int bus_num) in select_i2c_ch_pca9547() argument 289 ret = i2c_get_chip_for_busnum(bus_num, I2C_MUX_PCA_ADDR_PRI, in select_i2c_ch_pca9547() 293 bus_num); in select_i2c_ch_pca9547() 336 int bus_num = 0; in board_retimer_init() local 339 select_i2c_ch_pca9547(I2C_MUX_CH7, bus_num); in board_retimer_init() 345 ret = i2c_get_chip_for_busnum(bus_num, I2C_MUX_PCA_ADDR_SEC, in board_retimer_init() 349 bus_num); in board_retimer_init() 355 ret = i2c_get_chip_for_busnum(bus_num, I2C_RETIMER_ADDR, in board_retimer_init() 359 bus_num); in board_retimer_init() 456 select_i2c_ch_pca9547(I2C_MUX_CH_DEFAULT, bus_num); in board_retimer_init()
|
/u-boot/board/freescale/ls1021aqds/ |
A D | dcu.c | 20 static int select_i2c_ch_pca9547(u8 ch, int bus_num) in select_i2c_ch_pca9547() argument 26 ret = i2c_get_chip_for_busnum(bus_num, I2C_MUX_PCA_ADDR_PRI, in select_i2c_ch_pca9547() 30 bus_num); in select_i2c_ch_pca9547()
|
A D | ls1021aqds.c | 144 int select_i2c_ch_pca9547(u8 ch, int bus_num) in select_i2c_ch_pca9547() argument 150 ret = i2c_get_chip_for_busnum(bus_num, I2C_MUX_PCA_ADDR_PRI, in select_i2c_ch_pca9547() 154 bus_num); in select_i2c_ch_pca9547()
|
/u-boot/board/freescale/t102xrdb/ |
A D | t102xrdb.c | 260 int bus_num = I2C_PCA6408_BUS_NUM; in t1023rdb_ctrl() local 266 ret = i2c_get_chip_for_busnum(bus_num, I2C_PCA6408_ADDR, in t1023rdb_ctrl() 270 bus_num); in t1023rdb_ctrl() 344 i2c_set_bus_num(bus_num); in t1023rdb_ctrl() 351 i2c_set_bus_num(bus_num); in t1023rdb_ctrl() 360 i2c_set_bus_num(bus_num); in t1023rdb_ctrl()
|
/u-boot/board/freescale/ls1012aqds/ |
A D | ls1012aqds.c | 113 int bus_num = 0; in misc_init_r() local 119 ret = i2c_get_chip_for_busnum(bus_num, CONFIG_SYS_I2C_FPGA_ADDR, in misc_init_r() 123 bus_num); in misc_init_r() 128 i2c_set_bus_num(bus_num); in misc_init_r()
|
/u-boot/board/varisys/common/ |
A D | eeprom.h | 4 void init_eeprom(int bus_num, int addr, int addr_len);
|
A D | sys_eeprom.c | 69 void init_eeprom(int bus_num, int addr, int addr_len) in init_eeprom() argument 71 eeprom_bus_num = bus_num; in init_eeprom()
|
/u-boot/board/freescale/ls1046afrwy/ |
A D | ls1046afrwy.c | 41 int select_i2c_ch_pca9547(u8 ch, int bus_num) in select_i2c_ch_pca9547() argument 48 ret = i2c_get_chip_for_busnum(bus_num, I2C_MUX_PCA_ADDR_PRI, in select_i2c_ch_pca9547() 52 bus_num); in select_i2c_ch_pca9547()
|
/u-boot/arch/arm/mach-mvebu/serdes/a38x/ |
A D | ctrl_pex.c | 229 int pex_local_bus_num_set(u32 pex_if, u32 bus_num) in pex_local_bus_num_set() argument 235 if (bus_num >= MAX_PEX_BUSSES) { in pex_local_bus_num_set() 237 bus_num, 4); in pex_local_bus_num_set() 244 (bus_num << PXSR_PEX_BUS_NUM_OFFS) & PXSR_PEX_BUS_NUM_MASK; in pex_local_bus_num_set()
|
A D | ctrl_pex.h | 82 int pex_local_bus_num_set(u32 pex_if, u32 bus_num);
|
/u-boot/board/freescale/p1_p2_rdb_pc/ |
A D | p1_p2_rdb_pc.c | 168 int bus_num = CONFIG_SYS_SPD_BUS_NUM; in checkboard() local 180 ret = i2c_get_chip_for_busnum(bus_num, CONFIG_SYS_I2C_PCA9557_ADDR, in checkboard() 184 bus_num); in checkboard() 195 i2c_set_bus_num(bus_num); in checkboard()
|
/u-boot/board/freescale/t208xqds/ |
A D | t208xqds.c | 82 int select_i2c_ch_pca9547(u8 ch, int bus_num) in select_i2c_ch_pca9547() argument 89 ret = i2c_get_chip_for_busnum(bus_num, I2C_MUX_PCA_ADDR_PRI, 1, &dev); in select_i2c_ch_pca9547() 92 bus_num); in select_i2c_ch_pca9547()
|
/u-boot/board/freescale/ls1046aqds/ |
A D | ls1046aqds.c | 279 int select_i2c_ch_pca9547(u8 ch, int bus_num) in select_i2c_ch_pca9547() argument 285 ret = i2c_get_chip_for_busnum(bus_num, I2C_MUX_PCA_ADDR_PRI, in select_i2c_ch_pca9547() 289 bus_num); in select_i2c_ch_pca9547()
|
/u-boot/drivers/i2c/ |
A D | nx_i2c.c | 65 uint bus_num; member 89 int index = bus->bus_num; in i2c_get_clkrate() 105 sprintf(name, "%s.%d", DEV_NAME_I2C, bus->bus_num); in i2c_set_clk() 244 bus->bus_num = dev_seq(dev); in nx_i2c_probe() 252 i2c_reset(bus->bus_num); in nx_i2c_probe()
|
A D | s3c24x0_i2c.h | 52 int bus_num; /* i2c bus number */ member
|
A D | s3c24x0_i2c.c | 322 i2c_bus->bus_num = dev_seq(dev); in s3c_i2c_of_to_plat()
|
/u-boot/drivers/tee/ |
A D | sandbox.c | 268 static void fill_i2c_rpc_params(struct optee_msg_arg *msg_arg, u64 bus_num, in fill_i2c_rpc_params() argument 281 msg_arg->params[0].u.value.b = bus_num; in fill_i2c_rpc_params() 300 int chip_addr, bus_num, op, xfer_flags; in ta_rpc_test_invoke_func() local 311 bus_num = params[0].u.value.a; in ta_rpc_test_invoke_func() 334 fill_i2c_rpc_params(msg_arg, bus_num, chip_addr, xfer_flags, op, in ta_rpc_test_invoke_func()
|
/u-boot/cmd/ |
A D | pci.c | 392 void pciinfo(int bus_num, int short_pci_listing) in pciinfo() argument 394 struct pci_controller *hose = pci_bus_to_hose(bus_num); in pciinfo() 405 pciinfo_header(bus_num, short_pci_listing); in pciinfo() 419 dev = PCI_BDF(bus_num, device, function); in pciinfo() 437 printf("%02x.%02x.%02x ", bus_num, device, in pciinfo() 442 bus_num, device, function); in pciinfo()
|
/u-boot/arch/arm/include/asm/arch-mx6/ |
A D | clock.h | 69 int enable_usdhc_clk(unsigned char enable, unsigned bus_num);
|
/u-boot/board/freescale/p1010rdb/ |
A D | p1010rdb.c | 378 int bus_num = I2C_PCA9557_BUS_NUM; in i2c_pca9557_read() local 384 ret = i2c_get_chip_for_busnum(bus_num, I2C_PCA9557_ADDR2, 1, &dev); in i2c_pca9557_read() 387 __func__, bus_num); in i2c_pca9557_read() 392 i2c_set_bus_num(bus_num); in i2c_pca9557_read()
|
/u-boot/arch/arm/mach-mvebu/serdes/axp/ |
A D | high_speed_env_lib.c | 28 int pex_local_bus_num_set(u32 pex_if, u32 bus_num); 1560 int pex_local_bus_num_set(u32 pex_if, u32 bus_num) in pex_local_bus_num_set() argument 1564 if (bus_num >= MAX_PEX_BUSSES) { in pex_local_bus_num_set() 1566 bus_num, 4); in pex_local_bus_num_set() 1572 val |= (bus_num << PXSR_PEX_BUS_NUM_OFFS) & PXSR_PEX_BUS_NUM_MASK; in pex_local_bus_num_set()
|