Searched refs:desc (Results 51 - 75 of 3185) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/x86/
H A Dldt_gdt.c142 struct user_desc desc = *d; local
152 desc.entry_number = gdt_entry_num;
154 ret = syscall(SYS_set_thread_area, &desc);
157 &desc, sizeof(desc));
169 uint32_t limit = desc.limit;
170 if (desc.limit_in_pages)
172 check_valid_segment(desc.entry_number, ldt, ar, limit, true);
175 if (desc.seg_32bit) {
189 static bool install_valid(const struct user_desc *desc, uint32_ argument
202 install_invalid(const struct user_desc *desc, bool oldmode) argument
232 fail_install(struct user_desc *desc) argument
246 struct user_desc desc = { local
451 const struct user_desc desc = {}; local
572 struct user_desc desc = { local
641 struct user_desc desc = { local
[all...]
/linux-master/drivers/crypto/ccp/
H A Dccp-dmaengine.c76 struct ccp_dma_desc *desc, *dtmp; local
78 list_for_each_entry_safe(desc, dtmp, list, entry) {
79 ccp_free_cmd_resources(ccp, &desc->active);
80 ccp_free_cmd_resources(ccp, &desc->pending);
82 list_del(&desc->entry);
83 kmem_cache_free(ccp->dma_desc_cache, desc);
108 struct ccp_dma_desc *desc, *dtmp; local
110 list_for_each_entry_safe_reverse(desc, dtmp, list, entry) {
111 if (!async_tx_test_ack(&desc->tx_desc))
114 dev_dbg(ccp->dev, "%s - desc
139 ccp_issue_next_cmd(struct ccp_dma_desc *desc) argument
160 ccp_free_active_cmd(struct ccp_dma_desc *desc) argument
176 __ccp_next_dma_desc(struct ccp_dma_chan *chan, struct ccp_dma_desc *desc) argument
190 ccp_handle_active_desc(struct ccp_dma_chan *chan, struct ccp_dma_desc *desc) argument
247 struct ccp_dma_desc *desc; local
263 struct ccp_dma_desc *desc = data; local
299 struct ccp_dma_desc *desc = container_of(tx_desc, struct ccp_dma_desc, local
334 struct ccp_dma_desc *desc; local
362 struct ccp_dma_desc *desc; local
484 struct ccp_dma_desc *desc; local
511 struct ccp_dma_desc *desc; local
524 struct ccp_dma_desc *desc; local
546 struct ccp_dma_desc *desc; local
593 struct ccp_dma_desc *desc; local
[all...]
/linux-master/drivers/crypto/ccree/
H A Dcc_aead.c251 static unsigned int xcbc_setkey(struct cc_hw_desc *desc, argument
255 hw_desc_init(&desc[0]);
260 set_din_type(&desc[0], DMA_DLLI,
263 set_cipher_mode(&desc[0], DRV_CIPHER_ECB);
264 set_cipher_config0(&desc[0], DRV_CRYPTO_DIRECTION_ENCRYPT);
265 set_key_size_aes(&desc[0], ctx->auth_keylen);
266 set_flow_mode(&desc[0], S_DIN_to_AES);
267 set_setup_mode(&desc[0], SETUP_LOAD_KEY0);
269 hw_desc_init(&desc[1]);
270 set_din_const(&desc[
292 hmac_setkey(struct cc_hw_desc *desc, struct cc_aead_ctx *ctx) argument
424 struct cc_hw_desc desc[MAX_AEAD_SETKEY_SEQ]; local
546 struct cc_hw_desc desc[MAX_AEAD_SETKEY_SEQ]; local
721 cc_set_assoc_desc(struct aead_request *areq, unsigned int flow_mode, struct cc_hw_desc desc[], unsigned int *seq_size) argument
760 cc_proc_authen_desc(struct aead_request *areq, unsigned int flow_mode, struct cc_hw_desc desc[], unsigned int *seq_size, int direct) argument
824 cc_proc_cipher_desc(struct aead_request *areq, unsigned int flow_mode, struct cc_hw_desc desc[], unsigned int *seq_size) argument
870 cc_proc_digest_desc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) argument
920 cc_set_cipher_desc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) argument
965 cc_proc_cipher(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size, unsigned int data_flow_mode) argument
988 cc_set_hmac_desc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) argument
1021 cc_set_xcbc_desc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) argument
1081 cc_proc_header_desc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) argument
1096 cc_proc_scheme_desc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) argument
1158 cc_mlli_to_sram(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) argument
1210 cc_hmac_authenc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) argument
1263 cc_xcbc_authenc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) argument
1409 cc_ccm(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) argument
1613 cc_set_ghash_desc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) argument
1691 cc_set_gctr_desc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) argument
1727 cc_proc_gcm_result(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) argument
1792 cc_gcm(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) argument
1896 struct cc_hw_desc desc[MAX_AEAD_PROCESS_SEQ]; local
[all...]
H A Dcc_request_mgr.h20 * @desc: The crypto sequence
28 struct cc_hw_desc *desc, unsigned int len,
32 struct cc_crypto_req *cc_req, struct cc_hw_desc *desc,
35 int send_request_init(struct cc_drvdata *drvdata, struct cc_hw_desc *desc,
/linux-master/drivers/usb/core/
H A Dgeneric.c32 static int is_rndis(struct usb_interface_descriptor *desc) argument
34 return desc->bInterfaceClass == USB_CLASS_COMM
35 && desc->bInterfaceSubClass == 2
36 && desc->bInterfaceProtocol == 0xff;
39 static int is_activesync(struct usb_interface_descriptor *desc) argument
41 return desc->bInterfaceClass == USB_CLASS_MISC
42 && desc->bInterfaceSubClass == 1
43 && desc->bInterfaceProtocol == 1;
46 static bool is_audio(struct usb_interface_descriptor *desc) argument
48 return desc
51 is_uac3_config(struct usb_interface_descriptor *desc) argument
86 struct usb_interface_descriptor *desc = NULL; local
[all...]
/linux-master/drivers/net/ethernet/cisco/enic/
H A Dwq_enet_desc.h40 static inline void wq_enet_desc_enc(struct wq_enet_desc *desc, argument
45 desc->address = cpu_to_le64(address);
46 desc->length = cpu_to_le16(length & WQ_ENET_LEN_MASK);
47 desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) <<
49 desc->header_length_flags = cpu_to_le16(
56 desc->vlan_tag = cpu_to_le16(vlan_tag);
59 static inline void wq_enet_desc_dec(struct wq_enet_desc *desc, argument
64 *address = le64_to_cpu(desc->address);
65 *length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK;
66 *mss = (le16_to_cpu(desc
[all...]
/linux-master/drivers/scsi/fnic/
H A Dwq_enet_desc.h39 static inline void wq_enet_desc_enc(struct wq_enet_desc *desc, argument
44 desc->address = cpu_to_le64(address);
45 desc->length = cpu_to_le16(length & WQ_ENET_LEN_MASK);
46 desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) <<
48 desc->header_length_flags = cpu_to_le16(
55 desc->vlan_tag = cpu_to_le16(vlan_tag);
58 static inline void wq_enet_desc_dec(struct wq_enet_desc *desc, argument
63 *address = le64_to_cpu(desc->address);
64 *length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK;
65 *mss = (le16_to_cpu(desc
[all...]
/linux-master/drivers/scsi/snic/
H A Dwq_enet_desc.h37 static inline void wq_enet_desc_enc(struct wq_enet_desc *desc, argument
42 desc->address = cpu_to_le64(address);
43 desc->length = cpu_to_le16(length & WQ_ENET_LEN_MASK);
44 desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) <<
46 desc->header_length_flags = cpu_to_le16(
53 desc->vlan_tag = cpu_to_le16(vlan_tag);
56 static inline void wq_enet_desc_dec(struct wq_enet_desc *desc, argument
61 *address = le64_to_cpu(desc->address);
62 *length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK;
63 *mss = (le16_to_cpu(desc
[all...]
/linux-master/kernel/irq/
H A Dmigration.c10 * @desc: Interrupt descriptor to clean up
18 bool irq_fixup_move_pending(struct irq_desc *desc, bool force_clear) argument
20 struct irq_data *data = irq_desc_get_irq_data(desc);
29 if (cpumask_any_and(desc->pending_mask, cpu_online_mask) >= nr_cpu_ids) {
40 struct irq_desc *desc = irq_data_to_desc(idata); local
41 struct irq_data *data = &desc->irq_data;
57 if (unlikely(cpumask_empty(desc->pending_mask)))
63 assert_raw_spin_locked(&desc->lock);
77 if (cpumask_any_and(desc->pending_mask, cpu_online_mask) < nr_cpu_ids) {
80 ret = irq_do_set_affinity(data, desc
[all...]
H A Dproc.c48 struct irq_desc *desc = irq_to_desc((long)m->private); local
54 mask = desc->irq_common_data.affinity;
56 if (irqd_is_setaffinity_pending(&desc->irq_data))
57 mask = desc->pending_mask;
63 mask = irq_data_get_effective_affinity_mask(&desc->irq_data);
85 struct irq_desc *desc = irq_to_desc((long)m->private); local
92 raw_spin_lock_irqsave(&desc->lock, flags);
93 if (desc->affinity_hint)
94 cpumask_copy(mask, desc->affinity_hint);
95 raw_spin_unlock_irqrestore(&desc
281 struct irq_desc *desc = irq_to_desc((long) m->private); local
290 struct irq_desc *desc = irq_to_desc((long) m->private); local
302 struct irq_desc *desc = irq_to_desc(irq); local
322 struct irq_desc *desc = irq_to_desc(irq); local
338 register_irq_proc(unsigned int irq, struct irq_desc *desc) argument
393 unregister_irq_proc(unsigned int irq, struct irq_desc *desc) argument
433 struct irq_desc *desc; local
467 struct irq_desc *desc; local
[all...]
/linux-master/drivers/pci/msi/
H A Dlegacy.c10 int __weak arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc) argument
21 struct msi_desc *desc; local
31 msi_for_each_desc(desc, &dev->dev, MSI_DESC_NOTASSOCIATED) {
32 ret = arch_setup_msi_irq(dev, desc);
42 struct msi_desc *desc; local
45 msi_for_each_desc(desc, &dev->dev, MSI_DESC_ASSOCIATED) {
46 for (i = 0; i < desc->nvec_used; i++)
47 arch_teardown_msi_irq(desc->irq + i);
53 struct msi_desc *desc; local
60 msi_for_each_desc(desc,
[all...]
/linux-master/arch/x86/include/asm/
H A Ddesc.h16 static inline void fill_ldt(struct desc_struct *desc, const struct user_desc *info) argument
18 desc->limit0 = info->limit & 0x0ffff;
20 desc->base0 = (info->base_addr & 0x0000ffff);
21 desc->base1 = (info->base_addr & 0x00ff0000) >> 16;
23 desc->type = (info->read_exec_only ^ 1) << 1;
24 desc->type |= info->contents << 2;
26 desc->type |= 1;
28 desc->s = 1;
29 desc->dpl = 0x3;
30 desc
103 const u32 *desc = ptr; local
143 native_write_ldt_entry(struct desc_struct *ldt, int entry, const void *desc) argument
149 native_write_gdt_entry(struct desc_struct *gdt, int entry, const void *desc, int type) argument
165 struct ldttss_desc *desc = d; local
383 get_desc_base(const struct desc_struct *desc) argument
388 set_desc_base(struct desc_struct *desc, unsigned long base) argument
395 get_desc_limit(const struct desc_struct *desc) argument
400 set_desc_limit(struct desc_struct *desc, unsigned long limit) argument
[all...]
H A Dinvpcid.h8 struct { u64 d[2]; } desc = { { pcid, addr } }; local
16 asm volatile("invpcid %[desc], %[type]"
17 :: [desc] "m" (desc), [type] "r" (type) : "memory");
/linux-master/include/linux/
H A Dirqdesc.h50 * @request_mutex: mutex to protect request/free before locking desc->lock
119 static inline unsigned int irq_desc_kstat_cpu(struct irq_desc *desc, argument
122 return desc->kstat_irqs ? *per_cpu_ptr(desc->kstat_irqs, cpu) : 0;
130 static inline unsigned int irq_desc_get_irq(struct irq_desc *desc) argument
132 return desc->irq_data.irq;
135 static inline struct irq_data *irq_desc_get_irq_data(struct irq_desc *desc) argument
137 return &desc->irq_data;
140 static inline struct irq_chip *irq_desc_get_chip(struct irq_desc *desc) argument
142 return desc
145 irq_desc_get_chip_data(struct irq_desc *desc) argument
150 irq_desc_get_handler_data(struct irq_desc *desc) argument
159 generic_handle_irq_desc(struct irq_desc *desc) argument
180 irq_desc_has_action(struct irq_desc *desc) argument
198 struct irq_desc *desc = irq_data_to_desc(data); local
220 struct irq_desc *desc = irq_data_to_desc(data); local
[all...]
/linux-master/arch/arm64/crypto/
H A Dsha2-ce-glue.c65 static int sha256_ce_update(struct shash_desc *desc, const u8 *data, argument
68 struct sha256_ce_state *sctx = shash_desc_ctx(desc);
71 return sha256_base_do_update(desc, data, len,
75 sha256_base_do_update(desc, data, len, sha256_ce_transform);
80 static int sha256_ce_finup(struct shash_desc *desc, const u8 *data, argument
83 struct sha256_ce_state *sctx = shash_desc_ctx(desc);
88 sha256_base_do_update(desc, data, len,
90 sha256_base_do_finalize(desc, sha256_arm64_transform);
91 return sha256_base_finish(desc, out);
100 sha256_base_do_update(desc, dat
106 sha256_ce_final(struct shash_desc *desc, u8 *out) argument
120 sha256_ce_digest(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) argument
127 sha256_ce_export(struct shash_desc *desc, void *out) argument
135 sha256_ce_import(struct shash_desc *desc, const void *in) argument
[all...]
H A Dsm3-ce-glue.c26 static int sm3_ce_update(struct shash_desc *desc, const u8 *data, argument
30 sm3_update(shash_desc_ctx(desc), data, len);
35 sm3_base_do_update(desc, data, len, sm3_ce_transform);
41 static int sm3_ce_final(struct shash_desc *desc, u8 *out) argument
44 sm3_final(shash_desc_ctx(desc), out);
49 sm3_base_do_finalize(desc, sm3_ce_transform);
52 return sm3_base_finish(desc, out);
55 static int sm3_ce_finup(struct shash_desc *desc, const u8 *data, argument
59 struct sm3_state *sctx = shash_desc_ctx(desc);
69 sm3_base_do_update(desc, dat
[all...]
H A Dsm3-neon-glue.c23 static int sm3_neon_update(struct shash_desc *desc, const u8 *data, argument
27 sm3_update(shash_desc_ctx(desc), data, len);
32 sm3_base_do_update(desc, data, len, sm3_neon_transform);
38 static int sm3_neon_final(struct shash_desc *desc, u8 *out) argument
41 sm3_final(shash_desc_ctx(desc), out);
46 sm3_base_do_finalize(desc, sm3_neon_transform);
49 return sm3_base_finish(desc, out);
52 static int sm3_neon_finup(struct shash_desc *desc, const u8 *data, argument
56 struct sm3_state *sctx = shash_desc_ctx(desc);
66 sm3_base_do_update(desc, dat
[all...]
/linux-master/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common-v2.c73 const struct mtk_pin_desc *desc,
94 if (desc->number >= rc->range[check].s_pin
95 && desc->number <= rc->range[check].e_pin) {
100 else if (desc->number < rc->range[check].s_pin)
108 field, desc->number, desc->name);
117 field, desc->number, desc->name);
126 (desc->number - c->s_pin) * (c->x_bits);
146 const struct mtk_pin_desc *desc,
72 mtk_hw_pin_field_lookup(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, int field, struct mtk_pin_field *pfd) argument
145 mtk_hw_pin_field_get(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, int field, struct mtk_pin_field *pfd) argument
192 mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, int field, int value) argument
215 mtk_hw_get_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, int field, int *value) argument
237 const struct mtk_pin_desc *desc; local
262 const struct mtk_pin_desc *desc; local
283 const struct mtk_pin_desc *desc; local
304 const struct mtk_pin_desc *desc; local
325 const struct mtk_pin_desc *desc; local
414 mtk_pinconf_bias_disable_set(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc) argument
433 mtk_pinconf_bias_disable_get(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, int *res) argument
456 mtk_pinconf_bias_set(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, bool pullup) argument
476 mtk_pinconf_bias_get(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, bool pullup, int *res) argument
497 mtk_pinconf_bias_disable_set_rev1(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc) argument
505 mtk_pinconf_bias_disable_get_rev1(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, int *res) argument
523 mtk_pinconf_bias_set_rev1(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, bool pullup) argument
543 mtk_pinconf_bias_get_rev1(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, bool pullup, int *res) argument
574 mtk_pinconf_bias_set_pu_pd(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 pullup, u32 arg) argument
604 mtk_pinconf_bias_set_pullsel_pullen(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 pullup, u32 arg) argument
629 mtk_pinconf_bias_set_pupd_r1_r0(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 pullup, u32 arg) argument
668 mtk_hw_pin_rsel_lookup(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 pullup, u32 arg, u32 *rsel_val) argument
706 mtk_pinconf_bias_set_rsel(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 pullup, u32 arg) argument
740 mtk_pinconf_bias_set_combo(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 pullup, u32 arg) argument
781 mtk_rsel_get_si_unit(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 pullup, u32 rsel_val, u32 *si_unit) argument
806 mtk_pinconf_bias_get_rsel(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 *pullup, u32 *enable) argument
848 mtk_pinconf_bias_get_pu_pd(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 *pullup, u32 *enable) argument
878 mtk_pinconf_bias_get_pullsel_pullen(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 *pullup, u32 *enable) argument
894 mtk_pinconf_bias_get_pupd_r1_r0(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 *pullup, u32 *enable) argument
929 mtk_pinconf_bias_get_combo(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 *pullup, u32 *enable) argument
968 mtk_pinconf_drive_set(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 arg) argument
997 mtk_pinconf_drive_get(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, int *val) argument
1023 mtk_pinconf_drive_set_rev1(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 arg) argument
1044 mtk_pinconf_drive_get_rev1(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, int *val) argument
1062 mtk_pinconf_drive_set_raw(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 arg) argument
1069 mtk_pinconf_drive_get_raw(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, int *val) argument
1076 mtk_pinconf_adv_pull_set(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, bool pullup, u32 arg) argument
1119 mtk_pinconf_adv_pull_get(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, bool pullup, u32 *val) argument
1162 mtk_pinconf_adv_drive_set(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 arg) argument
1189 mtk_pinconf_adv_drive_get(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 *val) argument
1213 mtk_pinconf_adv_drive_set_raw(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 arg) argument
1220 mtk_pinconf_adv_drive_get_raw(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 *val) argument
[all...]
/linux-master/include/crypto/
H A Dsha3.h29 int crypto_sha3_init(struct shash_desc *desc);
30 int crypto_sha3_update(struct shash_desc *desc, const u8 *data,
32 int crypto_sha3_final(struct shash_desc *desc, u8 *out);
/linux-master/drivers/gpu/drm/sti/
H A Dsti_cursor.h14 struct device *dev, int desc,
/linux-master/drivers/usb/gadget/
H A Depautoconf.c23 * @desc: Endpoint descriptor, with endpoint direction and transfer mode
65 struct usb_endpoint_descriptor *desc,
72 ep = gadget->ops->match_ep(gadget, desc, ep_comp);
79 if (usb_gadget_ep_match_desc(gadget, ep, desc, ep_comp))
91 if (desc->wMaxPacketSize == 0)
92 desc->wMaxPacketSize = cpu_to_le16(ep->maxpacket_limit);
95 desc->bEndpointAddress &= USB_DIR_IN;
98 desc->bEndpointAddress |= num;
99 } else if (desc->bEndpointAddress & USB_DIR_IN) {
102 desc
63 usb_ep_autoconfig_ss( struct usb_gadget *gadget, struct usb_endpoint_descriptor *desc, struct usb_ss_ep_comp_descriptor *ep_comp ) argument
[all...]
/linux-master/sound/soc/sof/
H A Dsof-acpi-dev.h13 int sof_acpi_probe(struct platform_device *pdev, const struct sof_dev_desc *desc);
/linux-master/drivers/gpio/
H A Dgpiolib.h96 * @desc: Array of pointers to the GPIO descriptors
97 * @size: Number of elements in desc
108 struct gpio_desc **desc; member in struct:gpio_array
116 #define for_each_gpio_desc(gc, desc) \
118 __i < gc->ngpio && (desc = gpiochip_get_desc(gc, __i)); \
121 #define for_each_gpio_desc_with_flag(gc, desc, flag) \
122 for_each_gpio_desc(gc, desc) \
123 if (!test_bit(flag, &desc->flags)) {} else
136 int gpiod_set_transitory(struct gpio_desc *desc, bool transitory);
138 void gpiod_line_state_notify(struct gpio_desc *desc, unsigne
215 gpiod_request_user(struct gpio_desc *desc, const char *label) argument
245 gpio_chip_hwgpio(const struct gpio_desc *desc) argument
[all...]
/linux-master/drivers/staging/media/atomisp/pci/base/circbuf/interface/
H A Dia_css_circbuf.h37 ia_css_circbuf_desc_t *desc; /* Pointer to the descriptor of the circbuf */ member in struct:ia_css_circbuf_s
46 * @param desc The descriptor set to the size using ia_css_circbuf_desc_init().
51 ia_css_circbuf_desc_t *desc);
154 OP___assert(cb->desc);
155 OP___assert(cb->desc->size > 0);
159 offset += cb->desc->size;
163 dest = OP_std_modadd(base, offset, cb->desc->size);
187 OP___assert(cb->desc);
190 offset += (offset < 0) ? cb->desc->size : 0;
208 OP___assert(cb->desc);
[all...]
/linux-master/arch/x86/crypto/
H A Dsha256_ssse3_glue.c58 static int _sha256_update(struct shash_desc *desc, const u8 *data, argument
61 struct sha256_state *sctx = shash_desc_ctx(desc);
65 return crypto_sha256_update(desc, data, len);
74 sha256_base_do_update(desc, data, len, sha256_xform);
80 static int sha256_finup(struct shash_desc *desc, const u8 *data, argument
84 return crypto_sha256_finup(desc, data, len, out);
88 sha256_base_do_update(desc, data, len, sha256_xform);
89 sha256_base_do_finalize(desc, sha256_xform);
92 return sha256_base_finish(desc, out);
95 static int sha256_ssse3_update(struct shash_desc *desc, cons argument
101 sha256_ssse3_finup(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) argument
108 sha256_ssse3_final(struct shash_desc *desc, u8 *out) argument
113 sha256_ssse3_digest(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) argument
169 sha256_avx_update(struct shash_desc *desc, const u8 *data, unsigned int len) argument
175 sha256_avx_finup(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) argument
181 sha256_avx_final(struct shash_desc *desc, u8 *out) argument
186 sha256_avx_digest(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) argument
253 sha256_avx2_update(struct shash_desc *desc, const u8 *data, unsigned int len) argument
259 sha256_avx2_finup(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) argument
265 sha256_avx2_final(struct shash_desc *desc, u8 *out) argument
270 sha256_avx2_digest(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) argument
336 sha256_ni_update(struct shash_desc *desc, const u8 *data, unsigned int len) argument
342 sha256_ni_finup(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) argument
348 sha256_ni_final(struct shash_desc *desc, u8 *out) argument
353 sha256_ni_digest(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) argument
[all...]

Completed in 2038 milliseconds

1234567891011>>