Searched refs:ext (Results 1 - 25 of 443) sorted by relevance

1234567891011>>

/linux-master/drivers/extcon/
H A Dextcon-intel-cht-wc.c117 static int cht_wc_extcon_get_id(struct cht_wc_extcon_data *ext, int pwrsrc_sts) argument
143 static int cht_wc_extcon_get_charger(struct cht_wc_extcon_data *ext, argument
152 ret = regmap_read(ext->regmap, CHT_WC_USBSRC, &usbsrc);
154 dev_err(ext->dev, "Error reading usbsrc: %d\n", ret);
169 dev_warn(ext->dev, "Could not detect charger type\n");
171 dev_warn(ext->dev, "Timeout detecting charger type\n");
181 dev_warn(ext->dev,
184 ext->usb_type = POWER_SUPPLY_USB_TYPE_SDP;
189 ext->usb_type = POWER_SUPPLY_USB_TYPE_SDP;
192 ext
205 cht_wc_extcon_set_phymux(struct cht_wc_extcon_data *ext, u8 state) argument
214 cht_wc_extcon_set_5v_boost(struct cht_wc_extcon_data *ext, bool enable) argument
232 cht_wc_extcon_set_otgmode(struct cht_wc_extcon_data *ext, bool enable) argument
256 cht_wc_extcon_enable_charging(struct cht_wc_extcon_data *ext, bool enable) argument
269 cht_wc_extcon_set_state(struct cht_wc_extcon_data *ext, unsigned int cable, bool state) argument
277 cht_wc_extcon_pwrsrc_event(struct cht_wc_extcon_data *ext) argument
348 struct cht_wc_extcon_data *ext = data; local
368 cht_wc_extcon_sw_control(struct cht_wc_extcon_data *ext, bool enable) argument
389 cht_wc_extcon_find_role_sw(struct cht_wc_extcon_data *ext) argument
407 struct cht_wc_extcon_data *ext = data; local
413 cht_wc_extcon_get_role_sw_and_regulator(struct cht_wc_extcon_data *ext) argument
448 struct cht_wc_extcon_data *ext = power_supply_get_drvdata(psy); local
487 cht_wc_extcon_register_psy(struct cht_wc_extcon_data *ext) argument
500 struct cht_wc_extcon_data *ext; local
622 struct cht_wc_extcon_data *ext = platform_get_drvdata(pdev); local
[all...]
/linux-master/tools/testing/selftests/
H A 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!"
/linux-master/arch/riscv/include/asm/
H A Dcpufeature.h82 #define riscv_isa_extension_available(isa_bitmap, ext) \
83 __riscv_isa_extension_available(isa_bitmap, RISCV_ISA_EXT_##ext)
86 riscv_has_extension_likely(const unsigned long ext) argument
88 compiletime_assert(ext < RISCV_ISA_EXT_MAX,
89 "ext must be < RISCV_ISA_EXT_MAX");
93 ALTERNATIVE("j %l[l_no]", "nop", 0, %[ext], 1)
95 : [ext] "i" (ext)
99 if (!__riscv_isa_extension_available(NULL, ext))
109 riscv_has_extension_unlikely(const unsigned long ext)
[all...]
/linux-master/include/net/netfilter/
H A Dnf_conntrack_extend.h45 static inline bool __nf_ct_ext_exist(const struct nf_ct_ext *ext, u8 id) argument
47 return !!ext->offset[id];
52 return (ct->ext && __nf_ct_ext_exist(ct->ext, id));
55 void *__nf_ct_ext_find(const struct nf_ct_ext *ext, u8 id);
59 struct nf_ct_ext *ext = ct->ext; local
61 if (!ext || !__nf_ct_ext_exist(ext, id))
64 if (unlikely(ext
[all...]
H A Dnf_conntrack_labels.h26 struct nf_ct_ext *ext = ct->ext; local
28 if (!ext || !__nf_ct_ext_exist(ext, NF_CT_EXT_LABELS))
31 return (void *)ct->ext + ct->ext->offset[NF_CT_EXT_LABELS];
/linux-master/drivers/gpu/drm/i915/
H A Di915_user_extensions.h12 typedef int (*i915_user_extension_fn)(struct i915_user_extension __user *ext,
15 int i915_user_extensions(struct i915_user_extension __user *ext,
H A Di915_user_extensions.c16 int i915_user_extensions(struct i915_user_extension __user *ext, argument
23 while (ext) {
31 err = check_user_mbz(&ext->flags);
35 for (i = 0; i < ARRAY_SIZE(ext->rsvd); i++) {
36 err = check_user_mbz(&ext->rsvd[i]);
41 if (get_user(name, &ext->name))
48 err = tbl[name](ext, data);
53 if (get_user(next, &ext->next_extension) ||
57 ext = u64_to_user_ptr(next);
/linux-master/sound/hda/ext/
H A DMakefile2 snd-hda-ext-core-objs := hdac_ext_bus.o hdac_ext_controller.o hdac_ext_stream.o
4 obj-$(CONFIG_SND_HDA_EXT_CORE) += snd-hda-ext-core.o
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Dmatch.c11 nfp_flower_compile_meta(struct nfp_flower_meta_tci *ext, argument
15 ext->nfp_flow_key_layer = key_type;
16 ext->mask_id = ~0;
23 nfp_flower_compile_tci(struct nfp_flower_meta_tci *ext, argument
46 ext->tci |= cpu_to_be16((key_tci & msk_tci));
52 nfp_flower_compile_meta_tci(struct nfp_flower_meta_tci *ext, argument
56 memset(ext, 0, sizeof(struct nfp_flower_meta_tci));
59 nfp_flower_compile_meta(ext, msk, key_type);
62 nfp_flower_compile_tci(ext, msk, rule);
95 nfp_flower_compile_mac(struct nfp_flower_mac_mpls *ext, argument
119 nfp_flower_compile_mpls(struct nfp_flower_mac_mpls *ext, struct nfp_flower_mac_mpls *msk, struct flow_rule *rule, struct netlink_ext_ack *extack) argument
174 nfp_flower_compile_mac_mpls(struct nfp_flower_mac_mpls *ext, struct nfp_flower_mac_mpls *msk, struct flow_rule *rule, struct netlink_ext_ack *extack) argument
188 nfp_flower_compile_tport(struct nfp_flower_tp_ports *ext, struct nfp_flower_tp_ports *msk, struct flow_rule *rule) argument
209 nfp_flower_compile_ip_ext(struct nfp_flower_ip_ext *ext, struct nfp_flower_ip_ext *msk, struct flow_rule *rule) argument
285 nfp_flower_fill_vlan(struct flow_match_vlan *match, struct nfp_flower_vlan *ext, struct nfp_flower_vlan *msk, bool outer_vlan) argument
318 nfp_flower_compile_vlan(struct nfp_flower_vlan *ext, struct nfp_flower_vlan *msk, struct flow_rule *rule) argument
335 nfp_flower_compile_ipv4(struct nfp_flower_ipv4 *ext, struct nfp_flower_ipv4 *msk, struct flow_rule *rule) argument
357 nfp_flower_compile_ipv6(struct nfp_flower_ipv6 *ext, struct nfp_flower_ipv6 *msk, struct flow_rule *rule) argument
385 nfp_flower_compile_geneve_opt(u8 *ext, u8 *msk, struct flow_rule *rule) argument
401 nfp_flower_compile_tun_ipv4_addrs(struct nfp_flower_tun_ipv4 *ext, struct nfp_flower_tun_ipv4 *msk, struct flow_rule *rule) argument
417 nfp_flower_compile_tun_ipv6_addrs(struct nfp_flower_tun_ipv6 *ext, struct nfp_flower_tun_ipv6 *msk, struct flow_rule *rule) argument
438 nfp_flower_compile_tun_ip_ext(struct nfp_flower_tun_ip_ext *ext, struct nfp_flower_tun_ip_ext *msk, struct flow_rule *rule) argument
487 nfp_flower_compile_ipv4_gre_tun(struct nfp_flower_ipv4_gre_tun *ext, struct nfp_flower_ipv4_gre_tun *msk, struct flow_rule *rule) argument
502 nfp_flower_compile_ipv4_udp_tun(struct nfp_flower_ipv4_udp_tun *ext, struct nfp_flower_ipv4_udp_tun *msk, struct flow_rule *rule) argument
512 nfp_flower_compile_ipv6_udp_tun(struct nfp_flower_ipv6_udp_tun *ext, struct nfp_flower_ipv6_udp_tun *msk, struct flow_rule *rule) argument
522 nfp_flower_compile_ipv6_gre_tun(struct nfp_flower_ipv6_gre_tun *ext, struct nfp_flower_ipv6_gre_tun *msk, struct flow_rule *rule) argument
549 u8 *ext; local
[all...]
/linux-master/fs/ext4/
H A Dext4_extents.h197 static inline void ext4_ext_mark_unwritten(struct ext4_extent *ext) argument
200 BUG_ON((le16_to_cpu(ext->ee_len) & ~EXT_INIT_MAX_LEN) == 0);
201 ext->ee_len |= cpu_to_le16(EXT_INIT_MAX_LEN);
204 static inline int ext4_ext_is_unwritten(struct ext4_extent *ext) argument
207 return (le16_to_cpu(ext->ee_len) > EXT_INIT_MAX_LEN);
210 static inline int ext4_ext_get_actual_len(struct ext4_extent *ext) argument
212 return (le16_to_cpu(ext->ee_len) <= EXT_INIT_MAX_LEN ?
213 le16_to_cpu(ext->ee_len) :
214 (le16_to_cpu(ext->ee_len) - EXT_INIT_MAX_LEN));
217 static inline void ext4_ext_mark_initialized(struct ext4_extent *ext) argument
[all...]
/linux-master/drivers/gpu/drm/xe/regs/
H A Dxe_reg_defs.h39 * @ext: access MMIO extension space for current register.
41 u32 ext:1; member in struct:xe_reg::__anon824::__anon825
108 ((const struct xe_reg)XE_REG_INITIALIZER(r_, ##__VA_ARGS__, .ext = 1))
/linux-master/net/netfilter/
H A Dnf_conntrack_extend.c103 if (ct->ext) {
104 const struct nf_ct_ext *old = ct->ext;
117 new = krealloc(ct->ext, alloc, gfp);
121 if (!ct->ext) {
130 ct->ext = new;
136 void *__nf_ct_ext_find(const struct nf_ct_ext *ext, u8 id) argument
139 unsigned int this_id = READ_ONCE(ext->gen_id);
141 if (!__nf_ct_ext_exist(ext, id))
144 if (this_id == 0 || ext->gen_id == gen_id)
145 return (void *)ext
[all...]
H A Dnft_set_hash.c32 struct nft_set_ext ext; member in struct:nft_rhash_elem
53 return jhash(nft_set_ext_key(&he->ext), len, seed);
62 if (memcmp(nft_set_ext_key(&he->ext), x->key, x->set->klen))
64 if (nft_set_elem_is_dead(&he->ext))
66 if (__nft_set_elem_expired(&he->ext, x->tstamp))
68 if (!nft_set_elem_active(&he->ext, x->genmask))
83 const u32 *key, const struct nft_set_ext **ext)
96 *ext = &he->ext;
128 const struct nft_set_ext **ext)
82 nft_rhash_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) argument
121 nft_rhash_update(struct nft_set *set, const u32 *key, struct nft_elem_priv * (*new)(struct nft_set *, const struct nft_expr *, struct nft_regs *regs), const struct nft_expr *expr, struct nft_regs *regs, const struct nft_set_ext **ext) argument
301 nft_rhash_expr_needs_gc_run(const struct nft_set *set, struct nft_set_ext *ext) argument
489 struct nft_set_ext ext; member in struct:nft_hash_elem
493 nft_hash_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) argument
533 nft_hash_lookup_fast(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) argument
556 nft_jhash(const struct nft_set *set, const struct nft_hash *priv, const struct nft_set_ext *ext) argument
[all...]
H A Dnft_lookup.c29 const u32 *key, const struct nft_set_ext **ext)
32 return nft_hash_lookup_fast(net, set, key, ext);
34 return nft_hash_lookup(net, set, key, ext);
37 return nft_rhash_lookup(net, set, key, ext);
40 return nft_bitmap_lookup(net, set, key, ext);
43 return nft_pipapo_lookup(net, set, key, ext);
46 return nft_pipapo_avx2_lookup(net, set, key, ext);
50 return nft_rbtree_lookup(net, set, key, ext);
53 return set->ops->lookup(net, set, key, ext);
64 const struct nft_set_ext *ext local
28 nft_set_do_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) argument
[all...]
H A Dnft_set_bitmap.c18 struct nft_set_ext ext; member in struct:nft_bitmap_elem
79 const u32 *key, const struct nft_set_ext **ext)
98 if (memcmp(nft_set_ext_key(&be->ext),
99 nft_set_ext_key(&this->ext), set->klen) ||
100 !nft_set_elem_active(&be->ext, genmask))
117 if (memcmp(nft_set_ext_key(&be->ext), elem->key.val.data, set->klen) ||
118 !nft_set_elem_active(&be->ext, genmask))
141 nft_bitmap_location(set, nft_set_ext_key(&new->ext), &idx, &off);
157 nft_bitmap_location(set, nft_set_ext_key(&be->ext), &idx, &off);
172 nft_bitmap_location(set, nft_set_ext_key(&be->ext),
78 nft_bitmap_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) argument
[all...]
/linux-master/arch/mips/include/uapi/asm/
H A Ducontext.h27 * @ext: the extended context header, with magic == MSA_EXTCONTEXT_MAGIC
36 struct extcontext ext; member in struct:msa_extcontext
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtcp_ca_unsupp_cong_op.c11 size_t BPF_PROG(unsupp_cong_op_get_info, struct sock *sk, u32 ext, int *attr, argument
/linux-master/drivers/media/common/saa7146/
H A Dsaa7146_core.c284 if (dev->ext) {
285 if (dev->ext->irq_mask & isr) {
286 if (dev->ext->irq_func)
287 dev->ext->irq_func(dev, &isr);
288 isr &= ~dev->ext->irq_mask;
332 struct saa7146_extension *ext = pci_ext->ext; local
425 dev->ext = ext;
443 if (ext
526 saa7146_register_extension(struct saa7146_extension* ext) argument
539 saa7146_unregister_extension(struct saa7146_extension* ext) argument
[all...]
/linux-master/tools/testing/selftests/kvm/
H A Dguest_print_test.c40 #define TYPE(fn, ext, fmt_t, T) TYPE_##ext,
48 #define BUILD_TYPE_STRINGS_AND_HELPER(fn, ext, fmt_t, T) \
49 const char *PRINTF_FMT_##ext = "Got params a = " fmt_t " and b = " fmt_t; \
50 const char *ASSERT_FMT_##ext = "Expected " fmt_t ", got " fmt_t " instead"; \
56 snprintf(expected_printf, UCALL_BUFFER_LEN, PRINTF_FMT_##ext, a, b); \
57 snprintf(expected_assert, UCALL_BUFFER_LEN, ASSERT_FMT_##ext, a, b); \
58 vals = (struct guest_vals){ (uint64_t)a, (uint64_t)b, TYPE_##ext }; \
63 #define TYPE(fn, ext, fmt_t, T) \
64 BUILD_TYPE_STRINGS_AND_HELPER(fn, ext, fmt_
[all...]
/linux-master/net/netfilter/ipset/
H A Dip_set_hash_ipmark.c87 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); local
93 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags);
103 struct ip_set_ext ext = IP_SET_INIT_UEXT(set); local
118 ret = ip_set_get_extensions(set, tb, &ext);
129 ret = adtfn(set, &e, &ext, &ext, flags);
159 ret = adtfn(set, &e, &ext, &ext, flags);
222 struct ip_set_ext ext local
238 struct ip_set_ext ext = IP_SET_INIT_UEXT(set); local
[all...]
H A Dip_set_hash_ip.c87 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); local
96 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags);
106 struct ip_set_ext ext = IP_SET_INIT_UEXT(set); local
120 ret = ip_set_get_extensions(set, tb, &ext);
130 return adtfn(set, &e, &ext, &ext, flags);
160 ret = adtfn(set, &e, &ext, &ext, flags);
223 struct ip_set_ext ext local
240 struct ip_set_ext ext = IP_SET_INIT_UEXT(set); local
[all...]
/linux-master/arch/riscv/kernel/
H A Dcpufeature.c312 static void __init match_isa_ext(const struct riscv_isa_ext_data *ext, const char *name, argument
315 if ((name_end - name == strlen(ext->name)) &&
316 !strncasecmp(name, ext->name, name_end - name)) {
321 if (ext->subset_ext_size) {
322 for (int i = 0; i < ext->subset_ext_size; i++) {
323 if (riscv_isa_extension_check(ext->subset_ext_ids[i]))
324 set_bit(ext->subset_ext_ids[i], isainfo->isa);
332 if (riscv_isa_extension_check(ext->id))
333 set_bit(ext->id, isainfo->isa);
349 const char *ext local
594 const struct riscv_isa_ext_data *ext = &riscv_isa_ext[i]; local
[all...]
/linux-master/fs/hfsplus/
H A Dextents.c26 k1id = k1->ext.cnid;
27 k2id = k2->ext.cnid;
31 if (k1->ext.fork_type != k2->ext.fork_type)
32 return k1->ext.fork_type < k2->ext.fork_type ? -1 : 1;
34 k1s = k1->ext.start_block;
35 k2s = k2->ext.start_block;
45 key->ext.cnid = cpu_to_be32(cnid);
46 key->ext
51 hfsplus_ext_find_block(struct hfsplus_extent *ext, u32 off) argument
66 hfsplus_ext_block_count(struct hfsplus_extent *ext) argument
76 hfsplus_ext_lastblock(struct hfsplus_extent *ext) argument
[all...]
/linux-master/fs/hfs/
H A Dextent.c24 key->ext.FkType = type;
25 key->ext.FNum = cpu_to_be32(cnid);
26 key->ext.FABN = cpu_to_be16(block);
55 fnum1 = key1->ext.FNum;
56 fnum2 = key2->ext.FNum;
59 if (key1->ext.FkType != key2->ext.FkType)
60 return key1->ext.FkType < key2->ext.FkType ? -1 : 1;
62 block1 = key1->ext
74 hfs_ext_find_block(struct hfs_extent *ext, u16 off) argument
89 hfs_ext_block_count(struct hfs_extent *ext) argument
99 hfs_ext_lastblock(struct hfs_extent *ext) argument
[all...]
/linux-master/net/sctp/
H A Dstream_sched_prio.c76 if (!SCTP_SO(stream, i)->ext)
79 p = SCTP_SO(stream, i)->ext->prio_head;
167 struct sctp_stream_out_ext *soute = sout->ext;
191 *value = SCTP_SO(stream, sid)->ext->prio_head->prio;
205 INIT_LIST_HEAD(&SCTP_SO(stream, sid)->ext->prio_list);
211 sctp_sched_prio_head_put(SCTP_SO(stream, sid)->ext->prio_head);
212 SCTP_SO(stream, sid)->ext->prio_head = NULL;
225 sctp_sched_prio_sched(stream, SCTP_SO(stream, sid)->ext);
243 soute = stream->out_curr->ext;
267 soute = SCTP_SO(&q->asoc->stream, sid)->ext;
[all...]

Completed in 999 milliseconds

1234567891011>>