Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 25 of 2752) sorted by relevance

12345678910>>...111

/linux/drivers/usb/class/
H A Dcdc-wdm.c121 struct wdm_device *desc; in wdm_find_device() local
124 list_for_each_entry(desc, &wdm_device_list, device_list) in wdm_find_device()
125 if (desc->intf == intf) in wdm_find_device()
127 desc = NULL; in wdm_find_device()
131 return desc; in wdm_find_device()
136 struct wdm_device *desc; in wdm_find_device_by_minor() local
139 list_for_each_entry(desc, &wdm_device_list, device_list) in wdm_find_device_by_minor()
140 if (desc->intf->minor == minor) in wdm_find_device_by_minor()
142 desc = NULL; in wdm_find_device_by_minor()
146 return desc; in wdm_find_device_by_minor()
[all …]
/linux/kernel/irq/
H A Dchip.c136 struct irq_desc *desc = irq_to_desc(irq); in irq_get_irq_data() local
138 return desc ? &desc->irq_data : NULL; in irq_get_irq_data()
142 static void irq_state_clr_disabled(struct irq_desc *desc) in irq_state_clr_disabled() argument
144 irqd_clear(&desc->irq_data, IRQD_IRQ_DISABLED); in irq_state_clr_disabled()
147 static void irq_state_clr_masked(struct irq_desc *desc) in irq_state_clr_masked() argument
149 irqd_clear(&desc->irq_data, IRQD_IRQ_MASKED); in irq_state_clr_masked()
152 static void irq_state_clr_started(struct irq_desc *desc) in irq_state_clr_started() argument
154 irqd_clear(&desc->irq_data, IRQD_IRQ_STARTED); in irq_state_clr_started()
157 static void irq_state_set_started(struct irq_desc *desc) in irq_state_set_started() argument
159 irqd_set(&desc->irq_data, IRQD_IRQ_STARTED); in irq_state_set_started()
[all …]
H A Dmanage.c39 static inline void synchronize_irqwork(struct irq_desc *desc) in synchronize_irqwork() argument
42 irq_work_sync(&desc->redirect.work); in synchronize_irqwork()
45 static inline void synchronize_irqwork(struct irq_desc *desc) { } in synchronize_irqwork() argument
50 static void __synchronize_hardirq(struct irq_desc *desc, bool sync_chip) in __synchronize_hardirq() argument
52 struct irq_data *irqd = irq_desc_get_irq_data(desc); in __synchronize_hardirq()
60 while (irqd_irq_inprogress(&desc->irq_data)) in __synchronize_hardirq()
64 guard(raw_spinlock_irqsave)(&desc->lock); in __synchronize_hardirq()
65 inprogress = irqd_irq_inprogress(&desc->irq_data); in __synchronize_hardirq()
107 struct irq_desc *desc = irq_to_desc(irq); in synchronize_hardirq() local
109 if (desc) { in synchronize_hardirq()
[all …]
H A Dirqdesc.c55 static int alloc_masks(struct irq_desc *desc, int node) in alloc_masks() argument
57 if (!zalloc_cpumask_var_node(&desc->irq_common_data.affinity, in alloc_masks()
62 if (!zalloc_cpumask_var_node(&desc->irq_common_data.effective_affinity, in alloc_masks()
64 free_cpumask_var(desc->irq_common_data.affinity); in alloc_masks()
70 if (!zalloc_cpumask_var_node(&desc->pending_mask, GFP_KERNEL, node)) { in alloc_masks()
72 free_cpumask_var(desc->irq_common_data.effective_affinity); in alloc_masks()
74 free_cpumask_var(desc->irq_common_data.affinity); in alloc_masks()
86 static void desc_smp_init(struct irq_desc *desc, int node, const struct cpumask *affinity) in desc_smp_init() argument
90 cpumask_copy(desc->irq_common_data.affinity, affinity); in desc_smp_init()
93 cpumask_clear(desc->pending_mask); in desc_smp_init()
[all …]
H A Dpm.c16 void irq_pm_handle_wakeup(struct irq_desc *desc) in irq_pm_handle_wakeup() argument
18 irqd_clear(&desc->irq_data, IRQD_WAKEUP_ARMED); in irq_pm_handle_wakeup()
19 desc->istate |= IRQS_SUSPENDED | IRQS_PENDING; in irq_pm_handle_wakeup()
20 desc->depth++; in irq_pm_handle_wakeup()
21 irq_disable(desc); in irq_pm_handle_wakeup()
22 pm_system_irq_wakeup(irq_desc_get_irq(desc)); in irq_pm_handle_wakeup()
29 void irq_pm_install_action(struct irq_desc *desc, struct irqaction *action) in irq_pm_install_action() argument
31 desc->nr_actions++; in irq_pm_install_action()
34 desc->force_resume_depth++; in irq_pm_install_action()
36 WARN_ON_ONCE(desc->force_resume_depth && in irq_pm_install_action()
[all …]
H A Dsettings.h41 irq_settings_clr_and_set(struct irq_desc *desc, u32 clr, u32 set) in irq_settings_clr_and_set() argument
43 desc->status_use_accessors &= ~(clr & _IRQF_MODIFY_MASK); in irq_settings_clr_and_set()
44 desc->status_use_accessors |= (set & _IRQF_MODIFY_MASK); in irq_settings_clr_and_set()
47 static inline bool irq_settings_is_per_cpu(struct irq_desc *desc) in irq_settings_is_per_cpu() argument
49 return desc->status_use_accessors & _IRQ_PER_CPU; in irq_settings_is_per_cpu()
52 static inline bool irq_settings_is_per_cpu_devid(struct irq_desc *desc) in irq_settings_is_per_cpu_devid() argument
54 return desc->status_use_accessors & _IRQ_PER_CPU_DEVID; in irq_settings_is_per_cpu_devid()
57 static inline void irq_settings_set_per_cpu(struct irq_desc *desc) in irq_settings_set_per_cpu() argument
59 desc->status_use_accessors |= _IRQ_PER_CPU; in irq_settings_set_per_cpu()
62 static inline void irq_settings_set_no_balancing(struct irq_desc *desc) in irq_settings_set_no_balancing() argument
[all …]
H A Dinternals.h44 * Bit masks for desc->core_internal_state__do_not_mess_with_it
78 extern int __irq_set_trigger(struct irq_desc *desc, unsigned long flags);
79 extern void __disable_irq(struct irq_desc *desc);
80 extern void __enable_irq(struct irq_desc *desc);
88 extern int irq_activate(struct irq_desc *desc);
89 extern int irq_activate_and_startup(struct irq_desc *desc, bool resend);
90 extern int irq_startup(struct irq_desc *desc, bool resend, bool force);
91 extern void irq_startup_managed(struct irq_desc *desc);
93 extern void irq_shutdown(struct irq_desc *desc);
94 extern void irq_shutdown_and_deactivate(struct irq_desc *desc);
126 register_irq_proc(unsigned int irq,struct irq_desc * desc) register_irq_proc() argument
127 unregister_irq_proc(unsigned int irq,struct irq_desc * desc) unregister_irq_proc() argument
142 irq_setup_affinity(struct irq_desc * desc) irq_setup_affinity() argument
146 for_each_action_of_desc(desc,act) global() argument
150 chip_bus_lock(struct irq_desc * desc) chip_bus_lock() argument
156 chip_bus_sync_unlock(struct irq_desc * desc) chip_bus_sync_unlock() argument
240 irq_state_set_disabled(struct irq_desc * desc) irq_state_set_disabled() argument
245 irq_state_set_masked(struct irq_desc * desc) irq_state_set_masked() argument
252 __kstat_incr_irqs_this_cpu(struct irq_desc * desc) __kstat_incr_irqs_this_cpu() argument
258 kstat_incr_irqs_this_cpu(struct irq_desc * desc) kstat_incr_irqs_this_cpu() argument
264 irq_desc_get_node(struct irq_desc * desc) irq_desc_get_node() argument
269 irq_desc_is_chained(struct irq_desc * desc) irq_desc_is_chained() argument
274 irq_is_nmi(struct irq_desc * desc) irq_is_nmi() argument
284 irq_pm_handle_wakeup(struct irq_desc * desc) irq_pm_handle_wakeup() argument
286 irq_pm_install_action(struct irq_desc * desc,struct irqaction * action) irq_pm_install_action() argument
288 irq_pm_remove_action(struct irq_desc * desc,struct irqaction * action) irq_pm_remove_action() argument
312 irq_remove_timings(struct irq_desc * desc) irq_remove_timings() argument
319 irq_setup_timings(struct irq_desc * desc,struct irqaction * act) irq_setup_timings() argument
385 record_irq_time(struct irq_desc * desc) record_irq_time() argument
394 irq_remove_timings(struct irq_desc * desc) irq_remove_timings() argument
395 irq_setup_timings(struct irq_desc * desc,struct irqaction * act) irq_setup_timings() argument
397 record_irq_time(struct irq_desc * desc) record_irq_time() argument
422 irq_copy_pending(struct irq_desc * desc,const struct cpumask * mask) irq_copy_pending() argument
427 irq_get_pending(struct cpumask * mask,struct irq_desc * desc) irq_get_pending() argument
431 irq_desc_get_pending_mask(struct irq_desc * desc) irq_desc_get_pending_mask() argument
447 irq_copy_pending(struct irq_desc * desc,const struct cpumask * mask) irq_copy_pending() argument
451 irq_get_pending(struct cpumask * mask,struct irq_desc * desc) irq_get_pending() argument
454 irq_desc_get_pending_mask(struct irq_desc * desc) irq_desc_get_pending_mask() argument
458 irq_fixup_move_pending(struct irq_desc * desc,bool fclear) irq_fixup_move_pending() argument
462 irq_force_complete_move(struct irq_desc * desc) irq_force_complete_move() argument
500 irq_remove_debugfs_entry(struct irq_desc * desc) irq_remove_debugfs_entry() argument
[all...]
H A Dspurious.c28 static bool try_one_irq(struct irq_desc *desc, bool force) in try_one_irq() argument
33 guard(raw_spinlock)(&desc->lock); in try_one_irq()
39 if (irq_settings_is_per_cpu(desc) || irq_settings_is_nested_thread(desc) || in try_one_irq()
40 irq_settings_is_polled(desc)) in try_one_irq()
47 if (irqd_irq_disabled(&desc->irq_data) && !force) in try_one_irq()
54 action = desc->action; in try_one_irq()
59 if (irqd_irq_inprogress(&desc->irq_data)) { in try_one_irq()
64 desc->istate |= IRQS_PENDING; in try_one_irq()
69 desc->istate |= IRQS_POLL_INPROGRESS; in try_one_irq()
71 if (handle_irq_event(desc) == IRQ_HANDLED) in try_one_irq()
[all …]
H A Dresend.c35 struct irq_desc *desc; in resend_irqs() local
37 desc = hlist_entry(irq_resend_list.first, struct irq_desc, resend_node); in resend_irqs()
38 hlist_del_init(&desc->resend_node); in resend_irqs()
41 desc->handle_irq(desc); in resend_irqs()
49 static int irq_sw_resend(struct irq_desc *desc) in irq_sw_resend() argument
55 if (irqd_is_handle_enforce_irqctx(&desc->irq_data)) in irq_sw_resend()
63 if (irq_settings_is_nested_thread(desc)) { in irq_sw_resend()
68 if (!desc->parent_irq) in irq_sw_resend()
71 desc = irq_to_desc(desc->parent_irq); in irq_sw_resend()
72 if (!desc) in irq_sw_resend()
[all …]
H A Dautoprobe.c32 struct irq_desc *desc; in probe_irq_on() local
45 for_each_irq_desc_reverse(i, desc) { in probe_irq_on()
46 guard(raw_spinlock_irq)(&desc->lock); in probe_irq_on()
47 if (!desc->action && irq_settings_can_probe(desc)) { in probe_irq_on()
52 if (desc->irq_data.chip->irq_set_type) in probe_irq_on()
53 desc->irq_data.chip->irq_set_type(&desc->irq_data, IRQ_TYPE_PROBE); in probe_irq_on()
54 irq_activate_and_startup(desc, IRQ_NORESEND); in probe_irq_on()
66 for_each_irq_desc_reverse(i, desc) { in probe_irq_on()
67 guard(raw_spinlock_irq)(&desc->lock); in probe_irq_on()
68 if (!desc->action && irq_settings_can_probe(desc)) { in probe_irq_on()
[all …]
/linux/drivers/crypto/caam/
H A Dcaamalg_desc.c17 static inline void aead_append_src_dst(u32 *desc, u32 msg_type) in aead_append_src_dst() argument
19 append_seq_fifo_store(desc, 0, FIFOST_TYPE_MESSAGE_DATA | KEY_VLF); in aead_append_src_dst()
20 append_seq_fifo_load(desc, 0, FIFOLD_CLASS_BOTH | in aead_append_src_dst()
25 static inline void append_dec_op1(u32 *desc, u32 type) in append_dec_op1() argument
31 append_operation(desc, type | OP_ALG_AS_INITFINAL | in append_dec_op1()
36 jump_cmd = append_jump(desc, JUMP_TEST_ALL | JUMP_COND_SHRD); in append_dec_op1()
37 append_operation(desc, type | OP_ALG_AS_INIT | OP_ALG_DECRYPT); in append_dec_op1()
38 uncond_jump_cmd = append_jump(desc, JUMP_TEST_ALL); in append_dec_op1()
39 set_jump_tgt_here(desc, jump_cmd); in append_dec_op1()
40 append_operation(desc, type | OP_ALG_AS_INIT | OP_ALG_DECRYPT | in append_dec_op1()
[all …]
H A Ddesc_constr.h54 #define PRINT_POS do { printk(KERN_DEBUG "%02d: %s\n", desc_len(desc),\
84 static inline int desc_len(u32 * const desc) in desc_len() argument
86 return caam32_to_cpu(*desc) & HDR_DESCLEN_MASK; in desc_len()
89 static inline int desc_bytes(void * const desc) in desc_bytes() argument
91 return desc_len(desc) * CAAM_CMD_SZ; in desc_bytes()
94 static inline u32 *desc_end(u32 * const desc) in desc_end() argument
96 return desc + desc_len(desc); in desc_end()
99 static inline void *sh_desc_pdb(u32 * const desc) in sh_desc_pdb() argument
101 return desc + 1; in sh_desc_pdb()
104 static inline void init_desc(u32 * const desc, u32 options) in init_desc() argument
[all …]
H A Dpkc_desc.c14 void init_rsa_pub_desc(u32 *desc, struct rsa_pub_pdb *pdb) in init_rsa_pub_desc() argument
16 init_job_desc_pdb(desc, 0, SIZEOF_RSA_PUB_PDB); in init_rsa_pub_desc()
17 append_cmd(desc, pdb->sgf); in init_rsa_pub_desc()
18 append_ptr(desc, pdb->f_dma); in init_rsa_pub_desc()
19 append_ptr(desc, pdb->g_dma); in init_rsa_pub_desc()
20 append_ptr(desc, pdb->n_dma); in init_rsa_pub_desc()
21 append_ptr(desc, pdb->e_dma); in init_rsa_pub_desc()
22 append_cmd(desc, pdb->f_len); in init_rsa_pub_desc()
23 append_operation(desc, OP_TYPE_UNI_PROTOCOL | OP_PCLID_RSAENC_PUBKEY); in init_rsa_pub_desc()
27 void init_rsa_priv_f1_desc(u32 *desc, struct rsa_priv_f1_pdb *pdb) in init_rsa_priv_f1_desc() argument
[all …]
/linux/drivers/regulator/
H A Dda9062-regulator.c47 struct regulator_desc desc; member
60 struct regulator_desc desc; member
258 sel <<= ffs(rdev->desc->vsel_mask) - 1; in da9062_set_suspend_voltage()
261 rdev->desc->vsel_mask, sel); in da9062_set_suspend_voltage()
360 .desc.id = DA9061_ID_BUCK1,
361 .desc.name = "DA9061 BUCK1",
362 .desc.of_match = of_match_ptr("buck1"),
363 .desc.regulators_node = of_match_ptr("regulators"),
364 .desc.ops = &da9062_buck_ops,
365 .desc.min_uV = (300) * 1000,
[all …]
H A Dhelpers.c33 ret = regmap_read(rdev->regmap, rdev->desc->enable_reg, &val); in regulator_is_enabled_regmap()
37 val &= rdev->desc->enable_mask; in regulator_is_enabled_regmap()
39 if (rdev->desc->enable_is_inverted) { in regulator_is_enabled_regmap()
40 if (rdev->desc->enable_val) in regulator_is_enabled_regmap()
41 return val != rdev->desc->enable_val; in regulator_is_enabled_regmap()
44 if (rdev->desc->enable_val) in regulator_is_enabled_regmap()
45 return val == rdev->desc->enable_val; in regulator_is_enabled_regmap()
64 if (rdev->desc->enable_is_inverted) { in regulator_enable_regmap()
65 val = rdev->desc->disable_val; in regulator_enable_regmap()
67 val = rdev->desc->enable_val; in regulator_enable_regmap()
[all …]
/linux/drivers/scsi/fnic/
H A Dfnic_res.h25 struct wq_enet_desc *desc = vnic_wq_next_desc(wq); in fnic_queue_wq_desc() local
27 wq_enet_desc_enc(desc, in fnic_queue_wq_desc()
49 struct wq_enet_desc *desc = vnic_wq_next_desc(wq); in fnic_queue_wq_eth_desc() local
51 wq_enet_desc_enc(desc, in fnic_queue_wq_eth_desc()
79 struct fcpio_host_req *desc = vnic_wq_copy_next_desc(wq); in fnic_queue_wq_copy_desc_icmnd_16() local
81 desc->hdr.type = FCPIO_ICMND_16; /* enum fcpio_type */ in fnic_queue_wq_copy_desc_icmnd_16()
82 desc->hdr.status = 0; /* header status entry */ in fnic_queue_wq_copy_desc_icmnd_16()
83 desc->hdr._resvd = 0; /* reserved */ in fnic_queue_wq_copy_desc_icmnd_16()
84 desc->hdr.tag.u.req_id = req_id; /* id for this request */ in fnic_queue_wq_copy_desc_icmnd_16()
86 desc->u.icmnd_16.lunmap_id = lunmap_id; /* index into lunmap table */ in fnic_queue_wq_copy_desc_icmnd_16()
[all …]
/linux/drivers/infiniband/core/
H A Dpacker.c62 void ib_pack(const struct ib_field *desc, in ib_pack() argument
70 if (desc[i].size_bits <= 32) { in ib_pack()
76 shift = 32 - desc[i].offset_bits - desc[i].size_bits; in ib_pack()
77 if (desc[i].struct_size_bytes) in ib_pack()
78 val = value_read(desc[i].struct_offset_bytes, in ib_pack()
79 desc[i].struct_size_bytes, in ib_pack()
84 mask = cpu_to_be32(((1ull << desc[i].size_bits) - 1) << shift); in ib_pack()
85 addr = (__be32 *) buf + desc[i].offset_words; in ib_pack()
87 } else if (desc[i].size_bits <= 64) { in ib_pack()
93 shift = 64 - desc[i].offset_bits - desc[i].size_bits; in ib_pack()
[all …]
/linux/drivers/crypto/ccree/
H A Dcc_aead.c251 static unsigned int xcbc_setkey(struct cc_hw_desc *desc, in xcbc_setkey() argument
255 hw_desc_init(&desc[0]); in xcbc_setkey()
260 set_din_type(&desc[0], DMA_DLLI, in xcbc_setkey()
263 set_cipher_mode(&desc[0], DRV_CIPHER_ECB); in xcbc_setkey()
264 set_cipher_config0(&desc[0], DRV_CRYPTO_DIRECTION_ENCRYPT); in xcbc_setkey()
265 set_key_size_aes(&desc[0], ctx->auth_keylen); in xcbc_setkey()
266 set_flow_mode(&desc[0], S_DIN_to_AES); in xcbc_setkey()
267 set_setup_mode(&desc[0], SETUP_LOAD_KEY0); in xcbc_setkey()
269 hw_desc_init(&desc[1]); in xcbc_setkey()
270 set_din_const(&desc[1], 0x01010101, CC_AES_128_BIT_KEY_SIZE); in xcbc_setkey()
[all …]
/linux/include/uapi/linux/usb/
H A Daudio.h267 static inline __u8 uac_mixer_unit_bNrChannels(struct uac_mixer_unit_descriptor *desc) in uac_mixer_unit_bNrChannels() argument
269 return desc->baSourceID[desc->bNrInPins]; in uac_mixer_unit_bNrChannels()
272 static inline __u32 uac_mixer_unit_wChannelConfig(struct uac_mixer_unit_descriptor *desc, in uac_mixer_unit_wChannelConfig() argument
276 return (desc->baSourceID[desc->bNrInPins + 2] << 8) | in uac_mixer_unit_wChannelConfig()
277 desc->baSourceID[desc->bNrInPins + 1]; in uac_mixer_unit_wChannelConfig()
279 return (desc->baSourceID[desc->bNrInPins + 4] << 24) | in uac_mixer_unit_wChannelConfig()
280 (desc->baSourceID[desc->bNrInPins + 3] << 16) | in uac_mixer_unit_wChannelConfig()
281 (desc->baSourceID[desc->bNrInPins + 2] << 8) | in uac_mixer_unit_wChannelConfig()
282 (desc->baSourceID[desc->bNrInPins + 1]); in uac_mixer_unit_wChannelConfig()
285 static inline __u8 uac_mixer_unit_iChannelNames(struct uac_mixer_unit_descriptor *desc, in uac_mixer_unit_iChannelNames() argument
[all …]
/linux/tools/testing/selftests/x86/
H A Dldt_gdt.c144 struct user_desc desc = *d; in install_valid_mode() local
154 desc.entry_number = gdt_entry_num; in install_valid_mode()
156 ret = syscall(SYS_set_thread_area, &desc); in install_valid_mode()
159 &desc, sizeof(desc)); in install_valid_mode()
171 uint32_t limit = desc.limit; in install_valid_mode()
172 if (desc.limit_in_pages) in install_valid_mode()
174 check_valid_segment(desc.entry_number, ldt, ar, limit, true); in install_valid_mode()
177 if (desc.seg_32bit) { in install_valid_mode()
191 static bool install_valid(const struct user_desc *desc, uint32_t ar) in install_valid() argument
193 bool ret = install_valid_mode(desc, ar, false, true); in install_valid()
[all …]
/linux/crypto/
H A Dsha256.c76 #define SHA224_CTX(desc) ((struct sha224_ctx *)shash_desc_ctx(desc)) argument
78 static int crypto_sha224_init(struct shash_desc *desc) in crypto_sha224_init() argument
80 sha224_init(SHA224_CTX(desc)); in crypto_sha224_init()
84 static int crypto_sha224_update(struct shash_desc *desc, in crypto_sha224_update() argument
87 sha224_update(SHA224_CTX(desc), data, len); in crypto_sha224_update()
91 static int crypto_sha224_final(struct shash_desc *desc, u8 *out) in crypto_sha224_final() argument
93 sha224_final(SHA224_CTX(desc), out); in crypto_sha224_final()
97 static int crypto_sha224_digest(struct shash_desc *desc, in crypto_sha224_digest() argument
104 static int crypto_sha224_export(struct shash_desc *desc, void *out) in crypto_sha224_export() argument
106 return __crypto_sha256_export(&SHA224_CTX(desc)->ctx, out); in crypto_sha224_export()
[all …]
H A Dsha512.c78 #define SHA384_CTX(desc) ((struct sha384_ctx *)shash_desc_ctx(desc)) argument
80 static int crypto_sha384_init(struct shash_desc *desc) in crypto_sha384_init() argument
82 sha384_init(SHA384_CTX(desc)); in crypto_sha384_init()
86 static int crypto_sha384_update(struct shash_desc *desc, in crypto_sha384_update() argument
89 sha384_update(SHA384_CTX(desc), data, len); in crypto_sha384_update()
93 static int crypto_sha384_final(struct shash_desc *desc, u8 *out) in crypto_sha384_final() argument
95 sha384_final(SHA384_CTX(desc), out); in crypto_sha384_final()
99 static int crypto_sha384_digest(struct shash_desc *desc, in crypto_sha384_digest() argument
106 static int crypto_sha384_export(struct shash_desc *desc, void *out) in crypto_sha384_export() argument
108 return __crypto_sha512_export(&SHA384_CTX(desc)->ctx, out); in crypto_sha384_export()
[all …]
/linux/include/linux/gpio/
H A Dconsumer.h22 * @desc: Array of pointers to GPIO descriptors
27 struct gpio_desc *desc[]; member
85 void gpiod_put(struct gpio_desc *desc);
107 void devm_gpiod_put(struct device *dev, struct gpio_desc *desc);
108 void devm_gpiod_unhinge(struct device *dev, struct gpio_desc *desc);
111 int gpiod_get_direction(struct gpio_desc *desc);
112 int gpiod_direction_input(struct gpio_desc *desc);
113 int gpiod_direction_output(struct gpio_desc *desc, int value);
114 int gpiod_direction_output_raw(struct gpio_desc *desc, int value);
117 int gpiod_get_value(const struct gpio_desc *desc);
244 gpiod_put(struct gpio_desc * desc) gpiod_put() argument
253 devm_gpiod_unhinge(struct device * dev,struct gpio_desc * desc) devm_gpiod_unhinge() argument
314 devm_gpiod_put(struct device * dev,struct gpio_desc * desc) devm_gpiod_put() argument
332 gpiod_get_direction(const struct gpio_desc * desc) gpiod_get_direction() argument
338 gpiod_direction_input(struct gpio_desc * desc) gpiod_direction_input() argument
344 gpiod_direction_output(struct gpio_desc * desc,int value) gpiod_direction_output() argument
350 gpiod_direction_output_raw(struct gpio_desc * desc,int value) gpiod_direction_output_raw() argument
356 gpiod_get_value(const struct gpio_desc * desc) gpiod_get_value() argument
371 gpiod_set_value(struct gpio_desc * desc,int value) gpiod_set_value() argument
386 gpiod_get_raw_value(const struct gpio_desc * desc) gpiod_get_raw_value() argument
401 gpiod_set_raw_value(struct gpio_desc * desc,int value) gpiod_set_raw_value() argument
417 gpiod_get_value_cansleep(const struct gpio_desc * desc) gpiod_get_value_cansleep() argument
432 gpiod_set_value_cansleep(struct gpio_desc * desc,int value) gpiod_set_value_cansleep() argument
447 gpiod_get_raw_value_cansleep(const struct gpio_desc * desc) gpiod_get_raw_value_cansleep() argument
462 gpiod_set_raw_value_cansleep(struct gpio_desc * desc,int value) gpiod_set_raw_value_cansleep() argument
479 gpiod_set_config(struct gpio_desc * desc,unsigned long config) gpiod_set_config() argument
486 gpiod_set_debounce(struct gpio_desc * desc,unsigned int debounce) gpiod_set_debounce() argument
493 gpiod_toggle_active_low(struct gpio_desc * desc) gpiod_toggle_active_low() argument
499 gpiod_is_active_low(const struct gpio_desc * desc) gpiod_is_active_low() argument
505 gpiod_cansleep(const struct gpio_desc * desc) gpiod_cansleep() argument
512 gpiod_to_irq(const struct gpio_desc * desc) gpiod_to_irq() argument
519 gpiod_set_consumer_name(struct gpio_desc * desc,const char * name) gpiod_set_consumer_name() argument
527 gpiod_is_shared(const struct gpio_desc * desc) gpiod_is_shared() argument
539 desc_to_gpio(const struct gpio_desc * desc) desc_to_gpio() argument
566 gpiod_is_equal(const struct gpio_desc * desc,const struct gpio_desc * other) gpiod_is_equal() argument
581 gpiod_enable_hw_timestamp_ns(struct gpio_desc * desc,unsigned long flags) gpiod_enable_hw_timestamp_ns() argument
589 gpiod_disable_hw_timestamp_ns(struct gpio_desc * desc,unsigned long flags) gpiod_disable_hw_timestamp_ns() argument
672 gpiod_export(struct gpio_desc * desc,bool direction_may_change) gpiod_export() argument
679 gpiod_export_link(struct device * dev,const char * name,struct gpio_desc * desc) gpiod_export_link() argument
684 gpiod_unexport(struct gpio_desc * desc) gpiod_unexport() argument
[all...]
/linux/drivers/net/wireless/ath/ath12k/wifi7/
H A Dhal_qcc2072.c99 static void ath12k_hal_rx_desc_set_msdu_len_qcc2072(struct hal_rx_desc *desc, u16 len) in ath12k_hal_rx_desc_set_msdu_len_qcc2072() argument
101 u32 info = __le32_to_cpu(desc->u.qcc2072.msdu_end.info10); in ath12k_hal_rx_desc_set_msdu_len_qcc2072()
106 desc->u.qcc2072.msdu_end.info10 = __cpu_to_le32(info); in ath12k_hal_rx_desc_set_msdu_len_qcc2072()
109 static void ath12k_hal_rx_desc_get_dot11_hdr_qcc2072(struct hal_rx_desc *desc, in ath12k_hal_rx_desc_get_dot11_hdr_qcc2072() argument
112 hdr->frame_control = desc->u.qcc2072.mpdu_start.frame_ctrl; in ath12k_hal_rx_desc_get_dot11_hdr_qcc2072()
113 hdr->duration_id = desc->u.qcc2072.mpdu_start.duration; in ath12k_hal_rx_desc_get_dot11_hdr_qcc2072()
114 ether_addr_copy(hdr->addr1, desc->u.qcc2072.mpdu_start.addr1); in ath12k_hal_rx_desc_get_dot11_hdr_qcc2072()
115 ether_addr_copy(hdr->addr2, desc->u.qcc2072.mpdu_start.addr2); in ath12k_hal_rx_desc_get_dot11_hdr_qcc2072()
116 ether_addr_copy(hdr->addr3, desc->u.qcc2072.mpdu_start.addr3); in ath12k_hal_rx_desc_get_dot11_hdr_qcc2072()
118 if (__le32_to_cpu(desc->u.qcc2072.mpdu_start.info4) & in ath12k_hal_rx_desc_get_dot11_hdr_qcc2072()
[all …]
/linux/lib/crypto/
H A Dpoly1305.c25 void poly1305_init(struct poly1305_desc_ctx *desc, in poly1305_init() argument
28 desc->s[0] = get_unaligned_le32(key + 16); in poly1305_init()
29 desc->s[1] = get_unaligned_le32(key + 20); in poly1305_init()
30 desc->s[2] = get_unaligned_le32(key + 24); in poly1305_init()
31 desc->s[3] = get_unaligned_le32(key + 28); in poly1305_init()
32 desc->buflen = 0; in poly1305_init()
33 poly1305_block_init(&desc->state, key); in poly1305_init()
37 void poly1305_update(struct poly1305_desc_ctx *desc, in poly1305_update() argument
40 if (desc->buflen + nbytes >= POLY1305_BLOCK_SIZE) { in poly1305_update()
43 if (desc->buflen) { in poly1305_update()
[all …]

12345678910>>...111