/linux/sound/soc/fsl/ |
H A D | fsl_asrc_m2m.c | 33 struct fsl_asrc_pair *pair = (struct fsl_asrc_pair *)data; in asrc_input_dma_callback() local 35 complete(&pair->complete[IN]); in asrc_input_dma_callback() 41 struct fsl_asrc_pair *pair = (struct fsl_asrc_pair *)data; in asrc_output_dma_callback() local 43 complete(&pair->complete[OUT]); in asrc_output_dma_callback() 48 *@pair: Structure pointer of fsl_asrc_pair 52 static void asrc_read_last_fifo(struct fsl_asrc_pair *pair, void *dma_vaddr, u32 *length) in asrc_read_last_fifo() argument 54 struct fsl_asrc *asrc = pair->asrc; in asrc_read_last_fifo() 55 enum asrc_pair_index index = pair->index; in asrc_read_last_fifo() 61 width = snd_pcm_format_physical_width(pair->sample_format[OUT]); in asrc_read_last_fifo() 69 size = asrc->get_output_fifo_size(pair); in asrc_read_last_fifo() [all …]
|
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->desc[!dir]->callback = fsl_asrc_dma_complete; in fsl_asrc_dma_prepare_and_submit() [all …]
|
/linux/arch/riscv/kernel/ |
H A D | sys_hwprobe.c | 23 static void hwprobe_arch_id(struct riscv_hwprobe *pair, in hwprobe_arch_id() argument 33 switch (pair->key) { in hwprobe_arch_id() 60 pair->value = id; in hwprobe_arch_id() 63 static void hwprobe_isa_ext0(struct riscv_hwprobe *pair, in hwprobe_isa_ext0() argument 69 pair->value = 0; in hwprobe_isa_ext0() 71 pair->value |= RISCV_HWPROBE_IMA_FD; in hwprobe_isa_ext0() 74 pair->value |= RISCV_HWPROBE_IMA_C; in hwprobe_isa_ext0() 77 pair->value |= RISCV_HWPROBE_IMA_V; in hwprobe_isa_ext0() 89 pair->value |= RISCV_HWPROBE_EXT_##ext; \ in hwprobe_isa_ext0() 171 pair->value &= ~missing; in hwprobe_isa_ext0() [all …]
|
/linux/tools/perf/tests/ |
H A D | vmlinux-kallsyms.c | 130 struct map *pair = maps__find_by_name(args->kallsyms.kmaps, in test__vmlinux_matches_kallsyms_cb1() local 133 if (pair) { in test__vmlinux_matches_kallsyms_cb1() 134 map__set_priv(pair); in test__vmlinux_matches_kallsyms_cb1() 135 map__put(pair); in test__vmlinux_matches_kallsyms_cb1() 149 struct map *pair; in test__vmlinux_matches_kallsyms_cb2() local 153 pair = maps__find(args->kallsyms.kmaps, mem_start); in test__vmlinux_matches_kallsyms_cb2() 155 if (pair != NULL && !map__priv(pair) && map__start(pair) == mem_start) { in test__vmlinux_matches_kallsyms_cb2() 165 if (mem_end != map__end(pair)) in test__vmlinux_matches_kallsyms_cb2() 167 map__start(pair), map__end(pair), map__pgoff(pair)); in test__vmlinux_matches_kallsyms_cb2() 169 map__set_priv(pair); in test__vmlinux_matches_kallsyms_cb2() [all …]
|
/linux/drivers/misc/vmw_vmci/ |
H A D | vmci_queue_pair.c | 62 * In more detail. When a VMCI queue pair is first created, it will be in the 71 * vmci_qp_broker_set_page_store to specify the UVAs of the queue pair at 76 * - VMCIQPB_CREATED_MEM: this state is the result when the queue pair 77 * is created by a VMX using the queue pair device backend that 78 * sets the UVAs of the queue pair immediately and stores the 82 * Once the queue pair is in one of the created states (with the exception of 84 * queue pair. Again we have two new states possible: 90 * pair, and attaches to a queue pair previously created by the host side. 92 * - from VMCIQPB_CREATED_MEM when the host side attaches to a queue pair 98 * - VMCIQPB_ATTACHED_NO_MEM: If the queue pair already was in the [all …]
|
H A D | vmci_queue_pair.h | 35 u64 ppn_va; /* Start VA of queue pair PPNs. */ 44 u64 va; /* Start VA of queue pair PPNs. */ 98 * struct vmci_qp_page_store describes how the memory of a given queue pair 99 * is backed. When the queue pair is between the host and a guest, the 102 * queue pair is mapped into the VMX address space. 105 /* Reference to pages backing the queue pair. */ 114 * pair of end points, A & B. One queue is used by end point A to transmit
|
/linux/tools/testing/selftests/riscv/hwprobe/ |
H A D | cbo.c | 90 struct riscv_hwprobe pair = { in test_zicbom() local 97 rc = riscv_hwprobe(&pair, 1, sizeof(cpu_set_t), (unsigned long *)cpus, 0); in test_zicbom() 98 block_size = pair.value; in test_zicbom() 99 ksft_test_result(rc == 0 && pair.key == RISCV_HWPROBE_KEY_ZICBOM_BLOCK_SIZE && in test_zicbom() 114 struct riscv_hwprobe pair = { in test_zicboz() local 122 rc = riscv_hwprobe(&pair, 1, sizeof(cpu_set_t), (unsigned long *)cpus, 0); in test_zicboz() 123 block_size = pair.value; in test_zicboz() 124 ksft_test_result(rc == 0 && pair.key == RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE && in test_zicboz() 162 struct riscv_hwprobe pair = { in check_no_zicbo_cpus() local 177 rc = riscv_hwprobe(&pair, 1, sizeof(cpu_set_t), (unsigned long *)&one_cpu, 0); in check_no_zicbo_cpus() [all …]
|
/linux/include/linux/ |
H A D | ethtool_netlink.h | 26 int ethnl_cable_test_result_with_src(struct phy_device *phydev, u8 pair, 28 int ethnl_cable_test_fault_length_with_src(struct phy_device *phydev, u8 pair, 30 int ethnl_cable_test_amplitude(struct phy_device *phydev, u8 pair, s16 mV); 60 u8 pair, u8 result, u32 src) in ethnl_cable_test_result_with_src() argument 66 u8 pair, u32 cm, u32 src) in ethnl_cable_test_fault_length_with_src() argument 72 u8 pair, s16 mV) in ethnl_cable_test_amplitude() argument 125 static inline int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, in ethnl_cable_test_result() argument 128 return ethnl_cable_test_result_with_src(phydev, pair, result, in ethnl_cable_test_result() 133 u8 pair, u32 cm) in ethnl_cable_test_fault_length() argument 135 return ethnl_cable_test_fault_length_with_src(phydev, pair, cm, in ethnl_cable_test_fault_length()
|
H A D | brcmphy.h | 115 #define MII_BCM54XX_INT_PSERR 0x4000 /* Pair swap error */ 299 #define LRECR_1PAIR 0x0000 /* Select 1 Pair */ 304 #define LRESR_100_1PAIR 0x2000 /* Can do 100Mbps 1 Pair */ 308 #define LRESR_10_1PAIR 0x0200 /* Can do 10Mbps 1 Pair */ 322 #define LREANAA_100_1PAIR 0x0020 /* Can do 100Mbps 1 Pair */ 323 #define LREANAA_100_4PAIR 0x0010 /* Can do 100Mbps 4 Pair */ 324 #define LREANAA_100_2PAIR 0x0008 /* Can do 100Mbps 2 Pair */ 325 #define LREANAA_10_2PAIR 0x0004 /* Can do 10Mbps 2 Pair */ 326 #define LREANAA_10_1PAIR 0x0002 /* Can do 10Mbps 1 Pair */ 337 #define LRELPA_100_1PAIR 0x0020 /* 100Mbps 1 Pair capable */ [all …]
|
/linux/tools/testing/selftests/riscv/vector/ |
H A D | v_helpers.c | 13 struct riscv_hwprobe pair; in is_xtheadvector_supported() local 15 pair.key = RISCV_HWPROBE_KEY_VENDOR_EXT_THEAD_0; in is_xtheadvector_supported() 16 riscv_hwprobe(&pair, 1, 0, NULL, 0); in is_xtheadvector_supported() 17 return pair.value & RISCV_HWPROBE_VENDOR_EXT_XTHEADVECTOR; in is_xtheadvector_supported() 22 struct riscv_hwprobe pair; in is_vector_supported() local 24 pair.key = RISCV_HWPROBE_KEY_IMA_EXT_0; in is_vector_supported() 25 riscv_hwprobe(&pair, 1, 0, NULL, 0); in is_vector_supported() 26 return pair.value & RISCV_HWPROBE_EXT_ZVE32X; in is_vector_supported()
|
/linux/arch/mips/include/asm/ |
H A D | maar.h | 28 * write_maar_pair() - write to a pair of MAARs 29 * @idx: The index of the pair (ie. use MAARs idx*2 & (idx*2)+1). 30 * @lower: The lowest address that the MAAR pair will affect. Must be 32 * @upper: The highest address that the MAAR pair will affect. Must be 37 * Program the pair of MAAR registers specified by idx to apply the attributes 88 * @lower: The lowest address that the MAAR pair will affect. Must be 90 * @upper: The highest address that the MAAR pair will affect. Must be 95 * Describes the configuration of a pair of Memory Accessibility Attribute
|
/linux/arch/riscv/include/asm/ |
H A D | hwprobe.h | 32 static inline bool riscv_hwprobe_pair_cmp(struct riscv_hwprobe *pair, in riscv_hwprobe_pair_cmp() argument 35 if (pair->key != other_pair->key) in riscv_hwprobe_pair_cmp() 38 if (hwprobe_key_is_bitmask(pair->key)) in riscv_hwprobe_pair_cmp() 39 return (pair->value & other_pair->value) == other_pair->value; in riscv_hwprobe_pair_cmp() 41 return pair->value == other_pair->value; in riscv_hwprobe_pair_cmp()
|
/linux/tools/memory-model/litmus-tests/ |
H A D | README | 27 the order of a pair of writes, where each write is to a different 35 order of a pair of writes, where each write is to a different 58 Does a release-acquire pair suffice for the load-buffering 67 Does a unlock+lock pair provides ordering guarantee between a 75 in one process, and use an acquire load followed by a pair of 80 acquire load followed by a pair of spin_is_locked() calls 98 Does a unlock+lock pair provides ordering guarantee between a 182 For example, if the one process writes to a pair of variables, and 213 interleaving descriptions of the relation between a pair of consecutive 214 accesses with descriptions of the second access in the pair.
|
/linux/net/ethtool/ |
H A D | cabletest.c | 169 int ethnl_cable_test_result_with_src(struct phy_device *phydev, u8 pair, in ethnl_cable_test_result_with_src() argument 179 if (nla_put_u8(phydev->skb, ETHTOOL_A_CABLE_RESULT_PAIR, pair)) in ethnl_cable_test_result_with_src() 197 int ethnl_cable_test_fault_length_with_src(struct phy_device *phydev, u8 pair, in ethnl_cable_test_fault_length_with_src() argument 208 if (nla_put_u8(phydev->skb, ETHTOOL_A_CABLE_FAULT_LENGTH_PAIR, pair)) in ethnl_cable_test_fault_length_with_src() 251 cfg->pair = PHY_PAIR_ALL; in ethnl_act_cable_test_tdr_cfg() 274 cfg->pair = nla_get_u8(tb[ETHTOOL_A_CABLE_TEST_TDR_CFG_PAIR]); in ethnl_act_cable_test_tdr_cfg() 275 if (cfg->pair > ETHTOOL_A_CABLE_PAIR_D) { in ethnl_act_cable_test_tdr_cfg() 279 "invalid pair parameter"); in ethnl_act_cable_test_tdr_cfg() 381 u8 pair, s16 mV) in ethnl_cable_test_amplitude() argument 391 if (nla_put_u8(phydev->skb, ETHTOOL_A_CABLE_AMPLITUDE_PAIR, pair)) in ethnl_cable_test_amplitude()
|
/linux/arch/riscv/include/asm/vendor_extensions/ |
H A D | vendor_hwprobe.h | 14 pair->value |= RISCV_HWPROBE_VENDOR_EXT_##ext; \ 23 * _extension_checks is an arbitrary C block to set the values of pair->value 26 #define VENDOR_EXTENSION_SUPPORTED(pair, cpus, per_hart_vendor_bitmap, _extension_checks) \ argument 34 (pair)->value &= ~missing; \
|
H A D | thead_hwprobe.h | 10 void hwprobe_isa_vendor_ext_thead_0(struct riscv_hwprobe *pair, const struct cpumask *cpus); 12 static inline void hwprobe_isa_vendor_ext_thead_0(struct riscv_hwprobe *pair, in hwprobe_isa_vendor_ext_thead_0() argument 15 pair->value = 0; in hwprobe_isa_vendor_ext_thead_0()
|
H A D | sifive_hwprobe.h | 10 void hwprobe_isa_vendor_ext_sifive_0(struct riscv_hwprobe *pair, const struct cpumask *cpus); 12 static inline void hwprobe_isa_vendor_ext_sifive_0(struct riscv_hwprobe *pair, in hwprobe_isa_vendor_ext_sifive_0() argument 15 pair->value = 0; in hwprobe_isa_vendor_ext_sifive_0()
|
/linux/Documentation/devicetree/bindings/arm/marvell/ |
H A D | coherency-fabric.txt | 21 * For "marvell,coherency-fabric", the first pair for the coherency 22 fabric registers, second pair for the per-CPU fabric registers. 24 * For "marvell,armada-375-coherency-fabric", only one pair is needed 27 * For "marvell,armada-380-coherency-fabric", only one pair is needed
|
/linux/Documentation/livepatch/ |
H A D | shadow-vars.rst | 27 stored and retrieved through a <obj, id> pair. 49 - search hashtable for <obj, id> pair 52 - search hashtable for <obj, id> pair 65 - search hashtable for <obj, id> pair 75 - add <obj, id> pair to the global hashtable 117 for this <obj, id> pair.) 198 will use one that was already created for this <obj, id> pair.
|
/linux/tools/memory-model/ |
H A D | lock.cat | 17 * spin_trylock() read-modify-write event pair 19 * spin_trylock() RMW event pair 47 (* The litmus test is invalid if an LKR/LKW event is not part of an RMW pair *) 88 (* Utility macro to convert a single pair to a single-edge relation *) 89 let pair-to-relation p = p ++ 0 105 map pair-to-relation (possible-rfe-noncrit-lf e) 126 map pair-to-relation (possible-rf-ru e)
|
/linux/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, pair->pio_mode, &p, T, 1); in ali_set_dmamode() 267 if (ata_dma_enabled(pair)) { in ali_set_dmamode() 268 ata_timing_compute(pair, pair->dma_mode, &p, T, 1); in ali_set_dmamode()
|
/linux/net/core/ |
H A D | netprio_cgroup.c | 87 * netprio_prio - return the effective netprio of a cgroup-net_device pair 88 * @css: css part of the target pair 89 * @dev: net_device part of the target pair 104 * netprio_set_prio - set netprio on a cgroup-net_device pair 105 * @css: css part of the target pair 106 * @dev: net_device part of the target pair 109 * Set netprio to @prio on @css-@dev pair. Should be called under rtnl
|
/linux/include/linux/mtd/ |
H A D | mtd.h | 116 * @pair: pair id 119 * The term "pair" is used here, even though TLC NANDs might group pages by 3 120 * (3 bits in a single cell). A pair should regroup all pages that are sharing 123 * @group is defining the position of a page in a given pair. It can also be 132 * pair-0 page-0 page-4 133 * pair-1 page-1 page-5 134 * pair-2 page-2 page-8 136 * pair-127 page-251 page-255 139 * Note that the "group" and "pair" terms were extracted from Samsung and 144 int pair; member [all …]
|
/linux/Documentation/networking/pse-pd/ |
H A D | introduction.rst | 22 with single balanced twisted-pair PHYs, as per Clause 104 of IEEE 802.3. PoDL 24 and data delivery over a single pair is advantageous. 64 Summary of Clause 104: Power over Data Lines (PoDL) of Single Balanced Twisted-Pair Ethernet 69 (PSEs). These are designed for use with single balanced twisted-pair Ethernet 73 balanced twisted-pair Ethernet connection.
|
/linux/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 258 pair = cmpr[1]; in decompress_chunk() 259 pair <<= 8; in decompress_chunk() 260 pair |= cmpr[0]; in decompress_chunk() 265 length = parse_pair(pair, &offset, index); in decompress_chunk()
|