Searched refs:id (Results 101 - 125 of 2237) sorted by relevance

1234567891011>>

/u-boot/include/
H A Dk3-dev.h31 int id; member in struct:ti_psc
38 int id; member in struct:ti_pd
47 int id; member in struct:ti_lpsc
56 int id; member in struct:ti_dev
73 #define PSC(_id, _base) { .id = _id, .base = (void *)_base, }
74 #define PSC_PD(_id, _psc, _depend) { .id = _id, .psc = _psc, .depend = _depend }
75 #define PSC_LPSC(_id, _psc, _pd, _depend) { .id = _id, .psc = _psc, .pd = _pd, .depend = _depend }
76 #define PSC_DEV(_id, _lpsc) { .id = _id, .lpsc = _lpsc }
H A Dexpo.h22 * @EXPOACT_POINT_OBJ: object was highlighted (@id indicates which)
23 * @EXPOACT_POINT_ITEM: menu item was highlighted (@id indicates which)
24 * @EXPOACT_SELECT: menu item was selected (@id indicates which)
25 * @EXPOACT_OPEN: menu was opened, so an item can be selected (@id indicates
27 * @EXPOACT_CLOSE: menu was closed (@id indicates which menu object)
45 * @id: ID number of the object affected.
51 int id; member in struct:expo_action::__anon12::__anon13
107 * @id: ID number of the string
112 uint id; member in struct:expo_string
124 * @id
136 uint id; member in struct:scene
215 uint id; member in struct:scene_obj
314 uint id; member in struct:scene_menitem
[all...]
/u-boot/drivers/clk/intel/
H A Dclk_intel.c14 switch (clk->id) {
34 .id = UCLASS_CLK,
/u-boot/arch/arm/mach-socfpga/
H A Dsecure_reg_helper.c18 int socfpga_secure_convert_reg_id_to_addr(u32 id, phys_addr_t *reg_addr) argument
20 switch (id) {
39 int socfpga_secure_reg_read32(u32 id, u32 *val) argument
46 ret = socfpga_secure_convert_reg_id_to_addr(id, &reg_addr);
60 int socfpga_secure_reg_write32(u32 id, u32 val) argument
66 ret = socfpga_secure_convert_reg_id_to_addr(id, &reg_addr);
75 int socfpga_secure_reg_update32(u32 id, u32 mask, u32 val) argument
81 ret = socfpga_secure_convert_reg_id_to_addr(id, &reg_addr);
H A Dclock_manager_agilex.c20 static ulong cm_get_rate_dm(u32 id) argument
33 clk.id = id;
43 debug("%s id %u: clk_get_rate err: %ld\n",
44 __func__, id, rate);
51 static u32 cm_get_rate_dm_khz(u32 id) argument
53 return cm_get_rate_dm(id) / 1000;
H A Dclock_manager_agilex5.c29 static ulong cm_get_rate_dm(u32 id) argument
42 clk.id = id;
52 debug("%s id %u: clk_get_rate err: %ld\n",
53 __func__, id, rate);
60 static u32 cm_get_rate_dm_khz(u32 id) argument
62 return cm_get_rate_dm(id) / 1000;
H A Dclock_manager_n5x.c19 static ulong cm_get_rate_dm(u32 id) argument
32 clk.id = id;
41 debug("%s id %u: clk_get_rate err: %ld\n",
42 __func__, id, rate);
49 static u32 cm_get_rate_dm_khz(u32 id) argument
51 return cm_get_rate_dm(id) / 1000;
/u-boot/test/dm/
H A Dmisc.c18 int id; local
33 id = 0;
34 ut_assertok(misc_call(dev, 0, &id, 4, buf, 16));
37 id = 2;
38 ut_assertok(misc_call(dev, 0, &id, 4, buf, 16));
41 ut_assertok(misc_call(dev, 1, &id, 4, buf, 16));
44 id = 1;
45 ut_assertok(misc_call(dev, 1, &id, 4, buf, 16));
/u-boot/arch/arm/mach-nexell/
H A Dnx_sec_reg.c27 int write_sec_reg_by_id(void __iomem *reg, int val, int id) argument
32 switch (id) {
43 ((1 << SECURE_ID_SHIFT) + id), off, val, 0);
47 int read_sec_reg_by_id(void __iomem *reg, int id) argument
52 switch (id) {
63 ((1 << SECURE_ID_SHIFT) + id), off, 0, 0);
/u-boot/arch/arm/mach-rockchip/rk3399/
H A Dsyscon_rk3399.c23 .id = UCLASS_SYSCON,
41 .id = UCLASS_SYSCON,
48 .id = UCLASS_SYSCON,
55 .id = UCLASS_SYSCON,
62 .id = UCLASS_SYSCON,
69 .id = UCLASS_SYSCON,
/u-boot/drivers/timer/
H A Darc_timer.c25 /* Driver private data. Contains timer id. Could be either 0 or 1. */
48 int id; local
52 id = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), "reg", -1);
53 if (id < 0)
56 if (id > 1)
59 priv->timer_id = (uint)id;
105 .id = UCLASS_TIMER,
/u-boot/cmd/
H A Dremoteproc.c75 int id; local
87 id = (int)dectoul(argv[1], NULL);
88 if (!rproc_dev_init(id))
90 printf("Remote Processor %d failed to be initialized\n", id);
127 int id, ret; local
132 id = (int)dectoul(argv[1], NULL);
142 ret = rproc_load(id, addr, size);
144 id, addr, size, ret ? " Failed!" : " Success!");
156 * Most of the commands just take id as a parameter andinvoke various
165 int id, re local
[all...]
H A Dmtdparts.c31 * partition := <part-id>
32 * <part-id> := <dev-id>,part_num
35 * 'mtdids' - linux kernel mtd device id <-> u-boot device id mapping
39 * <idmap> := <dev-id>=<mtd-id>
40 * <dev-id> := 'nand'|'nor'|'onenand'|'spi-nand'<dev-num>
42 * <mtd-id> := unique device tag used by linux kernel to find mtd device (mtd->name)
49 * <mtd-def> := <mtd-id>
328 part_validate_eraseblock(struct mtdids *id, struct part_info *part) argument
415 part_validate(struct mtdids *id, struct part_info *part) argument
844 struct mtdids *id; local
988 struct mtdids *id; local
1012 struct mtdids *id; local
1042 mtd_id_parse(const char *id, const char **ret_id, u8 *dev_type, u8 *dev_num) argument
1347 find_dev_and_part(const char *id, struct mtd_device **dev, u8 *part_num, struct part_info **part) argument
1407 delete_partition(const char *id) argument
1615 struct mtdids *id; local
1999 struct mtdids *id; local
[all...]
/u-boot/drivers/clk/
H A Dclk_zynq.c58 static void *zynq_clk_get_register(enum zynq_clk id) argument
60 switch (id) {
134 static ulong zynq_clk_get_pll_rate(struct zynq_clk_priv *priv, enum zynq_clk id) argument
138 clk_ctrl = readl(zynq_clk_get_register(id));
155 static enum zynq_clk_rclk zynq_clk_get_gem_rclk(enum zynq_clk id) argument
159 if (id == gem0_clk)
172 static ulong zynq_clk_get_cpu_rate(struct zynq_clk_priv *priv, enum zynq_clk id) argument
181 switch (id) {
243 enum zynq_clk id, bool two_divs)
249 clk_ctrl = readl(zynq_clk_get_register(id));
242 zynq_clk_get_peripheral_rate(struct zynq_clk_priv *priv, enum zynq_clk id, bool two_divs) argument
273 zynq_clk_get_gem_rate(struct zynq_clk_priv *priv, enum zynq_clk id) argument
316 zynq_clk_set_peripheral_rate(struct zynq_clk_priv *priv, enum zynq_clk id, ulong rate, bool two_divs) argument
351 zynq_clk_set_gem_rate(struct zynq_clk_priv *priv, enum zynq_clk id, ulong rate) argument
374 enum zynq_clk id = clk->id; local
409 enum zynq_clk id = clk->id; local
430 enum zynq_clk id = clk->id; local
[all...]
H A Dclk_k210.c109 #define _DIVIFY(id) K210_CLK_DIV_##id
110 #define DIVIFY(id) _DIVIFY(id)
113 #define DIV(id, ...) DIVIFY(id),
122 #define DIV(id, _off, _shift, _width, _type) \
123 [DIVIFY(id)] = { \
129 #define DIV_FIXED(id, _div) \
130 [DIVIFY(id)]
867 k210_pll_set_rate(struct k210_clk_priv *priv, int id, ulong rate, ulong rate_in) argument
906 k210_pll_set_rate(struct k210_clk_priv *priv, int id, ulong rate, ulong rate_in) argument
913 k210_pll_get_rate(struct k210_clk_priv *priv, int id, ulong rate_in) argument
936 k210_pll_waitfor_lock(struct k210_clk_priv *priv, int id) argument
959 k210_pll_enable(struct k210_clk_priv *priv, int id) argument
989 k210_pll_disable(struct k210_clk_priv *priv, int id) argument
1027 k210_clk_get_parent(struct k210_clk_priv *priv, int id) argument
1041 do_k210_clk_get_rate(struct k210_clk_priv *priv, int id) argument
1088 do_k210_clk_set_parent(struct k210_clk_priv *priv, int id, int new) argument
1190 k210_clk_endisable(struct k210_clk_priv *priv, int id, bool enable) argument
1243 show_enabled(struct k210_clk_priv *priv, int id) argument
1264 show_clks(struct k210_clk_priv *priv, int id, int depth) argument
[all...]
/u-boot/drivers/clk/at91/
H A Dclk-sam9x60-pll.c45 u8 id; member in struct:sam9x60_pll
50 static inline bool sam9x60_pll_ready(void __iomem *base, int id) argument
56 return !!(status & BIT(id));
101 bool ready = sam9x60_pll_ready(base, pll->id);
113 pll->id);
119 if (sam9x60_pll_ready(base, pll->id) &&
130 AT91_PMC_PLL_UPDT_UPDATE | pll->id);
132 while (ready && !sam9x60_pll_ready(base, pll->id)) {
133 debug("waiting for pll %u...\n", pll->id);
151 pll->id);
372 sam9x60_clk_register_pll(void __iomem *base, const char *type, const char *name, const char *parent_name, u8 id, const struct clk_pll_characteristics *characteristics, const struct clk_pll_layout *layout, u32 flags) argument
406 sam9x60_clk_register_div_pll(void __iomem *base, const char *name, const char *parent_name, u8 id, const struct clk_pll_characteristics *characteristics, const struct clk_pll_layout *layout, bool critical) argument
418 sam9x60_clk_register_frac_pll(void __iomem *base, const char *name, const char *parent_name, u8 id, const struct clk_pll_characteristics *characteristics, const struct clk_pll_layout *layout, bool critical) argument
[all...]
/u-boot/examples/standalone/
H A Dsched.c73 static int thread_start (int id);
75 static int thread_delete (int id);
79 static int thread_stop (int id);
101 printf ("schedtest: Created thread with id %d, name %d\n",
236 static int thread_delete (int id) argument
238 if (id <= MASTER_THREAD || id > MAX_THREADS)
241 if (current_tid == id)
244 lthreads[id].state = STATE_EMPTY;
265 static int thread_start (int id) argument
[all...]
/u-boot/drivers/core/
H A Duclass.c35 * id to node.
38 if (uc->uc_drv->id == key)
47 * @id: Id number to create
52 * each id.
54 static int uclass_add(enum uclass_id id, struct uclass **ucp) argument
61 uc_drv = lists_uclass_lookup(id);
63 debug("Cannot find uclass for id %d: please add the UCLASS_DRIVER() declaration for this UCLASS_... id\n",
64 id);
145 int uclass_get(enum uclass_id id, struc argument
164 uclass_get_name(enum uclass_id id) argument
224 uclass_find_device(enum uclass_id id, int index, struct udevice **devp) argument
247 uclass_find_first_device(enum uclass_id id, struct udevice **devp) argument
277 uclass_find_device_by_namelen(enum uclass_id id, const char *name, int len, struct udevice **devp) argument
302 uclass_find_device_by_name(enum uclass_id id, const char *name, struct udevice **devp) argument
331 uclass_find_device_by_seq(enum uclass_id id, int seq, struct udevice **devp) argument
358 uclass_find_device_by_of_offset(enum uclass_id id, int node, struct udevice **devp) argument
382 uclass_find_device_by_ofnode(enum uclass_id id, ofnode node, struct udevice **devp) argument
414 uclass_find_device_by_phandle_id(enum uclass_id id, uint find_phandle, struct udevice **devp) argument
440 uclass_find_device_by_phandle(enum uclass_id id, struct udevice *parent, const char *name, struct udevice **devp) argument
454 uclass_get_device_by_driver(enum uclass_id id, const struct driver *find_drv, struct udevice **devp) argument
489 uclass_get_device(enum uclass_id id, int index, struct udevice **devp) argument
499 uclass_get_device_by_name(enum uclass_id id, const char *name, struct udevice **devp) argument
510 uclass_get_device_by_seq(enum uclass_id id, int seq, struct udevice **devp) argument
521 uclass_get_device_by_of_offset(enum uclass_id id, int node, struct udevice **devp) argument
532 uclass_get_device_by_ofnode(enum uclass_id id, ofnode node, struct udevice **devp) argument
548 uclass_get_device_by_of_path(enum uclass_id id, const char *path, struct udevice **devp) argument
554 uclass_get_device_by_phandle_id(enum uclass_id id, uint phandle_id, struct udevice **devp) argument
565 uclass_get_device_by_phandle(enum uclass_id id, struct udevice *parent, const char *name, struct udevice **devp) argument
590 uclass_first_device(enum uclass_id id, struct udevice **devp) argument
607 uclass_first_device_err(enum uclass_id id, struct udevice **devp) argument
633 uclass_first_device_check(enum uclass_id id, struct udevice **devp) argument
673 uclass_first_device_drvdata(enum uclass_id id, ulong driver_data, struct udevice **devp) argument
805 uclass_probe_all(enum uclass_id id) argument
822 uclass_id_count(enum uclass_id id) argument
[all...]
/u-boot/drivers/reset/
H A Dreset-uniphier.c21 unsigned int id; member in struct:uniphier_reset_data
31 { .id = UNIPHIER_RESET_ID_END }
35 .id = (_id), \
42 .id = (_id), \
108 #define UNIPHIER_MIO_RESET_SD(id, ch) \
109 UNIPHIER_RESETX((id), 0x110 + 0x200 * (ch), 0)
111 #define UNIPHIER_MIO_RESET_SD_BRIDGE(id, ch) \
112 UNIPHIER_RESETX((id), 0x110 + 0x200 * (ch), 26)
114 #define UNIPHIER_MIO_RESET_EMMC_HW_RESET(id, ch) \
115 UNIPHIER_RESETX((id),
200 unsigned long id = reset_ctl->id; local
[all...]
H A Dreset-zynqmp.c33 dev_dbg(rst->dev, "%s(rst=%p) (id=%lu)\n", __func__, rst, rst->id);
35 return zynqmp_pm_reset_assert(priv->reset_id + rst->id,
43 dev_dbg(rst->dev, "%s(rst=%p) (id=%lu)\n", __func__, rst, rst->id);
45 return zynqmp_pm_reset_assert(priv->reset_id + rst->id,
53 dev_dbg(rst->dev, "%s(rst=%p) (id=%lu) (nr_reset=%d)\n", __func__,
54 rst, rst->id, priv->nr_reset);
56 if (priv->nr_reset && rst->id > priv->nr_reset)
89 .id
[all...]
H A Dreset-sifive.c27 int id = rst->id; local
30 /* Derive bitposition from rst id */
33 regval |= BIT(id);
36 regval &= ~BIT(id);
57 debug("%s(rst=%p) (dev=%p, id=%lu) (nr_reset=%d)\n", __func__,
58 rst, rst->dev, rst->id, priv->nr_reset);
60 if (rst->id > priv->nr_reset)
104 .id = UCLASS_RESET,
H A Dreset-dra7.c29 int mask = 1 << reset_ctl->id;
31 if (reset_ctl->id < 0 || reset_ctl->id >= priv->nreset)
45 int mask = 1 << reset_ctl->id;
47 if (reset_ctl->id < 0 || reset_ctl->id >= priv->nreset)
80 .id = UCLASS_RESET,
/u-boot/board/freescale/common/
H A Dpfuze.c15 u32 id; local
18 pmic_reg_read(p, PFUZE100_DEVICEID, &id);
19 id = id & 0xf;
21 if (id == 0) {
24 } else if (id == 1) {
28 printf("Not supported, id=%d\n", id);
98 u32 id; local
101 id
[all...]
/u-boot/drivers/sysinfo/
H A Dsysinfo-uclass.c61 int sysinfo_get_bool(struct udevice *dev, int id, bool *val) argument
72 return ops->get_bool(dev, id, val);
75 int sysinfo_get_int(struct udevice *dev, int id, int *val) argument
86 return ops->get_int(dev, id, val);
89 int sysinfo_get_str(struct udevice *dev, int id, size_t size, char *val) argument
100 return ops->get_str(dev, id, size, val);
104 .id = UCLASS_SYSINFO,
/u-boot/drivers/mailbox/
H A Dsandbox-mbox.c29 if (chan->id >= SANDBOX_MBOX_CHANNELS)
49 sbm->chans[chan->id].rx_msg = *pmsg ^ SANDBOX_MBOX_PING_XOR;
50 sbm->chans[chan->id].rx_msg_valid = true;
62 if (!sbm->chans[chan->id].rx_msg_valid)
65 *pmsg = sbm->chans[chan->id].rx_msg;
66 sbm->chans[chan->id].rx_msg_valid = false;
99 .id = UCLASS_MAILBOX,

Completed in 94 milliseconds

1234567891011>>