/openbmc/linux/mm/ |
H A D | readahead.c | 293 if (index > end_index) in do_page_cache_ra() 329 ractl->_index = index; in force_page_cache_ra() 332 index += this_chunk; in force_page_cache_ra() 435 pgoff_t index, in try_context_readahead() argument 454 if (size >= index) in try_context_readahead() 457 ra->start = index; in try_context_readahead() 473 if (index == mark) in ra_alloc_folio() 533 if (index > limit) { in page_cache_ra_order() 577 if (!index) in ondemand_readahead() 586 if (index == expected || index == (ra->start + ra->size)) { in ondemand_readahead() [all …]
|
/openbmc/linux/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-cmdq.c | 83 for (index = 0; index < num_comp; index++) { in mdp_path_subfrm_require() 120 for (index = 0; index < num_comp; index++) { in mdp_path_subfrm_run() 133 for (index = 0; index < num_comp; index++) { in mdp_path_subfrm_run() 158 for (index = 0; index < num_comp; index++) { in mdp_path_ctx_init() 192 for (index = 0; index < ctrl->num_sets; index++) { in mdp_path_config_subfrm() 211 for (index = 0; index < num_comp; index++) { in mdp_path_config_subfrm() 220 for (index = 0; index < num_comp; index++) { in mdp_path_config_subfrm() 227 for (index = 0; index < ctrl->num_sets; index++) { in mdp_path_config_subfrm() 253 for (index = 0; index < num_comp; index++) { in mdp_path_config() 260 for (index = 0; index < num_comp; index++) { in mdp_path_config() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | nsp32_io.h | 13 unsigned int index, in nsp32_write1() argument 16 outb(val, (base + index)); in nsp32_write1() 20 unsigned int index) in nsp32_read1() argument 22 return inb(base + index); in nsp32_read1() 26 unsigned int index, in nsp32_write2() argument 29 outw(val, (base + index)); in nsp32_write2() 33 unsigned int index) in nsp32_read2() argument 35 return inw(base + index); in nsp32_read2() 39 unsigned int index, in nsp32_write4() argument 46 unsigned int index) in nsp32_read4() argument [all …]
|
/openbmc/linux/lib/ |
H A D | cpu_rmap.c | 102 rmap->near[cpu].index = rmap->near[neigh].index; in cpu_rmap_copy_neigh() 113 unsigned index; in debug_print_rmap() local 119 index = rmap->near[cpu].index; in debug_print_rmap() 153 if (index < 0) in cpu_rmap_add() 154 return index; in cpu_rmap_add() 157 return index; in cpu_rmap_add() 180 if (rmap->near[cpu].index == index) { in cpu_rmap_update() 192 rmap->near[cpu].index = index; in cpu_rmap_update() 228 u16 index; member 240 u16 index; in free_irq_cpu_rmap() local [all …]
|
/openbmc/linux/samples/vfio-mdev/ |
H A D | mtty.c | 342 if (mdev_state->s[index].dlab) { in handle_bar_write() 352 mdev_state->s[index].rxtx.fifo[ in handle_bar_write() 369 index); in handle_bar_write() 392 if (mdev_state->s[index].dlab) in handle_bar_write() 402 index); in handle_bar_write() 641 int index, pos; in mdev_read_base() local 647 for (index = 0; index <= VFIO_PCI_BAR5_REGION_INDEX; index++) { in mdev_read_base() 679 unsigned int index; in mdev_access() local 690 switch (index) { in mdev_access() 976 switch (index) { in mtty_set_irqs() [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/ |
H A D | index.rst | 11 appletalk/index 12 atm/index 13 cable/index 14 can/index 15 cellular/index 16 ethernet/index 17 fddi/index 18 hamradio/index 19 qlogic/index 20 wifi/index [all …]
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | core_tsunami.c | 255 if (index == 0) in tsunami_init_one_pchip() 271 hose->config_space_base = TSUNAMI_CONF(index); in tsunami_init_one_pchip() 272 hose->index = index; in tsunami_init_one_pchip() 276 hose->io_space->name = pci_io_names[index]; in tsunami_init_one_pchip() 281 hose->mem_space->name = pci_mem_names[index]; in tsunami_init_one_pchip() 295 saved_config[index].wsm[0] = pchip->wsm[0].csr; in tsunami_init_one_pchip() 296 saved_config[index].tba[0] = pchip->tba[0].csr; in tsunami_init_one_pchip() 299 saved_config[index].wsm[1] = pchip->wsm[1].csr; in tsunami_init_one_pchip() 300 saved_config[index].tba[1] = pchip->tba[1].csr; in tsunami_init_one_pchip() 303 saved_config[index].wsm[2] = pchip->wsm[2].csr; in tsunami_init_one_pchip() [all …]
|
/openbmc/qemu/hw/net/ |
H A D | imx_fec.c | 50 switch (index) { in imx_fec_reg_name() 66 switch (index) { in imx_enet_reg_name() 128 switch (index) { in imx_eth_reg_name() 533 switch (index) { in imx_enet_do_tx() 700 switch (index) { in imx_fec_read() 713 switch (index) { in imx_enet_read() 753 switch (index) { in imx_eth_read() 786 trace_imx_eth_read(index, imx_eth_reg_name(s, index), value); in imx_eth_read() 800 switch (index) { in imx_fec_write() 823 switch (index) { in imx_enet_write() [all …]
|
/openbmc/u-boot/board/xilinx/zynq/ |
H A D | bootimg.c | 31 int index; in zynq_islastpartition() local 37 for (index = 0; index < ZYNQ_PART_HDR_WORD_COUNT - 1; index++) { in zynq_islastpartition() 38 if (head->fields[index] != 0x0) in zynq_islastpartition() 90 u32 index; in zynq_validate_hdr() local 97 for (index = 0; index < ZYNQ_PART_HDR_WORD_COUNT; index++) { in zynq_validate_hdr() 98 if (hap->fields[index]) in zynq_validate_hdr() 101 if (index == ZYNQ_PART_HDR_WORD_COUNT) in zynq_validate_hdr() 105 for (index = 0; index < ZYNQ_PART_HDR_CHKSUM_WORD_COUNT; index++) in zynq_validate_hdr() 106 checksum += hap->fields[index]; in zynq_validate_hdr()
|
/openbmc/linux/drivers/hwmon/ |
H A D | sht3x.c | 186 size_t index; in get_mode_from_update_interval() local 193 for (index = 1; index < number_of_modes; index++) { in get_mode_from_update_interval() 195 return index; in get_mode_from_update_interval() 317 u8 index; in limits_update() local 325 for (index = 0; index < SHT3X_NUM_LIMIT_CMD; index++) { in limits_update() 362 u8 index, in limit_write() argument 431 ret = limit_write(dev, index, data->temperature_limits[index], in humidity1_limit_write() 726 index = limit_max; in sht3x_read() 734 index = limit_min; in sht3x_read() 754 index = limit_max; in sht3x_read() [all …]
|
/openbmc/openbmc/meta-facebook/meta-minerva/recipes-phosphor/console/obmc-console/ |
H A D | server.ttyS5.conf | 6 mux-index = 0 10 mux-index = 1 14 mux-index = 2 18 mux-index = 3 22 mux-index = 4 26 mux-index = 5 30 mux-index = 6 34 mux-index = 7 38 mux-index = 8 42 mux-index = 9 [all …]
|
/openbmc/linux/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-helper-rgmii.c | 101 int index = port & 0xf; in cvmx_helper_rgmii_internal_loopback() local 271 if (asxx_prt_loop.s.int_loop & (1 << index)) { in __cvmx_helper_rgmii_link_get() 320 ~(1 << index)); in __cvmx_helper_rgmii_link_set() 338 gmx_tx_ovr_bp.s.bp &= ~(1 << index); in __cvmx_helper_rgmii_link_set() 339 gmx_tx_ovr_bp.s.en |= 1 << index; in __cvmx_helper_rgmii_link_set() 351 interface * 0x800 + index * 0x100 + 0x880); in __cvmx_helper_rgmii_link_set() 360 cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in __cvmx_helper_rgmii_link_set() 416 if (((index == 0) && (mode.s.p0mii == 1)) in __cvmx_helper_rgmii_link_set() 417 || ((index != 0) && (mode.s.type == 1))) { in __cvmx_helper_rgmii_link_set() 419 (index, interface), 1); in __cvmx_helper_rgmii_link_set() [all …]
|
/openbmc/u-boot/board/ti/omap5_uevm/ |
H A D | evm.c | 67 .index = 0, 73 .index = 0, 80 .index = 0, 85 if (index) { in board_usb_init() 98 enable_usb_clocks(index); in board_usb_init() 108 if (index) { in board_usb_cleanup() 113 ti_usb_phy_uboot_exit(index); in board_usb_cleanup() 114 dwc3_uboot_exit(index); in board_usb_cleanup() 115 dwc3_omap_uboot_exit(index); in board_usb_cleanup() 116 disable_usb_clocks(index); in board_usb_cleanup() [all …]
|
/openbmc/linux/drivers/gpu/drm/fsl-dcu/ |
H A D | fsl_dcu_drm_plane.c | 27 unsigned int index; in fsl_dcu_drm_plane_index() local 29 index = drm_plane_index(plane); in fsl_dcu_drm_plane_index() 30 if (index < total_layer) in fsl_dcu_drm_plane_index() 31 return total_layer - index - 1; in fsl_dcu_drm_plane_index() 68 int index; in fsl_dcu_drm_plane_atomic_disable() local 70 index = fsl_dcu_drm_plane_index(plane); in fsl_dcu_drm_plane_atomic_disable() 71 if (index < 0) in fsl_dcu_drm_plane_atomic_disable() 89 int index; in fsl_dcu_drm_plane_atomic_update() local 94 index = fsl_dcu_drm_plane_index(plane); in fsl_dcu_drm_plane_atomic_update() 95 if (index < 0) in fsl_dcu_drm_plane_atomic_update() [all …]
|
/openbmc/linux/drivers/clk/sunxi/ |
H A D | clk-sun8i-bus-gates.c | 34 int index; in sun8i_h3_bus_gates_init() local 61 of_property_for_each_u32(node, "clock-indices", prop, p, index) { in sun8i_h3_bus_gates_init() 65 if (index == 17 || (index >= 29 && index <= 31)) in sun8i_h3_bus_gates_init() 67 else if (index <= 63 || index >= 128) in sun8i_h3_bus_gates_init() 69 else if (index >= 64 && index <= 95) in sun8i_h3_bus_gates_init() 71 else if (index >= 96 && index <= 127) in sun8i_h3_bus_gates_init() 78 clk_reg = reg + 4 * (index / 32); in sun8i_h3_bus_gates_init() 79 clk_bit = index % 32; in sun8i_h3_bus_gates_init() 81 clk_data->clks[index] = clk_register_gate(NULL, clk_name, in sun8i_h3_bus_gates_init() 87 if (IS_ERR(clk_data->clks[index])) { in sun8i_h3_bus_gates_init()
|
/openbmc/linux/scripts/ |
H A D | generate_initcall_order.pl | 40 my ($index, $initcalls) = @_; 53 print "$index $level $secname\n"; 75 if (!defined($index) || 81 $index = int($index); 83 if (!exists($results->{$index})) { 84 $results->{$index} = []; 87 push (@{$results->{$index}}, { 98 my ($index, $file) = @_; 150 write_results($index, $initcalls); 189 my $index = 0; [all …]
|
/openbmc/bmcweb/include/ |
H A D | multipart_parser.hpp | 88 index = 0; in parse() 116 index++; in parse() 122 index = 0; in parse() 132 index++; in parse() 276 index++; in processPartData() 280 index = 0; in processPartData() 285 index++; in processPartData() 298 index = 0; in processPartData() 305 index = 0; in processPartData() 329 if (index > 0) in processPartData() [all …]
|
/openbmc/u-boot/drivers/clk/ |
H A D | clk-uclass.c | 29 if (index != 0) in clk_get_by_index_platdata() 71 index, &args); in clk_get_by_indexed_prop() 142 int index; in clk_set_default_parents() local 154 for (index = 0; index < num_parents; index++) { in clk_set_default_parents() 168 index, &clk); in clk_set_default_parents() 197 int index; in clk_set_default_rates() local 216 for (index = 0; index < num_rates; index++) { in clk_set_default_rates() 218 if (!rates[index]) in clk_set_default_rates() 266 int index; in clk_get_by_name() local 272 if (index < 0) { in clk_get_by_name() [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | loongarch_extioi.c | 77 uint32_t index, cpu; in extioi_readw() local 86 *data = s->ipmap[index]; in extioi_readw() 90 *data = s->enable[index]; in extioi_readw() 94 *data = s->bounce[index]; in extioi_readw() 104 *data = s->coremap[index]; in extioi_readw() 120 val = mask & s->isr[index]; in extioi_enable_irq() 212 s->ipmap[index] = val; in extioi_writew() 218 s->enable[index] = val; in extioi_writew() 231 s->bounce[index] = val; in extioi_writew() 250 index = irq / 4; in extioi_writew() [all …]
|
/openbmc/linux/arch/powerpc/kernel/ptrace/ |
H A D | ptrace32.c | 77 int index; in compat_arch_ptrace() local 86 if (index < PT_FPR0) { in compat_arch_ptrace() 98 [FPRINDEX(index)]; in compat_arch_ptrace() 113 u32 index; in compat_arch_ptrace() local 122 numReg = index / 2; in compat_arch_ptrace() 124 if (index % 2) in compat_arch_ptrace() 180 unsigned long index; in compat_arch_ptrace() local 188 if (index < PT_FPR0) { in compat_arch_ptrace() 212 u32 index; in compat_arch_ptrace() local 218 numReg = index / 2; in compat_arch_ptrace() [all …]
|
/openbmc/linux/tools/testing/radix-tree/ |
H A D | test.h | 9 unsigned long index; member 13 struct item *item_create(unsigned long index, unsigned int order); 14 int item_insert(struct radix_tree_root *root, unsigned long index); 15 void item_sanity(struct item *item, unsigned long index); 16 void item_free(struct item *item, unsigned long index); 17 int item_delete(struct radix_tree_root *root, unsigned long index); 18 int item_delete_rcu(struct xarray *xa, unsigned long index); 19 struct item *item_lookup(struct radix_tree_root *root, unsigned long index); 21 void item_check_present(struct radix_tree_root *root, unsigned long index); 22 void item_check_absent(struct radix_tree_root *root, unsigned long index); [all …]
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A D | mmu_context.c | 97 int index; in hash__init_new_context() local 138 if (index < 0) { in hash__init_new_context() 143 return index; in hash__init_new_context() 147 return index; in hash__init_new_context() 171 if (index < 0) in radix__init_new_context() 172 return index; in radix__init_new_context() 192 return index; in radix__init_new_context() 197 int index; in init_new_context() local 204 if (index < 0) in init_new_context() 205 return index; in init_new_context() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_doorbell_mgr.c | 36 u32 amdgpu_mm_rdoorbell(struct amdgpu_device *adev, u32 index) in amdgpu_mm_rdoorbell() argument 41 if (index < adev->doorbell.num_kernel_doorbells) in amdgpu_mm_rdoorbell() 42 return readl(adev->doorbell.cpu_addr + index); in amdgpu_mm_rdoorbell() 44 DRM_ERROR("reading beyond doorbell aperture: 0x%08x!\n", index); in amdgpu_mm_rdoorbell() 63 if (index < adev->doorbell.num_kernel_doorbells) in amdgpu_mm_wdoorbell() 64 writel(v, adev->doorbell.cpu_addr + index); in amdgpu_mm_wdoorbell() 66 DRM_ERROR("writing beyond doorbell aperture: 0x%08x!\n", index); in amdgpu_mm_wdoorbell() 78 u64 amdgpu_mm_rdoorbell64(struct amdgpu_device *adev, u32 index) in amdgpu_mm_rdoorbell64() argument 83 if (index < adev->doorbell.num_kernel_doorbells) in amdgpu_mm_rdoorbell64() 86 DRM_ERROR("reading beyond doorbell aperture: 0x%08x!\n", index); in amdgpu_mm_rdoorbell64() [all …]
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | mtk-pmic-keys.c | 251 int index; in mtk_pmic_keys_suspend() local 253 for (index = 0; index < MTK_PMIC_MAX_KEY_COUNT; index++) { in mtk_pmic_keys_suspend() 267 int index; in mtk_pmic_keys_resume() local 269 for (index = 0; index < MTK_PMIC_MAX_KEY_COUNT; index++) { in mtk_pmic_keys_resume() 307 int error, index = 0; in mtk_pmic_keys_probe() local 347 keys->keys[index].regs = &mtk_pmic_regs->keys_regs[index]; in mtk_pmic_keys_probe() 349 keys->keys[index].irq = in mtk_pmic_keys_probe() 353 return keys->keys[index].irq; in mtk_pmic_keys_probe() 358 irqnames_r[index]); in mtk_pmic_keys_probe() 371 index, error); in mtk_pmic_keys_probe() [all …]
|
/openbmc/linux/include/linux/ |
H A D | xarray.h | 448 for (index = start, \ 500 #define xa_for_each(xa, index, entry) \ argument 501 xa_for_each_start(xa, index, entry, 0) 528 for (index = 0, entry = xa_find(xa, &index, ULONG_MAX, filter); \ 643 entry = __xa_erase(xa, index); in xa_erase_bh() 667 entry = __xa_erase(xa, index); in xa_erase_irq() 1367 .xa_index = index, \ 1402 (index >> order) << order, \ 1622 xas->xa_index = index; in xas_set() 1640 xas->xa_index = index; in xas_advance() [all …]
|