Searched refs:pair (Results 1 - 25 of 119) sorted by relevance

12345

/linux-master/arch/riscv/include/asm/
H A Dhwprobe.h30 static inline bool riscv_hwprobe_pair_cmp(struct riscv_hwprobe *pair, argument
33 if (pair->key != other_pair->key)
36 if (hwprobe_key_is_bitmask(pair->key))
37 return (pair->value & other_pair->value) == other_pair->value;
39 return pair->value == other_pair->value;
/linux-master/sound/soc/fsl/
H A Dfsl_asrc_dma.c46 struct fsl_asrc_pair *pair = runtime->private_data; local
48 pair->pos += snd_pcm_lib_period_bytes(substream);
49 if (pair->pos >= snd_pcm_lib_buffer_bytes(substream))
50 pair->pos = 0;
60 struct fsl_asrc_pair *pair = runtime->private_data; local
68 pair->pos = 0;
69 pair->desc[!dir] = dmaengine_prep_dma_cyclic(
70 pair->dma_chan[!dir], runtime->dma_addr,
74 if (!pair->desc[!dir]) {
79 pair
101 struct fsl_asrc_pair *pair = runtime->private_data; local
138 struct fsl_asrc_pair *pair = runtime->private_data; local
313 struct fsl_asrc_pair *pair = runtime->private_data; local
338 struct fsl_asrc_pair *pair; local
410 struct fsl_asrc_pair *pair = runtime->private_data; local
431 struct fsl_asrc_pair *pair = runtime->private_data; local
[all...]
H A Dfsl_asrc_common.h29 * @index: pair index (ASRC_PAIR_A, ASRC_PAIR_B, ASRC_PAIR_C)
36 * @private: pair private area
66 * @pair: pair pointers
75 * @pair_priv_size: size of pair private struct.
89 struct fsl_asrc_pair *pair[PAIR_CTX_NUM]; member in struct:fsl_asrc
96 struct dma_chan *(*get_dma_channel)(struct fsl_asrc_pair *pair, bool dir);
97 int (*request_pair)(int channels, struct fsl_asrc_pair *pair);
98 void (*release_pair)(struct fsl_asrc_pair *pair);
H A Dfsl_asrc.c206 * fsl_asrc_request_pair - Request ASRC pair
208 * @pair: pointer to pair
210 * It assigns pair by the order of A->C->B because allocation of pair B,
211 * within range [ANCA, ANCA+ANCB-1], depends on the channels of pair A
212 * while pair A and pair C are comparatively independent.
214 static int fsl_asrc_request_pair(int channels, struct fsl_asrc_pair *pair) argument
217 struct fsl_asrc *asrc = pair
258 fsl_asrc_release_pair(struct fsl_asrc_pair *pair) argument
283 fsl_asrc_set_watermarks(struct fsl_asrc_pair *pair, u32 in, u32 out) argument
304 fsl_asrc_cal_asrck_divisor(struct fsl_asrc_pair *pair, u32 div) argument
323 fsl_asrc_set_ideal_ratio(struct fsl_asrc_pair *pair, int inrate, int outrate) argument
377 fsl_asrc_config_pair(struct fsl_asrc_pair *pair, bool use_ideal_rate) argument
582 fsl_asrc_start_pair(struct fsl_asrc_pair *pair) argument
616 fsl_asrc_stop_pair(struct fsl_asrc_pair *pair) argument
631 fsl_asrc_get_dma_channel(struct fsl_asrc_pair *pair, bool dir) argument
660 fsl_asrc_select_clk(struct fsl_asrc_priv *asrc_priv, struct fsl_asrc_pair *pair, int in_rate, int out_rate) argument
704 struct fsl_asrc_pair *pair = runtime->private_data; local
751 struct fsl_asrc_pair *pair = runtime->private_data; local
763 struct fsl_asrc_pair *pair = runtime->private_data; local
[all...]
/linux-master/arch/s390/include/asm/
H A Dtypes.h11 unsigned __int128 pair; member in union:register_pair
H A Dcpacf.h266 : [src] "+&d" (s.pair), [dst] "+&d" (d.pair)
298 : [src] "+&d" (s.pair), [dst] "+&d" (d.pair)
326 : [src] "+&d" (s.pair)
351 : [src] "+&d" (s.pair)
379 : [src] "+&d" (s.pair)
413 : [src] "+&d" (s.pair), [dst] "+&d" (d.pair),
414 [ctr] "+&d" (c.pair)
[all...]
/linux-master/arch/riscv/kernel/
H A Dsys_hwprobe.c19 static void hwprobe_arch_id(struct riscv_hwprobe *pair, argument
29 switch (pair->key) {
56 pair->value = id;
59 static void hwprobe_isa_ext0(struct riscv_hwprobe *pair, argument
65 pair->value = 0;
67 pair->value |= RISCV_HWPROBE_IMA_FD;
70 pair->value |= RISCV_HWPROBE_IMA_C;
73 pair->value |= RISCV_HWPROBE_IMA_V;
85 pair->value |= RISCV_HWPROBE_EXT_##ext; \
139 pair
144 struct riscv_hwprobe pair; local
186 hwprobe_one_pair(struct riscv_hwprobe *pair, const struct cpumask *cpus) argument
270 struct riscv_hwprobe pair; local
319 struct riscv_hwprobe pair, tmp; local
381 struct riscv_hwprobe pair; local
[all...]
/linux-master/tools/perf/tests/
H A Dvmlinux-kallsyms.c131 struct map *pair = maps__find_by_name(args->kallsyms.kmaps, local
134 if (pair) {
135 map__set_priv(pair, 1);
136 map__put(pair);
150 struct map *pair; local
154 pair = maps__find(args->kallsyms.kmaps, mem_start);
156 if (pair != NULL && !map__priv(pair) && map__start(pair) == mem_start) {
166 if (mem_end != map__end(pair))
291 struct symbol *pair, *first_pair; local
[all...]
/linux-master/samples/bpf/
H A Dtracex4.bpf.c12 struct pair { struct
20 __type(value, struct pair);
45 struct pair v = {
H A Dsockex2_user.c11 struct pair { struct
50 struct pair value;
H A Dsockex3_user.c20 struct pair { struct
81 struct pair value;
H A Dtracex4_user.c15 struct pair { struct
32 struct pair v;
/linux-master/include/linux/
H A Dethtool_netlink.h26 int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, u8 result);
27 int ethnl_cable_test_fault_length(struct phy_device *phydev, u8 pair, u32 cm);
28 int ethnl_cable_test_amplitude(struct phy_device *phydev, u8 pair, s16 mV);
57 static inline int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, argument
64 u8 pair, u32 cm)
70 u8 pair, s16 mV)
63 ethnl_cable_test_fault_length(struct phy_device *phydev, u8 pair, u32 cm) argument
69 ethnl_cable_test_amplitude(struct phy_device *phydev, u8 pair, s16 mV) argument
/linux-master/tools/testing/selftests/riscv/hwprobe/
H A Dcbo.c86 struct riscv_hwprobe pair = { local
94 rc = riscv_hwprobe(&pair, 1, sizeof(cpu_set_t), (unsigned long *)cpus, 0);
95 block_size = pair.value;
96 ksft_test_result(rc == 0 && pair.key == RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE &&
134 struct riscv_hwprobe pair = { local
148 rc = riscv_hwprobe(&pair, 1, sizeof(cpu_set_t), (unsigned long *)&one_cpu, 0);
149 assert(rc == 0 && pair.key == RISCV_HWPROBE_KEY_IMA_EXT_0);
151 if (pair.value & RISCV_HWPROBE_EXT_ZICBOZ)
181 struct riscv_hwprobe pair; local
199 pair
[all...]
/linux-master/tools/perf/
H A Dbuiltin-diff.c279 static double compute_delta(struct hist_entry *he, struct hist_entry *pair) argument
282 double new_percent = period_percent(pair, pair->stat.period);
284 pair->diff.period_ratio_delta = new_percent - old_percent;
285 pair->diff.computed = true;
286 return pair->diff.period_ratio_delta;
289 static double compute_ratio(struct hist_entry *he, struct hist_entry *pair) argument
292 double new_period = pair->stat.period;
294 pair->diff.computed = true;
295 pair
299 compute_wdiff(struct hist_entry *he, struct hist_entry *pair) argument
311 formula_delta(struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size) argument
328 formula_ratio(struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size) argument
337 formula_wdiff(struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size) argument
348 formula_fprintf(struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size) argument
523 struct hist_entry *pair; local
634 compute_cycles_diff(struct hist_entry *he, struct hist_entry *pair) argument
674 struct hist_entry *pair = get_block_pair(he, hists_pair); local
698 struct hist_entry *he, *pair; local
1352 cycles_printf(struct hist_entry *he, struct hist_entry *pair, struct perf_hpp *hpp, int width) argument
1402 struct hist_entry *pair = get_pair_fmt(he, dfmt); local
1521 struct hist_entry *pair = get_pair_fmt(he, dfmt); local
1587 hpp__entry_pair(struct hist_entry *he, struct hist_entry *pair, int idx, char *buf, size_t size) argument
1654 struct hist_entry *pair = get_pair_fmt(he, dfmt); local
[all...]
/linux-master/tools/testing/selftests/riscv/vector/
H A Dvstate_prctl.c75 struct riscv_hwprobe pair; local
79 pair.key = RISCV_HWPROBE_KEY_IMA_EXT_0;
80 rc = riscv_hwprobe(&pair, 1, 0, NULL, 0);
86 if (pair.key != RISCV_HWPROBE_KEY_IMA_EXT_0) {
91 if (!(pair.value & RISCV_HWPROBE_IMA_V)) {
/linux-master/drivers/iio/
H A Dindustrialio-backend.c191 struct iio_backend_buffer_pair *pair = arg; local
193 iio_backend_void_op_call(pair->back, free_buffer, pair->buffer);
215 struct iio_backend_buffer_pair *pair; local
218 pair = devm_kzalloc(dev, sizeof(*pair), GFP_KERNEL);
219 if (!pair)
227 pair->back = back;
228 pair->buffer = buffer;
230 return devm_add_action_or_reset(dev, iio_backend_free_buffer, pair);
[all...]
/linux-master/drivers/ata/
H A Dpata_ali.c209 struct ata_device *pair = ata_dev_pair(adev); local
214 if (pair) {
216 ata_timing_compute(pair, pair->pio_mode, &p, T, 1);
218 if (ata_dma_enabled(pair)) {
219 ata_timing_compute(pair, pair->dma_mode, &p, T, 1);
244 struct ata_device *pair = ata_dev_pair(adev); local
263 if (pair) {
265 ata_timing_compute(pair, pai
[all...]
H A Dpata_cs5535.c94 struct ata_device *pair = ata_dev_pair(adev); local
99 /* Command timing has to be for the lowest of the pair of devices */
100 if (pair) {
101 int pairmode = pair->pio_mode - XFER_PIO_0;
105 wrmsr(ATAC_CH0D0_PIO + 2 * pair->devno,
H A Dpata_opti.c109 struct ata_device *pair = ata_dev_pair(adev); local
134 if (pair) {
136 u8 pair_addr = addr_timing[clock][pair->pio_mode - XFER_PIO_0];
/linux-master/net/ethtool/
H A Dcabletest.c163 int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, u8 result) argument
172 if (nla_put_u8(phydev->skb, ETHTOOL_A_CABLE_RESULT_PAIR, pair))
186 int ethnl_cable_test_fault_length(struct phy_device *phydev, u8 pair, u32 cm) argument
196 if (nla_put_u8(phydev->skb, ETHTOOL_A_CABLE_FAULT_LENGTH_PAIR, pair))
238 cfg->pair = PHY_PAIR_ALL;
261 cfg->pair = nla_get_u8(tb[ETHTOOL_A_CABLE_TEST_TDR_CFG_PAIR]);
262 if (cfg->pair > ETHTOOL_A_CABLE_PAIR_D) {
266 "invalid pair parameter");
361 u8 pair, s16 mV)
371 if (nla_put_u8(phydev->skb, ETHTOOL_A_CABLE_AMPLITUDE_PAIR, pair))
360 ethnl_cable_test_amplitude(struct phy_device *phydev, u8 pair, s16 mV) argument
[all...]
/linux-master/lib/raid6/
H A Drecov_neon_inner.c20 uint8x8x2_t pair; member in union:__anon4757
23 return vcombine_u8(vtbl2_u8(__a.pair, vget_low_u8(b)),
24 vtbl2_u8(__a.pair, vget_high_u8(b)));
/linux-master/fs/ntfs3/
H A Dlznt.c124 static inline size_t parse_pair(u16 pair, size_t *offset, size_t index) argument
126 *offset = 1 + (pair >> (12 - index));
127 return 3 + (pair & ((1 << (12 - index)) - 1));
149 /* Control byte of 8-bit values: ( 0 - means byte as is, 1 - short pair ). */
234 u16 pair; local
255 pair = cmpr[1];
256 pair <<= 8;
257 pair |= cmpr[0];
262 length = parse_pair(pair, &offset, index);
/linux-master/drivers/infiniband/hw/hfi1/
H A Dexp_rcv.h138 u32 pair = rcventry & ~0x1; local
140 return EXP_TID_SET(IDX, pair >> 1) |
141 EXP_TID_SET(CTRL, 1 << (rcventry - pair)) |
/linux-master/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_dwb_scl.c690 int pair; local
694 for (pair = 0; pair < tap_pairs; pair++) {
695 even_coef = filter[phase * taps + 2 * pair];
696 if ((pair * 2 + 1) < taps)
697 odd_coef = filter[phase * taps + 2 * pair + 1];
702 WBSCL_COEF_RAM_TAP_PAIR_IDX, pair,

Completed in 243 milliseconds

12345