/u-boot/arch/arm/include/asm/arch-hi6220/ |
H A D | dwmmc.h | 7 int hi6220_dwmci_add_port(int index, u32 regbase, int bus_width);
|
/u-boot/include/ |
H A D | ti-usb-phy-uboot.h | 16 int index; member in struct:ti_usb_phy_device 20 void ti_usb_phy_uboot_exit(int index);
|
H A D | ufs.h | 17 * @index: index in the uclass sequence 21 int ufs_probe_dev(int index);
|
/u-boot/lib/ |
H A D | getopt.c | 17 gs->index = 1; 28 log_debug("arg_index: %d index: %d\n", gs->arg_index, 29 gs->index); 32 if (gs->arg_index == 1 && argv[gs->index] && 33 !strcmp(argv[gs->index], "--")) { 34 gs->index++; 39 if (gs->index >= argc) 43 if (*argv[gs->index] != '-') 47 curopt = argv[gs->index][gs->arg_index]; 53 gs->index [all...] |
/u-boot/cmd/ti/ |
H A D | ddr3.c | 37 u32 index_start, value, index; local 43 for (index = index_start; 44 index < index_start + DDR_TEST_BURST_SIZE; 45 index += 4) 46 __raw_writel(index, index); 49 for (index = index_start; 50 index < index_start + DDR_TEST_BURST_SIZE; 51 index += 4) { 52 value = __raw_readl(index); 144 u32 index, value, index2, value2; local [all...] |
/u-boot/dts/upstream/scripts/ |
H A D | index-filter.sh | 6 ${SCRIPTS}/rewrite-index.pl | GIT_INDEX_FILE=$GIT_INDEX_FILE.new git update-index --index-info
|
/u-boot/arch/arm/include/asm/arch-imx8/ |
H A D | gpio.h | 18 /* IMX8 the GPIO index is from 0 not 1 */ 19 #define IMX_GPIO_NR(port, index) (((port) * 32) + ((index) & 31))
|
/u-boot/arch/arm/include/asm/mach-imx/ |
H A D | gpio.h | 20 #define IMX_GPIO_NR(port, index) ((((port)-1)*32)+((index)&31))
|
/u-boot/board/freescale/common/ |
H A D | emc2305.c | 19 u8 index; local 26 for (index = 0; index < NUM_OF_FANS; index++) { 28 if (i2c_write(chip_addr, Fan[index], 1, &data, 1) != 0) { 30 Fan[index]); 38 if (dm_i2c_write(dev, Fan[index], &data, 1) != 0) { 40 Fan[index]);
|
/u-boot/net/ |
H A D | eth_internal.h | 18 * The environment variable to be set is defined by <@base_name><@index>addr. 19 * If @index is 0 it is omitted. For common Ethernet this means ethaddr, 23 * @index: Index of interface being updated (>=0) 27 int eth_env_set_enetaddr_by_index(const char *base_name, int index, 30 int eth_mac_skip(int index);
|
/u-boot/arch/mips/mach-octeon/include/mach/ |
H A D | cvmx-helper-cfg.h | 149 * index, and 195 * @param index the port's index number 198 int __cvmx_helper_cfg_pknd(int interface, int index); 205 * @param index the port's index number 208 int __cvmx_helper_cfg_bpid(int interface, int index); 215 * @param index the port's index number 218 int __cvmx_helper_cfg_pko_port_base(int interface, int index); [all...] |
/u-boot/drivers/ddr/marvell/a38x/ |
H A D | ddr_training_ip_db.h | 11 u32 pattern_table_get_word(u32 dev_num, enum hws_pattern type, u8 index);
|
H A D | ddr3_training_db.c | 17 static inline u32 pattern_table_get_killer_word16(u8 dqs, u8 index); 18 static inline u32 pattern_table_get_sso_word(u8 sso, u8 index); 19 static inline u32 pattern_table_get_vref_word(u8 index); 20 static inline u32 pattern_table_get_vref_word16(u8 index); 21 static inline u32 pattern_table_get_sso_full_xtalk_word(u8 bit, u8 index); 22 static inline u32 pattern_table_get_sso_full_xtalk_word16(u8 bit, u8 index); 23 static inline u32 pattern_table_get_sso_xtalk_free_word(u8 bit, u8 index); 24 static inline u32 pattern_table_get_sso_xtalk_free_word16(u8 bit, u8 index); 25 static inline u32 pattern_table_get_isi_word(u8 index); 26 static inline u32 pattern_table_get_isi_word16(u8 index); 95 pattern_table_get_killer_word_4(u8 dqs, u8 index) argument 207 mv_ddr_cl_val_get(u32 index, u32 freq) argument 269 mv_ddr_cwl_val_get(u32 index, u32 freq) argument 507 mv_ddr_speed_bin_timing_get(enum mv_ddr_speed_bin index, enum mv_ddr_speed_bin_timing element) argument 604 pattern_table_get_killer_word(u8 dqs, u8 index) argument 620 pattern_table_get_killer_word16(u8 dqs, u8 index) argument 636 pattern_table_get_sso_word(u8 sso, u8 index) argument 646 pattern_table_get_sso_full_xtalk_word(u8 bit, u8 index) argument 657 pattern_table_get_sso_xtalk_free_word(u8 bit, u8 index) argument 667 pattern_table_get_isi_word(u8 index) argument 683 pattern_table_get_sso_full_xtalk_word16(u8 bit, u8 index) argument 693 pattern_table_get_sso_xtalk_free_word16(u8 bit, u8 index) argument 703 pattern_table_get_isi_word16(u8 index) argument 719 pattern_table_get_vref_word(u8 index) argument 728 pattern_table_get_vref_word16(u8 index) argument 750 pattern_table_get_static_pbs_word(u8 index) argument 760 pattern_table_get_word(u32 dev_num, enum hws_pattern type, u8 index) argument [all...] |
/u-boot/arch/arm/include/asm/arch-meson/ |
H A D | sm.h | 67 * @index: power domain index. 68 * @cmd: command index. 71 int meson_sm_pwrdm_set(size_t index, int cmd); 76 * @index: power domain index. 79 #define meson_sm_pwrdm_off(index) \ 80 meson_sm_pwrdm_set(index, PWRDM_OFF) 85 * @index: power domain index [all...] |
/u-boot/arch/mips/mach-octeon/ |
H A D | cvmx-helper-sgmii.c | 42 * @param index Index of prot on the interface 46 static int __cvmx_helper_sgmii_hardware_init_one_time(int interface, int index) argument 53 if (!cvmx_helper_is_port_valid(interface, index)) 57 gmxx_prtx_cfg.u64 = csr_rd(CVMX_GMXX_PRTX_CFG(index, interface)); 59 csr_wr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); 67 csr_rd(CVMX_PCSX_MISCX_CTL_REG(index, interface)); 70 cvmx_helper_get_mac_phy_mode(interface, index); 72 cvmx_helper_get_1000x_mode(interface, index); 73 csr_wr(CVMX_PCSX_MISCX_CTL_REG(index, interface), 77 csr_rd(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interfac 149 __cvmx_helper_sgmii_hardware_init_link(int interface, int index) argument 268 __cvmx_helper_sgmii_hardware_init_link_speed(int interface, int index, cvmx_helper_link_info_t link_info) argument 382 int index; local 516 int index; local 620 int index = cvmx_helper_get_interface_index_num(ipd_port); local 696 int index = cvmx_helper_get_interface_index_num(ipd_port); local 760 int index = cvmx_helper_get_interface_index_num(ipd_port); local [all...] |
H A D | cvmx-helper-bgx.c | 49 * cvmx_helper_bgx_override_autoneg(int xiface, int index) is a function pointer 53 int (*cvmx_helper_bgx_override_autoneg)(int xiface, int index) = NULL; 60 int (*cvmx_helper_bgx_override_fec)(int xiface, int index) = NULL; 116 * @param index is the interface port index 119 cvmx_helper_interface_mode_t cvmx_helper_bgx_get_mode(int xiface, int index) argument 126 xi.node, CVMX_BGXX_CMRX_CONFIG(index, xi.interface)); 140 CVMX_BGXX_SPUX_BR_PMD_CONTROL(index, xi.interface)); 151 CVMX_BGXX_SPUX_BR_PMD_CONTROL(index, xi.interface)); 286 static void __cvmx_bgx_common_init_pknd(int xiface, int index) argument 402 __cvmx_helper_bgx_sgmii_hardware_init_one_time(int xiface, int index) argument 498 int index; local 554 __cvmx_helper_bgx_sgmii_hardware_init_link(int xiface, int index) argument 651 __cvmx_helper_bgx_sgmii_hardware_init_link_speed( int xiface, int index, cvmx_helper_link_info_t link_info) argument 806 int index = cvmx_helper_get_interface_index_num(xp.port); local 908 __cvmx_helper_bgx_sgmii_link_set_down(int node, int iface, int index) argument 961 int index = cvmx_helper_get_interface_index_num(xp.port); local 1015 __cvmx_helper_bgx_xaui_init(int index, int xiface) argument 1278 __cvmx_bgx_start_training(int node, int unit, int index) argument 1320 __cvmx_bgx_restart_training(int node, int unit, int index) argument 1362 int index = cvmx_helper_get_interface_index_num(xp.port); local 1476 int index = cvmx_helper_get_interface_index_num(xp.port); local 1523 __cvmx_helper_bgx_xaui_link_init(int index, int xiface) argument 2010 int index; local 2071 int index = cvmx_helper_get_interface_index_num(xp.port); local 2207 int index = cvmx_helper_get_interface_index_num(xp.port); local 2261 int index = cvmx_helper_get_interface_index_num(xp.port); local 2299 int index; local 2372 int index = cvmx_helper_get_interface_index_num(xipd_port); local 2387 int index = cvmx_helper_get_interface_index_num(xipd_port); local 2403 int index = cvmx_helper_get_interface_index_num(xipd_port); local 2421 __cvmx_helper_bgx_xaui_config_pfc(unsigned int node, unsigned int interface, unsigned int index, bool pfc_enable) argument 2450 cvmx_helper_bgx_tx_options(unsigned int node, unsigned int interface, unsigned int index, bool fcs_enable, bool pad_enable) argument 2521 int index; local 2628 int node, xiface, iface, index, mode; local [all...] |
/u-boot/board/synopsys/hsdk/ |
H A D | env-lib.c | 16 static void env_clear_common(u32 index, const struct env_map_common *map) argument 18 map[index].val->val = 0; 19 map[index].val->set = false; 22 static int env_read_common(u32 index, const struct env_map_common *map) argument 26 if (!env_get_yesno(map[index].env_name)) { 27 if (map[index].type == ENV_HEX) { 28 val = (u32)env_get_hex(map[index].env_name, 0); 29 debug("ENV: %s: = %#x\n", map[index].env_name, val); 31 val = (u32)env_get_ulong(map[index].env_name, 10, 0); 32 debug("ENV: %s: = %d\n", map[index] 42 env_clear_core(u32 index, const struct env_map_percpu *map) argument 50 env_read_core(u32 index, const struct env_map_percpu *map) argument 74 env_validate_common(u32 index, const struct env_map_common *map) argument 104 env_validate_core(u32 index, const struct env_map_percpu *map, bool (*cpu_used)(u32)) argument [all...] |
/u-boot/drivers/usb/gadget/udc/ |
H A D | udc-uclass.c | 16 int udc_device_get_by_index(int index, struct udevice **udev) argument 21 ret = uclass_get_device_by_seq(UCLASS_USB_GADGET_GENERIC, index, &dev); 27 ret = uclass_get_device(UCLASS_USB_GADGET_GENERIC, index, &dev); 48 int udc_device_get_by_index(int index, struct udevice **udev) argument 50 legacy_index = index; 51 return board_usb_init(index, USB_INIT_DEVICE);
|
/u-boot/drivers/hwspinlock/ |
H A D | sandbox_hwspinlock.c | 11 static int sandbox_lock(struct udevice *dev, int index) argument 15 if (index != 0) 26 static int sandbox_unlock(struct udevice *dev, int index) argument 30 if (index != 0)
|
/u-boot/drivers/video/nexell/soc/ |
H A D | s5pxx18_soc_disptop_clk.h | 36 void nx_disp_top_clkgen_set_clock_source(u32 module_index, u32 index, 38 u32 nx_disp_top_clkgen_get_clock_source(u32 module_index, u32 index); 39 void nx_disp_top_clkgen_set_clock_divisor(u32 module_index, u32 index, 41 u32 nx_disp_top_clkgen_get_clock_divisor(u32 module_index, u32 index); 49 void nx_disp_top_clkgen_set_clock_out_inv(u32 module_index, u32 index, 51 int nx_disp_top_clkgen_get_clock_out_inv(u32 module_index, u32 index); 52 int nx_disp_top_clkgen_set_input_inv(u32 module_index, u32 index, 54 int nx_disp_top_clkgen_get_input_inv(u32 module_index, u32 index); 56 void nx_disp_top_clkgen_set_clock_out_select(u32 module_index, u32 index,
|
/u-boot/board/xilinx/zynq/ |
H A D | bootimg.c | 34 int index; local 40 for (index = 0; index < ZYNQ_PART_HDR_WORD_COUNT - 1; index++) { 41 if (head->fields[index] != 0x0) 93 u32 index; local 100 for (index = 0; index < ZYNQ_PART_HDR_WORD_COUNT; index++) { 101 if (hap->fields[index]) [all...] |
/u-boot/arch/arm/include/asm/arch-mx7ulp/ |
H A D | gpio.h | 19 #define IMX_GPIO_NR(port, index) ((((port)-1)*32)+((index)&31))
|
/u-boot/drivers/clk/ti/ |
H A D | clk.h | 14 * @index: index of the master IP module 18 u8 index; member in struct:clk_ti_reg 24 int clk_ti_get_reg_addr(struct udevice *dev, int index, struct clk_ti_reg *reg);
|
/u-boot/arch/arm/include/asm/arch-imx8ulp/ |
H A D | sys_proto.h | 12 int xrdc_config_pdac(u32 bridge, u32 index, u32 dom, u32 perm); 13 int xrdc_config_pdac_openacc(u32 bridge, u32 index);
|
/u-boot/arch/arm/mach-zynqmp/ |
H A D | handoff.c | 75 u32 index = 0; local 87 atfhandoffparams->partition[index].entry_point = bl32_entry; 88 atfhandoffparams->partition[index].flags = FSBL_FLAGS_EL1 << FSBL_FLAGS_EL_SHIFT | 90 index++; 95 atfhandoffparams->partition[index].entry_point = bl33_entry; 96 atfhandoffparams->partition[index].flags = FSBL_FLAGS_EL2 << 98 index++; 101 atfhandoffparams->num_entries = index;
|