Searched refs:index (Results 276 - 300 of 602) sorted by relevance

<<11121314151617181920>>

/u-boot/drivers/net/ti/
H A Ddavinci_emac.c424 int index; local
511 index = get_active_phy();
512 if (index == -1)
518 davinci_eth_phy_read(active_phy_addr[index], MII_STAT1000, &lpa_val);
526 davinci_eth_phy_read(active_phy_addr[index], MII_LPA, &lpa_val);
630 int index; local
633 index = get_active_phy();
634 if (index == -1) {
661 if (!phy[index].get_link_speed(active_phy_addr[index])) {
[all...]
/u-boot/arch/powerpc/cpu/mpc8xxx/
H A Dfsl_pamu.c65 * @param[in] omi Operation mapping index -- if ~omi == 0 then omi
154 uint32_t index, swse; local
177 /* Calculating the win_size here as if we map in index 0,
190 index = sec_addr >> size_shift;
192 if (index == 0) {
200 paace = sec + fspi_idx + index - 1;
202 debug("SPAACT:Writing at location %p, index %d\n", paace,
203 index);
/u-boot/drivers/net/octeontx2/
H A Dnix.c78 int index; local
80 for (index = 0; index < queue_length; index++) {
81 buffers[index] = memalign(CONFIG_SYS_CACHELINE_SIZE,
83 if (!buffers[index]) {
85 __func__, index, buffer_size);
89 __func__, index, buffers[index], buffer_size);
94 aura_descr.f0.s.addr = (u64)buffers[index];
348 int index; local
[all...]
/u-boot/lib/efi_loader/
H A Defi_bootmgr.c779 * @index: index of the opt array to store the boot option
788 efi_uintn_t index, efi_handle_t *handles,
791 u32 i, num = index;
893 int index; local
910 if (!efi_varname_is_load_option(var_name16, &index))
913 efi_create_indexed_name(varname, sizeof(varname), "Boot", index);
936 * boot option, just save the index here.
946 delete_index_list[list_size++] = index;
968 * efi_bootmgr_get_unused_bootoption() - get unused "Boot####" index
787 efi_bootmgr_enumerate_boot_options(struct eficonfig_media_boot_option *opt, efi_uintn_t index, efi_handle_t *handles, efi_uintn_t *count, bool removable) argument
975 efi_bootmgr_get_unused_bootoption(u16 *buf, efi_uintn_t buf_size, unsigned int *index) argument
1010 efi_bootmgr_append_bootorder(u16 index) argument
1055 unsigned int index; local
[all...]
H A Defi_capsule.c52 unsigned long index = 0xffff; local
70 if (strict_strtoul(value, 16, &index))
71 index = 0xffff;
73 return index;
77 * get_last_capsule - get the last capsule index
79 * Retrieve the index of the capsule invoked last time from "CapsuleLast"
83 * * > 0 - the last capsule index invoked
92 * get_max_capsule - get the max capsule index
94 * Retrieve the max capsule index value from "CapsuleMax" variable.
97 * * > 0 - the max capsule index
114 set_capsule_result(int index, struct efi_capsule_header *capsule, efi_status_t return_status) argument
1303 unsigned int nfiles, index, index_max, i; local
[all...]
/u-boot/drivers/pci/
H A Dpci_tegra.c202 unsigned int index; member in struct:tegra_pcie_port
289 if (port->index + 1 == dev) {
452 static int tegra_pcie_parse_port_info(ofnode node, uint *index, uint *lanes) argument
471 *index = PCI_DEV(addr.phys_hi) - 1;
524 unsigned int index = 0, num_lanes = 0; local
527 err = tegra_pcie_parse_port_info(subnode, &index, &num_lanes);
533 lanes |= num_lanes << (index << 3);
544 port->index = index;
748 value &= ~AFI_PCIE_CONFIG_PCIE_DISABLE(port->index);
[all...]
/u-boot/lib/
H A Dfdtdec.c109 const char *prop_name, int index, int na,
127 prop_addr = prop + (index * (na + ns));
156 int index, fdt_size_t *sizep,
177 return fdtdec_get_addr_size_fixed(blob, node, prop_name, index, na,
182 const char *prop_name, int index,
197 index, sizep, translate);
744 int cell_count, int index,
779 if (cells_name || cur_index == index) {
820 * index matches, then fill the out_args structure and return,
824 if (cur_index == index) {
108 fdtdec_get_addr_size_fixed(const void *blob, int node, const char *prop_name, int index, int na, int ns, fdt_size_t *sizep, bool translate) argument
154 fdtdec_get_addr_size_auto_parent(const void *blob, int parent, int node, const char *prop_name, int index, fdt_size_t *sizep, bool translate) argument
181 fdtdec_get_addr_size_auto_noparent(const void *blob, int node, const char *prop_name, int index, fdt_size_t *sizep, bool translate) argument
741 fdtdec_parse_phandle_with_args(const void *blob, int src_node, const char *list_name, const char *cells_name, int cell_count, int index, struct fdtdec_phandle_args *out_args) argument
899 fdt_get_resource(const void *fdt, int node, const char *property, unsigned int index, struct fdt_resource *res) argument
942 int index; local
975 fdtdec_decode_display_timing(const void *blob, int parent, int index, struct display_timing *dt) argument
1470 fdtdec_get_carveout(const void *blob, const char *node, const char *prop_name, unsigned int index, struct fdt_memory *carveout, const char **name, const char ***compatiblesp, unsigned int *countp, unsigned long *flags) argument
1571 fdtdec_set_carveout(void *blob, const char *node, const char *prop_name, unsigned int index, const struct fdt_memory *carveout, const char *name, const char **compatibles, unsigned int count, unsigned long flags) argument
[all...]
/u-boot/arch/mips/mach-octeon/
H A Dcvmx-helper-board.c253 int xiface = 0, index = 0; local
264 index = cvmx_helper_get_interface_index_num(ipd_port);
266 if (!cvmx_helper_get_port_autonegotiation(xiface, index)) {
307 sfp_info = cvmx_helper_cfg_get_sfp_info(xiface, index);
316 index);
324 cvmx_helper_update_link_led(xiface, index, result);
328 phy_info = cvmx_helper_get_port_phy_info(xiface, index);
331 __func__, xiface, index);
342 __func__, xiface, index, phy_info);
343 cvmx_helper_set_port_phy_info(xiface, index, phy_inf
408 cvmx_helper_update_link_led(int xiface, int index, cvmx_helper_link_info_t result) argument
964 int index = cvmx_helper_get_interface_index_num(ipd_port); local
[all...]
H A Dcvmx-helper-sfp.c1050 int xiface, index; local
1089 /* Get the port index */
1097 index = reg;
1119 debug("%s: Parsed %d SFP slots for interface 0x%x, index %d\n",
1120 __func__, num_sfp_nodes, xiface, index);
1125 sfp->index = index;
1128 cvmx_helper_get_ipd_port(xiface, index);
1129 debug("%s: sfp %s (%p) xi: 0x%x, index: 0x%x, node: %d, mode: 0x%x, next: %p\n",
1131 sfp->index, x
1241 int index = sfp->index; local
[all...]
/u-boot/include/
H A Dusb.h63 __le16 index; member in struct:devrequest
183 int usb_lowlevel_init(int index, enum usb_init_type init, void **controller);
184 int usb_lowlevel_stop(int index);
224 * @param index USB controller number
227 int board_usb_init(int index, enum usb_init_type init);
233 * @param index USB controller number for selective cleanup
236 int board_usb_cleanup(int index, enum usb_init_type init);
283 unsigned short value, unsigned short index,
301 int usb_string(struct usb_device *dev, int index, char *buf, size_t size);
945 struct usb_device *usb_get_dev_index(int index);
[all...]
H A Dtpm-v2.h157 * @digest: Value extended into PCR index
207 * @digests: List of digestsextended to PCR index
454 /* NV index attributes */
754 * @space_index index of the area
769 * @index Index of the PCR
776 u32 tpm2_pcr_extend(struct udevice *dev, u32 index, u32 algorithm,
783 * @index Index of data to read
788 u32 tpm2_nv_read_value(struct udevice *dev, u32 index, void *data, u32 count);
794 * @index Index of data to write
799 u32 tpm2_nv_write_value(struct udevice *dev, u32 index, cons
[all...]
H A Dvideo_console.h284 * @index: Character position (0 = at start)
288 uint x, uint y, uint index);
376 * @index: Character position (0 = at start)
380 uint x, uint y, uint index);
/u-boot/drivers/virtio/
H A Dvirtio_pci_modern.c252 unsigned int index)
261 if (index >= ioread16(&cfg->num_queues))
265 iowrite16(index, &cfg->queue_select);
278 vq = vring_create_virtqueue(index, num, VIRTIO_PCI_VRING_ALIGN, udev);
310 unsigned int index = vq->index; local
312 iowrite16(index, &priv->common->queue_select);
372 iowrite16(vq->index, &priv->common->queue_select);
390 iowrite16(vq->index, priv->notify_base + off);
251 virtio_pci_setup_vq(struct udevice *udev, unsigned int index) argument
/u-boot/drivers/usb/eth/
H A Dlan7x.c21 int lan7x_write_reg(struct usb_device *udev, u32 index, u32 data) argument
32 0, index, tmpbuf, sizeof(data),
35 debug("%s failed: index=%d, data=%d, len=%d",
36 __func__, index, data, len);
42 int lan7x_read_reg(struct usb_device *udev, u32 index, u32 *data) argument
50 0, index, tmpbuf, sizeof(*data),
54 debug("%s failed: index=%d, len=%d", __func__, index, len);
79 /* set the address, index & direction (read from PHY) */
106 /* set the address, index
[all...]
H A Dlan7x.h125 int lan7x_write_reg(struct usb_device *udev, u32 index, u32 data);
127 int lan7x_read_reg(struct usb_device *udev, u32 index, u32 *data);
/u-boot/arch/arm/mach-omap2/omap5/
H A Dhw_data.c623 void enable_usb_clocks(int index) argument
627 if (index == 0) {
642 } else if (index == 1) {
678 void disable_usb_clocks(int index) argument
682 if (index == 0) {
697 } else if (index == 1) {
/u-boot/drivers/mtd/onenand/
H A Dsamsung.c279 int index; local
296 index = ONENAND_CURRENT_BUFFERRAM(this);
304 if (index) {
378 int index = ONENAND_CURRENT_BUFFERRAM(this); local
383 if (index == 1)
387 if (index == 1)
/u-boot/drivers/net/
H A Dsandbox.c25 * index - The alias index (also DM seq number)
28 void sandbox_eth_disable_response(int index, bool disable) argument
34 ret = uclass_get_device(UCLASS_ETH, index, &dev);
283 * index - interface to set the handler for
286 void sandbox_eth_set_tx_handler(int index, sandbox_eth_tx_hand_f *handler) argument
292 ret = uclass_get_device(UCLASS_ETH, index, &dev);
308 void sandbox_eth_set_priv(int index, void *priv) argument
314 ret = uclass_get_device(UCLASS_ETH, index, &dev);
/u-boot/cmd/
H A Dbootmenu.c160 * @index: pointer to the index of the last bootmenu entry,
166 unsigned short int *index)
170 unsigned short int i = *index;
220 *index = i;
235 * @index: pointer to the index of the last bootmenu entry,
241 unsigned short int *index)
250 unsigned short int i = *index;
314 *index
164 prepare_bootmenu_entry(struct bootmenu_data *menu, struct bootmenu_entry **current, unsigned short int *index) argument
239 prepare_uefi_bootorder_entry(struct bootmenu_data *menu, struct bootmenu_entry **current, unsigned short int *index) argument
[all...]
/u-boot/drivers/video/
H A Dlogicore_dp_tx.c380 u8 index; local
400 for (index = 0; index < request->num_bytes; index++) {
402 REG_AUX_WRITE_FIFO, request->data[index]);
447 for (index = 0; index < request->num_bytes; index++)
448 request->data[index] = get_reg(dev, REG_AUX_REPLY_DATA);
1096 u8 index; local
[all...]
H A Dconsole_normal.c103 uint x, uint y, uint index)
117 x += index * fontdata->width;
102 console_set_cursor_visible(struct udevice *dev, bool visible, uint x, uint y, uint index) argument
/u-boot/arch/mips/mach-octeon/include/mach/
H A Dcvmx-helper.h131 * cvmx_override_iface_phy_mode(int interface, int index) is a function pointer.
138 extern int (*cvmx_override_iface_phy_mode) (int interface, int index);
466 int __cvmx_helper_set_link_info(int xiface, int index, cvmx_helper_link_info_t link_info);
529 int qpg_base; /* QPG Table base index.*/
573 * Return PKI_CHAN_E channel name based on the provided index.
574 * @param chan Channel index.
/u-boot/board/Marvell/octeontx2/
H A Dboard.c44 void octeontx2_board_get_mac_addr(u8 index, u8 *mac_addr) argument
52 tmp_mac += index;
/u-boot/drivers/net/fm/
H A Dfm.c355 /* Init common part of FM, index is fm num# like fm as above */
357 int fm_init_common(int index, struct ccsr_fman *reg, const char *firmware_name) argument
434 rc = fman_upload_firmware(index, &reg->fm_imem, addr);
439 fm_init_muram(index, &reg->muram);
449 return fm_init_bmi(index, &reg->fm_bmi_common);
452 int fm_init_common(int index, struct ccsr_fman *reg, const char *firmware_name) argument
556 rc = fman_upload_firmware(index, &reg->fm_imem, addr);
561 fm_init_muram(index, &reg->muram);
571 return fm_init_bmi(index, &reg->fm_bmi_common);
593 if (dev_read_u32(dev, "cell-index",
[all...]
/u-boot/drivers/phy/
H A Dphy-stm32-usbphyc.c435 static void stm32_usbphyc_tuning(struct udevice *dev, ofnode node, u32 index) argument
438 u32 reg = STM32_USBPHYC_TUNE(index);
450 dev_warn(dev, "phy%d: invalid st,current-boost-microamp value\n", index);
468 dev_warn(dev, "phy%d: invalid st,tune-hs-dc-level value\n", index);
481 dev_warn(dev, "phy%d: invalid st,trim-hs-current value\n", index);
487 dev_warn(dev, "phy%d: invalid trim-hs-impedance value\n", index);
493 dev_warn(dev, "phy%d: invalid st,tune-squelch-level value\n", index);
502 dev_warn(dev, "phy%d: invalid st,tune-hs-rx-offset value\n", index);

Completed in 398 milliseconds

<<11121314151617181920>>