Searched refs:idx (Results 201 - 225 of 3979) sorted by relevance

1234567891011>>

/linux-master/arch/sh/include/asm/
H A Dfixmap.h29 * highger than 1) use fixmap_set(idx,phys) to associate
67 extern void __set_fixmap(enum fixed_addresses idx,
69 extern void __clear_fixmap(enum fixed_addresses idx, pgprot_t flags);
/linux-master/arch/mips/include/asm/
H A Dmsa.h19 extern void read_msa_wr_b(unsigned idx, union fpureg *to);
20 extern void read_msa_wr_h(unsigned idx, union fpureg *to);
21 extern void read_msa_wr_w(unsigned idx, union fpureg *to);
22 extern void read_msa_wr_d(unsigned idx, union fpureg *to);
26 * @idx: The index of the vector register to read
30 * Read the value of MSA vector register idx into the FPU register
33 static inline void read_msa_wr(unsigned idx, union fpureg *to, argument
38 read_msa_wr_b(idx, to);
42 read_msa_wr_h(idx, to);
46 read_msa_wr_w(idx, t
72 write_msa_wr(unsigned idx, union fpureg *from, enum msa_2b_fmt fmt) argument
[all...]
/linux-master/drivers/infiniband/hw/mlx5/
H A Dwr.h28 * @idx - Stride index in the SQ buffer.
33 static inline void *get_sq_edge(struct mlx5_ib_wq *sq, u32 idx) argument
39 mlx5_frag_buf_get_idx_last_contig_stride(&sq->fbc, idx));
54 u32 idx; local
59 idx = (sq->cur_post + (wqe_sz >> 2)) & (sq->wqe_cnt - 1);
60 *cur_edge = get_sq_edge(sq, idx);
62 *seg = mlx5_frag_buf_get_wqe(&sq->fbc, idx);
96 struct mlx5_wqe_ctrl_seg **ctrl, unsigned int *idx,
100 void *seg, u8 size, void *cur_edge, unsigned int idx,
/linux-master/include/linux/mmc/
H A Dslot-gpio.h20 unsigned int idx, bool override_active_level,
23 unsigned int idx, unsigned int debounce);
/linux-master/fs/bcachefs/
H A Dextents_types.h23 unsigned idx; member in struct:extent_ptr_decoded
34 u8 idx; member in struct:bch_io_failures::bch_dev_io_failures
/linux-master/drivers/reset/hisilicon/
H A Dhi6220_reset.c44 unsigned long idx)
48 u32 bank = idx >> 8;
49 u32 offset = idx & 0xff;
56 unsigned long idx)
60 u32 bank = idx >> 8;
61 u32 offset = idx & 0xff;
73 unsigned long idx)
78 return regmap_write(regmap, SC_MEDIA_RSTEN, BIT(idx));
82 unsigned long idx)
87 return regmap_write(regmap, SC_MEDIA_RSTDIS, BIT(idx));
43 hi6220_peripheral_assert(struct reset_controller_dev *rc_dev, unsigned long idx) argument
55 hi6220_peripheral_deassert(struct reset_controller_dev *rc_dev, unsigned long idx) argument
72 hi6220_media_assert(struct reset_controller_dev *rc_dev, unsigned long idx) argument
81 hi6220_media_deassert(struct reset_controller_dev *rc_dev, unsigned long idx) argument
105 hi6220_ao_assert(struct reset_controller_dev *rc_dev, unsigned long idx) argument
124 hi6220_ao_deassert(struct reset_controller_dev *rc_dev, unsigned long idx) argument
[all...]
/linux-master/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_mixer.c32 return mixer->idx;
63 if (new_state->hwmixer_to_crtc[cur->idx] &&
64 new_state->hwmixer_to_crtc[cur->idx] != crtc)
109 new_state->hwmixer_to_crtc[(*mixer)->idx] = crtc;
113 new_state->hwmixer_to_crtc[(*r_mixer)->idx] = crtc;
132 if (WARN_ON(!new_state->hwmixer_to_crtc[mixer->idx]))
136 new_state->hwmixer_to_crtc[mixer->idx]->name);
138 new_state->hwmixer_to_crtc[mixer->idx] = NULL;
/linux-master/tools/perf/tests/
H A Dopenat-syscall-all-cpus.c25 int err = TEST_FAIL, fd, idx; local
64 perf_cpu_map__for_each_cpu(cpu, idx, cpus) {
65 unsigned int ncalls = nr_openat_calls + idx;
95 perf_cpu_map__for_each_cpu(cpu, idx, cpus) {
101 if (evsel__read_on_cpu(evsel, idx, 0) < 0) {
107 expected = nr_openat_calls + idx;
108 if (perf_counts(evsel->counts, idx, 0)->val != expected) {
110 expected, cpu.cpu, perf_counts(evsel->counts, idx, 0)->val);
/linux-master/tools/lib/perf/tests/
H A Dtest-cpumap.c18 int idx; local
36 perf_cpu_map__for_each_cpu(cpu, idx, cpus)
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_txrx_lib.h23 u32 idx = rx_ring->first_desc; local
28 buf = &rx_ring->rx_buf[idx];
31 if (++idx == cnt)
32 idx = 0;
40 if (idx == 0)
41 idx = cnt - 1;
43 idx--;
44 buf = &rx_ring->rx_buf[idx];
/linux-master/include/net/
H A Dnetdev_queues.h54 void (*get_queue_stats_rx)(struct net_device *dev, int idx,
56 void (*get_queue_stats_tx)(struct net_device *dev, int idx,
203 #define netif_subqueue_try_stop(dev, idx, get_desc, start_thrs) \
207 txq = netdev_get_tx_queue(dev, idx); \
211 #define netif_subqueue_maybe_stop(dev, idx, get_desc, stop_thrs, start_thrs) \
215 txq = netdev_get_tx_queue(dev, idx); \
219 #define netif_subqueue_completed_wake(dev, idx, pkts, bytes, \
224 txq = netdev_get_tx_queue(dev, idx); \
/linux-master/drivers/gpio/
H A Dgpiolib-of.h21 unsigned int idx,
29 unsigned int idx,
27 of_find_gpio(struct device_node *np, const char *con_id, unsigned int idx, unsigned long *lookupflags) argument
/linux-master/drivers/net/netdevsim/
H A Dbpf.c346 nsim_map_alloc_elem(struct bpf_offloaded_map *offmap, unsigned int idx) argument
350 nmap->entry[idx].key = kmalloc(offmap->map.key_size,
352 if (!nmap->entry[idx].key)
354 nmap->entry[idx].value = kmalloc(offmap->map.value_size,
356 if (!nmap->entry[idx].value) {
357 kfree(nmap->entry[idx].key);
358 nmap->entry[idx].key = NULL;
370 int idx = -ENOENT; local
375 idx = nsim_map_key_find(offmap, key);
376 if (idx
400 int idx; local
418 int idx, err = 0; local
457 int idx; local
[all...]
/linux-master/drivers/phy/microchip/
H A Dlan966x_serdes.c30 .idx = _idx, \
60 u8 idx; member in struct:serdes_mux
135 u8 idx; member in struct:serdes_macro
184 u32 idx)
205 macro->ctrl->regs, HSIO_SD_CFG(idx));
211 macro->ctrl->regs, HSIO_MPLL_CFG(idx));
215 macro->ctrl->regs, HSIO_SD_CFG(idx));
219 macro->ctrl->regs, HSIO_MPLL_CFG(idx));
225 macro->ctrl->regs, HSIO_SD_CFG(idx));
231 macro->ctrl->regs, HSIO_MPLL_CFG(idx));
182 lan966x_sd6g40_reg_cfg(struct serdes_macro *macro, struct lan966x_sd6g40_setup *res_struct, u32 idx) argument
370 lan966x_sd6g40_setup_lane(struct serdes_macro *macro, struct lan966x_sd6g40_setup_args config, u32 idx) argument
384 lan966x_sd6g40_setup(struct serdes_macro *macro, u32 idx, int mode) argument
398 lan966x_rgmii_setup(struct serdes_macro *macro, u32 idx, int mode) argument
524 unsigned int port, idx, i; local
545 serdes_phy_create(struct serdes_ctrl *ctrl, u8 idx, struct phy **phy) argument
[all...]
/linux-master/sound/pci/emu10k1/
H A Demuproc.c73 int idx; local
84 for (idx = 0; idx < NUM_G; idx++) {
85 ptrx = snd_emu10k1_ptr_read(emu, PTRX, idx);
86 psst = snd_emu10k1_ptr_read(emu, PSST, idx);
87 dsl = snd_emu10k1_ptr_read(emu, DSL, idx);
89 val = snd_emu10k1_ptr_read(emu, A_FXRT1, idx);
90 val1 = snd_emu10k1_ptr_read(emu, A_FXRT2, idx);
91 snda = snd_emu10k1_ptr_read(emu, A_SENDAMOUNTS, idx);
390 unsigned int idx; local
428 int idx; local
[all...]
/linux-master/drivers/platform/x86/amd/pmf/
H A Dsps.c169 int i, j, idx = 0; local
176 config_store.prop[i][j].spl = output.prop[idx].spl;
177 config_store.prop[i][j].sppt = output.prop[idx].sppt;
179 output.prop[idx].sppt_apu_only;
180 config_store.prop[i][j].fppt = output.prop[idx].fppt;
181 config_store.prop[i][j].stt_min = output.prop[idx].stt_min;
183 output.prop[idx].stt_skin_temp[STT_TEMP_APU];
185 output.prop[idx].stt_skin_temp[STT_TEMP_HS2];
186 config_store.prop[i][j].fan_id = output.prop[idx].fan_id;
187 idx
193 amd_pmf_update_slider_v2(struct amd_pmf_dev *dev, int idx) argument
206 amd_pmf_update_slider(struct amd_pmf_dev *dev, bool op, int idx, struct amd_pmf_static_slider_granular *table) argument
[all...]
/linux-master/drivers/dma/
H A Dmv_xor.h36 #define XOR_CURR_DESC(chan) (chan->mmr_high_base + 0x10 + (chan->idx * 4))
37 #define XOR_NEXT_DESC(chan) (chan->mmr_high_base + 0x00 + (chan->idx * 4))
38 #define XOR_BYTE_COUNT(chan) (chan->mmr_high_base + 0x20 + (chan->idx * 4))
39 #define XOR_DEST_POINTER(chan) (chan->mmr_high_base + 0xB0 + (chan->idx * 4))
40 #define XOR_BLOCK_SIZE(chan) (chan->mmr_high_base + 0xC0 + (chan->idx * 4))
44 #define XOR_CONFIG(chan) (chan->mmr_base + 0x10 + (chan->idx * 4))
45 #define XOR_ACTIVATION(chan) (chan->mmr_base + 0x20 + (chan->idx * 4))
93 * @idx: the index of the xor channel
109 unsigned int idx; member in struct:mv_xor_chan
137 * @idx
146 u16 idx; member in struct:mv_xor_desc_slot
[all...]
/linux-master/arch/powerpc/perf/
H A Dperf_regs.c75 static u64 get_ext_regs_value(int idx) argument
77 switch (idx) {
79 return get_pmcs_ext_regs(idx - PERF_REG_POWERPC_PMC1);
102 u64 perf_reg_value(struct pt_regs *regs, int idx) argument
104 if (idx == PERF_REG_POWERPC_SIER &&
110 if (idx == PERF_REG_POWERPC_MMCRA &&
115 if (idx >= PERF_REG_POWERPC_MAX && idx < PERF_REG_EXTENDED_MAX)
116 return get_ext_regs_value(idx);
119 * If the idx i
[all...]
/linux-master/mm/
H A Dswap_cgroup.c43 unsigned long idx, max; local
47 for (idx = 0; idx < ctrl->length; idx++) {
51 ctrl->map[idx] = page;
53 if (!(idx % SWAP_CLUSTER_MAX))
58 max = idx;
59 for (idx = 0; idx < max; idx
[all...]
/linux-master/samples/bpf/
H A Dxdp_fwd_user.c32 static int do_attach(int idx, int prog_fd, int map_fd, const char *name) argument
36 err = bpf_xdp_attach(idx, prog_fd, xdp_flags, NULL);
43 err = bpf_map_update_elem(map_fd, &idx, &idx, 0);
100 * bpf_map_delete_elem((map_fd, &idx);
128 int opt, i, idx, err; local
206 idx = if_nametoindex(argv[i]);
207 if (!idx)
208 idx = strtoul(argv[i], NULL, 0);
210 if (!idx) {
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_devmap_attach.c21 __u32 idx = 0; local
43 err = bpf_map_update_elem(map_fd, &idx, &val, 0);
46 err = bpf_map_lookup_elem(map_fd, &idx, &val);
57 err = bpf_map_update_elem(map_fd, &idx, &val, 0);
63 idx = 1;
66 err = bpf_map_update_elem(map_fd, &idx, &val, 0);
93 __u32 idx = 0; local
106 err = bpf_map_update_elem(map_fd, &idx, &val, 0);
109 err = bpf_map_lookup_elem(map_fd, &idx, &val);
117 idx
[all...]
H A Dxdp_cpumap_attach.c20 __u32 idx = 0; local
41 err = bpf_map_update_elem(map_fd, &idx, &val, 0);
44 err = bpf_map_lookup_elem(map_fd, &idx, &val);
55 err = bpf_map_update_elem(map_fd, &idx, &val, 0);
61 idx = 1;
64 err = bpf_map_update_elem(map_fd, &idx, &val, 0);
80 __u32 idx = 0; local
93 err = bpf_map_update_elem(map_fd, &idx, &val, 0);
96 err = bpf_map_lookup_elem(map_fd, &idx, &val);
104 idx
[all...]
/linux-master/arch/alpha/kernel/
H A Dperf_event.c133 int idx; member in struct:ev67_mapping_t
158 idx0 = ev67_mapping[evtype[0]-1].idx;
199 event[0]->hw.idx = idx0;
202 event[1]->hw.idx = idx0 ^ 1;
233 static inline void alpha_write_pmc(int idx, unsigned long val) argument
235 val &= alpha_pmu->pmc_count_mask[idx];
236 val <<= alpha_pmu->pmc_count_shift[idx];
237 val |= (1<<idx);
241 static inline unsigned long alpha_read_pmc(int idx) argument
246 val >>= alpha_pmu->pmc_count_shift[idx];
252 alpha_perf_event_set_period(struct perf_event *event, struct hw_perf_event *hwc, int idx) argument
307 alpha_perf_event_update(struct perf_event *event, struct hw_perf_event *hwc, int idx, long ovf) argument
414 int idx = hwc->idx; local
497 int idx = cpuc->current_idx[j]; local
807 int idx, j; local
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dbinding.c13 int idx; member in struct:iwl_mvm_iface_iterator_data
49 for (i = 0; i < data->idx; i++)
82 if (WARN_ON_ONCE(data->idx >= MAX_MACS_IN_BINDING))
85 data->ids[data->idx] = mvmvif->id;
86 data->colors[data->idx] = mvmvif->color;
87 data->idx++;
113 if (data.idx == 0) {
121 if (WARN_ON_ONCE(data.idx >= MAX_MACS_IN_BINDING))
124 data.ids[data.idx] = mvmvif->id;
125 data.colors[data.idx]
[all...]
/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-rds-gen.c46 unsigned idx; local
65 idx = (grp % 22) % 4;
67 data[1].lsb |= vivid_get_di(rds, idx);
72 data[3].lsb = rds->psname[2 * idx + 1];
73 data[3].msb = rds->psname[2 * idx];
77 idx = ((grp - 4) % 22) % 16;
78 data[1].lsb |= idx;
80 data[2].msb = rds->radiotext[4 * idx];
81 data[2].lsb = rds->radiotext[4 * idx + 1];
83 data[3].msb = rds->radiotext[4 * idx
[all...]

Completed in 273 milliseconds

1234567891011>>