Home
last modified time | relevance | path

Searched full:ext (Results 1 – 25 of 1597) sorted by relevance

12345678910>>...64

/linux-6.12.1/drivers/extcon/
Dextcon-intel-cht-wc.c117 static int cht_wc_extcon_get_id(struct cht_wc_extcon_data *ext, int pwrsrc_sts) in cht_wc_extcon_get_id() argument
143 static int cht_wc_extcon_get_charger(struct cht_wc_extcon_data *ext, in cht_wc_extcon_get_charger() argument
152 ret = regmap_read(ext->regmap, CHT_WC_USBSRC, &usbsrc); in cht_wc_extcon_get_charger()
154 dev_err(ext->dev, "Error reading usbsrc: %d\n", ret); in cht_wc_extcon_get_charger()
169 dev_warn(ext->dev, "Could not detect charger type\n"); in cht_wc_extcon_get_charger()
171 dev_warn(ext->dev, "Timeout detecting charger type\n"); in cht_wc_extcon_get_charger()
181 dev_warn(ext->dev, in cht_wc_extcon_get_charger()
184 ext->usb_type = POWER_SUPPLY_USB_TYPE_SDP; in cht_wc_extcon_get_charger()
189 ext->usb_type = POWER_SUPPLY_USB_TYPE_SDP; in cht_wc_extcon_get_charger()
192 ext->usb_type = POWER_SUPPLY_USB_TYPE_CDP; in cht_wc_extcon_get_charger()
[all …]
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/flower/
Dmatch.c11 nfp_flower_compile_meta(struct nfp_flower_meta_tci *ext, in nfp_flower_compile_meta() argument
15 ext->nfp_flow_key_layer = key_type; in nfp_flower_compile_meta()
16 ext->mask_id = ~0; in nfp_flower_compile_meta()
23 nfp_flower_compile_tci(struct nfp_flower_meta_tci *ext, in nfp_flower_compile_tci() argument
46 ext->tci |= cpu_to_be16((key_tci & msk_tci)); in nfp_flower_compile_tci()
52 nfp_flower_compile_meta_tci(struct nfp_flower_meta_tci *ext, in nfp_flower_compile_meta_tci() argument
56 memset(ext, 0, sizeof(struct nfp_flower_meta_tci)); in nfp_flower_compile_meta_tci()
59 nfp_flower_compile_meta(ext, msk, key_type); in nfp_flower_compile_meta_tci()
62 nfp_flower_compile_tci(ext, msk, rule); in nfp_flower_compile_meta_tci()
95 nfp_flower_compile_mac(struct nfp_flower_mac_mpls *ext, in nfp_flower_compile_mac() argument
[all …]
/linux-6.12.1/arch/riscv/include/asm/
Dcpufeature.h110 #define riscv_isa_extension_available(isa_bitmap, ext) \ argument
111 __riscv_isa_extension_available(isa_bitmap, RISCV_ISA_EXT_##ext)
114 const unsigned long ext) in __riscv_has_extension_likely() argument
116 asm goto(ALTERNATIVE("j %l[l_no]", "nop", %[vendor], %[ext], 1) in __riscv_has_extension_likely()
118 : [vendor] "i" (vendor), [ext] "i" (ext) in __riscv_has_extension_likely()
128 const unsigned long ext) in __riscv_has_extension_unlikely() argument
130 asm goto(ALTERNATIVE("nop", "j %l[l_yes]", %[vendor], %[ext], 1) in __riscv_has_extension_unlikely()
132 : [vendor] "i" (vendor), [ext] "i" (ext) in __riscv_has_extension_unlikely()
141 static __always_inline bool riscv_has_extension_unlikely(const unsigned long ext) in riscv_has_extension_unlikely() argument
143 compiletime_assert(ext < RISCV_ISA_EXT_MAX, "ext must be < RISCV_ISA_EXT_MAX"); in riscv_has_extension_unlikely()
[all …]
Dvendor_extensions.h45 #define riscv_cpu_isa_vendor_extension_available(cpu, vendor, ext) \ argument
46 __riscv_isa_vendor_extension_available(cpu, vendor, RISCV_ISA_VENDOR_EXT_##ext)
47 #define riscv_isa_vendor_extension_available(vendor, ext) \ argument
49 RISCV_ISA_VENDOR_EXT_##ext)
52 const unsigned long ext) in riscv_has_vendor_extension_likely() argument
59 ext + RISCV_VENDOR_EXT_ALTERNATIVES_BASE); in riscv_has_vendor_extension_likely()
61 return __riscv_isa_vendor_extension_available(VENDOR_EXT_ALL_CPUS, vendor, ext); in riscv_has_vendor_extension_likely()
65 const unsigned long ext) in riscv_has_vendor_extension_unlikely() argument
72 ext + RISCV_VENDOR_EXT_ALTERNATIVES_BASE); in riscv_has_vendor_extension_unlikely()
74 return __riscv_isa_vendor_extension_available(VENDOR_EXT_ALL_CPUS, vendor, ext); in riscv_has_vendor_extension_unlikely()
[all …]
Dtrace.h11 TP_PROTO(int ext, int fid),
12 TP_ARGS(ext, fid),
13 TP_CONDITION(ext != SBI_EXT_HSM),
16 __field(int, ext)
21 __entry->ext = ext;
25 TP_printk("ext=0x%x fid=%d", __entry->ext, __entry->fid)
29 TP_PROTO(int ext, long error, long value),
30 TP_ARGS(ext, error, value),
31 TP_CONDITION(ext != SBI_EXT_HSM),
/linux-6.12.1/tools/perf/pmu-events/arch/s390/cf_z16/
Dpai_ext.json3 "Unit": "PAI-EXT",
10 "Unit": "PAI-EXT",
16 "Unit": "PAI-EXT",
22 "Unit": "PAI-EXT",
28 "Unit": "PAI-EXT",
34 "Unit": "PAI-EXT",
40 "Unit": "PAI-EXT",
46 "Unit": "PAI-EXT",
52 "Unit": "PAI-EXT",
58 "Unit": "PAI-EXT",
[all …]
/linux-6.12.1/net/netfilter/
Dnf_conntrack_h323_types.c27 {FNAME("routing") CHOICE, 1, 2, 2, SKIP | EXT, 0,
51 {FNAME("h221NonStandard") SEQ, 0, 3, 3, SKIP | EXT, 0,
56 {FNAME("nonStandardIdentifier") CHOICE, 1, 2, 2, SKIP | EXT, 0,
64 {FNAME("ipSourceRoute") SEQ, 0, 4, 4, SKIP | EXT, 0,
68 {FNAME("ip6Address") SEQ, 0, 2, 2, DECODE | EXT,
81 {FNAME("transportID") CHOICE, 3, 7, 7, SKIP | EXT, 0, NULL},
83 {FNAME("partyNumber") CHOICE, 3, 5, 5, SKIP | EXT, 0, NULL},
84 {FNAME("mobileUIM") CHOICE, 1, 2, 2, SKIP | EXT, 0, NULL},
88 {FNAME("item") CHOICE, 1, 2, 7, SKIP | EXT, 0, _AliasAddress},
92 {FNAME("vendor") SEQ, 0, 3, 3, SKIP | EXT, 0, _H221NonStandard},
[all …]
Dnft_set_hash.c32 struct nft_set_ext ext; member
53 return jhash(nft_set_ext_key(&he->ext), len, seed); in nft_rhash_obj()
62 if (memcmp(nft_set_ext_key(&he->ext), x->key, x->set->klen)) in nft_rhash_cmp()
64 if (nft_set_elem_is_dead(&he->ext)) in nft_rhash_cmp()
66 if (__nft_set_elem_expired(&he->ext, x->tstamp)) in nft_rhash_cmp()
68 if (!nft_set_elem_active(&he->ext, x->genmask)) in nft_rhash_cmp()
83 const u32 *key, const struct nft_set_ext **ext) in nft_rhash_lookup() argument
96 *ext = &he->ext; in nft_rhash_lookup()
128 const struct nft_set_ext **ext) in nft_rhash_update() argument
162 *ext = &he->ext; in nft_rhash_update()
[all …]
Dnft_lookup.c29 const u32 *key, const struct nft_set_ext **ext) in nft_set_do_lookup() argument
32 return nft_hash_lookup_fast(net, set, key, ext); in nft_set_do_lookup()
34 return nft_hash_lookup(net, set, key, ext); in nft_set_do_lookup()
37 return nft_rhash_lookup(net, set, key, ext); in nft_set_do_lookup()
40 return nft_bitmap_lookup(net, set, key, ext); in nft_set_do_lookup()
43 return nft_pipapo_lookup(net, set, key, ext); in nft_set_do_lookup()
46 return nft_pipapo_avx2_lookup(net, set, key, ext); in nft_set_do_lookup()
50 return nft_rbtree_lookup(net, set, key, ext); in nft_set_do_lookup()
53 return set->ops->lookup(net, set, key, ext); in nft_set_do_lookup()
64 const struct nft_set_ext *ext = NULL; in nft_lookup_eval() local
[all …]
Dnft_set_rbtree.c28 struct nft_set_ext ext; member
33 return nft_set_ext_exists(&rbe->ext, NFT_SET_EXT_FLAGS) && in nft_rbtree_interval_end()
34 (*nft_set_ext_flags(&rbe->ext) & NFT_SET_ELEM_INTERVAL_END); in nft_rbtree_interval_end()
46 return memcmp(nft_set_ext_key(&e1->ext), nft_set_ext_key(&e2->ext), in nft_rbtree_cmp()
52 return nft_set_elem_expired(&rbe->ext); in nft_rbtree_elem_expired()
56 const u32 *key, const struct nft_set_ext **ext, in __nft_rbtree_lookup() argument
72 d = memcmp(nft_set_ext_key(&rbe->ext), key, set->klen); in __nft_rbtree_lookup()
84 if (!nft_set_elem_active(&rbe->ext, genmask)) { in __nft_rbtree_lookup()
100 *ext = &rbe->ext; in __nft_rbtree_lookup()
106 nft_set_elem_active(&interval->ext, genmask) && in __nft_rbtree_lookup()
[all …]
Dnf_conntrack_extend.c103 if (ct->ext) { in nf_ct_ext_add()
104 const struct nf_ct_ext *old = ct->ext; in nf_ct_ext_add()
117 new = krealloc(ct->ext, alloc, gfp); in nf_ct_ext_add()
121 if (!ct->ext) { in nf_ct_ext_add()
130 ct->ext = new; in nf_ct_ext_add()
136 void *__nf_ct_ext_find(const struct nf_ct_ext *ext, u8 id) in __nf_ct_ext_find() argument
139 unsigned int this_id = READ_ONCE(ext->gen_id); in __nf_ct_ext_find()
141 if (!__nf_ct_ext_exist(ext, id)) in __nf_ct_ext_find()
144 if (this_id == 0 || ext->gen_id == gen_id) in __nf_ct_ext_find()
145 return (void *)ext + ext->offset[id]; in __nf_ct_ext_find()
/linux-6.12.1/include/net/netfilter/
Dnf_conntrack_extend.h45 static inline bool __nf_ct_ext_exist(const struct nf_ct_ext *ext, u8 id) in __nf_ct_ext_exist() argument
47 return !!ext->offset[id]; in __nf_ct_ext_exist()
52 return (ct->ext && __nf_ct_ext_exist(ct->ext, id)); in nf_ct_ext_exist()
55 void *__nf_ct_ext_find(const struct nf_ct_ext *ext, u8 id);
59 struct nf_ct_ext *ext = ct->ext; in nf_ct_ext_find() local
61 if (!ext || !__nf_ct_ext_exist(ext, id)) in nf_ct_ext_find()
64 if (unlikely(ext->gen_id)) in nf_ct_ext_find()
65 return __nf_ct_ext_find(ext, id); in nf_ct_ext_find()
67 return (void *)ct->ext + ct->ext->offset[id]; in nf_ct_ext_find()
73 /* ext genid. if ext->id != ext_genid, extensions cannot be used
/linux-6.12.1/Documentation/userspace-api/media/v4l/
Dcommon.rst42 ext-ctrls-camera
43 ext-ctrls-flash
44 ext-ctrls-image-source
45 ext-ctrls-image-process
46 ext-ctrls-codec
47 ext-ctrls-codec-stateless
48 ext-ctrls-jpeg
49 ext-ctrls-dv
50 ext-ctrls-rf-tuner
51 ext-ctrls-fm-tx
[all …]
/linux-6.12.1/drivers/clk/sprd/
Dums512-clk.c33 static CLK_FIXED_FACTOR_FW_NAME(clk_26m_aud, "clk-26m-aud", "ext-26m", 1, 1, 0);
34 static CLK_FIXED_FACTOR_FW_NAME(clk_13m, "clk-13m", "ext-26m", 2, 1, 0);
35 static CLK_FIXED_FACTOR_FW_NAME(clk_6m5, "clk-6m5", "ext-26m", 4, 1, 0);
36 static CLK_FIXED_FACTOR_FW_NAME(clk_4m3, "clk-4m3", "ext-26m", 6, 1, 0);
37 static CLK_FIXED_FACTOR_FW_NAME(clk_2m, "clk-2m", "ext-26m", 13, 1, 0);
38 static CLK_FIXED_FACTOR_FW_NAME(clk_1m, "clk-1m", "ext-26m", 26, 1, 0);
39 static CLK_FIXED_FACTOR_FW_NAME(clk_250k, "clk-250k", "ext-26m", 104, 1, 0);
43 static SPRD_PLL_SC_GATE_CLK_FW_NAME(isppll_gate, "isppll-gate", "ext-26m", 0x8c,
45 static SPRD_PLL_SC_GATE_CLK_FW_NAME(dpll0_gate, "dpll0-gate", "ext-26m", 0x98,
47 static SPRD_PLL_SC_GATE_CLK_FW_NAME(dpll1_gate, "dpll1-gate", "ext-26m", 0x9c,
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/
Di915_user_extensions.c16 int i915_user_extensions(struct i915_user_extension __user *ext, in i915_user_extensions() argument
23 while (ext) { in i915_user_extensions()
31 err = check_user_mbz(&ext->flags); in i915_user_extensions()
35 for (i = 0; i < ARRAY_SIZE(ext->rsvd); i++) { in i915_user_extensions()
36 err = check_user_mbz(&ext->rsvd[i]); in i915_user_extensions()
41 if (get_user(name, &ext->name)) in i915_user_extensions()
48 err = tbl[name](ext, data); in i915_user_extensions()
53 if (get_user(next, &ext->next_extension) || in i915_user_extensions()
57 ext = u64_to_user_ptr(next); in i915_user_extensions()
/linux-6.12.1/fs/hfs/
Dextent.c24 key->ext.FkType = type; in hfs_ext_build_key()
25 key->ext.FNum = cpu_to_be32(cnid); in hfs_ext_build_key()
26 key->ext.FABN = cpu_to_be16(block); in hfs_ext_build_key()
55 fnum1 = key1->ext.FNum; in hfs_ext_keycmp()
56 fnum2 = key2->ext.FNum; in hfs_ext_keycmp()
59 if (key1->ext.FkType != key2->ext.FkType) in hfs_ext_keycmp()
60 return key1->ext.FkType < key2->ext.FkType ? -1 : 1; in hfs_ext_keycmp()
62 block1 = key1->ext.FABN; in hfs_ext_keycmp()
63 block2 = key2->ext.FABN; in hfs_ext_keycmp()
74 static u16 hfs_ext_find_block(struct hfs_extent *ext, u16 off) in hfs_ext_find_block() argument
[all …]
/linux-6.12.1/fs/bcachefs/
Drecovery.c48 bch2_sb_field_get(c->disk_sb.sb, ext)->btrees_lost_data |= cpu_to_le64(b); in bch2_btree_lost_data()
61 struct bch_sb_field_ext *ext = bch2_sb_field_get(c->disk_sb.sb, ext); in bch2_reconstruct_alloc() local
63 __set_bit_le64(BCH_RECOVERY_PASS_STABLE_check_allocations, ext->recovery_passes_required); in bch2_reconstruct_alloc()
64 __set_bit_le64(BCH_RECOVERY_PASS_STABLE_check_alloc_info, ext->recovery_passes_required); in bch2_reconstruct_alloc()
65 __set_bit_le64(BCH_RECOVERY_PASS_STABLE_check_lrus, ext->recovery_passes_required); in bch2_reconstruct_alloc()
66 …__set_bit_le64(BCH_RECOVERY_PASS_STABLE_check_extents_to_backpointers, ext->recovery_passes_requir… in bch2_reconstruct_alloc()
67 __set_bit_le64(BCH_RECOVERY_PASS_STABLE_check_alloc_to_lru_refs, ext->recovery_passes_required); in bch2_reconstruct_alloc()
69 __set_bit_le64(BCH_FSCK_ERR_ptr_to_missing_alloc_key, ext->errors_silent); in bch2_reconstruct_alloc()
70 __set_bit_le64(BCH_FSCK_ERR_ptr_gen_newer_than_bucket_gen, ext->errors_silent); in bch2_reconstruct_alloc()
71 __set_bit_le64(BCH_FSCK_ERR_stale_dirty_ptr, ext->errors_silent); in bch2_reconstruct_alloc()
[all …]
/linux-6.12.1/fs/hfsplus/
Dextents.c26 k1id = k1->ext.cnid; in hfsplus_ext_cmp_key()
27 k2id = k2->ext.cnid; in hfsplus_ext_cmp_key()
31 if (k1->ext.fork_type != k2->ext.fork_type) in hfsplus_ext_cmp_key()
32 return k1->ext.fork_type < k2->ext.fork_type ? -1 : 1; in hfsplus_ext_cmp_key()
34 k1s = k1->ext.start_block; in hfsplus_ext_cmp_key()
35 k2s = k2->ext.start_block; in hfsplus_ext_cmp_key()
45 key->ext.cnid = cpu_to_be32(cnid); in hfsplus_ext_build_key()
46 key->ext.start_block = cpu_to_be32(block); in hfsplus_ext_build_key()
47 key->ext.fork_type = type; in hfsplus_ext_build_key()
48 key->ext.pad = 0; in hfsplus_ext_build_key()
[all …]
/linux-6.12.1/drivers/media/common/saa7146/
Dsaa7146_core.c284 if (dev->ext) { in interrupt_hw()
285 if (dev->ext->irq_mask & isr) { in interrupt_hw()
286 if (dev->ext->irq_func) in interrupt_hw()
287 dev->ext->irq_func(dev, &isr); in interrupt_hw()
288 isr &= ~dev->ext->irq_mask; in interrupt_hw()
332 struct saa7146_extension *ext = pci_ext->ext; in saa7146_init_one() local
425 dev->ext = ext; in saa7146_init_one()
443 if (ext->probe && ext->probe(dev)) { in saa7146_init_one()
444 DEB_D("ext->probe() failed for %p. skipping device.\n", dev); in saa7146_init_one()
448 if (ext->attach(dev, pci_ext)) { in saa7146_init_one()
[all …]
/linux-6.12.1/net/netfilter/ipset/
Dip_set_hash_ipmark.c87 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); in hash_ipmark4_kadt() local
93 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_ipmark4_kadt()
103 struct ip_set_ext ext = IP_SET_INIT_UEXT(set); in hash_ipmark4_uadt() local
118 ret = ip_set_get_extensions(set, tb, &ext); in hash_ipmark4_uadt()
129 ret = adtfn(set, &e, &ext, &ext, flags); in hash_ipmark4_uadt()
159 ret = adtfn(set, &e, &ext, &ext, flags); in hash_ipmark4_uadt()
222 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); in hash_ipmark6_kadt() local
228 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_ipmark6_kadt()
238 struct ip_set_ext ext = IP_SET_INIT_UEXT(set); in hash_ipmark6_uadt() local
260 ret = ip_set_get_extensions(set, tb, &ext); in hash_ipmark6_uadt()
[all …]
/linux-6.12.1/sound/core/seq/
Dseq_memory.c38 * ext.data.len = length
39 * ext.data.ptr = buffer pointer
43 * ext.data.len = length | SNDRV_SEQ_EXT_USRPTR
44 * ext.data.ptr = userspace pointer
48 * ext.data.len = length | SNDRV_SEQ_EXT_CHAINED
49 * ext.data.ptr = the additiona cell head
63 return event->data.ext.len & ~SNDRV_SEQ_EXT_MASK; in get_var_len()
81 if (event->data.ext.len & SNDRV_SEQ_EXT_USRPTR) { in dump_var_event()
83 char __user *curptr = (char __force __user *)event->data.ext.ptr; in dump_var_event()
100 if (!(event->data.ext.len & SNDRV_SEQ_EXT_CHAINED)) in dump_var_event()
[all …]
/linux-6.12.1/drivers/hid/
Dhid-wiimote-modules.c820 static void wiimod_nunchuk_in_ext(struct wiimote_data *wdata, const __u8 *ext) in wiimod_nunchuk_in_ext() argument
843 * 5 | Speed Z <9:3> | EXT | in wiimod_nunchuk_in_ext()
854 bx = ext[0]; in wiimod_nunchuk_in_ext()
855 by = ext[1]; in wiimod_nunchuk_in_ext()
859 x = ext[2] << 2; in wiimod_nunchuk_in_ext()
860 y = ext[3] << 2; in wiimod_nunchuk_in_ext()
861 z = ext[4] << 2; in wiimod_nunchuk_in_ext()
864 x |= (ext[5] >> 3) & 0x02; in wiimod_nunchuk_in_ext()
865 y |= (ext[5] >> 4) & 0x02; in wiimod_nunchuk_in_ext()
867 z |= (ext[5] >> 5) & 0x06; in wiimod_nunchuk_in_ext()
[all …]
/linux-6.12.1/drivers/net/wireless/intel/ipw2x00/
Dlibipw_wx.c508 struct iw_encode_ext *ext = (struct iw_encode_ext *)extra; in libipw_wx_set_encodeext() local
527 if (ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) { in libipw_wx_set_encodeext()
532 if (idx != 0 && ext->alg != IW_ENCODE_ALG_WEP) in libipw_wx_set_encodeext()
542 ext->alg == IW_ENCODE_ALG_NONE) { in libipw_wx_set_encodeext()
567 switch (ext->alg) { in libipw_wx_set_encodeext()
582 dev->name, ext->alg); in libipw_wx_set_encodeext()
594 dev->name, ext->alg); in libipw_wx_set_encodeext()
620 if (ext->key_len > 0 && (*crypt)->ops->set_key && in libipw_wx_set_encodeext()
621 (*crypt)->ops->set_key(ext->key, ext->key_len, ext->rx_seq, in libipw_wx_set_encodeext()
629 if (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) { in libipw_wx_set_encodeext()
[all …]
/linux-6.12.1/tools/testing/selftests/kvm/
Dguest_print_test.c41 #define TYPE(fn, ext, fmt_t, T) TYPE_##ext, argument
49 #define BUILD_TYPE_STRINGS_AND_HELPER(fn, ext, fmt_t, T) \ argument
50 const char *PRINTF_FMT_##ext = "Got params a = " fmt_t " and b = " fmt_t; \
51 const char *ASSERT_FMT_##ext = "Expected " fmt_t ", got " fmt_t " instead"; \
57 snprintf(expected_printf, UCALL_BUFFER_LEN, PRINTF_FMT_##ext, a, b); \
58 snprintf(expected_assert, UCALL_BUFFER_LEN, ASSERT_FMT_##ext, a, b); \
59 vals = (struct guest_vals){ (uint64_t)a, (uint64_t)b, TYPE_##ext }; \
64 #define TYPE(fn, ext, fmt_t, T) \ argument
65 BUILD_TYPE_STRINGS_AND_HELPER(fn, ext, fmt_t, T)
73 #define TYPE(fn, ext, fmt_t, T) \ in guest_code() argument
[all …]
/linux-6.12.1/tools/testing/selftests/
Dgen_kselftest_tar.sh15 ext=".tar.gz"
20 ext=".tar"
24 ext=".tar.gz"
28 ext=".tar.bz2"
32 ext=".tar.xz"
51 (cd "$install_work"; tar $copts "$dest"/kselftest${ext} $install_name)
57 echo "Kselftest archive kselftest${ext} created!"

12345678910>>...64