Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 1917) sorted by relevance

12345678910>>...77

/u-boot/drivers/ata/
A Dlibata.c104 id[49], in ata_dump_id()
105 id[53], in ata_dump_id()
106 id[63], in ata_dump_id()
107 id[64], in ata_dump_id()
113 id[76], in ata_dump_id()
114 id[78], in ata_dump_id()
122 id[80], in ata_dump_id()
123 id[81], in ata_dump_id()
124 id[82], in ata_dump_id()
125 id[83], in ata_dump_id()
[all …]
/u-boot/include/
A Dlibata.h425 #define ata_id_is_ata(id) (((id)[0] & (1 << 15)) == 0) argument
426 #define ata_id_has_lba(id) ((id)[49] & (1 << 9)) argument
427 #define ata_id_has_dma(id) ((id)[49] & (1 << 8)) argument
428 #define ata_id_has_ncq(id) ((id)[76] & (1 << 8)) argument
429 #define ata_id_queue_depth(id) (((id)[75] & 0x1f) + 1) argument
430 #define ata_id_removeable(id) ((id)[0] & (1 << 7)) argument
431 #define ata_id_iordy_disable(id) ((id)[49] & (1 << 10)) argument
432 #define ata_id_has_iordy(id) ((id)[49] & (1 << 11)) argument
435 (((u32) (id)[(n) + 1] << 16) | ((u32) (id)[(n)]))
442 #define ata_id_cdb_intr(id) (((id)[0] & 0x60) == 0x20) argument
[all …]
/u-boot/arch/arm/cpu/pxa/
A Dcpuinfo.c38 id &= CPU_MASK_PXA_PRODID; in cpu_is_pxa25x()
69 uint32_t id; in pxa25x_get_revision() local
78 switch (id) { in pxa25x_get_revision()
84 if (id == 6) in pxa25x_get_revision()
94 uint32_t id; in pxa27x_get_revision() local
101 if ((id == 5) || (id == 6) || (id > 8)) in pxa27x_get_revision()
105 if (id == 7) in pxa27x_get_revision()
106 id = 5; in pxa27x_get_revision()
109 if (id == 8) in pxa27x_get_revision()
110 id = 1; in pxa27x_get_revision()
[all …]
/u-boot/arch/arm/mach-tegra/
A Dpowergate.c26 u32 value, mask = state ? (1 << id) : 0, old_mask; in tegra_powergate_set()
30 old_mask = value & (1 << id); in tegra_powergate_set()
41 if ((value & (1 << id)) == mask) in tegra_powergate_set()
48 int tegra_powergate_power_on(enum tegra_powergate id) in tegra_powergate_power_on() argument
50 return tegra_powergate_set(id, true); in tegra_powergate_power_on()
55 return tegra_powergate_set(id, false); in tegra_powergate_power_off()
67 if (id == TEGRA_POWERGATE_VDEC) in tegra_powergate_remove_clamping()
69 else if (id == TEGRA_POWERGATE_PCIE) in tegra_powergate_remove_clamping()
72 value = 1 << id; in tegra_powergate_remove_clamping()
86 err = tegra_powergate_power_on(id); in tegra_powergate_sequence_power_up()
[all …]
/u-boot/drivers/clk/at91/
A Dsam9x60.c186 u8 id; member
196 .id = 0,
207 .id = 0,
218 .id = 1,
229 .id = 1,
260 u8 id; member
276 u8 id; member
338 u8 id; member
482 sam9x60_plls[i].id, in sam9x60_clk_probe()
500 sam9x60_plls[i].id, in sam9x60_clk_probe()
[all …]
A Dsama7g5.c237 u8 id; member
246 .id = 0,
256 .id = 0,
266 .id = 1,
276 .id = 1,
286 .id = 2,
296 .id = 2,
401 u8 id; member
481 u8 id; member
505 u8 id; member
[all …]
A Dclk-system.c28 u8 id; member
33 static inline int is_pck(int id) in is_pck() argument
35 return (id >= 8) && (id <= 15); in is_pck()
44 return !!(status & (1 << id)); in clk_system_ready()
51 pmc_write(sys->base, AT91_PMC_SCER, 1 << sys->id); in clk_system_enable()
53 if (!is_pck(sys->id)) in clk_system_enable()
56 while (!clk_system_ready(sys->base, sys->id)) { in clk_system_enable()
57 debug("waiting for pck%u\n", sys->id); in clk_system_enable()
80 const char *parent_name, u8 id) in at91_clk_register_system() argument
93 sys->id = id; in at91_clk_register_system()
[all …]
A Dclk-peripheral.c25 #define PERIPHERAL_MASK(id) (1 << ((id) & PERIPHERAL_ID_MAX)) argument
32 u32 id; member
42 u32 id; member
54 u32 id = periph->id; in clk_peripheral_enable() local
56 if (id < PERIPHERAL_ID_MIN) in clk_peripheral_enable()
58 if (id > PERIPHERAL_ID_MAX) in clk_peripheral_enable()
69 u32 id = periph->id; in clk_peripheral_disable() local
102 periph->id = id; in at91_clk_register_peripheral()
118 .id = UCLASS_CLK,
232 periph->id = id; in at91_clk_register_sam9x5_peripheral()
[all …]
/u-boot/arch/arm/mach-davinci/
A Dpsc.c38 if (id < DAVINCI_LPSC_PSC1_BASE) { in lpsc_transition()
39 if (id >= PSC_PSC0_MODULE_ID_CNT) in lpsc_transition()
43 mdctl = &psc_regs->psc0.mdctl[id]; in lpsc_transition()
45 id -= DAVINCI_LPSC_PSC1_BASE; in lpsc_transition()
46 if (id >= PSC_PSC1_MODULE_ID_CNT) in lpsc_transition()
50 mdctl = &psc_regs->psc1.mdctl[id]; in lpsc_transition()
70 void lpsc_on(unsigned int id) in lpsc_on() argument
72 lpsc_transition(id, 0x03); in lpsc_on()
77 lpsc_transition(id, 0x01); in lpsc_syncreset()
80 void lpsc_disable(unsigned int id) in lpsc_disable() argument
[all …]
/u-boot/drivers/clk/
A Dclk_sandbox.c30 return priv->rate[clk->id]; in sandbox_clk_get_rate()
63 old_rate = priv->rate[clk->id]; in sandbox_clk_set_rate()
64 priv->rate[clk->id] = rate; in sandbox_clk_set_rate()
79 priv->enabled[clk->id] = true; in sandbox_clk_enable()
146 .id = UCLASS_CLK,
157 if (id < 0 || id >= SANDBOX_CLK_ID_COUNT) in sandbox_clk_query_rate()
160 return priv->rate[id]; in sandbox_clk_query_rate()
167 if (id < 0 || id >= SANDBOX_CLK_ID_COUNT) in sandbox_clk_query_enable()
170 return priv->enabled[id]; in sandbox_clk_query_enable()
177 if (id < 0 || id >= SANDBOX_CLK_ID_COUNT) in sandbox_clk_query_requested()
[all …]
A Dclk_sandbox_test.c83 if (id < 0 || id >= SANDBOX_CLK_TEST_ID_COUNT) in sandbox_clk_test_get_rate()
86 return clk_get_rate(sbct->clkps[id]); in sandbox_clk_test_get_rate()
93 if (id < 0 || id >= SANDBOX_CLK_TEST_ID_COUNT) in sandbox_clk_test_round_rate()
96 return clk_round_rate(sbct->clkps[id], rate); in sandbox_clk_test_round_rate()
103 if (id < 0 || id >= SANDBOX_CLK_TEST_ID_COUNT) in sandbox_clk_test_set_rate()
106 return clk_set_rate(sbct->clkps[id], rate); in sandbox_clk_test_set_rate()
113 if (id < 0 || id >= SANDBOX_CLK_TEST_ID_COUNT) in sandbox_clk_test_enable()
116 return clk_enable(sbct->clkps[id]); in sandbox_clk_test_enable()
130 if (id < 0 || id >= SANDBOX_CLK_TEST_ID_COUNT) in sandbox_clk_test_disable()
133 return clk_disable(sbct->clkps[id]); in sandbox_clk_test_disable()
[all …]
A Dclk_zynq.c60 switch (id) { in zynq_clk_get_register()
159 if (id == gem0_clk) in zynq_clk_get_gem_rclk()
181 switch (id) { in zynq_clk_get_cpu_rate()
285 id - gem0_clk); in zynq_clk_get_gem_rate()
374 enum zynq_clk id = clk->id; in zynq_clk_get_rate() local
377 switch (id) { in zynq_clk_get_rate()
409 enum zynq_clk id = clk->id; in zynq_clk_set_rate() local
412 switch (id) { in zynq_clk_set_rate()
430 enum zynq_clk id = clk->id; in zynq_clk_get_rate() local
432 switch (id) { in zynq_clk_get_rate()
[all …]
/u-boot/arch/m68k/cpu/mcf547x_8x/
A Dcpu.c44 u16 id = 0; in print_cpuinfo() local
50 id = 5485; in print_cpuinfo()
53 id = 5484; in print_cpuinfo()
56 id = 5483; in print_cpuinfo()
59 id = 5482; in print_cpuinfo()
62 id = 5481; in print_cpuinfo()
65 id = 5480; in print_cpuinfo()
68 id = 5475; in print_cpuinfo()
71 id = 5474; in print_cpuinfo()
74 id = 5473; in print_cpuinfo()
[all …]
/u-boot/arch/m68k/cpu/mcf5445x/
A Dcpu.c43 u16 id = 0; in print_cpuinfo() local
51 id = 54455; in print_cpuinfo()
54 id = 54454; in print_cpuinfo()
57 id = 54453; in print_cpuinfo()
60 id = 54452; in print_cpuinfo()
63 id = 54451; in print_cpuinfo()
66 id = 54450; in print_cpuinfo()
69 id = 54410; in print_cpuinfo()
72 id = 54415; in print_cpuinfo()
75 id = 54416; in print_cpuinfo()
[all …]
/u-boot/arch/m68k/cpu/mcf532x/
A Dcpu.c42 u16 id = 0; in print_cpuinfo() local
51 id = 53010; in print_cpuinfo()
54 id = 53012; in print_cpuinfo()
57 id = 53015; in print_cpuinfo()
68 id = 5329; in print_cpuinfo()
71 id = 5328; in print_cpuinfo()
74 id = 5327; in print_cpuinfo()
77 id = 5373; in print_cpuinfo()
83 id = 5372; in print_cpuinfo()
86 id = 5372; in print_cpuinfo()
[all …]
/u-boot/drivers/clk/tegra/
A Dtegra-car-clk.c17 clk->id); in tegra_car_clk_request()
27 if (clk->id >= PERIPH_ID_COUNT) in tegra_car_clk_request()
36 clk->id); in tegra_car_clk_free()
46 clk->id); in tegra_car_clk_get_rate()
48 parent = clock_get_periph_parent(clk->id); in tegra_car_clk_get_rate()
57 clk->dev, clk->id); in tegra_car_clk_set_rate()
66 clk->id); in tegra_car_clk_enable()
68 clock_enable(clk->id); in tegra_car_clk_enable()
76 clk->id); in tegra_car_clk_disable()
78 clock_disable(clk->id); in tegra_car_clk_disable()
[all …]
/u-boot/include/dm/
A Duclass.h93 enum uclass_id id; member
144 const char *uclass_get_name(enum uclass_id id);
178 int uclass_get_device_by_name(enum uclass_id id, const char *name,
210 int uclass_get_device_by_of_offset(enum uclass_id id, int node,
226 int uclass_get_device_by_ofnode(enum uclass_id id, ofnode node,
294 int uclass_first_device(enum uclass_id id, struct udevice **devp);
388 int uclass_probe_all(enum uclass_id id);
403 #define uclass_id_foreach_dev(id, pos, uc) \ argument
404 if (!uclass_get(id, &uc)) \
447 #define uclass_foreach_dev_probe(id, dev) \ argument
[all …]
/u-boot/cmd/
A Djffs2.c208 const char *p = id; in mtd_id_parse()
342 struct mtdids *id; in mtdparts_init() local
369 if ((mtd_id_parse(dev_name, NULL, &id->type, &id->num) != 0) || in mtdparts_init()
370 (mtd_device_validate(id->type, id->num, &size) != 0)) { in mtdparts_init()
371 printf("incorrect device: %s%d\n", MTD_DEV_TYPE(id->type), id->num); in mtdparts_init()
375 id->size = size; in mtdparts_init()
376 INIT_LIST_HEAD(&id->link); in mtdparts_init()
379 id->type, id->num, id->size, id->mtd_id); in mtdparts_init()
410 current_mtd_dev->id = id; in mtdparts_init()
440 dev->id->num, dev->id->mtd_id); in jffs2_part_info()
[all …]
A Dmtdparts.c883 id->type, MTD_DEV_TYPE(id->type), in device_parse()
884 id->num, id->mtd_id); in device_parse()
948 dev->id = id; in device_parse()
1024 id->mtd_id, strlen(id->mtd_id)); in id_find_by_mtd_id()
1585 dev->id->num, dev->id->mtd_id);
1691 id->mtd_id = (char *)(id + 1);
1697 MTD_DEV_TYPE(id->type), id->num,
1698 id->size, id->mtd_id);
1884 dev->id->num, dev->id->mtd_id);
1889 dev->id->num, dev->id->mtd_id);
[all …]
/u-boot/arch/arm/mach-rmobile/
A Dcpu_info-sh73a0.c11 u32 id; in rmobile_get_cpu_type() local
15 id = readl(&hpb->cccr); in rmobile_get_cpu_type()
16 type = (id >> 8) & 0xFF; in rmobile_get_cpu_type()
23 u32 id; in rmobile_get_cpu_rev_integer() local
27 id = readl(&hpb->cccr); in rmobile_get_cpu_rev_integer()
28 rev = ((id >> 4) & 0xF) + 1; in rmobile_get_cpu_rev_integer()
35 u32 id; in rmobile_get_cpu_rev_fraction() local
39 id = readl(&hpb->cccr); in rmobile_get_cpu_rev_fraction()
40 rev = id & 0xF; in rmobile_get_cpu_rev_fraction()
/u-boot/drivers/w1-eeprom/
A Dw1-eeprom-uclass.c25 u64 id = 0; in w1_eeprom_read_buf() local
31 ret = w1_eeprom_get_id(dev, &id); in w1_eeprom_read_buf()
34 if (!id) in w1_eeprom_read_buf()
40 int w1_eeprom_register_new_device(u64 id) in w1_eeprom_register_new_device() argument
42 u8 family = id & 0xff; in w1_eeprom_register_new_device()
57 if (w1->id) /* device already in use */ in w1_eeprom_register_new_device()
59 w1->id = id; in w1_eeprom_register_new_device()
61 dev->name, dev->driver->name, id); in w1_eeprom_register_new_device()
71 int w1_eeprom_get_id(struct udevice *dev, u64 *id) in w1_eeprom_get_id() argument
77 *id = w1->id; in w1_eeprom_get_id()
[all …]
/u-boot/drivers/reset/
A Dreset-uniphier.c18 unsigned int id; member
28 { .id = UNIPHIER_RESET_ID_END }
32 .id = (_id), \
39 .id = (_id), \
117 #define UNIPHIER_MIO_RESET_DMAC(id) \ argument
118 UNIPHIER_RESETX((id), 0x110, 17)
142 UNIPHIER_RESETX((id), 0x114, 19 + (ch))
145 UNIPHIER_RESETX((id), 0x114, 5 + (ch))
197 unsigned long id = reset_ctl->id; in uniphier_reset_update() local
203 if (p->id != id) in uniphier_reset_update()
[all …]
A Dsandbox-reset.c31 if (reset_ctl->id >= SANDBOX_RESET_SIGNALS) in sandbox_reset_request()
34 sbr->signals[reset_ctl->id].requested = true; in sandbox_reset_request()
44 sbr->signals[reset_ctl->id].requested = false; in sandbox_reset_free()
54 sbr->signals[reset_ctl->id].asserted = true; in sandbox_reset_assert()
65 sbr->signals[reset_ctl->id].asserted = false; in sandbox_reset_deassert()
98 .id = UCLASS_RESET,
110 debug("%s(dev=%p, id=%ld)\n", __func__, dev, id); in sandbox_reset_query()
112 if (id >= SANDBOX_RESET_SIGNALS) in sandbox_reset_query()
115 return sbr->signals[id].asserted; in sandbox_reset_query()
124 if (id >= SANDBOX_RESET_SIGNALS) in sandbox_reset_is_requested()
[all …]
A Dreset-mediatek.c40 int id = reset_ctl->id; in mediatek_reset_assert() local
42 if (id >= priv->nr_resets) in mediatek_reset_assert()
46 priv->regofs + ((id / 32) << 2), BIT(id % 32), BIT(id % 32)); in mediatek_reset_assert()
52 int id = reset_ctl->id; in mediatek_reset_deassert() local
54 if (id >= priv->nr_resets) in mediatek_reset_deassert()
58 priv->regofs + ((id / 32) << 2), BIT(id % 32), 0); in mediatek_reset_deassert()
103 .id = UCLASS_RESET,
/u-boot/drivers/dma/
A Dsandbox-dma-test.c25 u32 id; member
60 dma->id = args->args[0]; in sandbox_dma_of_xlate()
62 uc = &ud->channels[dma->id]; in sandbox_dma_of_xlate()
64 if (dma->id == 1) in sandbox_dma_of_xlate()
66 else if (dma->id == 2) in sandbox_dma_of_xlate()
83 uc = &ud->channels[dma->id]; in sandbox_dma_request()
101 uc = &ud->channels[dma->id]; in sandbox_dma_rfree()
121 uc = &ud->channels[dma->id]; in sandbox_dma_enable()
141 uc = &ud->channels[dma->id]; in sandbox_dma_disable()
263 uc->id = i; in sandbox_dma_probe()
[all …]

Completed in 57 milliseconds

12345678910>>...77