/kernel/linux/linux-6.6/sound/soc/fsl/ |
H A D | fsl_asrc_dma.c | 46 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_complete() local 48 pair->pos += snd_pcm_lib_period_bytes(substream); in fsl_asrc_dma_complete() 49 if (pair->pos >= snd_pcm_lib_buffer_bytes(substream)) in fsl_asrc_dma_complete() 50 pair->pos = 0; in fsl_asrc_dma_complete() 60 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_prepare_and_submit() local 68 pair->pos = 0; in fsl_asrc_dma_prepare_and_submit() 69 pair->desc[!dir] = dmaengine_prep_dma_cyclic( in fsl_asrc_dma_prepare_and_submit() 70 pair->dma_chan[!dir], runtime->dma_addr, in fsl_asrc_dma_prepare_and_submit() 74 if (!pair->desc[!dir]) { in fsl_asrc_dma_prepare_and_submit() 79 pair in fsl_asrc_dma_prepare_and_submit() 101 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_trigger() local 138 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_hw_params() local 313 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_hw_free() local 338 struct fsl_asrc_pair *pair; fsl_asrc_dma_startup() local 410 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_shutdown() local 431 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_pcm_pointer() local [all...] |
H A D | fsl_asrc.c | 206 * 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) in fsl_asrc_request_pair() argument 217 struct fsl_asrc *asrc = pair in fsl_asrc_request_pair() 258 fsl_asrc_release_pair(struct fsl_asrc_pair *pair) fsl_asrc_release_pair() argument 283 fsl_asrc_set_watermarks(struct fsl_asrc_pair *pair, u32 in, u32 out) fsl_asrc_set_watermarks() argument 304 fsl_asrc_cal_asrck_divisor(struct fsl_asrc_pair *pair, u32 div) fsl_asrc_cal_asrck_divisor() argument 323 fsl_asrc_set_ideal_ratio(struct fsl_asrc_pair *pair, int inrate, int outrate) fsl_asrc_set_ideal_ratio() argument 377 fsl_asrc_config_pair(struct fsl_asrc_pair *pair, bool use_ideal_rate) fsl_asrc_config_pair() argument 582 fsl_asrc_start_pair(struct fsl_asrc_pair *pair) fsl_asrc_start_pair() argument 616 fsl_asrc_stop_pair(struct fsl_asrc_pair *pair) fsl_asrc_stop_pair() argument 631 fsl_asrc_get_dma_channel(struct fsl_asrc_pair *pair, bool dir) fsl_asrc_get_dma_channel() argument 660 fsl_asrc_select_clk(struct fsl_asrc_priv *asrc_priv, struct fsl_asrc_pair *pair, int in_rate, int out_rate) fsl_asrc_select_clk() argument 704 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dai_hw_params() local 751 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dai_hw_free() local 763 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dai_trigger() local [all...] |
H A D | fsl_asrc_common.h | 29 * @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 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);
|
/kernel/linux/linux-5.10/sound/soc/fsl/ |
H A D | fsl_asrc_dma.c | 46 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_complete() local 48 pair->pos += snd_pcm_lib_period_bytes(substream); in fsl_asrc_dma_complete() 49 if (pair->pos >= snd_pcm_lib_buffer_bytes(substream)) in fsl_asrc_dma_complete() 50 pair->pos = 0; in fsl_asrc_dma_complete() 60 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_prepare_and_submit() local 68 pair->pos = 0; in fsl_asrc_dma_prepare_and_submit() 69 pair->desc[!dir] = dmaengine_prep_dma_cyclic( in fsl_asrc_dma_prepare_and_submit() 70 pair->dma_chan[!dir], runtime->dma_addr, in fsl_asrc_dma_prepare_and_submit() 74 if (!pair->desc[!dir]) { in fsl_asrc_dma_prepare_and_submit() 79 pair in fsl_asrc_dma_prepare_and_submit() 101 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_trigger() local 137 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_hw_params() local 299 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_hw_free() local 326 struct fsl_asrc_pair *pair; fsl_asrc_dma_startup() local 398 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_shutdown() local 419 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_pcm_pointer() local [all...] |
H A D | fsl_asrc.c | 202 * fsl_asrc_request_pair - Request ASRC pair 204 * @pair: pointer to pair 206 * It assigns pair by the order of A->C->B because allocation of pair B, 207 * within range [ANCA, ANCA+ANCB-1], depends on the channels of pair A 208 * while pair A and pair C are comparatively independent. 210 static int fsl_asrc_request_pair(int channels, struct fsl_asrc_pair *pair) in fsl_asrc_request_pair() argument 213 struct fsl_asrc *asrc = pair in fsl_asrc_request_pair() 254 fsl_asrc_release_pair(struct fsl_asrc_pair *pair) fsl_asrc_release_pair() argument 279 fsl_asrc_set_watermarks(struct fsl_asrc_pair *pair, u32 in, u32 out) fsl_asrc_set_watermarks() argument 300 fsl_asrc_cal_asrck_divisor(struct fsl_asrc_pair *pair, u32 div) fsl_asrc_cal_asrck_divisor() argument 319 fsl_asrc_set_ideal_ratio(struct fsl_asrc_pair *pair, int inrate, int outrate) fsl_asrc_set_ideal_ratio() argument 373 fsl_asrc_config_pair(struct fsl_asrc_pair *pair, bool use_ideal_rate) fsl_asrc_config_pair() argument 578 fsl_asrc_start_pair(struct fsl_asrc_pair *pair) fsl_asrc_start_pair() argument 608 fsl_asrc_stop_pair(struct fsl_asrc_pair *pair) fsl_asrc_stop_pair() argument 623 fsl_asrc_get_dma_channel(struct fsl_asrc_pair *pair, bool dir) fsl_asrc_get_dma_channel() argument 652 fsl_asrc_select_clk(struct fsl_asrc_priv *asrc_priv, struct fsl_asrc_pair *pair, int in_rate, int out_rate) fsl_asrc_select_clk() argument 696 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dai_hw_params() local 743 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dai_hw_free() local 755 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dai_trigger() local [all...] |
H A D | fsl_asrc_common.h | 29 * @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 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);
|
/kernel/linux/linux-6.6/arch/riscv/kernel/ |
H A D | sys_riscv.c | 85 static void hwprobe_arch_id(struct riscv_hwprobe *pair, in hwprobe_arch_id() argument 95 switch (pair->key) { in hwprobe_arch_id() 122 pair->value = id; in hwprobe_arch_id() 125 static void hwprobe_isa_ext0(struct riscv_hwprobe *pair, in hwprobe_isa_ext0() argument 131 pair->value = 0; in hwprobe_isa_ext0() 133 pair->value |= RISCV_HWPROBE_IMA_FD; in hwprobe_isa_ext0() 136 pair->value |= RISCV_HWPROBE_IMA_C; in hwprobe_isa_ext0() 139 pair->value |= RISCV_HWPROBE_IMA_V; in hwprobe_isa_ext0() 149 pair->value |= RISCV_HWPROBE_EXT_ZBA; in hwprobe_isa_ext0() 154 pair in hwprobe_isa_ext0() 191 hwprobe_one_pair(struct riscv_hwprobe *pair, const struct cpumask *cpus) hwprobe_one_pair() argument 269 struct riscv_hwprobe pair; do_riscv_hwprobe() local 294 struct riscv_hwprobe pair; init_hwprobe_vdso_data() local [all...] |
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | vmlinux-kallsyms.c | 113 struct symbol *pair, *first_pair; in test__vmlinux_matches_kallsyms() local 124 pair = first_pair; in test__vmlinux_matches_kallsyms() 126 if (pair && UM(pair->start) == mem_start) { in test__vmlinux_matches_kallsyms() 128 if (arch__compare_symbol_names(sym->name, pair->name) == 0) { in test__vmlinux_matches_kallsyms() 138 s64 skew = mem_end - UM(pair->end); in test__vmlinux_matches_kallsyms() 142 UM(pair->end)); in test__vmlinux_matches_kallsyms() 152 pair = machine__find_kernel_symbol_by_name(&kallsyms, sym->name, NULL); in test__vmlinux_matches_kallsyms() 153 if (pair) { in test__vmlinux_matches_kallsyms() 154 if (UM(pair in test__vmlinux_matches_kallsyms() 193 pair = maps__find_by_name(&kallsyms.kmaps, (map->dso->kernel ? test__vmlinux_matches_kallsyms() local 210 struct map *pair; test__vmlinux_matches_kallsyms() local [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | vmlinux-kallsyms.c | 217 struct symbol *pair, *first_pair; in test__vmlinux_matches_kallsyms() local 228 pair = first_pair; in test__vmlinux_matches_kallsyms() 230 if (pair && UM(pair->start) == mem_start) { in test__vmlinux_matches_kallsyms() 232 if (arch__compare_symbol_names(sym->name, pair->name) == 0) { in test__vmlinux_matches_kallsyms() 242 s64 skew = mem_end - UM(pair->end); in test__vmlinux_matches_kallsyms() 246 UM(pair->end)); in test__vmlinux_matches_kallsyms() 256 pair = machine__find_kernel_symbol_by_name(&kallsyms, sym->name, NULL); in test__vmlinux_matches_kallsyms() 257 if (pair) { in test__vmlinux_matches_kallsyms() 258 if (UM(pair in test__vmlinux_matches_kallsyms() 303 struct map *pair = maps__find_by_name(kallsyms.kmaps, (dso->kernel ? test__vmlinux_matches_kallsyms() local 320 struct map *pair, *map = rb_node->map; test__vmlinux_matches_kallsyms() local [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-diff.c | 279 static double compute_delta(struct hist_entry *he, struct hist_entry *pair) in compute_delta() argument 282 double new_percent = period_percent(pair, pair->stat.period); in compute_delta() 284 pair->diff.period_ratio_delta = new_percent - old_percent; in compute_delta() 285 pair->diff.computed = true; in compute_delta() 286 return pair->diff.period_ratio_delta; in compute_delta() 289 static double compute_ratio(struct hist_entry *he, struct hist_entry *pair) in compute_ratio() argument 292 double new_period = pair->stat.period; in compute_ratio() 294 pair->diff.computed = true; in compute_ratio() 295 pair in compute_ratio() 299 compute_wdiff(struct hist_entry *he, struct hist_entry *pair) compute_wdiff() argument 311 formula_delta(struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size) formula_delta() argument 328 formula_ratio(struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size) formula_ratio() argument 337 formula_wdiff(struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size) formula_wdiff() argument 348 formula_fprintf(struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size) formula_fprintf() argument 521 struct hist_entry *pair; get_pair_data() local 632 compute_cycles_diff(struct hist_entry *he, struct hist_entry *pair) compute_cycles_diff() argument 672 struct hist_entry *pair = get_block_pair(he, hists_pair); block_hists_match() local 696 struct hist_entry *he, *pair; hists__precompute() local 1349 cycles_printf(struct hist_entry *he, struct hist_entry *pair, struct perf_hpp *hpp, int width) cycles_printf() argument 1399 struct hist_entry *pair = get_pair_fmt(he, dfmt); __hpp__color_compare() local 1518 struct hist_entry *pair = get_pair_fmt(he, dfmt); hpp__color_cycles_hist() local 1584 hpp__entry_pair(struct hist_entry *he, struct hist_entry *pair, int idx, char *buf, size_t size) hpp__entry_pair() argument 1651 struct hist_entry *pair = get_pair_fmt(he, dfmt); __hpp__entry_global() local [all...] |
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-diff.c | 279 static double compute_delta(struct hist_entry *he, struct hist_entry *pair) in compute_delta() argument 282 double new_percent = period_percent(pair, pair->stat.period); in compute_delta() 284 pair->diff.period_ratio_delta = new_percent - old_percent; in compute_delta() 285 pair->diff.computed = true; in compute_delta() 286 return pair->diff.period_ratio_delta; in compute_delta() 289 static double compute_ratio(struct hist_entry *he, struct hist_entry *pair) in compute_ratio() argument 292 double new_period = pair->stat.period; in compute_ratio() 294 pair->diff.computed = true; in compute_ratio() 295 pair in compute_ratio() 299 compute_wdiff(struct hist_entry *he, struct hist_entry *pair) compute_wdiff() argument 311 formula_delta(struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size) formula_delta() argument 328 formula_ratio(struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size) formula_ratio() argument 337 formula_wdiff(struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size) formula_wdiff() argument 348 formula_fprintf(struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size) formula_fprintf() argument 523 struct hist_entry *pair; get_pair_data() local 634 compute_cycles_diff(struct hist_entry *he, struct hist_entry *pair) compute_cycles_diff() argument 674 struct hist_entry *pair = get_block_pair(he, hists_pair); block_hists_match() local 698 struct hist_entry *he, *pair; hists__precompute() local 1352 cycles_printf(struct hist_entry *he, struct hist_entry *pair, struct perf_hpp *hpp, int width) cycles_printf() argument 1402 struct hist_entry *pair = get_pair_fmt(he, dfmt); __hpp__color_compare() local 1521 struct hist_entry *pair = get_pair_fmt(he, dfmt); hpp__color_cycles_hist() local 1587 hpp__entry_pair(struct hist_entry *he, struct hist_entry *pair, int idx, char *buf, size_t size) hpp__entry_pair() argument 1654 struct hist_entry *pair = get_pair_fmt(he, dfmt); __hpp__entry_global() local [all...] |
/kernel/linux/linux-6.6/arch/s390/include/asm/ |
H A D | cpacf.h | 266 : [src] "+&d" (s.pair), [dst] "+&d" (d.pair) in cpacf_km() 298 : [src] "+&d" (s.pair), [dst] "+&d" (d.pair) in cpacf_kmc() 326 : [src] "+&d" (s.pair) in cpacf_kimd() 351 : [src] "+&d" (s.pair) in cpacf_klmd() 379 : [src] "+&d" (s.pair) in cpacf_kmac() 413 : [src] "+&d" (s.pair), [dst] "+&d" (d.pair), in cpacf_kmctr() 414 [ctr] "+&d" (c.pair) in cpacf_kmctr() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | ethtool_netlink.h | 26 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); 45 static inline int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, in ethnl_cable_test_result() argument 52 u8 pair, u32 cm) in ethnl_cable_test_fault_length() 58 u8 pair, s16 mV) in ethnl_cable_test_amplitude() 51 ethnl_cable_test_fault_length(struct phy_device *phydev, u8 pair, u32 cm) ethnl_cable_test_fault_length() argument 57 ethnl_cable_test_amplitude(struct phy_device *phydev, u8 pair, s16 mV) ethnl_cable_test_amplitude() argument
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | ethtool_netlink.h | 26 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, in ethnl_cable_test_result() argument 64 u8 pair, u32 cm) in ethnl_cable_test_fault_length() 70 u8 pair, s16 mV) in ethnl_cable_test_amplitude() 63 ethnl_cable_test_fault_length(struct phy_device *phydev, u8 pair, u32 cm) ethnl_cable_test_fault_length() argument 69 ethnl_cable_test_amplitude(struct phy_device *phydev, u8 pair, s16 mV) ethnl_cable_test_amplitude() argument
|
/kernel/linux/linux-5.10/drivers/ata/ |
H A D | pata_ali.c | 209 struct ata_device *pair = ata_dev_pair(adev); in ali_set_piomode() local 214 if (pair) { in ali_set_piomode() 216 ata_timing_compute(pair, pair->pio_mode, &p, T, 1); in ali_set_piomode() 218 if (pair->dma_mode) { in ali_set_piomode() 219 ata_timing_compute(pair, pair->dma_mode, &p, T, 1); in ali_set_piomode() 244 struct ata_device *pair = ata_dev_pair(adev); in ali_set_dmamode() local 263 if (pair) { in ali_set_dmamode() 265 ata_timing_compute(pair, pai in ali_set_dmamode() [all...] |
/kernel/linux/linux-5.10/drivers/ide/ |
H A D | alim15x3.c | 104 ide_drive_t *pair = ide_get_pair_dev(drive); in ali_set_pio_mode() local 110 if (pair) { in ali_set_pio_mode() 113 ide_timing_compute(pair, pair->pio_mode, &p, T, 1); in ali_set_pio_mode() 116 if (pair->dma_mode) { in ali_set_pio_mode() 117 ide_timing_compute(pair, pair->dma_mode, &p, T, 1); in ali_set_pio_mode() 168 ide_drive_t *pair = ide_get_pair_dev(drive); in ali_set_dma_mode() local 177 if (pair) { in ali_set_dma_mode() 180 ide_timing_compute(pair, pai in ali_set_dma_mode() [all...] |
H A D | ide-pm.c | 9 ide_drive_t *pair = ide_get_pair_dev(drive); in generic_ide_suspend() local 17 if ((drive->dn & 1) == 0 || pair == NULL) in generic_ide_suspend() 36 if ((drive->dn & 1) || pair == NULL) in generic_ide_suspend() 61 ide_drive_t *pair = ide_get_pair_dev(drive); in generic_ide_resume() local 71 if ((drive->dn & 1) == 0 || pair == NULL) { in generic_ide_resume()
|
/kernel/linux/linux-6.6/drivers/ata/ |
H A D | pata_ali.c | 209 struct ata_device *pair = ata_dev_pair(adev); in ali_set_piomode() local 214 if (pair) { in ali_set_piomode() 216 ata_timing_compute(pair, pair->pio_mode, &p, T, 1); in ali_set_piomode() 218 if (ata_dma_enabled(pair)) { in ali_set_piomode() 219 ata_timing_compute(pair, pair->dma_mode, &p, T, 1); in ali_set_piomode() 244 struct ata_device *pair = ata_dev_pair(adev); in ali_set_dmamode() local 263 if (pair) { in ali_set_dmamode() 265 ata_timing_compute(pair, pai in ali_set_dmamode() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/riscv/vector/ |
H A D | vstate_prctl.c | 83 struct riscv_hwprobe pair; in main() local 87 pair.key = RISCV_HWPROBE_KEY_IMA_EXT_0; in main() 88 rc = riscv_hwprobe(&pair, 1, 0, NULL, 0); in main() 94 if (pair.key != RISCV_HWPROBE_KEY_IMA_EXT_0) { in main() 99 if (!(pair.value & RISCV_HWPROBE_IMA_V)) { in main()
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | tracex4.bpf.c | 12 struct pair { struct 20 __type(value, struct pair); 45 struct pair v = { in bpf_prog2()
|
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | lznt.c | 124 static inline size_t parse_pair(u16 pair, size_t *offset, size_t index) in parse_pair() argument 126 *offset = 1 + (pair >> (12 - index)); in parse_pair() 127 return 3 + (pair & ((1 << (12 - index)) - 1)); in parse_pair() 149 /* Control byte of 8-bit values: ( 0 - means byte as is, 1 - short pair ). */ in compress_chunk() 234 u16 pair; in decompress_chunk() local 255 pair = cmpr[1]; in decompress_chunk() 256 pair <<= 8; in decompress_chunk() 257 pair |= cmpr[0]; in decompress_chunk() 262 length = parse_pair(pair, &offset, index); in decompress_chunk()
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | tracex4_kern.c | 13 struct pair { struct 21 __type(value, struct pair); 46 struct pair v = { in bpf_prog2()
|
/kernel/linux/linux-5.10/net/ethtool/ |
H A D | cabletest.c | 163 int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, u8 result) in ethnl_cable_test_result() argument 172 if (nla_put_u8(phydev->skb, ETHTOOL_A_CABLE_RESULT_PAIR, pair)) in ethnl_cable_test_result() 186 int ethnl_cable_test_fault_length(struct phy_device *phydev, u8 pair, u32 cm) in ethnl_cable_test_fault_length() argument 196 if (nla_put_u8(phydev->skb, ETHTOOL_A_CABLE_FAULT_LENGTH_PAIR, pair)) in ethnl_cable_test_fault_length() 238 cfg->pair = PHY_PAIR_ALL; in ethnl_act_cable_test_tdr_cfg() 261 cfg->pair = nla_get_u8(tb[ETHTOOL_A_CABLE_TEST_TDR_CFG_PAIR]); in ethnl_act_cable_test_tdr_cfg() 262 if (cfg->pair > ETHTOOL_A_CABLE_PAIR_D) { in ethnl_act_cable_test_tdr_cfg() 266 "invalid pair parameter"); in ethnl_act_cable_test_tdr_cfg() 361 u8 pair, s16 mV) in ethnl_cable_test_amplitude() 371 if (nla_put_u8(phydev->skb, ETHTOOL_A_CABLE_AMPLITUDE_PAIR, pair)) in ethnl_cable_test_amplitude() 360 ethnl_cable_test_amplitude(struct phy_device *phydev, u8 pair, s16 mV) ethnl_cable_test_amplitude() argument [all...] |
/kernel/linux/linux-6.6/net/ethtool/ |
H A D | cabletest.c | 163 int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, u8 result) in ethnl_cable_test_result() argument 172 if (nla_put_u8(phydev->skb, ETHTOOL_A_CABLE_RESULT_PAIR, pair)) in ethnl_cable_test_result() 186 int ethnl_cable_test_fault_length(struct phy_device *phydev, u8 pair, u32 cm) in ethnl_cable_test_fault_length() argument 196 if (nla_put_u8(phydev->skb, ETHTOOL_A_CABLE_FAULT_LENGTH_PAIR, pair)) in ethnl_cable_test_fault_length() 238 cfg->pair = PHY_PAIR_ALL; in ethnl_act_cable_test_tdr_cfg() 261 cfg->pair = nla_get_u8(tb[ETHTOOL_A_CABLE_TEST_TDR_CFG_PAIR]); in ethnl_act_cable_test_tdr_cfg() 262 if (cfg->pair > ETHTOOL_A_CABLE_PAIR_D) { in ethnl_act_cable_test_tdr_cfg() 266 "invalid pair parameter"); in ethnl_act_cable_test_tdr_cfg() 361 u8 pair, s16 mV) in ethnl_cable_test_amplitude() 371 if (nla_put_u8(phydev->skb, ETHTOOL_A_CABLE_AMPLITUDE_PAIR, pair)) in ethnl_cable_test_amplitude() 360 ethnl_cable_test_amplitude(struct phy_device *phydev, u8 pair, s16 mV) ethnl_cable_test_amplitude() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_ctl.c | 52 struct mdp5_ctl *pair; /* Paired CTL to be flushed together */ member 490 if (ctl->pair) { in fix_for_single_flush() 496 if (ctl->pair->flush_pending) { in fix_for_single_flush() 497 *flush_id = min_t(u32, ctl->id, ctl->pair->id); in fix_for_single_flush() 501 ctl->pair->flush_pending = false; in fix_for_single_flush() 594 ctlx->pair = NULL; in mdp5_ctl_pair() 595 ctly->pair = NULL; in mdp5_ctl_pair() 598 } else if ((ctlx->pair != NULL) || (ctly->pair != NULL)) { in mdp5_ctl_pair() 602 DRM_DEV_ERROR(ctl_mgr->dev->dev, "Only pair booke in mdp5_ctl_pair() [all...] |