/openbmc/linux/kernel/trace/ |
H A D | trace_recursion_record.c | 27 int index = 0; in ftrace_record_recursion() local 58 if (index < i) in ftrace_record_recursion() 59 index = i; in ftrace_record_recursion() 63 for (i = index - 1; i >= 0; i--) { in ftrace_record_recursion() 84 index++; in ftrace_record_recursion() 113 else if (i <= index) in ftrace_record_recursion() 124 int index; in recursed_function_seq_start() local 127 index = atomic_read(&nr_records); in recursed_function_seq_start() 128 if (*pos < index) { in recursed_function_seq_start() 143 int index; in recursed_function_seq_next() local [all …]
|
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe.h | 45 "uc#%d %s: " fmt, (uc)->elem.index, __func__, ##__VA_ARGS__) 47 "pd#%d %s: " fmt, (pd)->elem.index, __func__, ##__VA_ARGS__) 49 "ah#%d %s: " fmt, (ah)->elem.index, __func__, ##__VA_ARGS__) 53 "qp#%d %s: " fmt, (qp)->elem.index, __func__, ##__VA_ARGS__) 55 "cq#%d %s: " fmt, (cq)->elem.index, __func__, ##__VA_ARGS__) 57 "mr#%d %s: " fmt, (mr)->elem.index, __func__, ##__VA_ARGS__) 59 "mw#%d %s: " fmt, (mw)->elem.index, __func__, ##__VA_ARGS__) 66 "uc#%d %s: " fmt, (uc)->elem.index, __func__, ##__VA_ARGS__) 68 "pd#%d %s: " fmt, (pd)->elem.index, __func__, ##__VA_ARGS__) 70 "ah#%d %s: " fmt, (ah)->elem.index, __func__, ##__VA_ARGS__) [all …]
|
/openbmc/linux/drivers/clk/spear/ |
H A D | clk.c | 15 int *index) in clk_round_rate_index() argument 19 for (*index = 0; *index < rtbl_cnt; (*index)++) { in clk_round_rate_index() 21 rate = calc_rate(hw, parent_rate, *index); in clk_round_rate_index() 24 if (*index) { in clk_round_rate_index() 26 (*index)--; in clk_round_rate_index() 32 if ((*index) == rtbl_cnt) in clk_round_rate_index() 33 (*index)--; in clk_round_rate_index()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | vga.c | 69 nvkm_rdvgas(struct nvkm_device *device, int head, u8 index) in nvkm_rdvgas() argument 71 nvkm_wrport(device, head, 0x03c4, index); in nvkm_rdvgas() 78 nvkm_wrport(device, head, 0x03c4, index); in nvkm_wrvgas() 83 nvkm_rdvgag(struct nvkm_device *device, int head, u8 index) in nvkm_rdvgag() argument 85 nvkm_wrport(device, head, 0x03ce, index); in nvkm_rdvgag() 92 nvkm_wrport(device, head, 0x03ce, index); in nvkm_wrvgag() 97 nvkm_rdvgac(struct nvkm_device *device, int head, u8 index) in nvkm_rdvgac() argument 99 nvkm_wrport(device, head, 0x03d4, index); in nvkm_rdvgac() 106 nvkm_wrport(device, head, 0x03d4, index); in nvkm_wrvgac() 113 if (port == 0x03c4) return nvkm_rdvgas(device, head, index); in nvkm_rdvgai() [all …]
|
/openbmc/linux/arch/parisc/math-emu/ |
H A D | decode_exc.c | 56 #define Excp_type(index) Exceptiontype(Fpu_register[index]) argument 57 #define Excp_instr(index) Instructionfield(Fpu_register[index]) argument 58 #define Clear_excp_register(index) Allexception(Fpu_register[index]) = 0 argument 63 #define Fpu_sgl(index) Fpu_register[index*2] argument 65 #define Fpu_dblp1(index) Fpu_register[index*2] argument 66 #define Fpu_dblp2(index) Fpu_register[(index*2)+1] argument 68 #define Fpu_quadp1(index) Fpu_register[index*2] argument 69 #define Fpu_quadp2(index) Fpu_register[(index*2)+1] argument 70 #define Fpu_quadp3(index) Fpu_register[(index*2)+2] argument 71 #define Fpu_quadp4(index) Fpu_register[(index*2)+3] argument
|
/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_prs.c | 55 pe->index = tid; in mvpp2_prs_init_from_hw() 912 pe.index = tid; in mvpp2_prs_ip4_proto() 945 pe.index = tid; in mvpp2_prs_ip4_proto() 2125 for (index = 0; index < MVPP2_PRS_TCAM_SRAM_SIZE; index++) { in mvpp2_prs_default_init() 2136 for (index = 0; index < MVPP2_PRS_TCAM_SRAM_SIZE; index++) in mvpp2_prs_default_init() 2146 for (index = 0; index < MVPP2_MAX_PORTS; index++) in mvpp2_prs_default_init() 2188 int index; in mvpp2_prs_mac_range_equals() local 2190 for (index = 0; index < ETH_ALEN; index++) { in mvpp2_prs_mac_range_equals() 2195 if ((tcam_mask & tcam_byte) != (da[index] & mask[index])) in mvpp2_prs_mac_range_equals() 2366 for (index = 0; index < ETH_ALEN; index++) in mvpp2_prs_mac_del_all() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_irq.c | 62 unsigned int index; in ice_get_irq_res() local 80 entry->index = index; in ice_get_irq_res() 81 entry->dynamic = index >= num_static; in ice_get_irq_res() 311 if (map.index < 0) in ice_alloc_irq() 315 map.index = entry->index; in ice_alloc_irq() 323 ice_free_irq_res(pf, entry->index); in ice_alloc_irq() 343 map.index); in ice_free_irq() 352 ice_free_irq_res(pf, map.index); in ice_free_irq() 365 unsigned long start, index, max_idx; in ice_get_max_used_msix_vector() local 373 if (index > max_idx) in ice_get_max_used_msix_vector() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | item.h | 29 BUG_ON(index && !item->step); in __mlxsw_item_offset() 45 unsigned short index) in __mlxsw_item_get8() argument 231 u16 index) in __mlxsw_item_bit_array_get() argument 299 index); \ 306 index, val); \ 342 index); \ 349 index, val); \ 421 index); \ 464 index); \ 543 index); \ [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | imx-usb-phy.c | 53 uint32_t index = offset >> 2; in imx_usbphy_read() local 56 switch (index) { in imx_usbphy_read() 67 value = s->usbphy[index - 1]; in imx_usbphy_read() 79 value = s->usbphy[index - 2]; in imx_usbphy_read() 91 value = s->usbphy[index - 3]; in imx_usbphy_read() 94 if (index < USBPHY_MAX) { in imx_usbphy_read() 95 value = s->usbphy[index]; in imx_usbphy_read() 112 uint32_t index = offset >> 2; in imx_usbphy_write() local 114 switch (index) { in imx_usbphy_write() 116 s->usbphy[index] = value; in imx_usbphy_write() [all …]
|
/openbmc/linux/Documentation/ |
H A D | index.rst | 28 maintainer/index 41 core-api/index 42 driver-api/index 55 doc-guide/index 56 dev-tools/index 59 trace/index 61 livepatch/index 62 rust/index 93 devicetree/index 102 arch/index [all …]
|
/openbmc/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_mcg.c | 88 *index = *hash; in find_mgm() 99 if (*index != *hash) { in find_mgm() 109 *prev = *index; in find_mgm() 111 } while (*index); in find_mgm() 113 *index = -1; in find_mgm() 126 int index, prev; in mthca_multicast_attach() local 142 if (index != -1) { in mthca_multicast_attach() 149 if (index == -1) { in mthca_multicast_attach() 204 if (err && link && index != -1) { in mthca_multicast_attach() 220 int prev, index; in mthca_multicast_detach() local [all …]
|
/openbmc/linux/lib/ |
H A D | test_xarray.c | 42 return xa_store(xa, index, xa_mk_index(index), gfp); in xa_store_index() 47 XA_BUG_ON(xa, xa_insert(xa, index, xa_mk_index(index), in xa_insert_index() 62 XA_BUG_ON(xa, xa_erase(xa, index) != xa_mk_index(index)); in xa_erase_index() 217 xa_store_order(xa, index, order, xa_mk_index(index), in check_xa_mark_1() 269 for (index = 3500; index < 4500; index++) { in check_xa_mark_2() 317 for (index = 0; index < 16384; index += 4) in check_xa_mark() 470 XA_BUG_ON(xa, index != 5 && index != 7); in check_reserve() 1161 for (index = 0; index < (1UL << (order + 5)); in check_find_entry() 1168 xa_mk_index(index)) != index); in check_find_entry() 1409 for (i = index; i < index + (1UL << order); i++) in check_create_range_1() [all …]
|
/openbmc/linux/drivers/cpuidle/ |
H A D | cpuidle-powernv.c | 51 int index) in get_snooze_timeout() argument 70 int index) in snooze_loop() argument 102 return index; in snooze_loop() 107 int index) in nap_loop() argument 111 return index; in nap_loop() 118 int index) in fastsleep_loop() argument 124 return index; in fastsleep_loop() 138 return index; in fastsleep_loop() 144 int index) in stop_loop() argument 147 stop_psscr_table[index].mask); in stop_loop() [all …]
|
/openbmc/linux/drivers/platform/x86/intel/telemetry/ |
H A D | pltdrv.c | 350 for (index = 0; index < num_ioss_evts; index++) { in telemetry_setup_iossevtconfig() 356 index)) { in telemetry_setup_iossevtconfig() 375 index)) { in telemetry_setup_iossevtconfig() 475 for (index = 0; index < num_pss_evts; index++) { in telemetry_setup_pssevtconfig() 481 index)) { in telemetry_setup_pssevtconfig() 501 index)) { in telemetry_setup_pssevtconfig() 810 u32 index; in telemetry_plt_get_eventconfig() local 891 for (index = 0; index < len; index++) { in telem_evtlog_read() 949 for (index = 0; index < ret; index++) { in telemetry_plt_raw_read_eventlog() 950 evtlog[index].telem_evtlog = ssram_region.events[index]; in telemetry_plt_raw_read_eventlog() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | mpfs.c | 48 MLX5_SET(set_l2_table_entry_in, in, table_index, index); in set_l2table_entry_cmd() 68 u32 index; /* index in HW l2 table */ member 138 u32 index; in mlx5_mpfs_add_mac() local 151 err = alloc_l2table_index(mpfs, &index); in mlx5_mpfs_add_mac() 161 err = set_l2table_entry_cmd(dev, index, mac); in mlx5_mpfs_add_mac() 165 l2addr->index = index; in mlx5_mpfs_add_mac() 174 free_l2table_index(mpfs, index); in mlx5_mpfs_add_mac() 186 u32 index; in mlx5_mpfs_del_mac() local 202 index = l2addr->index; in mlx5_mpfs_del_mac() 203 del_l2table_entry_cmd(dev, index); in mlx5_mpfs_del_mac() [all …]
|
/openbmc/linux/drivers/clk/sprd/ |
H A D | pll.c | 75 index = pindex(pll, PLL_REFIN); in pll_get_refin() 173 cfg[index].msk = mask; in _sprd_pll_set_rate() 176 cfg[index].val |= mask; in _sprd_pll_set_rate() 183 cfg[index].val |= mask; in _sprd_pll_set_rate() 184 cfg[index].msk |= mask; in _sprd_pll_set_rate() 188 cfg[index].val |= mask; in _sprd_pll_set_rate() 189 cfg[index].msk |= mask; in _sprd_pll_set_rate() 193 index = pindex(pll, PLL_NINT); in _sprd_pll_set_rate() 196 cfg[index].msk |= mask; in _sprd_pll_set_rate() 206 cfg[index].msk |= mask; in _sprd_pll_set_rate() [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | adm1025.c | 166 int index = to_sensor_dev_attr(attr)->index; in in_show() local 175 int index = to_sensor_dev_attr(attr)->index; in in_min_show() local 184 int index = to_sensor_dev_attr(attr)->index; in in_max_show() local 193 int index = to_sensor_dev_attr(attr)->index; in temp_show() local 201 int index = to_sensor_dev_attr(attr)->index; in temp_min_show() local 209 int index = to_sensor_dev_attr(attr)->index; in temp_max_show() local 217 int index = to_sensor_dev_attr(attr)->index; in in_min_store() local 228 data->in_min[index] = IN_TO_REG(val, in_scale[index]); in in_min_store() 238 int index = to_sensor_dev_attr(attr)->index; in in_max_store() local 279 int index = to_sensor_dev_attr(attr)->index; in temp_min_store() local [all …]
|
/openbmc/u-boot/arch/arm/mach-imx/mx7ulp/ |
H A D | clock.c | 44 int index = 0; in get_lpuart_clk() local 64 for (index = 0; index < 8; index++) { in get_lpuart_clk() 65 if (lpuart_array[index] == LPUART_BASE) in get_lpuart_clk() 69 if (index < 4 || index > 7) in get_lpuart_clk() 144 void init_clk_usdhc(u32 index) in init_clk_usdhc() argument 146 switch (index) { in init_clk_usdhc() 166 printf("Invalid index for USDHC %d\n", index); in init_clk_usdhc() 230 if (index < 4 || index > 7) in lpuart_set_clk() 242 u32 index = 0, i; in init_clk_lpuart() local 257 index = i; in init_clk_lpuart() [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | index.rst | 19 sysctl/index 46 kdump/index 47 perf/index 76 acpi/index 77 aoe/index 88 cifs/index 98 nfs/index 99 gpio/index 111 LSM/index 114 mm/index [all …]
|
/openbmc/linux/sound/soc/fsl/ |
H A D | fsl_asrc.c | 244 pair->index = index; in fsl_asrc_request_pair() 261 enum asrc_pair_index index = pair->index; in fsl_asrc_release_pair() local 286 enum asrc_pair_index index = pair->index; in fsl_asrc_set_watermarks() local 327 enum asrc_pair_index index = pair->index; in fsl_asrc_set_ideal_ratio() local 383 enum asrc_pair_index index = pair->index; in fsl_asrc_config_pair() local 518 ASRCTR_ATSi_MASK(index), ASRCTR_ATS(index)); in fsl_asrc_config_pair() 563 ASRCTR_IDR(index) | ASRCTR_USR(index)); in fsl_asrc_config_pair() 585 enum asrc_pair_index index = pair->index; in fsl_asrc_start_pair() local 619 enum asrc_pair_index index = pair->index; in fsl_asrc_stop_pair() local 635 enum asrc_pair_index index = pair->index; in fsl_asrc_get_dma_channel() local [all …]
|
/openbmc/linux/fs/jfs/ |
H A D | jfs_dtree.c | 104 s16 index; member 328 u32 index; in add_index() local 699 btsp->index = index; in dtSearch() 866 split.index = index; in dtInsert() 2310 index = parent->index; in dtDeleteUp() 2650 index = le32_to_cpu(d->index); in add_missing_indices() 3140 index = dtoffset->index; in dtReadNext() 3155 dtoffset->index = index = 0; in dtReadNext() 3270 btsp->index = dtoffset->index; in dtReadNext() 3724 memmove(stbl + index + 1, stbl + index, nextindex - index); in dtInsertEntry() [all …]
|
/openbmc/linux/include/drm/ |
H A D | drm_exec.h | 63 drm_exec_obj(struct drm_exec *exec, unsigned long index) in drm_exec_obj() argument 65 return index < exec->num_objects ? exec->objects[index] : NULL; in drm_exec_obj() 76 #define drm_exec_for_each_locked_object(exec, index, obj) \ argument 77 for ((index) = 0; ((obj) = drm_exec_obj(exec, index)); ++(index)) 90 #define drm_exec_for_each_locked_object_reverse(exec, index, obj) \ argument 91 for ((index) = (exec)->num_objects - 1; \ 92 ((obj) = drm_exec_obj(exec, index)); --(index))
|
/openbmc/linux/drivers/net/wireguard/ |
H A D | peerlookup.c | 74 const __le32 index) in index_bucket() argument 79 return &table->hashtable[(__force u32)index & in index_bucket() 134 index_bucket(table, entry->index), in wg_index_hashtable_insert() 136 if (existing_entry->index == entry->index) in wg_index_hashtable_insert() 146 index_bucket(table, entry->index), in wg_index_hashtable_insert() 148 if (existing_entry->index == entry->index) { in wg_index_hashtable_insert() 158 index_bucket(table, entry->index)); in wg_index_hashtable_insert() 163 return entry->index; in wg_index_hashtable_insert() 177 new->index = old->index; in wg_index_hashtable_replace() 204 const __le32 index, struct wg_peer **peer) in wg_index_hashtable_lookup() argument [all …]
|
/openbmc/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_output_7a2000.c | 288 unsigned int index = dispipe->index; in ls7a2000_hdmi_set_avi_infoframe() local 329 drm_dbg(ddev, "Update HDMI-%u avi infoframe\n", index); in ls7a2000_hdmi_set_avi_infoframe() 339 unsigned int index = dispipe->index; in ls7a2000_hdmi_atomic_disable() local 354 drm_dbg(ddev, "HDMI-%u disabled\n", index); in ls7a2000_hdmi_atomic_disable() 364 unsigned int index = dispipe->index; in ls7a2000_hdmi_atomic_enable() local 391 drm_dbg(ddev, "HDMI-%u enabled\n", index); in ls7a2000_hdmi_atomic_enable() 416 unsigned int index) in ls7a2000_hdmi_phy_pll_config() argument 460 drm_dbg(ddev, "Fin of HDMI-%u: %d kHz\n", index, fin); in ls7a2000_hdmi_phy_pll_config() 468 index, count); in ls7a2000_hdmi_phy_pll_config() 477 drm_err(ddev, "Setting HDMI-%u PLL failed\n", index); in ls7a2000_hdmi_phy_pll_config() [all …]
|
/openbmc/linux/arch/ia64/include/uapi/asm/ |
H A D | gcc_intrin.h | 428 #define ia64_set_ibr(index, val) \ argument 431 #define ia64_set_pkr(index, val) \ argument 434 #define ia64_set_pmc(index, val) \ argument 437 #define ia64_set_pmd(index, val) \ argument 443 #define ia64_get_cpuid(index) \ argument 450 #define __ia64_get_dbr(index) \ argument 457 #define ia64_get_ibr(index) \ argument 464 #define ia64_get_pkr(index) \ argument 471 #define ia64_get_pmc(index) \ argument 479 #define ia64_get_pmd(index) \ argument [all …]
|