Searched refs:index (Results 151 - 175 of 603) sorted by relevance

1234567891011>>

/u-boot/lib/efi_selftest/
H A Defi_selftest_tpl.c114 efi_uintn_t index; local
133 index = 5;
134 ret = boottime->wait_for_event(1, &efi_st_event_wait, &index);
145 if (index != 0) {
146 efi_st_error("WaitForEvent returned wrong index\n");
204 ret = boottime->wait_for_event(1, &efi_st_event_wait, &index);
/u-boot/arch/arm/mach-k3/
H A Dam625_init.c146 int index, size; local
157 index = get_a53_cpu_clock_index(node);
159 if (!rates || index < 0 || index >= (size / sizeof(u32))) {
164 rates[index] = cpu_to_fdt32(k3_get_a53_max_frequency());
/u-boot/cmd/
H A Dadtimg.c13 #define OPT_INDEX "--index"
103 static int adtimg_getopt_index(int argc, char *const argv[], u32 *index, argument
116 ret = adtimg_getopt_u32(argv[0], OPT_INDEX, index);
131 u32 index, size; local
135 ret = adtimg_getopt_index(argc, argv, &index, &avar, &svar);
139 if (!android_dt_get_fdt_by_index(working_img, index, &addr, &size))
237 "adtimg get dt --index=<index> [avar [svar]] - Get DT address/size by index\n"
241 " - <index>
[all...]
H A Dusb.c142 static void usb_display_string(struct usb_device *dev, int index)
146 if (index != 0) {
147 if (usb_string(dev, index, &buffer[0], 256) > 0)
338 int index;
341 index = strlen(pre);
391 if (last_child && index)
392 pre[index-1] = ' ';
397 pre[index++] = ' ';
398 pre[index++] = has_child ? '|' : ' ';
399 pre[index]
141 usb_display_string(struct usb_device *dev, int index) argument
337 int index; local
[all...]
/u-boot/drivers/misc/
H A Dirq-uclass.c106 const char *list_name, int index,
138 log_debug("Node '%s', property '%s', failed to request IRQ index %d: %d\n",
139 ofnode_get_name(node), list_name, index, ret);
143 int irq_get_by_index(struct udevice *dev, int index, struct irq *irq)
149 "#interrupt-cells", 0, index, &args);
152 "interrupts-extended", index > 0, irq);
103 irq_get_by_index_tail(int ret, ofnode node, struct ofnode_phandle_args *args, const char *list_name, int index, struct irq *irq) argument
142 irq_get_by_index(struct udevice *dev, int index, struct irq *irq) argument
/u-boot/drivers/video/zynqmp/
H A Dzynqmp_dpsub.c192 u8 index;
202 for (index = 0; index <= DPDMA_AUDIO_CHANNEL1; index++) {
205 (DPDMA_CH_OFFSET * (u32)index),
244 u32 regval = 0, index = 0, *scaling_factors = NULL;
257 for (index = 0; index < 3; index++) {
258 writel(scaling_factors[index], dp_su
191 u8 index; local
243 u32 regval = 0, index = 0, *scaling_factors = NULL; local
295 u32 regval = 0, index; local
481 u8 index; local
951 u8 index; local
1097 u8 index, vs_level_adj_req[4], pe_level_adj_req[4]; local
[all...]
/u-boot/arch/arm/mach-imx/imx8ulp/
H A Drdc.c131 int xrdc_config_pdac_openacc(u32 bridge, u32 index)
138 w0_addr = XRDC_ADDR + 0x1000 + 0x8 * index;
141 w0_addr = XRDC_ADDR + 0x1400 + 0x8 * index;
144 w0_addr = XRDC_ADDR + 0x1800 + 0x8 * index;
157 int xrdc_config_pdac(u32 bridge, u32 index, u32 dom, u32 perm)
164 w0_addr = XRDC_ADDR + 0x1000 + 0x8 * index;
167 w0_addr = XRDC_ADDR + 0x1400 + 0x8 * index;
170 w0_addr = XRDC_ADDR + 0x1800 + 0x8 * index;
184 int xrdc_config_msc(u32 msc, u32 index, u32 dom, u32 perm)
192 w0_addr = XRDC_ADDR + 0x4000 + 0x400 * msc + 0x8 * index;
132 xrdc_config_pdac_openacc(u32 bridge, u32 index) argument
158 xrdc_config_pdac(u32 bridge, u32 index, u32 dom, u32 perm) argument
185 xrdc_config_msc(u32 msc, u32 index, u32 dom, u32 perm) argument
375 u32 index, offset, val; local
[all...]
/u-boot/drivers/phy/
H A Dphy-uclass.c127 int generic_phy_get_by_index_nodev(ofnode node, int index, struct phy *phy)
134 debug("%s(node=%s, index=%d, phy=%p)\n",
135 __func__, ofnode_get_name(node), index, phy);
140 index, &args);
203 int generic_phy_get_by_index(struct udevice *dev, int index,
206 return generic_phy_get_by_index_nodev(dev_ofnode(dev), index, phy);
212 int index;
219 index = dev_read_stringlist_search(dev, "phy-names", phy_name);
220 if (index < 0) {
221 debug("dev_read_stringlist_search() failed: %d\n", index);
126 generic_phy_get_by_index_nodev(ofnode node, int index, struct phy *phy) argument
202 generic_phy_get_by_index(struct udevice *dev, int index, struct phy *phy) argument
211 int index; local
511 generic_setup_phy(struct udevice *dev, struct phy *phy, int index) argument
[all...]
/u-boot/arch/mips/mach-octeon/
H A Dcvmx-helper-util.c232 /* RAW_FULL: index = 0 */
239 /* NON-IP: index = 1 */
246 /* IPv4: index = 2 */
253 /* IPv6: index = 3 */
364 /* calculate templace index */
578 int index; local
674 for (index = 0; index < num_ports; index++)
675 csr_wr(CVMX_GMXX_TXX_THRESH(index, x
707 cvmx_helper_get_ipd_port(int xiface, int index) argument
783 cvmx_helper_get_pknd(int xiface, int index) argument
[all...]
/u-boot/common/
H A Dusb.c223 unsigned short value, unsigned short index,
238 setup_packet->index = cpu_to_le16(index);
241 "value 0x%X index 0x%X length 0x%X\n",
242 request, requesttype, value, index, size);
383 int index, ifno, epno, curr_if_num;
405 index = dev->config.desc.bLength;
408 head = (struct usb_descriptor_header *) &buffer[index];
409 while (index + 1 < dev->config.desc.wTotalLength && head->bLength) {
417 if (index
220 usb_control_msg(struct usb_device *dev, unsigned int pipe, unsigned char request, unsigned char requesttype, unsigned short value, unsigned short index, void *data, unsigned short size, int timeout) argument
382 int index, ifno, epno, curr_if_num; local
562 usb_get_descriptor(struct usb_device *dev, unsigned char type, unsigned char index, void *buf, int size) argument
728 usb_get_string(struct usb_device *dev, unsigned short langid, unsigned char index, void *buf, int size) argument
764 usb_string_sub(struct usb_device *dev, unsigned int langid, unsigned int index, unsigned char *buf) argument
804 usb_string(struct usb_device *dev, int index, char *buf, size_t size) argument
865 usb_get_dev_index(int index) argument
1293 board_usb_init(int index, enum usb_init_type init) argument
1299 board_usb_cleanup(int index, enum usb_init_type init) argument
[all...]
/u-boot/drivers/usb/eth/
H A Dr8152.c40 int get_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data)
47 value, index, tmp, size, 500);
53 int set_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data)
60 value, index, tmp, size, 500);
63 int generic_ocp_read(struct r8152 *tp, u16 index, u16 size,
70 /* both size and index must be 4 bytes align */
71 if ((size & 3) || !size || (index & 3) || !data)
74 if (index + size > 0xffff)
79 ret = get_registers(tp, index, type, txsize, data);
83 index
39 get_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) argument
52 set_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) argument
62 generic_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data, u16 type) argument
90 generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data, u16 type) argument
143 pla_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data) argument
148 pla_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) argument
153 usb_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data) argument
158 usb_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) argument
163 ocp_read_dword(struct r8152 *tp, u16 type, u16 index) argument
172 ocp_write_dword(struct r8152 *tp, u16 type, u16 index, u32 data) argument
179 ocp_read_word(struct r8152 *tp, u16 type, u16 index) argument
196 ocp_write_word(struct r8152 *tp, u16 type, u16 index, u32 data) argument
217 ocp_read_byte(struct r8152 *tp, u16 type, u16 index) argument
234 ocp_write_byte(struct r8152 *tp, u16 type, u16 index, u32 data) argument
305 r8152_wait_for_bit(struct r8152 *tp, bool ocp_reg, u16 type, u16 index, const u32 mask, bool set, unsigned int timeout) argument
[all...]
/u-boot/include/linux/
H A Dbitmap.h168 unsigned long index, end, i; local
170 index = find_next_zero_bit(map, size, start);
175 index = (index + align_mask) & ~align_mask;
177 end = index + nr;
180 i = find_next_bit(map, end, index);
185 return index;
/u-boot/arch/arm/mach-mvebu/alleycat5/
H A Dsoc.c204 static int get_soc_table_index(u32 *index)
209 *index = 0;
217 *index = i;
222 *index = 1;
229 u32 index;
231 get_soc_table_index(&index);
232 *soc_name = soc_info_table[index].soc_name;
203 get_soc_table_index(u32 *index) argument
228 u32 index; local
/u-boot/drivers/usb/gadget/
H A Dcore.c74 * @index: string index to return
78 struct usb_string_descriptor *usbd_get_string (__u8 index) argument
80 if (index >= maxstrings) {
83 return usb_strings[index];
93 * @configuration: index to configuration, 0 - N-1
110 * @configuration: index to configuration, 0 - N-1
111 * @interface: index to interface
131 * @configuration: index to configuration, 0 - N-1
132 * @interface: index t
220 usbd_device_endpoint_descriptor_index(struct usb_device_instance *device, int port, int configuration, int interface, int alternate, int index) argument
245 usbd_device_endpoint_transfersize(struct usb_device_instance *device, int port, int configuration, int interface, int alternate, int index) argument
[all...]
H A Dep0.c102 * @index:
107 struct urb *urb, int index, int requesttype)
122 cp[0] = usbd_endpoint_halted (device, index);
209 * @index:
217 int index)
221 /*dbg_ep0(3, "max: %x type: %x index: %x", max, descriptor_type, index); */
266 /*dbg_ep0(2, "%d %d", index, device_descriptor->bNumConfigurations); */
267 if (index >= device_descriptor->bNumConfigurations) {
268 dbg_ep0 (0, "index to
105 ep0_get_status(struct usb_device_instance *device, struct urb *urb, int index, int requesttype) argument
214 ep0_get_descriptor(struct usb_device_instance *device, struct urb *urb, int max, int descriptor_type, int index) argument
[all...]
/u-boot/scripts/
H A Ddecodecode55 width=`expr index "$code" ' '`
86 marker=`expr index "$code" "\<"`
88 marker=`expr index "$code" "\("`
/u-boot/drivers/mtd/nand/raw/
H A Docteontx_bch_regs.h95 int index; member in struct:bch_q
152 int slot = qptr->index % (QDEPTH * NQS);
159 qptr->index++;
/u-boot/arch/powerpc/include/asm/
H A Dfsl_law.h15 { .index = idx, .addr = a, .size = sz, .trgt_id = trgt }
18 { .index = -1, .addr = a, .size = sz, .trgt_id = trgt }
123 int index; member in struct:law_entry
/u-boot/drivers/usb/dwc3/
H A Ddwc3-uniphier.c33 static void uniphier_pro4_dwc3_init(struct udevice *dev, int index, argument
48 static void uniphier_pro5_dwc3_init(struct udevice *dev, int index, argument
64 static void uniphier_pxs2_dwc3_init(struct udevice *dev, int index, argument
/u-boot/arch/arm/mach-meson/
H A Dsm.c138 int meson_sm_pwrdm_set(size_t index, int cmd)
148 regs.regs[1] = index;
154 "enable" : "disable", index, err);
137 meson_sm_pwrdm_set(size_t index, int cmd) argument
/u-boot/drivers/usb/musb/
H A Dmusb_core.c78 writeb(epinfo->epnum, &musbr->index);
119 /* select the endpoint index */
120 writeb(ep, &musbr->index);
144 /* select the endpoint index */
145 writeb(ep, &musbr->index);
/u-boot/arch/arm/mach-at91/include/mach/
H A Datmel_usba_udc.h15 .index = idx, \
/u-boot/include/crypto/
H A Dx509_parser.h38 unsigned index; member in struct:x509_certificate
/u-boot/arch/x86/cpu/
H A Dcall32.S7 #include <asm/msr-index.h>
/u-boot/drivers/tpm/
H A Dsandbox_common.h54 * sb_tpm_index_to_seq() - convert an index into a space sequence number
56 * This converts the index as used by the vboot code into an internal sequence
59 * @index: Index to use (FIRMWARE_NV_INDEX, etc.)
62 int sb_tpm_index_to_seq(uint index);

Completed in 150 milliseconds

1234567891011>>