/linux-6.1.9/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.1.9/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.1.9/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()
|
D | nf_tables.h | 425 const struct nft_set_ext **ext); 433 const struct nft_set_ext **ext); 440 struct nft_set_ext **ext); 714 static inline void nft_set_ext_init(struct nft_set_ext *ext, in nft_set_ext_init() argument 717 memcpy(ext->offset, tmpl->offset, sizeof(ext->offset)); in nft_set_ext_init() 720 static inline bool __nft_set_ext_exists(const struct nft_set_ext *ext, u8 id) in __nft_set_ext_exists() argument 722 return !!ext->offset[id]; in __nft_set_ext_exists() 725 static inline bool nft_set_ext_exists(const struct nft_set_ext *ext, u8 id) in nft_set_ext_exists() argument 727 return ext && __nft_set_ext_exists(ext, id); in nft_set_ext_exists() 730 static inline void *nft_set_ext(const struct nft_set_ext *ext, u8 id) in nft_set_ext() argument [all …]
|
D | nf_tables_core.h | 96 const u32 *key, const struct nft_set_ext **ext); 98 const u32 *key, const struct nft_set_ext **ext); 100 const u32 *key, const struct nft_set_ext **ext); 103 const u32 *key, const struct nft_set_ext **ext); 105 const u32 *key, const struct nft_set_ext **ext); 107 const u32 *key, const struct nft_set_ext **ext); 111 const u32 *key, const struct nft_set_ext **ext) in nft_set_do_lookup() argument 113 return set->ops->lookup(net, set, key, ext); in nft_set_do_lookup() 119 const u32 *key, const struct nft_set_ext **ext); 122 const u32 *key, const struct nft_set_ext **ext);
|
/linux-6.1.9/net/netfilter/ |
D | nft_set_hash.c | 31 struct nft_set_ext ext; member 51 return jhash(nft_set_ext_key(&he->ext), len, seed); in nft_rhash_obj() 60 if (memcmp(nft_set_ext_key(&he->ext), x->key, x->set->klen)) in nft_rhash_cmp() 62 if (nft_set_elem_expired(&he->ext)) in nft_rhash_cmp() 64 if (!nft_set_elem_active(&he->ext, x->genmask)) in nft_rhash_cmp() 79 const u32 *key, const struct nft_set_ext **ext) in nft_rhash_lookup() argument 91 *ext = &he->ext; in nft_rhash_lookup() 120 const struct nft_set_ext **ext) in nft_rhash_update() argument 151 *ext = &he->ext; in nft_rhash_update() 163 struct nft_set_ext **ext) in nft_rhash_insert() argument [all …]
|
D | nft_set_rbtree.c | 27 struct nft_set_ext ext; member 32 return nft_set_ext_exists(&rbe->ext, NFT_SET_EXT_FLAGS) && in nft_rbtree_interval_end() 33 (*nft_set_ext_flags(&rbe->ext) & NFT_SET_ELEM_INTERVAL_END); in nft_rbtree_interval_end() 45 return memcmp(nft_set_ext_key(&e1->ext), nft_set_ext_key(&e2->ext), in nft_rbtree_cmp() 50 const u32 *key, const struct nft_set_ext **ext, in __nft_rbtree_lookup() argument 66 d = memcmp(nft_set_ext_key(&rbe->ext), key, set->klen); in __nft_rbtree_lookup() 78 if (!nft_set_elem_active(&rbe->ext, genmask)) { in __nft_rbtree_lookup() 83 if (nft_set_elem_expired(&rbe->ext)) in __nft_rbtree_lookup() 94 *ext = &rbe->ext; in __nft_rbtree_lookup() 100 nft_set_elem_active(&interval->ext, genmask) && in __nft_rbtree_lookup() [all …]
|
D | nft_lookup.c | 28 const u32 *key, const struct nft_set_ext **ext) in nft_set_do_lookup() argument 31 return nft_hash_lookup_fast(net, set, key, ext); in nft_set_do_lookup() 33 return nft_hash_lookup(net, set, key, ext); in nft_set_do_lookup() 36 return nft_rhash_lookup(net, set, key, ext); in nft_set_do_lookup() 39 return nft_bitmap_lookup(net, set, key, ext); in nft_set_do_lookup() 42 return nft_pipapo_lookup(net, set, key, ext); in nft_set_do_lookup() 45 return nft_pipapo_avx2_lookup(net, set, key, ext); in nft_set_do_lookup() 49 return nft_rbtree_lookup(net, set, key, ext); in nft_set_do_lookup() 52 return set->ops->lookup(net, set, key, ext); in nft_set_do_lookup() 63 const struct nft_set_ext *ext = NULL; in nft_lookup_eval() local [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_bitmap.c | 17 struct nft_set_ext ext; member 78 const u32 *key, const struct nft_set_ext **ext) in nft_bitmap_lookup() argument 97 if (memcmp(nft_set_ext_key(&be->ext), in nft_bitmap_elem_find() 98 nft_set_ext_key(&this->ext), set->klen) || in nft_bitmap_elem_find() 99 !nft_set_elem_active(&be->ext, genmask)) in nft_bitmap_elem_find() 115 if (memcmp(nft_set_ext_key(&be->ext), elem->key.val.data, set->klen) || in nft_bitmap_get() 116 !nft_set_elem_active(&be->ext, genmask)) in nft_bitmap_get() 126 struct nft_set_ext **ext) in nft_bitmap_insert() argument 135 *ext = &be->ext; in nft_bitmap_insert() 139 nft_bitmap_location(set, nft_set_ext_key(&new->ext), &idx, &off); in nft_bitmap_insert() [all …]
|
/linux-6.1.9/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.1.9/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() 54 overflows_type(next, ext)) in i915_user_extensions() 57 ext = u64_to_user_ptr(next); in i915_user_extensions()
|
/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/staging/media/deprecated/saa7146/common/ |
D | saa7146_core.c | 296 if (dev->ext) { in interrupt_hw() 297 if (dev->ext->irq_mask & isr) { in interrupt_hw() 298 if (dev->ext->irq_func) in interrupt_hw() 299 dev->ext->irq_func(dev, &isr); in interrupt_hw() 300 isr &= ~dev->ext->irq_mask; in interrupt_hw() 344 struct saa7146_extension *ext = pci_ext->ext; in saa7146_init_one() local 437 dev->ext = ext; in saa7146_init_one() 455 if (ext->probe && ext->probe(dev)) { in saa7146_init_one() 460 if (ext->attach(dev, pci_ext)) { in saa7146_init_one() 513 dev->ext->detach(dev); in saa7146_remove_one() [all …]
|
/linux-6.1.9/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.1.9/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 | 85 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); in hash_ip4_kadt() local 94 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_ip4_kadt() 104 struct ip_set_ext ext = IP_SET_INIT_UEXT(set); in hash_ip4_uadt() local 118 ret = ip_set_get_extensions(set, tb, &ext); in hash_ip4_uadt() 128 return adtfn(set, &e, &ext, &ext, flags); in hash_ip4_uadt() 158 ret = adtfn(set, &e, &ext, &ext, flags); in hash_ip4_uadt() 227 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); in hash_ip6_kadt() local 234 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_ip6_kadt() 244 struct ip_set_ext ext = IP_SET_INIT_UEXT(set); in hash_ip6_uadt() local 265 ret = ip_set_get_extensions(set, tb, &ext); in hash_ip6_uadt() [all …]
|
/linux-6.1.9/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.1.9/net/sctp/ |
D | stream_sched_prio.c | 63 if (!SCTP_SO(stream, i)->ext) in sctp_sched_prio_get_head() 66 p = SCTP_SO(stream, i)->ext->prio_head; in sctp_sched_prio_get_head() 154 struct sctp_stream_out_ext *soute = sout->ext; in sctp_sched_prio_set() 174 soute = SCTP_SO(stream, i)->ext; in sctp_sched_prio_set() 189 *value = SCTP_SO(stream, sid)->ext->prio_head->prio; in sctp_sched_prio_get() 203 INIT_LIST_HEAD(&SCTP_SO(stream, sid)->ext->prio_list); in sctp_sched_prio_init_sid() 209 struct sctp_stream_priorities *prio = SCTP_SO(stream, sid)->ext->prio_head; in sctp_sched_prio_free_sid() 215 SCTP_SO(stream, sid)->ext->prio_head = NULL; in sctp_sched_prio_free_sid() 217 if (SCTP_SO(stream, i)->ext && in sctp_sched_prio_free_sid() 218 SCTP_SO(stream, i)->ext->prio_head == prio) in sctp_sched_prio_free_sid() [all …]
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/sound/core/seq/ |
D | seq_memory.c | 63 return event->data.ext.len & ~SNDRV_SEQ_EXT_MASK; in get_var_len() 76 if (event->data.ext.len & SNDRV_SEQ_EXT_USRPTR) { in snd_seq_dump_var_event() 78 char __user *curptr = (char __force __user *)event->data.ext.ptr; in snd_seq_dump_var_event() 93 if (!(event->data.ext.len & SNDRV_SEQ_EXT_CHAINED)) in snd_seq_dump_var_event() 94 return func(private_data, event->data.ext.ptr, len); in snd_seq_dump_var_event() 96 cell = (struct snd_seq_event_cell *)event->data.ext.ptr; in snd_seq_dump_var_event() 150 if (event->data.ext.len & SNDRV_SEQ_EXT_USRPTR) { in snd_seq_expand_var_event() 153 if (copy_from_user(buf, (void __force __user *)event->data.ext.ptr, len)) in snd_seq_expand_var_event() 190 if (cell->event.data.ext.len & SNDRV_SEQ_EXT_CHAINED) { in snd_seq_cell_free() 192 curp = cell->event.data.ext.ptr; in snd_seq_cell_free() [all …]
|
/linux-6.1.9/sound/pci/ac97/ |
D | ac97_proc.c | 95 unsigned short val, tmp, ext, mext; in snd_ac97_proc_read_main() local 174 ext = snd_ac97_read(ac97, AC97_EXTENDED_ID); in snd_ac97_proc_read_main() 175 if (ext == 0) in snd_ac97_proc_read_main() 179 (ext & AC97_EI_ADDR_MASK) >> AC97_EI_ADDR_SHIFT, in snd_ac97_proc_read_main() 180 (ext & AC97_EI_REV_MASK) >> AC97_EI_REV_SHIFT, in snd_ac97_proc_read_main() 181 ext & AC97_EI_AMAP ? " AMAP" : "", in snd_ac97_proc_read_main() 182 ext & AC97_EI_LDAC ? " LDAC" : "", in snd_ac97_proc_read_main() 183 ext & AC97_EI_SDAC ? " SDAC" : "", in snd_ac97_proc_read_main() 184 ext & AC97_EI_CDAC ? " CDAC" : "", in snd_ac97_proc_read_main() 185 (ext & AC97_EI_DACS_SLOT_MASK) >> AC97_EI_DACS_SLOT_SHIFT, in snd_ac97_proc_read_main() [all …]
|