Searched refs:idx (Results 251 - 275 of 4003) sorted by relevance

<<11121314151617181920>>

/linux-master/tools/testing/selftests/bpf/progs/
H A Dlocal_kptr_stash_fail.c48 int idx = 0; local
50 mapval = bpf_map_lookup_elem(&some_nodes, &idx);
71 int idx = 0; local
73 mapval = bpf_map_lookup_elem(&some_nodes, &idx);
H A Dtest_bpf_ma.c60 static __always_inline void batch_alloc(struct bpf_map *map, unsigned int batch, unsigned int idx) argument
73 new = bpf_obj_new_impl(data_btf_ids[idx], NULL);
87 static __always_inline void batch_free(struct bpf_map *map, unsigned int batch, unsigned int idx) argument
110 unsigned int idx)
124 new = bpf_percpu_obj_new_impl(percpu_data_btf_ids[idx], NULL);
138 unsigned int idx)
158 #define CALL_BATCH_ALLOC(size, batch, idx) \
159 batch_alloc((struct bpf_map *)(&array_##size), batch, idx)
161 #define CALL_BATCH_ALLOC_FREE(size, batch, idx) \
163 batch_alloc((struct bpf_map *)(&array_##size), batch, idx); \
109 batch_percpu_alloc(struct bpf_map *map, unsigned int batch, unsigned int idx) argument
137 batch_percpu_free(struct bpf_map *map, unsigned int batch, unsigned int idx) argument
[all...]
/linux-master/fs/erofs/
H A Dxattr.h21 static inline const char *erofs_xattr_prefix(unsigned int idx, argument
38 if (idx && idx < ARRAY_SIZE(xattr_handler_map))
39 handler = xattr_handler_map[idx];
/linux-master/drivers/gpu/drm/nouveau/nvkm/falcon/
H A Dga100.c36 int idx; local
62 idx = fw->fuse_ver - reg_fuse_version;
64 idx = fw->sig_nr - 1;
67 return idx;
/linux-master/fs/bcachefs/
H A Dreflink_format.h7 __le64 idx; member in struct:bch_reflink_p
/linux-master/fs/btrfs/
H A Daccessors.c64 const unsigned long idx = get_eb_folio_index(token->eb, member_offset); \
80 token->kaddr = folio_address(token->eb->folios[idx]); \
81 token->offset = idx << unit_shift; \
86 token->kaddr = folio_address(token->eb->folios[idx + 1]); \
87 token->offset = (idx + 1) << unit_shift; \
95 const unsigned long idx = get_eb_folio_index(eb, member_offset);\
99 char *kaddr = folio_address(eb->folios[idx]); \
109 kaddr = folio_address(eb->folios[idx + 1]); \
118 const unsigned long idx = get_eb_folio_index(token->eb, member_offset); \
135 token->kaddr = folio_address(token->eb->folios[idx]); \
[all...]
/linux-master/tools/objtool/include/objtool/
H A Dorc.h10 struct section *ip_sec, unsigned int idx,
/linux-master/drivers/net/ethernet/ti/
H A Dam65-cpts.h29 int am65_cpts_estf_enable(struct am65_cpts *cpts, int idx,
31 void am65_cpts_estf_disable(struct am65_cpts *cpts, int idx);
71 static inline int am65_cpts_estf_enable(struct am65_cpts *cpts, int idx, argument
77 static inline void am65_cpts_estf_disable(struct am65_cpts *cpts, int idx) argument
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_main.c223 int idx, jdx; local
225 for (idx = 0, jdx = 0; jdx < ARRAY_SIZE(sparx5_main_iomap); jdx++) {
228 if (idx == iomap->range) {
229 range_id[idx] = jdx;
230 idx++;
233 for (idx = 0; idx < IO_RANGES; idx++) {
234 iores[idx] = platform_get_resource(sparx5->pdev, IORESOURCE_MEM,
235 idx);
357 u32 value, pending, jdx, idx; local
422 u32 clk_div, clk_period, pol_upd_int, idx; local
576 int idx; local
600 u32 idx; local
748 int idx = 0, err = 0; local
[all...]
/linux-master/arch/arm/mach-omap2/
H A Dprminst44xx.c58 u32 omap4_prminst_read_inst_reg(u8 part, s16 inst, u16 idx) argument
63 return readl_relaxed(_prm_bases[part].va + inst + idx);
67 void omap4_prminst_write_inst_reg(u32 val, u8 part, s16 inst, u16 idx) argument
72 writel_relaxed(val, _prm_bases[part].va + inst + idx);
77 u16 idx)
81 v = omap4_prminst_read_inst_reg(part, inst, idx);
84 omap4_prminst_write_inst_reg(v, part, inst, idx);
76 omap4_prminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part, s16 inst, u16 idx) argument
/linux-master/drivers/pci/controller/
H A Dpcie-rcar.c103 u64 pci_addr, u64 flags, int idx, bool host)
111 PCIEPRAR(idx));
112 rcar_pci_write_reg(pcie, lower_32_bits(cpu_addr), PCIELAR(idx));
113 rcar_pci_write_reg(pcie, flags, PCIELAMR(idx));
117 PCIEPRAR(idx + 1));
118 rcar_pci_write_reg(pcie, upper_32_bits(cpu_addr), PCIELAR(idx + 1));
119 rcar_pci_write_reg(pcie, 0, PCIELAMR(idx + 1));
102 rcar_pcie_set_inbound(struct rcar_pcie *pcie, u64 cpu_addr, u64 pci_addr, u64 flags, int idx, bool host) argument
/linux-master/kernel/trace/
H A Dtracing_map.h173 #define TRACING_MAP_ARRAY_ELT(array, idx) \
174 (array->pages[idx >> array->entry_shift] + \
175 ((idx & array->entry_mask) << array->entry_size_shift))
177 #define TRACING_MAP_ENTRY(array, idx) \
178 ((struct tracing_map_entry *)TRACING_MAP_ARRAY_ELT(array, idx))
180 #define TRACING_MAP_ELT(array, idx) \
181 ((struct tracing_map_elt **)TRACING_MAP_ARRAY_ELT(array, idx))
/linux-master/drivers/clk/starfive/
H A Dclk-starfive-jh7110-pll.c133 #define JH7110_PLL(idx, name, presets) _JH7110_PLL(idx, name, presets)
137 unsigned int idx; member in struct:jh7110_pll_data
275 return container_of(pll, struct jh7110_pll_priv, pll[pll->idx]);
306 jh7110_pll_regvals_get(priv->regmap, &jh7110_plls[pll->idx], &val);
331 const struct jh7110_pll_info *info = &jh7110_plls[pll->idx];
333 unsigned int idx; local
342 for (idx = 1; idx < info->npresets; idx
362 unsigned int idx; local
448 unsigned int idx = clkspec->args[0]; local
459 unsigned int idx; local
[all...]
/linux-master/drivers/reset/
H A Dreset-qcom-aoss.c51 unsigned long idx)
54 const struct qcom_aoss_reset_map *map = &data->desc->resets[idx];
63 unsigned long idx)
66 const struct qcom_aoss_reset_map *map = &data->desc->resets[idx];
75 unsigned long idx)
77 qcom_aoss_control_assert(rcdev, idx);
79 return qcom_aoss_control_deassert(rcdev, idx);
50 qcom_aoss_control_assert(struct reset_controller_dev *rcdev, unsigned long idx) argument
62 qcom_aoss_control_deassert(struct reset_controller_dev *rcdev, unsigned long idx) argument
74 qcom_aoss_control_reset(struct reset_controller_dev *rcdev, unsigned long idx) argument
/linux-master/tools/arch/x86/dell-uart-backlight-emulator/
H A Ddell-uart-backlight-emulator.c45 int ret, idx, len = 0; local
81 idx = 0;
82 while (read(serial_fd, &buf[idx], 1) == 1) {
83 if (idx == 0) {
95 if (idx != (len - 1)) {
96 idx++;
100 /* Reset idx for next command */
101 idx = 0;
/linux-master/drivers/gpu/drm/radeon/
H A Datom.c183 uint32_t idx, val = 0xCDCDCDCD, align, arg; local
189 idx = U16(*ptr);
192 DEBUG("REG[0x%04X]", idx);
193 idx += gctx->reg_block;
196 val = gctx->card->reg_read(gctx->card, idx);
217 idx, 0);
221 idx = U8(*ptr);
225 if (idx < ctx->ps_size)
226 val = get_unaligned_le32((u32 *)&ctx->ps[idx]);
228 pr_info("PS index out of range: %i > %i\n", idx, ct
459 val, idx; local
633 int idx = U8((*ptr)++); local
847 int idx = U8(*ptr); local
1381 int idx = CU16(ctx->data_table + offset); local
1401 int idx = CU16(ctx->cmd_table + offset); local
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A DM0205.c75 nvbios_M0205Ee(struct nvkm_bios *bios, int idx, argument
80 if (data && idx < *cnt) {
81 data = data + *hdr + idx * (*len + (snr * ssz));
91 nvbios_M0205Ep(struct nvkm_bios *bios, int idx, argument
95 u32 data = nvbios_M0205Ee(bios, idx, ver, hdr, cnt, len);
108 nvbios_M0205Se(struct nvkm_bios *bios, int ent, int idx, u8 *ver, u8 *hdr) argument
113 if (data && idx < cnt) {
114 data = data + *hdr + idx * len;
122 nvbios_M0205Sp(struct nvkm_bios *bios, int ent, int idx, u8 *ver, u8 *hdr, argument
125 u32 data = nvbios_M0205Se(bios, ent, idx, ve
[all...]
H A DM0209.c58 nvbios_M0209Ee(struct nvkm_bios *bios, int idx, argument
63 if (data && idx < *cnt) {
64 data = data + *hdr + idx * (*len + (snr * ssz));
74 nvbios_M0209Ep(struct nvkm_bios *bios, int idx, argument
77 u32 data = nvbios_M0209Ee(bios, idx, ver, hdr, cnt, len);
95 nvbios_M0209Se(struct nvkm_bios *bios, int ent, int idx, u8 *ver, u8 *hdr) argument
100 if (data && idx < cnt) {
101 data = data + *hdr + idx * len;
109 nvbios_M0209Sp(struct nvkm_bios *bios, int ent, int idx, u8 *ver, u8 *hdr, argument
116 u32 i, data = nvbios_M0209Se(bios, ent, idx, ve
[all...]
/linux-master/include/trace/events/
H A Dfsi_master_gpio.h20 __entry->master_idx = master->master.idx;
41 __entry->master_idx = master->master.idx;
61 __entry->master_idx = master->master.idx;
76 __entry->master_idx = master->master.idx;
90 __entry->master_idx = master->master.idx;
104 __entry->master_idx = master->master.idx;
119 __entry->master_idx = master->master.idx;
134 __entry->master_idx = master->master.idx;
149 __entry->master_idx = master->master.idx;
163 __entry->master_idx = master->master.idx;
[all...]
/linux-master/drivers/gpu/drm/omapdrm/
H A Domap_overlay.c39 cur->idx, cur->id, cur->caps);
42 if (hwoverlay_to_plane[cur->idx])
81 overlay_map[ovl->idx] = plane;
88 overlay_map[ovl->idx] = NULL;
93 overlay_map[r_ovl->idx] = plane;
122 if (WARN_ON(!overlay_map[overlay->idx]))
125 DBG("%s: release from plane %s", overlay->name, overlay_map[overlay->idx]->name);
127 overlay_map[overlay->idx] = NULL;
143 if (!overlay_map[overlay->idx]) {
194 overlay->idx
[all...]
/linux-master/drivers/clk/imx/
H A Dclk-pfd.c18 * @idx: the index of PFD encoded in the register
21 * data encoded, and member idx is used to specify the one. And each
27 u8 idx; member in struct:clk_pfd
40 writel_relaxed(1 << ((pfd->idx + 1) * 8 - 1), pfd->reg + CLR);
49 writel_relaxed(1 << ((pfd->idx + 1) * 8 - 1), pfd->reg + SET);
57 u8 frac = (readl_relaxed(pfd->reg) >> (pfd->idx * 8)) & 0x3f;
100 writel_relaxed(0x3f << (pfd->idx * 8), pfd->reg + CLR);
101 writel_relaxed(frac << (pfd->idx * 8), pfd->reg + SET);
110 if (readl_relaxed(pfd->reg) & (1 << ((pfd->idx + 1) * 8 - 1)))
126 void __iomem *reg, u8 idx)
125 imx_clk_hw_pfd(const char *name, const char *parent_name, void __iomem *reg, u8 idx) argument
[all...]
/linux-master/tools/mm/
H A Dslabinfo-gnuplot.sh219 local idx=0
225 files[$idx]=$p
226 idx=$idx+1
229 t_files[$idx]=$p
230 idx=$idx+1
233 files[$idx]=$p
234 idx=$idx
[all...]
/linux-master/security/selinux/
H A Dnetif.c70 u32 idx = sel_netif_hashfn(ns, ifindex); local
73 list_for_each_entry_rcu(netif, &sel_netif_hash[idx], list)
92 u32 idx; local
97 idx = sel_netif_hashfn(netif->nsec.ns, netif->nsec.ifindex);
98 list_add_rcu(&netif->list, &sel_netif_hash[idx]);
239 int idx; local
243 for (idx = 0; idx < SEL_NETIF_HASH_SIZE; idx++)
244 list_for_each_entry(netif, &sel_netif_hash[idx], lis
[all...]
/linux-master/drivers/infiniband/sw/rdmavt/
H A Dtrace_cq.h66 "[%s] idx %u wr_id %llx status %u opcode %u,%s length %u qpn %x flags %x imm %x"
70 TP_PROTO(struct rvt_cq *cq, struct ib_wc *wc, u32 idx),
71 TP_ARGS(cq, wc, idx),
79 __field(u32, idx)
90 __entry->idx = idx;
97 __entry->idx,
110 TP_PROTO(struct rvt_cq *cq, struct ib_wc *wc, u32 idx),
111 TP_ARGS(cq, wc, idx));
115 TP_PROTO(struct rvt_cq *cq, struct ib_wc *wc, u32 idx),
[all...]
/linux-master/arch/s390/kernel/
H A Dcache.c71 int idx; local
74 for (idx = 0; idx < this_cpu_ci->num_leaves; idx++) {
75 cache = this_cpu_ci->info_list + idx;
76 seq_printf(m, "cache%-11d: ", idx);
151 unsigned int level, idx, pvt; local
156 for (idx = 0, level = 0; level < this_cpu_ci->num_levels &&
157 idx < this_cpu_ci->num_leaves; idx
[all...]

Completed in 1111 milliseconds

<<11121314151617181920>>