Home
last modified time | relevance | path

Searched refs:slot (Results 1 – 25 of 123) sorted by relevance

12345

/rk3399_rockchip-uboot/board/freescale/ls2080ardb/
H A Dddr.c25 int slot; in fsl_ddr_board_options() local
32 for (slot = 0; slot < CONFIG_DIMM_SLOTS_PER_CTLR; slot++) { in fsl_ddr_board_options()
33 if (pdimm[slot].n_ranks) in fsl_ddr_board_options()
37 if (slot >= CONFIG_DIMM_SLOTS_PER_CTLR) in fsl_ddr_board_options()
55 if (pbsp->n_ranks == pdimm[slot].n_ranks && in fsl_ddr_board_options()
56 (pdimm[slot].rank_density >> 30) >= pbsp->rank_gb) { in fsl_ddr_board_options()
101 dq_mapping_0 = pdimm[slot].dq_mapping[0]; in fsl_ddr_board_options()
102 dq_mapping_2 = pdimm[slot].dq_mapping[2]; in fsl_ddr_board_options()
103 dq_mapping_3 = pdimm[slot].dq_mapping[3]; in fsl_ddr_board_options()
104 pdimm[slot].dq_mapping[0] = pdimm[slot].dq_mapping[8]; in fsl_ddr_board_options()
[all …]
/rk3399_rockchip-uboot/board/freescale/ls2080aqds/
H A Dddr.c25 int slot; in fsl_ddr_board_options() local
32 for (slot = 0; slot < CONFIG_DIMM_SLOTS_PER_CTLR; slot++) { in fsl_ddr_board_options()
33 if (pdimm[slot].n_ranks) in fsl_ddr_board_options()
37 if (slot >= CONFIG_DIMM_SLOTS_PER_CTLR) in fsl_ddr_board_options()
55 if (pbsp->n_ranks == pdimm[slot].n_ranks && in fsl_ddr_board_options()
56 (pdimm[slot].rank_density >> 30) >= pbsp->rank_gb) { in fsl_ddr_board_options()
101 dq_mapping_0 = pdimm[slot].dq_mapping[0]; in fsl_ddr_board_options()
102 dq_mapping_2 = pdimm[slot].dq_mapping[2]; in fsl_ddr_board_options()
103 dq_mapping_3 = pdimm[slot].dq_mapping[3]; in fsl_ddr_board_options()
104 pdimm[slot].dq_mapping[0] = pdimm[slot].dq_mapping[8]; in fsl_ddr_board_options()
[all …]
/rk3399_rockchip-uboot/drivers/dma/
H A Dti-edma3.c19 #define EDMA3_SL_BASE(slot) (0x4000 + ((slot) << 5)) argument
62 qchmap = ((EDMA3_CHMAP_PARSET_MASK & cfg->slot) in qedma3_start()
88 void edma3_set_dest(u32 base, int slot, u32 dst, enum edma3_address_mode mode, in edma3_set_dest() argument
94 rg = (struct edma3_slot_layout *)(base + EDMA3_SL_BASE(slot)); in edma3_set_dest()
119 void edma3_set_dest_index(u32 base, unsigned slot, int bidx, int cidx) in edma3_set_dest_index() argument
125 rg = (struct edma3_slot_layout *)(base + EDMA3_SL_BASE(slot)); in edma3_set_dest_index()
139 void edma3_set_dest_addr(u32 base, int slot, u32 dst) in edma3_set_dest_addr() argument
143 rg = (struct edma3_slot_layout *)(base + EDMA3_SL_BASE(slot)); in edma3_set_dest_addr()
159 void edma3_set_src(u32 base, int slot, u32 src, enum edma3_address_mode mode, in edma3_set_src() argument
165 rg = (struct edma3_slot_layout *)(base + EDMA3_SL_BASE(slot)); in edma3_set_src()
[all …]
/rk3399_rockchip-uboot/include/
H A Dmpc8xx.h529 #define PCMCIA_VS1(slot) (0x80000000 >> (slot << 4)) argument
530 #define PCMCIA_VS2(slot) (0x40000000 >> (slot << 4)) argument
531 #define PCMCIA_VS_MASK(slot) (0xC0000000 >> (slot << 4)) argument
532 #define PCMCIA_VS_SHIFT(slot) (30 - (slot << 4)) argument
534 #define PCMCIA_WP(slot) (0x20000000 >> (slot << 4)) argument
535 #define PCMCIA_CD2(slot) (0x10000000 >> (slot << 4)) argument
536 #define PCMCIA_CD1(slot) (0x08000000 >> (slot << 4)) argument
537 #define PCMCIA_BVD2(slot) (0x04000000 >> (slot << 4)) argument
538 #define PCMCIA_BVD1(slot) (0x02000000 >> (slot << 4)) argument
539 #define PCMCIA_RDY(slot) (0x01000000 >> (slot << 4)) argument
[all …]
H A Dspl_ab.h25 char *slot);
65 int spl_ab_bootargs_append_slot(void *fdt, char *slot);
/rk3399_rockchip-uboot/common/spl/
H A Dspl_ab.c195 static bool spl_slot_is_bootable(AvbABSlotData *slot) in spl_slot_is_bootable() argument
197 return slot->priority > 0 && in spl_slot_is_bootable()
198 (slot->successful_boot || (slot->tries_remaining > 0)); in spl_slot_is_bootable()
206 int spl_get_current_slot(struct blk_desc *dev_desc, char *partition, char *slot) in spl_get_current_slot() argument
226 memcpy(slot, "_a", 2); in spl_get_current_slot()
229 memcpy(slot, "_b", 2); in spl_get_current_slot()
251 memcpy(slot, "_a", 2); in spl_get_current_slot()
254 memcpy(slot, "_b", 2); in spl_get_current_slot()
262 memcpy(slot, "_a", 2); in spl_get_current_slot()
264 memcpy(slot, "_b", 2); in spl_get_current_slot()
[all …]
/rk3399_rockchip-uboot/arch/x86/include/asm/arch-baytrail/
H A Dirq.h81 #define _GPIO_S0_DED_IRQ(slot) GPIO_S0_DED_IRQ_##slot argument
82 #define _GPIO_S5_DED_IRQ(slot) GPIO_S5_DED_IRQ_##slot argument
83 #define GPIO_S0_DED_IRQ(slot) _GPIO_S0_DED_IRQ(slot) argument
84 #define GPIO_S5_DED_IRQ(slot) _GPIO_S5_DED_IRQ(slot) argument
/rk3399_rockchip-uboot/arch/arm/include/asm/ti-common/
H A Dti-edma3.h94 int slot; member
102 void edma3_slot_configure(u32 base, int slot, struct edma3_slot_config *cfg);
104 void edma3_write_slot(u32 base, int slot, struct edma3_slot_layout *param);
105 void edma3_read_slot(u32 base, int slot, struct edma3_slot_layout *param);
107 void edma3_set_dest(u32 base, int slot, u32 dst, enum edma3_address_mode mode,
109 void edma3_set_dest_index(u32 base, unsigned slot, int bidx, int cidx);
110 void edma3_set_dest_addr(u32 base, int slot, u32 dst);
112 void edma3_set_src(u32 base, int slot, u32 src, enum edma3_address_mode mode,
114 void edma3_set_src_index(u32 base, unsigned slot, int bidx, int cidx);
115 void edma3_set_src_addr(u32 base, int slot, u32 src);
[all …]
/rk3399_rockchip-uboot/cmd/
H A Dandroid_ab_select.c18 char slot[2]; in do_android_ab_select() local
36 slot[0] = ANDROID_BOOT_SLOT_NAME(ret); in do_android_ab_select()
37 slot[1] = '\0'; in do_android_ab_select()
38 env_set(argv[1], slot); in do_android_ab_select()
39 printf("ANDROID: Booting slot: %s\n", slot); in do_android_ab_select()
/rk3399_rockchip-uboot/arch/x86/cpu/
H A Dirq.c65 struct irq_info *slot = slot_base; in check_dup_entry() local
69 if (slot->bus == bus && slot->devfn == (device << 3)) in check_dup_entry()
71 slot++; in check_dup_entry()
74 return (i == entry_num) ? NULL : slot; in check_dup_entry()
77 static inline void fill_irq_info(struct irq_router *priv, struct irq_info *slot, in fill_irq_info() argument
80 slot->bus = bus; in fill_irq_info()
81 slot->devfn = (device << 3) | 0; in fill_irq_info()
82 slot->irq[pin - 1].link = LINK_N2V(pirq, priv->link_base); in fill_irq_info()
83 slot->irq[pin - 1].bitmap = priv->irq_mask; in fill_irq_info()
94 struct irq_info *slot, *slot_base; in create_pirq_routing_table() local
[all …]
/rk3399_rockchip-uboot/lib/avb/rk_avb_user/
H A Drk_ab_ops_user.c63 static void slot_set_unbootable(AvbABSlotData* slot) in slot_set_unbootable() argument
65 slot->priority = 0; in slot_set_unbootable()
66 slot->tries_remaining = 0; in slot_set_unbootable()
67 slot->successful_boot = 0; in slot_set_unbootable()
74 static void slot_normalize(AvbABSlotData* slot) in slot_normalize() argument
76 if (slot->priority > 0) { in slot_normalize()
77 if (slot->tries_remaining == 0 && !slot->successful_boot) { in slot_normalize()
79 slot_set_unbootable(slot); in slot_normalize()
81 if (slot->tries_remaining > 0 && slot->successful_boot) { in slot_normalize()
85 slot_set_unbootable(slot); in slot_normalize()
[all …]
/rk3399_rockchip-uboot/board/freescale/p2041rdb/
H A Deth.c94 u8 slot; in board_ft_fman_fixup_port() local
97 slot = lane_to_slot[lane]; in board_ft_fman_fixup_port()
98 if (slot) { in board_ft_fman_fixup_port()
128 unsigned int i, slot; in board_eth_init() local
167 slot = lane_to_slot[lane]; in board_eth_init()
168 if (slot) in board_eth_init()
189 slot = lane_to_slot[lane]; in board_eth_init()
190 if (slot) in board_eth_init()
/rk3399_rockchip-uboot/board/freescale/corenet_ds/
H A Deth_superhydra.c218 int lane, slot, phy; in board_ft_fman_fixup_port() local
226 slot = lane_to_slot[lane]; in board_ft_fman_fixup_port()
229 sprintf(alias, "phy_sgmii_slot%u_%x", slot, phy); in board_ft_fman_fixup_port()
300 int lane, slot; in fdt_fixup_board_enet() local
311 slot = lane_to_slot[lane]; in fdt_fixup_board_enet()
312 sprintf(alias, "hydra_sg_slot%u", slot); in fdt_fixup_board_enet()
315 alias, slot); in fdt_fixup_board_enet()
331 slot = lane_to_slot[lane]; in fdt_fixup_board_enet()
332 sprintf(alias, "hydra_xg_slot%u", slot); in fdt_fixup_board_enet()
334 debug("Enabled MDIO node %s (slot %i)\n", alias, slot); in fdt_fixup_board_enet()
[all …]
H A Deth_p4080.c342 int idx = i - FM1_DTSEC1, lane, slot; in board_eth_init() local
348 slot = lane_to_slot[lane]; in board_eth_init()
349 switch (slot) { in board_eth_init()
382 int idx = i - FM1_10GEC1, lane, slot; in board_eth_init() local
388 slot = lane_to_slot[lane]; in board_eth_init()
389 switch (slot) { in board_eth_init()
409 int idx = i - FM2_DTSEC1, lane, slot; in board_eth_init() local
415 slot = lane_to_slot[lane]; in board_eth_init()
416 switch (slot) { in board_eth_init()
451 int idx = i - FM2_10GEC1, lane, slot; in board_eth_init() local
[all …]
/rk3399_rockchip-uboot/lib/avb/libavb_ab/
H A Davb_ab_flow.c135 static bool slot_is_bootable(AvbABSlotData* slot) { in slot_is_bootable() argument
136 return slot->priority > 0 && in slot_is_bootable()
137 (slot->successful_boot || (slot->tries_remaining > 0)); in slot_is_bootable()
140 static void slot_set_unbootable(AvbABSlotData* slot) { in slot_set_unbootable() argument
141 slot->priority = 0; in slot_set_unbootable()
142 slot->tries_remaining = 0; in slot_set_unbootable()
143 slot->successful_boot = 0; in slot_set_unbootable()
150 static void slot_normalize(AvbABSlotData* slot) { in slot_normalize() argument
151 if (slot->priority > 0) { in slot_normalize()
152 if (slot->tries_remaining == 0 && !slot->successful_boot) { in slot_normalize()
[all …]
/rk3399_rockchip-uboot/arch/arm/mach-keystone/
H A Dddr3.c154 struct edma3_slot_config slot; in ddr3_reset_data() local
168 slot.opt = EDMA3_SLOPT_TRANS_COMP_INT_ENB | in ddr3_reset_data()
171 slot.bcnt = DDR3_EDMA_BCNT; in ddr3_reset_data()
172 slot.acnt = DDR3_EDMA_BLK_SIZE; in ddr3_reset_data()
173 slot.ccnt = DDR3_EDMA_CCNT; in ddr3_reset_data()
174 slot.src_bidx = 0; in ddr3_reset_data()
175 slot.dst_bidx = DDR3_EDMA_BLK_SIZE; in ddr3_reset_data()
176 slot.src_cidx = 0; in ddr3_reset_data()
177 slot.dst_cidx = 0; in ddr3_reset_data()
178 slot.link = EDMA3_PARSET_NULL_LINK; in ddr3_reset_data()
[all …]
/rk3399_rockchip-uboot/common/
H A Dandroid_ab.c160 int slot, i; in android_ab_select() local
213 slot = -1; in android_ab_select()
232 if (slot < 0 || in android_ab_select()
234 &abc->slot_info[slot]) < 0) { in android_ab_select()
235 slot = i; in android_ab_select()
239 if (slot >= 0 && !abc->slot_info[slot].successful_boot) { in android_ab_select()
241 ANDROID_BOOT_SLOT_NAME(slot), in android_ab_select()
242 abc->slot_info[slot].tries_remaining); in android_ab_select()
243 abc->slot_info[slot].tries_remaining--; in android_ab_select()
247 if (slot >= 0) { in android_ab_select()
[all …]
/rk3399_rockchip-uboot/board/freescale/t4qds/
H A Deth.c490 int i, idx, lane, slot, interface; in board_eth_init() local
614 slot = lane_to_slot_fsm1[lane]; in board_eth_init()
616 idx + 1, slot); in board_eth_init()
622 slot = lane_to_slot_fsm1[lane]; in board_eth_init()
624 idx + 1, slot); in board_eth_init()
626 if (QIXIS_READ(present2) & (1 << (slot - 1))) in board_eth_init()
628 switch (slot) { in board_eth_init()
668 slot = lane_to_slot_fsm1[lane]; in board_eth_init()
669 if (QIXIS_READ(present2) & (1 << (slot - 1))) in board_eth_init()
792 slot = lane_to_slot_fsm2[lane]; in board_eth_init()
[all …]
/rk3399_rockchip-uboot/board/freescale/common/
H A Dcds_pci_ft.c17 int len, slot, i; in cds_pci_fixup() local
54 slot = get_pci_slot(); in cds_pci_fixup()
60 map[3] = ((map[3] + slot - 2) % 4) + 1; in cds_pci_fixup()
/rk3399_rockchip-uboot/drivers/bios_emulator/
H A Dbesys.c474 pciInfo.slot.i = 0; in BE_accessReg()
475 pciInfo.slot.p.Function = (_BE_env.configAddress >> 8) & 0x7; in BE_accessReg()
476 pciInfo.slot.p.Device = (_BE_env.configAddress >> 11) & 0x1F; in BE_accessReg()
477 pciInfo.slot.p.Bus = (_BE_env.configAddress >> 16) & 0xFF; in BE_accessReg()
478 pciInfo.slot.p.Enable = 1; in BE_accessReg()
481 if ((pciInfo.slot.p.Function == in BE_accessReg()
482 _BE_env.vgaInfo.pciInfo->slot.p.Function) in BE_accessReg()
483 && (pciInfo.slot.p.Device == _BE_env.vgaInfo.pciInfo->slot.p.Device) in BE_accessReg()
484 && (pciInfo.slot.p.Bus == _BE_env.vgaInfo.pciInfo->slot.p.Bus)) in BE_accessReg()
/rk3399_rockchip-uboot/disk/
H A Dpart_dos.c65 int slot; in test_block_type() local
73 for (slot = 0; slot < 3; slot++) { in test_block_type()
75 if (!slot && in test_block_type()
/rk3399_rockchip-uboot/arch/arm/mach-snapdragon/
H A Dclock-apq8016.c175 static int clk_init_sdc(struct msm_clk_priv *priv, int slot, uint rate) in clk_init_sdc() argument
182 clk_enable_cbc(priv->base + SDCC_AHB_CBCR(slot)); in clk_init_sdc()
184 clk_rcg_set_rate_mnd(priv->base, &sdc_regs[slot], div, 0, 0, in clk_init_sdc()
187 clk_enable_cbc(priv->base + SDCC_APPS_CBCR(slot)); in clk_init_sdc()
/rk3399_rockchip-uboot/board/freescale/t1040qds/
H A Deth.c302 u8 slot; in board_ft_fman_fixup_port() local
305 slot = lane_to_slot[lane]; in board_ft_fman_fixup_port()
306 if (slot) { in board_ft_fman_fixup_port()
308 sprintf(phy, "phy_s%x_%02x", slot, in board_ft_fman_fixup_port()
370 int lane, idx, slot; in t1040_handle_phy_interface_sgmii() local
377 slot = lane_to_slot[lane]; in t1040_handle_phy_interface_sgmii()
379 switch (slot) { in t1040_handle_phy_interface_sgmii()
/rk3399_rockchip-uboot/drivers/mmc/
H A Dxenon_sdhci.c270 #define SLOT_MASK(slot) BIT(slot) argument
273 static void xenon_mmc_enable_slot(struct sdhci_host *host, u8 slot) in xenon_mmc_enable_slot() argument
278 var |= SLOT_MASK(slot) << SLOT_ENABLE_SHIFT; in xenon_mmc_enable_slot()
283 static void xenon_mmc_enable_parallel_tran(struct sdhci_host *host, u8 slot) in xenon_mmc_enable_parallel_tran() argument
288 var |= SLOT_MASK(slot); in xenon_mmc_enable_parallel_tran()
292 static void xenon_mmc_disable_tuning(struct sdhci_host *host, u8 slot) in xenon_mmc_disable_tuning() argument
/rk3399_rockchip-uboot/arch/arm/mach-tegra/tegra210/
H A DKconfig11 eMMC, SD card slot, HDMI, USB micro-B port, and sockets for various
19 board. The combination contains SoC, DRAM, eMMC, SD card slot,
29 card slot, HDMI, USB micro-B port, Ethernet via USB3, USB3 host

12345