/linux-6.12.1/drivers/extcon/ |
D | extcon-intel-cht-wc.c | 117 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/ |
D | match.c | 11 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/ |
D | cpufeature.h | 110 #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 …]
|
D | vendor_extensions.h | 45 #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 …]
|
D | trace.h | 11 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/include/net/netfilter/ |
D | nf_conntrack_extend.h | 45 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()
|
D | nf_conntrack_labels.h | 26 struct nf_ct_ext *ext = ct->ext; in nf_ct_labels_find() local 28 if (!ext || !__nf_ct_ext_exist(ext, NF_CT_EXT_LABELS)) in nf_ct_labels_find() 31 return (void *)ct->ext + ct->ext->offset[NF_CT_EXT_LABELS]; in nf_ct_labels_find()
|
/linux-6.12.1/Documentation/userspace-api/media/v4l/ |
D | common.rst | 42 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/net/netfilter/ |
D | nft_set_hash.c | 32 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 …]
|
D | nf_conntrack_extend.c | 103 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()
|
D | nft_set_rbtree.c | 28 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 …]
|
D | nft_lookup.c | 29 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 …]
|
/linux-6.12.1/drivers/gpu/drm/i915/ |
D | i915_user_extensions.c | 16 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/drivers/hid/ |
D | hid-wiimote-modules.c | 820 static void wiimod_nunchuk_in_ext(struct wiimote_data *wdata, const __u8 *ext) in wiimod_nunchuk_in_ext() argument 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() 869 x |= (ext[5] >> 2) & 0x03; in wiimod_nunchuk_in_ext() [all …]
|
/linux-6.12.1/tools/testing/selftests/ |
D | gen_kselftest_tar.sh | 15 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!"
|
/linux-6.12.1/fs/ext4/ |
D | ext4_extents.h | 197 static inline void ext4_ext_mark_unwritten(struct ext4_extent *ext) in ext4_ext_mark_unwritten() argument 200 BUG_ON((le16_to_cpu(ext->ee_len) & ~EXT_INIT_MAX_LEN) == 0); in ext4_ext_mark_unwritten() 201 ext->ee_len |= cpu_to_le16(EXT_INIT_MAX_LEN); in ext4_ext_mark_unwritten() 204 static inline int ext4_ext_is_unwritten(struct ext4_extent *ext) in ext4_ext_is_unwritten() argument 207 return (le16_to_cpu(ext->ee_len) > EXT_INIT_MAX_LEN); in ext4_ext_is_unwritten() 210 static inline int ext4_ext_get_actual_len(struct ext4_extent *ext) in ext4_ext_get_actual_len() argument 212 return (le16_to_cpu(ext->ee_len) <= EXT_INIT_MAX_LEN ? in ext4_ext_get_actual_len() 213 le16_to_cpu(ext->ee_len) : in ext4_ext_get_actual_len() 214 (le16_to_cpu(ext->ee_len) - EXT_INIT_MAX_LEN)); in ext4_ext_get_actual_len() 217 static inline void ext4_ext_mark_initialized(struct ext4_extent *ext) in ext4_ext_mark_initialized() argument [all …]
|
/linux-6.12.1/drivers/media/common/saa7146/ |
D | saa7146_core.c | 284 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() 448 if (ext->attach(dev, pci_ext)) { in saa7146_init_one() 501 dev->ext->detach(dev); in saa7146_remove_one() [all …]
|
/linux-6.12.1/tools/testing/selftests/kvm/ |
D | guest_print_test.c | 41 #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/fs/hfs/ |
D | extent.c | 24 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/arch/riscv/kernel/ |
D | cpufeature.c | 389 static void riscv_isa_set_ext(const struct riscv_isa_ext_data *ext, unsigned long *bitmap) in riscv_isa_set_ext() argument 391 if (ext->id != RISCV_ISA_EXT_INVALID) in riscv_isa_set_ext() 392 set_bit(ext->id, bitmap); in riscv_isa_set_ext() 394 for (int i = 0; i < ext->subset_ext_size; i++) { in riscv_isa_set_ext() 395 if (ext->subset_ext_ids[i] != RISCV_ISA_EXT_INVALID) in riscv_isa_set_ext() 396 set_bit(ext->subset_ext_ids[i], bitmap); in riscv_isa_set_ext() 422 const struct riscv_isa_ext_data *ext; in riscv_resolve_isa() local 435 ext = riscv_get_isa_ext_data(bit); in riscv_resolve_isa() 437 if (ext && ext->validate) { in riscv_resolve_isa() 438 ret = ext->validate(ext, resolved_isa); in riscv_resolve_isa() [all …]
|
/linux-6.12.1/fs/bcachefs/ |
D | recovery.c | 48 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/net/netfilter/ipset/ |
D | ip_set_hash_ipmark.c | 87 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 …]
|
D | ip_set_hash_ip.c | 87 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); in hash_ip4_kadt() local 96 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_ip4_kadt() 106 struct ip_set_ext ext = IP_SET_INIT_UEXT(set); in hash_ip4_uadt() local 120 ret = ip_set_get_extensions(set, tb, &ext); in hash_ip4_uadt() 130 return adtfn(set, &e, &ext, &ext, flags); in hash_ip4_uadt() 160 ret = adtfn(set, &e, &ext, &ext, flags); in hash_ip4_uadt() 223 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); in hash_ip6_kadt() local 230 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_ip6_kadt() 240 struct ip_set_ext ext = IP_SET_INIT_UEXT(set); in hash_ip6_uadt() local 261 ret = ip_set_get_extensions(set, tb, &ext); in hash_ip6_uadt() [all …]
|
/linux-6.12.1/fs/hfsplus/ |
D | extents.c | 26 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/net/wireless/intel/ipw2x00/ |
D | libipw_wx.c | 508 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 …]
|