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

1234567891011>>

/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/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) argument
149 "#interrupt-cells", 0, index, &args);
152 "interrupts-extended", index > 0, irq);
104 irq_get_by_index_tail(int ret, ofnode node, struct ofnode_phandle_args *args, const char *list_name, int index, struct irq *irq) argument
/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) argument
146 if (index != 0) {
147 if (usb_string(dev, index, &buffer[0], 256) > 0)
338 int index; local
341 index = strlen(pre);
391 if (last_child && index)
392 pre[index-1] = ' ';
397 pre[index++] = ' ';
398 pre[index++] = has_child ? '|' : ' ';
399 pre[index]
[all...]
/u-boot/drivers/video/zynqmp/
H A Dzynqmp_dpsub.c192 u8 index; local
202 for (index = 0; index <= DPDMA_AUDIO_CHANNEL1; index++) {
205 (DPDMA_CH_OFFSET * (u32)index),
244 u32 regval = 0, index = 0, *scaling_factors = NULL; local
257 for (index = 0; index < 3; index++) {
258 writel(scaling_factors[index], dp_su
296 u32 regval = 0, index; local
482 u8 index; local
952 u8 index; local
1098 u8 index, vs_level_adj_req[4], pe_level_adj_req[4]; 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) argument
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, argument
206 return generic_phy_get_by_index_nodev(dev_ofnode(dev), index, phy);
212 int index; local
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);
512 generic_setup_phy(struct udevice *dev, struct phy *phy, int index) argument
[all...]
/u-boot/arch/arm/mach-imx/imx8ulp/
H A Drdc.c131 int xrdc_config_pdac_openacc(u32 bridge, u32 index) argument
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) argument
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) argument
192 w0_addr = XRDC_ADDR + 0x4000 + 0x400 * msc + 0x8 * index;
374 u32 index, offset, val; local
[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; local
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
221 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
563 usb_get_descriptor(struct usb_device *dev, unsigned char type, unsigned char index, void *buf, int size) argument
729 usb_get_string(struct usb_device *dev, unsigned short langid, unsigned char index, void *buf, int size) argument
765 usb_string_sub(struct usb_device *dev, unsigned int langid, unsigned int index, unsigned char *buf) argument
805 usb_string(struct usb_device *dev, int index, char *buf, size_t size) argument
866 usb_get_dev_index(int index) argument
1294 board_usb_init(int index, enum usb_init_type init) argument
1300 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) argument
47 value, index, tmp, size, 500);
53 int set_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) argument
60 value, index, tmp, size, 500);
63 int generic_ocp_read(struct r8152 *tp, u16 index, u16 size, argument
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
91 generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data, u16 type) argument
144 pla_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data) argument
149 pla_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) argument
154 usb_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data) argument
159 usb_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) argument
164 ocp_read_dword(struct r8152 *tp, u16 type, u16 index) argument
173 ocp_write_dword(struct r8152 *tp, u16 type, u16 index, u32 data) argument
180 ocp_read_word(struct r8152 *tp, u16 type, u16 index) argument
197 ocp_write_word(struct r8152 *tp, u16 type, u16 index, u32 data) argument
218 ocp_read_byte(struct r8152 *tp, u16 type, u16 index) argument
235 ocp_write_byte(struct r8152 *tp, u16 type, u16 index, u32 data) argument
306 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) argument
209 *index = 0;
217 *index = i;
222 *index = 1;
229 u32 index; local
231 get_soc_table_index(&index);
232 *soc_name = soc_info_table[index].soc_name;
/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
106 ep0_get_status(struct usb_device_instance *device, struct urb *urb, int index, int requesttype) argument
215 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) argument
148 regs.regs[1] = index;
154 "enable" : "disable", index, err);
/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);
/u-boot/drivers/power/domain/
H A Dmeson-secure-pwrc.c15 size_t index; member in struct:meson_secure_pwrc_domain_desc
35 err = meson_sm_pwrdm_on(pwrc_domain->index);
54 err = meson_sm_pwrdm_off(pwrc_domain->index);
97 .index = PWRC_##__name##_ID, \

Completed in 321 milliseconds

1234567891011>>