Home
last modified time | relevance | path

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

12345

/include/linux/
Dirqdesc.h125 static inline unsigned int irq_desc_get_irq(struct irq_desc *desc) in irq_desc_get_irq() argument
127 return desc->irq_data.irq; in irq_desc_get_irq()
130 static inline struct irq_data *irq_desc_get_irq_data(struct irq_desc *desc) in irq_desc_get_irq_data() argument
132 return &desc->irq_data; in irq_desc_get_irq_data()
135 static inline struct irq_chip *irq_desc_get_chip(struct irq_desc *desc) in irq_desc_get_chip() argument
137 return desc->irq_data.chip; in irq_desc_get_chip()
140 static inline void *irq_desc_get_chip_data(struct irq_desc *desc) in irq_desc_get_chip_data() argument
142 return desc->irq_data.chip_data; in irq_desc_get_chip_data()
145 static inline void *irq_desc_get_handler_data(struct irq_desc *desc) in irq_desc_get_handler_data() argument
147 return desc->irq_common_data.handler_data; in irq_desc_get_handler_data()
[all …]
Delfnote.h56 #define ELFNOTE(name, type, desc) \
58 desc ; \
72 #define _ELFNOTE(size, name, unique, type, desc) \ argument
77 typeof(desc) _desc \
86 sizeof(desc), \
90 desc \
92 #define ELFNOTE(size, name, type, desc) \ argument
93 _ELFNOTE(size, name, __LINE__, type, desc)
95 #define ELFNOTE32(name, type, desc) ELFNOTE(32, name, type, desc) argument
96 #define ELFNOTE64(name, type, desc) ELFNOTE(64, name, type, desc) argument
Dirqnr.h12 # define for_each_irq_desc(irq, desc) \ argument
13 for (irq = 0, desc = irq_to_desc(irq); irq < nr_irqs; \
14 irq++, desc = irq_to_desc(irq)) \
15 if (!desc) \
20 # define for_each_irq_desc_reverse(irq, desc) \ argument
21 for (irq = nr_irqs - 1, desc = irq_to_desc(irq); irq >= 0; \
22 irq--, desc = irq_to_desc(irq)) \
23 if (!desc) \
Dmsi.h29 typedef void (*irq_write_msi_msg_t)(struct msi_desc *desc,
134 #define msi_desc_to_dev(desc) ((desc)->dev) argument
138 #define for_each_msi_entry(desc, dev) \ argument
139 list_for_each_entry((desc), dev_to_msi_list((dev)), list)
140 #define for_each_msi_entry_safe(desc, tmp, dev) \ argument
141 list_for_each_entry_safe((desc), (tmp), dev_to_msi_list((dev)), list)
142 #define for_each_msi_vector(desc, __irq, dev) \ argument
143 for_each_msi_entry((desc), (dev)) \
144 if ((desc)->irq) \
145 for (__irq = (desc)->irq; \
[all …]
Ddevfreq-event.h33 const struct devfreq_event_desc *desc; member
112 struct devfreq_event_desc *desc);
115 struct devfreq_event_desc *desc);
120 return edev->desc->driver_data; in devfreq_event_get_drvdata()
166 struct devfreq_event_desc *desc) in devfreq_event_add_edev() argument
178 struct devfreq_event_desc *desc) in devm_devfreq_event_add_edev() argument
Ddma-iommu.h32 int iommu_dma_prepare_msi(struct msi_desc *desc, phys_addr_t msi_addr);
35 void iommu_dma_compose_msi_msg(struct msi_desc *desc,
71 static inline int iommu_dma_prepare_msi(struct msi_desc *desc, in iommu_dma_prepare_msi() argument
77 static inline void iommu_dma_compose_msi_msg(struct msi_desc *desc, in iommu_dma_compose_msi_msg() argument
/include/uapi/linux/usb/
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 …]
/include/linux/gpio/
Dconsumer.h35 struct gpio_desc *desc[]; member
84 void gpiod_put(struct gpio_desc *desc);
106 void devm_gpiod_put(struct device *dev, struct gpio_desc *desc);
107 void devm_gpiod_unhinge(struct device *dev, struct gpio_desc *desc);
110 int gpiod_get_direction(struct gpio_desc *desc);
111 int gpiod_direction_input(struct gpio_desc *desc);
112 int gpiod_direction_output(struct gpio_desc *desc, int value);
113 int gpiod_direction_output_raw(struct gpio_desc *desc, int value);
116 int gpiod_get_value(const struct gpio_desc *desc);
121 void gpiod_set_value(struct gpio_desc *desc, int value);
[all …]
/include/soc/fsl/qe/
Dqe_ic.h58 void (*low_handler)(struct irq_desc *desc),
59 void (*high_handler)(struct irq_desc *desc));
64 void (*low_handler)(struct irq_desc *desc), in qe_ic_init() argument
65 void (*high_handler)(struct irq_desc *desc)) in qe_ic_init() argument
77 static inline void qe_ic_cascade_low_ipic(struct irq_desc *desc) in qe_ic_cascade_low_ipic() argument
79 struct qe_ic *qe_ic = irq_desc_get_handler_data(desc); in qe_ic_cascade_low_ipic()
86 static inline void qe_ic_cascade_high_ipic(struct irq_desc *desc) in qe_ic_cascade_high_ipic() argument
88 struct qe_ic *qe_ic = irq_desc_get_handler_data(desc); in qe_ic_cascade_high_ipic()
95 static inline void qe_ic_cascade_low_mpic(struct irq_desc *desc) in qe_ic_cascade_low_mpic() argument
97 struct qe_ic *qe_ic = irq_desc_get_handler_data(desc); in qe_ic_cascade_low_mpic()
[all …]
/include/uapi/linux/
Dmic_common.h105 struct mic_device_desc desc[0]; member
177 static inline unsigned mic_desc_size(const struct mic_device_desc *desc) in mic_desc_size() argument
179 return sizeof(*desc) + desc->num_vq * sizeof(struct mic_vqconfig) in mic_desc_size()
180 + desc->feature_len * 2 + desc->config_len; in mic_desc_size()
184 mic_vq_config(const struct mic_device_desc *desc) in mic_vq_config() argument
186 return (struct mic_vqconfig *)(desc + 1); in mic_vq_config()
189 static inline __u8 *mic_vq_features(const struct mic_device_desc *desc) in mic_vq_features() argument
191 return (__u8 *)(mic_vq_config(desc) + desc->num_vq); in mic_vq_features()
194 static inline __u8 *mic_vq_configspace(const struct mic_device_desc *desc) in mic_vq_configspace() argument
196 return mic_vq_features(desc) + desc->feature_len * 2; in mic_vq_configspace()
[all …]
/include/linux/irqchip/
Dchained_irq.h17 struct irq_desc *desc) in chained_irq_enter() argument
24 chip->irq_mask_ack(&desc->irq_data); in chained_irq_enter()
26 chip->irq_mask(&desc->irq_data); in chained_irq_enter()
28 chip->irq_ack(&desc->irq_data); in chained_irq_enter()
33 struct irq_desc *desc) in chained_irq_exit() argument
36 chip->irq_eoi(&desc->irq_data); in chained_irq_exit()
38 chip->irq_unmask(&desc->irq_data); in chained_irq_exit()
/include/linux/mtd/
Dubi.h225 void ubi_get_volume_info(struct ubi_volume_desc *desc,
236 void ubi_close_volume(struct ubi_volume_desc *desc);
237 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset,
239 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl,
241 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf,
243 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf,
245 int ubi_leb_erase(struct ubi_volume_desc *desc, int lnum);
246 int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum);
247 int ubi_leb_map(struct ubi_volume_desc *desc, int lnum);
248 int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum);
[all …]
/include/linux/soc/qcom/
Dllcc-qcom.h140 void llcc_slice_putd(struct llcc_slice_desc *desc);
146 int llcc_get_slice_id(struct llcc_slice_desc *desc);
152 size_t llcc_get_slice_size(struct llcc_slice_desc *desc);
158 int llcc_slice_activate(struct llcc_slice_desc *desc);
164 int llcc_slice_deactivate(struct llcc_slice_desc *desc);
172 static inline void llcc_slice_putd(struct llcc_slice_desc *desc) in llcc_slice_putd() argument
177 static inline int llcc_get_slice_id(struct llcc_slice_desc *desc) in llcc_get_slice_id() argument
182 static inline size_t llcc_get_slice_size(struct llcc_slice_desc *desc) in llcc_get_slice_size() argument
186 static inline int llcc_slice_activate(struct llcc_slice_desc *desc) in llcc_slice_activate() argument
191 static inline int llcc_slice_deactivate(struct llcc_slice_desc *desc) in llcc_slice_deactivate() argument
/include/crypto/
Dsha256_base.h21 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()
28 static inline int sha256_base_init(struct shash_desc *desc) in sha256_base_init() argument
30 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_init()
35 static inline int sha256_base_do_update(struct shash_desc *desc, in sha256_base_do_update() argument
40 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_do_update()
73 static inline int sha256_base_do_finalize(struct shash_desc *desc, in sha256_base_do_finalize() argument
77 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_do_finalize()
96 static inline int sha256_base_finish(struct shash_desc *desc, u8 *out) in sha256_base_finish() argument
98 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in sha256_base_finish()
[all …]
Dsha512_base.h21 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 …]
Dhash.h180 int (*init)(struct shash_desc *desc);
181 int (*update)(struct shash_desc *desc, const u8 *data,
183 int (*final)(struct shash_desc *desc, u8 *out);
184 int (*finup)(struct shash_desc *desc, const u8 *data,
186 int (*digest)(struct shash_desc *desc, const u8 *data,
188 int (*export)(struct shash_desc *desc, void *out);
189 int (*import)(struct shash_desc *desc, const void *in);
810 static inline void *shash_desc_ctx(struct shash_desc *desc) in shash_desc_ctx() argument
812 return desc->__ctx; in shash_desc_ctx()
846 int crypto_shash_digest(struct shash_desc *desc, const u8 *data,
[all …]
Dsm3_base.h20 static inline int sm3_base_init(struct shash_desc *desc) in sm3_base_init() argument
22 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_init()
37 static inline int sm3_base_do_update(struct shash_desc *desc, in sm3_base_do_update() argument
42 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_do_update()
75 static inline int sm3_base_do_finalize(struct shash_desc *desc, in sm3_base_do_finalize() argument
79 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_do_finalize()
98 static inline int sm3_base_finish(struct shash_desc *desc, u8 *out) in sm3_base_finish() argument
100 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_finish()
Dsha1_base.h20 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()
Dnhpoly1305.h64 int crypto_nhpoly1305_init(struct shash_desc *desc);
65 int crypto_nhpoly1305_update(struct shash_desc *desc,
67 int crypto_nhpoly1305_update_helper(struct shash_desc *desc,
70 int crypto_nhpoly1305_final(struct shash_desc *desc, u8 *dst);
71 int crypto_nhpoly1305_final_helper(struct shash_desc *desc, u8 *dst,
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);
/include/crypto/internal/
Dblake2b.h86 static inline int crypto_blake2b_init(struct shash_desc *desc) in crypto_blake2b_init() argument
88 const struct blake2b_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in crypto_blake2b_init()
89 struct blake2b_state *state = shash_desc_ctx(desc); in crypto_blake2b_init()
90 unsigned int outlen = crypto_shash_digestsize(desc->tfm); in crypto_blake2b_init()
96 static inline int crypto_blake2b_update(struct shash_desc *desc, in crypto_blake2b_update() argument
100 struct blake2b_state *state = shash_desc_ctx(desc); in crypto_blake2b_update()
106 static inline int crypto_blake2b_final(struct shash_desc *desc, u8 *out, in crypto_blake2b_final() argument
109 struct blake2b_state *state = shash_desc_ctx(desc); in crypto_blake2b_final()
Dblake2s.h100 static inline int crypto_blake2s_init(struct shash_desc *desc) in crypto_blake2s_init() argument
102 const struct blake2s_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in crypto_blake2s_init()
103 struct blake2s_state *state = shash_desc_ctx(desc); in crypto_blake2s_init()
104 unsigned int outlen = crypto_shash_digestsize(desc->tfm); in crypto_blake2s_init()
110 static inline int crypto_blake2s_update(struct shash_desc *desc, in crypto_blake2s_update() argument
114 struct blake2s_state *state = shash_desc_ctx(desc); in crypto_blake2s_update()
120 static inline int crypto_blake2s_final(struct shash_desc *desc, u8 *out, in crypto_blake2s_final() argument
123 struct blake2s_state *state = shash_desc_ctx(desc); in crypto_blake2s_final()
/include/linux/regulator/
Dof_regulator.h17 const struct regulator_desc *desc; member
24 const struct regulator_desc *desc);
32 const struct regulator_desc *desc) in of_get_regulator_init_data() argument
/include/linux/fsl/bestcomm/
Dbestcomm_priv.h302 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/linux/spi/
Dspi-mem.h259 int (*dirmap_create)(struct spi_mem_dirmap_desc *desc);
260 void (*dirmap_destroy)(struct spi_mem_dirmap_desc *desc);
261 ssize_t (*dirmap_read)(struct spi_mem_dirmap_desc *desc,
263 ssize_t (*dirmap_write)(struct spi_mem_dirmap_desc *desc,
340 void spi_mem_dirmap_destroy(struct spi_mem_dirmap_desc *desc);
341 ssize_t spi_mem_dirmap_read(struct spi_mem_dirmap_desc *desc,
343 ssize_t spi_mem_dirmap_write(struct spi_mem_dirmap_desc *desc,
349 struct spi_mem_dirmap_desc *desc);

12345