Home
last modified time | relevance | path

Searched refs:banknum (Results 1 – 17 of 17) sorted by relevance

/third_party/uboot/u-boot-2020.01/drivers/mtd/
Dst_smi.c108 static unsigned int smi_read_id(flash_info_t *info, int banknum) in smi_read_id() argument
114 writel((banknum << BANKSEL_SHIFT) | SEND | TX_LEN_1 | RX_LEN_3, in smi_read_id()
136 static ulong flash_get_size(ulong base, int banknum) in flash_get_size() argument
138 flash_info_t *info = &flash_info[banknum]; in flash_get_size()
142 value = smi_read_id(info, banknum); in flash_get_size()
358 int banknum; in smi_write() local
363 banknum = BANK0; in smi_write()
366 banknum = BANK1; in smi_write()
369 banknum = BANK2; in smi_write()
372 banknum = BANK3; in smi_write()
[all …]
Dcfi_flash.c1804 static int flash_detect_legacy(phys_addr_t base, int banknum) in flash_detect_legacy() argument
1806 flash_info_t *info = &flash_info[banknum]; in flash_detect_legacy()
1808 if (board_flash_get_legacy(base, banknum, info)) { in flash_detect_legacy()
1864 static inline int flash_detect_legacy(phys_addr_t base, int banknum) in flash_detect_legacy() argument
2071 ulong flash_get_size(phys_addr_t base, int banknum) in flash_get_size() argument
2073 flash_info_t *info = &flash_info[banknum]; in flash_get_size()
2171 max_size = cfi_flash_bank_size(banknum); in flash_get_size()
/third_party/uboot/u-boot-2020.01/board/AndesTech/adp-ag101p/
Dadp-ag101p.c72 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy() argument
74 if (banknum == 0) { /* non-CFI boot flash */ in board_flash_get_legacy()
/third_party/uboot/u-boot-2020.01/board/AndesTech/adp-ae3xx/
Dadp-ae3xx.c65 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy() argument
67 if (banknum == 0) { /* non-CFI boot flash */ in board_flash_get_legacy()
/third_party/uboot/u-boot-2020.01/drivers/gpio/
Dimx_rgpio2p.c137 int banknum; in imx_rgpio2p_probe() local
140 banknum = plat->bank_index; in imx_rgpio2p_probe()
141 sprintf(name, "GPIO%d_", banknum + 1); in imx_rgpio2p_probe()
Dmxc_gpio.c279 int banknum; in mxc_gpio_probe() local
282 banknum = plat->bank_index; in mxc_gpio_probe()
283 sprintf(name, "GPIO%d_", banknum + 1); in mxc_gpio_probe()
/third_party/uboot/u-boot-2020.01/drivers/pinctrl/broadcom/
Dpinctrl-bcm283x.c91 static int bcm283x_pinctrl_get_gpio_mux(struct udevice *dev, int banknum, in bcm283x_pinctrl_get_gpio_mux() argument
94 if (banknum != 0) in bcm283x_pinctrl_get_gpio_mux()
/third_party/uboot/u-boot-2020.01/include/dm/
Dpinctrl.h142 int (*get_gpio_mux)(struct udevice *dev, int banknum, int index);
386 int pinctrl_get_gpio_mux(struct udevice *dev, int banknum, int index);
/third_party/uboot/u-boot-2020.01/board/AndesTech/ax25-ae350/
Dax25-ae350.c48 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy() argument
/third_party/uboot/u-boot-2020.01/drivers/pinctrl/
Dpinctrl-uclass.c343 int pinctrl_get_gpio_mux(struct udevice *dev, int banknum, int index) in pinctrl_get_gpio_mux() argument
350 return ops->get_gpio_mux(dev, banknum, index); in pinctrl_get_gpio_mux()
/third_party/uboot/u-boot-2020.01/board/socrates/
Dsocrates.c34 ulong flash_get_size (ulong base, int banknum);
/third_party/uboot/u-boot-2020.01/board/freescale/m54455evb/
Dm54455evb.c170 ulong board_flash_get_legacy (ulong base, int banknum, flash_info_t * info) in board_flash_get_legacy() argument
/third_party/uboot/u-boot-2020.01/drivers/pinctrl/rockchip/
Dpinctrl-rockchip-core.c149 static int rockchip_pinctrl_get_gpio_mux(struct udevice *dev, int banknum, in rockchip_pinctrl_get_gpio_mux() argument
154 return rockchip_get_mux(&ctrl->pin_banks[banknum], index); in rockchip_pinctrl_get_gpio_mux()
/third_party/uboot/u-boot-2020.01/board/tqc/tqm834x/
Dtqm834x.c40 ulong flash_get_size (ulong base, int banknum);
/third_party/uboot/u-boot-2020.01/include/
Dflash.h115 extern ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info);
/third_party/uboot/u-boot-2020.01/board/gdsys/mpc8308/
Dstrider.c405 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy() argument
Dhrcon.c350 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy() argument