Home
last modified time | relevance | path

Searched refs:bus_num (Results 1 – 25 of 28) sorted by relevance

12

/u-boot/board/freescale/ls1012ardb/
A Dls1012ardb.c41 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 Dvsc3316_3308.c38 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 Dddr3_training_leveling.c54 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 Dddr3_training.c1771 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 Dls1043aqds.c282 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 Ddcu.c20 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 Dls1021aqds.c144 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 Dt102xrdb.c260 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 Dls1012aqds.c113 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 Deeprom.h4 void init_eeprom(int bus_num, int addr, int addr_len);
A Dsys_eeprom.c69 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 Dls1046afrwy.c41 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 Dctrl_pex.c229 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 Dctrl_pex.h82 int pex_local_bus_num_set(u32 pex_if, u32 bus_num);
/u-boot/board/freescale/p1_p2_rdb_pc/
A Dp1_p2_rdb_pc.c168 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 Dt208xqds.c82 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 Dls1046aqds.c279 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 Dnx_i2c.c65 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 Ds3c24x0_i2c.h52 int bus_num; /* i2c bus number */ member
A Ds3c24x0_i2c.c322 i2c_bus->bus_num = dev_seq(dev); in s3c_i2c_of_to_plat()
/u-boot/drivers/tee/
A Dsandbox.c268 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 Dpci.c392 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 Dclock.h69 int enable_usdhc_clk(unsigned char enable, unsigned bus_num);
/u-boot/board/freescale/p1010rdb/
A Dp1010rdb.c378 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 Dhigh_speed_env_lib.c28 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()

Completed in 40 milliseconds

12