/include/linux/ |
D | irqdesc.h | 114 static inline unsigned int irq_desc_get_irq(struct irq_desc *desc) in irq_desc_get_irq() argument 116 return desc->irq_data.irq; in irq_desc_get_irq() 119 static inline struct irq_data *irq_desc_get_irq_data(struct irq_desc *desc) in irq_desc_get_irq_data() argument 121 return &desc->irq_data; in irq_desc_get_irq_data() 124 static inline struct irq_chip *irq_desc_get_chip(struct irq_desc *desc) in irq_desc_get_chip() argument 126 return desc->irq_data.chip; in irq_desc_get_chip() 129 static inline void *irq_desc_get_chip_data(struct irq_desc *desc) in irq_desc_get_chip_data() argument 131 return desc->irq_data.chip_data; in irq_desc_get_chip_data() 134 static inline void *irq_desc_get_handler_data(struct irq_desc *desc) in irq_desc_get_handler_data() argument 136 return desc->irq_common_data.handler_data; in irq_desc_get_handler_data() [all …]
|
D | elfnote.h | 55 #define ELFNOTE(name, type, desc) \ 57 desc ; \ 71 #define _ELFNOTE(size, name, unique, type, desc) \ argument 76 typeof(desc) _desc \ 85 sizeof(desc), \ 89 desc \ 91 #define ELFNOTE(size, name, type, desc) \ argument 92 _ELFNOTE(size, name, __LINE__, type, desc) 94 #define ELFNOTE32(name, type, desc) ELFNOTE(32, name, type, desc) argument 95 #define ELFNOTE64(name, type, desc) ELFNOTE(64, name, type, desc) argument
|
D | irqnr.h | 11 # define for_each_irq_desc(irq, desc) \ argument 12 for (irq = 0, desc = irq_to_desc(irq); irq < nr_irqs; \ 13 irq++, desc = irq_to_desc(irq)) \ 14 if (!desc) \ 19 # define for_each_irq_desc_reverse(irq, desc) \ argument 20 for (irq = nr_irqs - 1, desc = irq_to_desc(irq); irq >= 0; \ 21 irq--, desc = irq_to_desc(irq)) \ 22 if (!desc) \
|
D | msi.h | 22 typedef void (*irq_write_msi_msg_t)(struct msi_desc *desc, 105 #define msi_desc_to_dev(desc) ((desc)->dev) argument 109 #define for_each_msi_entry(desc, dev) \ argument 110 list_for_each_entry((desc), dev_to_msi_list((dev)), list) 114 #define for_each_pci_msi_entry(desc, pdev) \ argument 115 for_each_msi_entry((desc), &(pdev)->dev) 117 struct pci_dev *msi_desc_to_pci_dev(struct msi_desc *desc); 118 void *msi_desc_to_pci_sysdata(struct msi_desc *desc); 120 static inline void *msi_desc_to_pci_sysdata(struct msi_desc *desc) in msi_desc_to_pci_sysdata() argument 133 u32 __pci_msix_desc_mask_irq(struct msi_desc *desc, u32 flag); [all …]
|
D | devfreq-event.h | 36 const struct devfreq_event_desc *desc; member 109 struct devfreq_event_desc *desc); 112 struct devfreq_event_desc *desc); 117 return edev->desc->driver_data; in devfreq_event_get_drvdata() 163 struct devfreq_event_desc *desc) in devfreq_event_add_edev() argument 175 struct devfreq_event_desc *desc) in devm_devfreq_event_add_edev() argument
|
D | crypto.h | 194 unsigned int (*prfn)(const struct cipher_desc *desc, u8 *dst, 287 int (*encrypt)(struct blkcipher_desc *desc, 290 int (*decrypt)(struct blkcipher_desc *desc, 550 int (*encrypt)(struct blkcipher_desc *desc, struct scatterlist *dst, 552 int (*decrypt)(struct blkcipher_desc *desc, struct scatterlist *dst, 1286 static inline int crypto_blkcipher_encrypt(struct blkcipher_desc *desc, in crypto_blkcipher_encrypt() argument 1291 desc->info = crypto_blkcipher_crt(desc->tfm)->iv; in crypto_blkcipher_encrypt() 1292 return crypto_blkcipher_crt(desc->tfm)->encrypt(desc, dst, src, nbytes); in crypto_blkcipher_encrypt() 1314 static inline int crypto_blkcipher_encrypt_iv(struct blkcipher_desc *desc, in crypto_blkcipher_encrypt_iv() argument 1319 return crypto_blkcipher_crt(desc->tfm)->encrypt(desc, dst, src, nbytes); in crypto_blkcipher_encrypt_iv() [all …]
|
D | irqhandler.h | 11 typedef void (*irq_flow_handler_t)(struct irq_desc *desc);
|
/include/uapi/linux/usb/ |
D | audio.h | 257 static inline __u8 uac_mixer_unit_bNrChannels(struct uac_mixer_unit_descriptor *desc) in uac_mixer_unit_bNrChannels() argument 259 return desc->baSourceID[desc->bNrInPins]; in uac_mixer_unit_bNrChannels() 262 static inline __u32 uac_mixer_unit_wChannelConfig(struct uac_mixer_unit_descriptor *desc, in uac_mixer_unit_wChannelConfig() argument 266 return (desc->baSourceID[desc->bNrInPins + 2] << 8) | in uac_mixer_unit_wChannelConfig() 267 desc->baSourceID[desc->bNrInPins + 1]; in uac_mixer_unit_wChannelConfig() 269 return (desc->baSourceID[desc->bNrInPins + 4] << 24) | in uac_mixer_unit_wChannelConfig() 270 (desc->baSourceID[desc->bNrInPins + 3] << 16) | in uac_mixer_unit_wChannelConfig() 271 (desc->baSourceID[desc->bNrInPins + 2] << 8) | in uac_mixer_unit_wChannelConfig() 272 (desc->baSourceID[desc->bNrInPins + 1]); in uac_mixer_unit_wChannelConfig() 275 static inline __u8 uac_mixer_unit_iChannelNames(struct uac_mixer_unit_descriptor *desc, in uac_mixer_unit_iChannelNames() argument [all …]
|
/include/soc/fsl/qe/ |
D | qe_ic.h | 62 void (*low_handler)(struct irq_desc *desc), 63 void (*high_handler)(struct irq_desc *desc)); 68 void (*low_handler)(struct irq_desc *desc), in qe_ic_init() argument 69 void (*high_handler)(struct irq_desc *desc)) in qe_ic_init() argument 81 static inline void qe_ic_cascade_low_ipic(struct irq_desc *desc) in qe_ic_cascade_low_ipic() argument 83 struct qe_ic *qe_ic = irq_desc_get_handler_data(desc); in qe_ic_cascade_low_ipic() 90 static inline void qe_ic_cascade_high_ipic(struct irq_desc *desc) in qe_ic_cascade_high_ipic() argument 92 struct qe_ic *qe_ic = irq_desc_get_handler_data(desc); in qe_ic_cascade_high_ipic() 99 static inline void qe_ic_cascade_low_mpic(struct irq_desc *desc) in qe_ic_cascade_low_mpic() argument 101 struct qe_ic *qe_ic = irq_desc_get_handler_data(desc); in qe_ic_cascade_low_mpic() [all …]
|
/include/linux/gpio/ |
D | consumer.h | 25 struct gpio_desc *desc[]; member 70 void gpiod_put(struct gpio_desc *desc); 92 void devm_gpiod_put(struct device *dev, struct gpio_desc *desc); 95 int gpiod_get_direction(struct gpio_desc *desc); 96 int gpiod_direction_input(struct gpio_desc *desc); 97 int gpiod_direction_output(struct gpio_desc *desc, int value); 98 int gpiod_direction_output_raw(struct gpio_desc *desc, int value); 101 int gpiod_get_value(const struct gpio_desc *desc); 102 void gpiod_set_value(struct gpio_desc *desc, int value); 105 int gpiod_get_raw_value(const struct gpio_desc *desc); [all …]
|
/include/uapi/linux/ |
D | mic_common.h | 104 struct mic_device_desc desc[0]; member 176 static inline unsigned mic_desc_size(const struct mic_device_desc *desc) in mic_desc_size() argument 178 return sizeof(*desc) + desc->num_vq * sizeof(struct mic_vqconfig) in mic_desc_size() 179 + desc->feature_len * 2 + desc->config_len; in mic_desc_size() 183 mic_vq_config(const struct mic_device_desc *desc) in mic_vq_config() argument 185 return (struct mic_vqconfig *)(desc + 1); in mic_vq_config() 188 static inline __u8 *mic_vq_features(const struct mic_device_desc *desc) in mic_vq_features() argument 190 return (__u8 *)(mic_vq_config(desc) + desc->num_vq); in mic_vq_features() 193 static inline __u8 *mic_vq_configspace(const struct mic_device_desc *desc) in mic_vq_configspace() argument 195 return mic_vq_features(desc) + desc->feature_len * 2; in mic_vq_configspace() [all …]
|
/include/linux/irqchip/ |
D | chained_irq.h | 28 struct irq_desc *desc) in chained_irq_enter() argument 35 chip->irq_mask_ack(&desc->irq_data); in chained_irq_enter() 37 chip->irq_mask(&desc->irq_data); in chained_irq_enter() 39 chip->irq_ack(&desc->irq_data); in chained_irq_enter() 44 struct irq_desc *desc) in chained_irq_exit() argument 47 chip->irq_eoi(&desc->irq_data); in chained_irq_exit() 49 chip->irq_unmask(&desc->irq_data); in chained_irq_exit()
|
D | irq-partition-percpu.h | 30 int partition_translate_id(struct partition_desc *desc, void *partition_id); 38 static inline int partition_translate_id(struct partition_desc *desc, in partition_translate_id() argument
|
/include/linux/mtd/ |
D | ubi.h | 238 void ubi_get_volume_info(struct ubi_volume_desc *desc, 249 void ubi_close_volume(struct ubi_volume_desc *desc); 250 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset, 252 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl, 254 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf, 256 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf, 258 int ubi_leb_erase(struct ubi_volume_desc *desc, int lnum); 259 int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum); 260 int ubi_leb_map(struct ubi_volume_desc *desc, int lnum); 261 int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum); [all …]
|
/include/crypto/ |
D | sha256_base.h | 21 static inline int sha224_base_init(struct shash_desc *desc) in sha224_base_init() argument 23 struct sha256_state *sctx = shash_desc_ctx(desc); in sha224_base_init() 38 static inline int sha256_base_init(struct shash_desc *desc) in sha256_base_init() argument 40 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_init() 55 static inline int sha256_base_do_update(struct shash_desc *desc, in sha256_base_do_update() argument 60 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_do_update() 93 static inline int sha256_base_do_finalize(struct shash_desc *desc, in sha256_base_do_finalize() argument 97 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_do_finalize() 116 static inline int sha256_base_finish(struct shash_desc *desc, u8 *out) in sha256_base_finish() argument 118 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in sha256_base_finish() [all …]
|
D | hash.h | 173 int (*init)(struct shash_desc *desc); 174 int (*update)(struct shash_desc *desc, const u8 *data, 176 int (*final)(struct shash_desc *desc, u8 *out); 177 int (*finup)(struct shash_desc *desc, const u8 *data, 179 int (*digest)(struct shash_desc *desc, const u8 *data, 181 int (*export)(struct shash_desc *desc, void *out); 182 int (*import)(struct shash_desc *desc, const void *in); 786 static inline void *shash_desc_ctx(struct shash_desc *desc) in shash_desc_ctx() argument 788 return desc->__ctx; in shash_desc_ctx() 820 int crypto_shash_digest(struct shash_desc *desc, const u8 *data, [all …]
|
D | sha512_base.h | 21 static inline int sha384_base_init(struct shash_desc *desc) in sha384_base_init() argument 23 struct sha512_state *sctx = shash_desc_ctx(desc); in sha384_base_init() 38 static inline int sha512_base_init(struct shash_desc *desc) in sha512_base_init() argument 40 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_init() 55 static inline int sha512_base_do_update(struct shash_desc *desc, in sha512_base_do_update() argument 60 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_do_update() 95 static inline int sha512_base_do_finalize(struct shash_desc *desc, in sha512_base_do_finalize() argument 99 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_do_finalize() 119 static inline int sha512_base_finish(struct shash_desc *desc, u8 *out) in sha512_base_finish() argument 121 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in sha512_base_finish() [all …]
|
D | sha1_base.h | 20 static inline int sha1_base_init(struct shash_desc *desc) in sha1_base_init() argument 22 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_init() 34 static inline int sha1_base_do_update(struct shash_desc *desc, in sha1_base_do_update() argument 39 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_do_update() 72 static inline int sha1_base_do_finalize(struct shash_desc *desc, in sha1_base_do_finalize() argument 76 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_do_finalize() 95 static inline int sha1_base_finish(struct shash_desc *desc, u8 *out) in sha1_base_finish() argument 97 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_finish()
|
D | sha.h | 93 extern int crypto_sha1_update(struct shash_desc *desc, const u8 *data, 96 extern int crypto_sha1_finup(struct shash_desc *desc, const u8 *data, 99 extern int crypto_sha256_update(struct shash_desc *desc, const u8 *data, 102 extern int crypto_sha256_finup(struct shash_desc *desc, const u8 *data, 105 extern int crypto_sha512_update(struct shash_desc *desc, const u8 *data, 108 extern int crypto_sha512_finup(struct shash_desc *desc, const u8 *data,
|
D | poly1305.h | 32 int crypto_poly1305_init(struct shash_desc *desc); 35 int crypto_poly1305_update(struct shash_desc *desc, 37 int crypto_poly1305_final(struct shash_desc *desc, u8 *dst);
|
/include/linux/regulator/ |
D | of_regulator.h | 16 const struct regulator_desc *desc; member 23 const struct regulator_desc *desc); 31 const struct regulator_desc *desc) in of_get_regulator_init_data() argument
|
/include/linux/fsl/bestcomm/ |
D | bestcomm_priv.h | 302 bcom_drd_is_extended(u32 desc) in bcom_drd_is_extended() argument 304 return (desc) & BCOM_DRD_EXTENDED; in bcom_drd_is_extended() 308 bcom_desc_is_drd(u32 desc) in bcom_desc_is_drd() argument 310 return !(desc & BCOM_LCD_MASK) && desc != BCOM_DESC_NOP; in bcom_desc_is_drd() 314 bcom_desc_initiator(u32 desc) in bcom_desc_initiator() argument 316 return (desc >> BCOM_DRD_INITIATOR_SHIFT) & 0x1f; in bcom_desc_initiator() 320 bcom_set_desc_initiator(u32 *desc, int initiator) in bcom_set_desc_initiator() argument 322 *desc = (*desc & ~(0x1f << BCOM_DRD_INITIATOR_SHIFT)) | in bcom_set_desc_initiator()
|
/include/crypto/internal/ |
D | hash.h | 123 int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc); 124 int shash_ahash_finup(struct ahash_request *req, struct shash_desc *desc); 125 int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc); 127 int ahash_mcryptd_update(struct ahash_request *desc); 128 int ahash_mcryptd_final(struct ahash_request *desc); 129 int ahash_mcryptd_finup(struct ahash_request *desc); 130 int ahash_mcryptd_digest(struct ahash_request *desc);
|
/include/linux/usb/ |
D | class-dual-role.h | 83 const struct dual_role_phy_desc *desc; member 97 const struct dual_role_phy_desc *desc); 116 const struct dual_role_phy_desc *desc) in devm_dual_role_instance_register() argument
|
/include/linux/soc/ti/ |
D | knav_qmss.h | 83 void knav_pool_desc_put(void *ph, void *desc); 84 int knav_pool_desc_map(void *ph, void *desc, unsigned size,
|