/include/linux/mmc/ |
D | sh_mmcif.h | 93 static inline void sh_mmcif_boot_cmd_send(void __iomem *base, in sh_mmcif_boot_cmd_send() argument 96 sh_mmcif_writel(base, MMCIF_CE_INT, 0); in sh_mmcif_boot_cmd_send() 97 sh_mmcif_writel(base, MMCIF_CE_ARG, arg); in sh_mmcif_boot_cmd_send() 98 sh_mmcif_writel(base, MMCIF_CE_CMD_SET, cmd); in sh_mmcif_boot_cmd_send() 101 static inline int sh_mmcif_boot_cmd_poll(void __iomem *base, unsigned long mask) in sh_mmcif_boot_cmd_poll() argument 107 tmp = sh_mmcif_readl(base, MMCIF_CE_INT); in sh_mmcif_boot_cmd_poll() 109 sh_mmcif_writel(base, MMCIF_CE_INT, tmp & ~mask); in sh_mmcif_boot_cmd_poll() 117 static inline int sh_mmcif_boot_cmd(void __iomem *base, in sh_mmcif_boot_cmd() argument 120 sh_mmcif_boot_cmd_send(base, cmd, arg); in sh_mmcif_boot_cmd() 121 return sh_mmcif_boot_cmd_poll(base, 0x00010000); in sh_mmcif_boot_cmd() [all …]
|
/include/linux/ |
D | kstrtox.h | 9 int __must_check _kstrtoul(const char *s, unsigned int base, unsigned long *res); 10 int __must_check _kstrtol(const char *s, unsigned int base, long *res); 12 int __must_check kstrtoull(const char *s, unsigned int base, unsigned long long *res); 13 int __must_check kstrtoll(const char *s, unsigned int base, long long *res); 30 static inline int __must_check kstrtoul(const char *s, unsigned int base, unsigned long *res) in kstrtoul() argument 38 return kstrtoull(s, base, (unsigned long long *)res); in kstrtoul() 40 return _kstrtoul(s, base, res); in kstrtoul() 58 static inline int __must_check kstrtol(const char *s, unsigned int base, long *res) in kstrtol() argument 66 return kstrtoll(s, base, (long long *)res); in kstrtol() 68 return _kstrtol(s, base, res); in kstrtol() [all …]
|
D | io-mapping.h | 24 resource_size_t base; member 43 resource_size_t base, in io_mapping_init_wc() argument 48 if (iomap_create_wc(base, size, &prot)) in io_mapping_init_wc() 51 iomap->base = base; in io_mapping_init_wc() 60 iomap_free(mapping->base, mapping->size); in io_mapping_fini() 71 phys_addr = mapping->base + offset; in io_mapping_map_atomic_wc() 91 phys_addr = mapping->base + offset; in io_mapping_map_local_wc() 108 phys_addr = mapping->base + offset; in io_mapping_map_wc() 126 resource_size_t base, in io_mapping_init_wc() argument 129 iomap->iomem = ioremap_wc(base, size); in io_mapping_init_wc() [all …]
|
D | bsearch.h | 8 void *__inline_bsearch(const void *key, const void *base, size_t num, size_t size, cmp_func_t cmp) in __inline_bsearch() argument 14 pivot = base + (num >> 1) * size; in __inline_bsearch() 21 base = pivot + size; in __inline_bsearch() 30 extern void *bsearch(const void *key, const void *base, size_t num, size_t size, cmp_func_t cmp);
|
D | superhyway.h | 32 int (*read_vcr)(unsigned long base, struct superhyway_vcr_info *vcr); 33 int (*write_vcr)(unsigned long base, struct superhyway_vcr_info vcr); 82 superhyway_read_vcr(struct superhyway_device *dev, unsigned long base, in superhyway_read_vcr() argument 85 return dev->bus->ops->read_vcr(base, vcr); in superhyway_read_vcr() 89 superhyway_write_vcr(struct superhyway_device *dev, unsigned long base, in superhyway_write_vcr() argument 92 return dev->bus->ops->write_vcr(base, vcr); in superhyway_write_vcr() 100 int superhyway_add_device(unsigned long base, struct superhyway_device *, struct superhyway_bus *);
|
D | memblock.h | 52 phys_addr_t base; member 103 int memblock_add_node(phys_addr_t base, phys_addr_t size, int nid, 105 int memblock_add(phys_addr_t base, phys_addr_t size); 106 int memblock_remove(phys_addr_t base, phys_addr_t size); 107 int memblock_free(phys_addr_t base, phys_addr_t size); 108 int memblock_reserve(phys_addr_t base, phys_addr_t size); 110 int memblock_physmem_add(phys_addr_t base, phys_addr_t size); 114 phys_addr_t base, phys_addr_t size); 115 int memblock_mark_hotplug(phys_addr_t base, phys_addr_t size); 116 int memblock_clear_hotplug(phys_addr_t base, phys_addr_t size); [all …]
|
D | bitfield.h | 144 #define ____MAKE_OP(type,base,to,from) \ argument 145 static __always_inline __##type type##_encode_bits(base v, base field) \ 152 base val, base field) \ 157 base val, base field) \ 161 static __always_inline base type##_get_bits(__##type v, base field) \
|
D | cma.h | 30 extern int __init cma_declare_contiguous_nid(phys_addr_t base, 35 static inline int __init cma_declare_contiguous(phys_addr_t base, in cma_declare_contiguous() argument 40 return cma_declare_contiguous_nid(base, size, limit, alignment, in cma_declare_contiguous() 43 extern int cma_init_reserved_mem(phys_addr_t base, phys_addr_t size,
|
/include/crypto/internal/ |
D | aead.h | 22 char head[offsetof(struct aead_alg, base)]; 23 struct crypto_instance base; member 30 struct crypto_spawn base; member 34 struct crypto_queue base; member 39 return crypto_tfm_ctx(&tfm->base); in crypto_aead_ctx() 45 return container_of(&inst->alg.base, struct crypto_instance, alg); in aead_crypto_instance() 50 return container_of(&inst->alg, struct aead_instance, alg.base); in aead_instance() 55 return aead_instance(crypto_tfm_alg_instance(&aead->base)); in aead_alg_instance() 70 req->base.complete(&req->base, err); in aead_request_complete() 75 return req->base.flags; in aead_request_flags() [all …]
|
D | hash.h | 36 char head[offsetof(struct ahash_alg, halg.base)]; 37 struct crypto_instance base; member 47 char head[offsetof(struct shash_alg, base)]; 48 struct crypto_instance base; member 55 struct crypto_spawn base; member 59 struct crypto_spawn base; member 83 !(alg->base.cra_flags & CRYPTO_ALG_OPTIONAL_KEY); in crypto_shash_alg_needs_key() 94 crypto_drop_spawn(&spawn->base); in crypto_drop_ahash() 100 return __crypto_hash_alg_common(spawn->base.alg); in crypto_spawn_ahash_alg() 117 crypto_drop_spawn(&spawn->base); in crypto_drop_shash() [all …]
|
D | akcipher.h | 17 char head[offsetof(struct akcipher_alg, base)]; 18 struct crypto_instance base; member 25 struct crypto_spawn base; member 44 return tfm->base.__crt_ctx; in akcipher_tfm_ctx() 50 req->base.complete(&req->base, err); in akcipher_request_complete() 61 return container_of(&inst->alg.base, struct crypto_instance, alg); in akcipher_crypto_instance() 67 return container_of(&inst->alg, struct akcipher_instance, alg.base); in akcipher_instance() 73 return akcipher_instance(crypto_tfm_alg_instance(&akcipher->base)); in akcipher_alg_instance() 88 return crypto_spawn_tfm2(&spawn->base); in crypto_spawn_akcipher() 93 crypto_drop_spawn(&spawn->base); in crypto_drop_akcipher() [all …]
|
D | skcipher.h | 24 char head[offsetof(struct skcipher_alg, base)]; 25 struct crypto_instance base; member 32 struct crypto_spawn base; member 72 return &inst->s.base; in skcipher_crypto_instance() 89 req->base.complete(&req->base, err); in skcipher_request_complete() 98 crypto_drop_spawn(&spawn->base); in crypto_drop_skcipher() 104 return container_of(spawn->base.alg, struct skcipher_alg, base); in crypto_skcipher_spawn_alg() 116 return crypto_spawn_tfm2(&spawn->base); in crypto_spawn_skcipher() 151 return crypto_tfm_ctx(&tfm->base); in crypto_skcipher_ctx() 161 return req->base.flags; in skcipher_request_flags()
|
D | cipher.h | 17 struct crypto_tfm base; member 68 return &tfm->base; in crypto_cipher_tfm() 180 struct crypto_spawn base; member 190 return crypto_grab_spawn(&spawn->base, inst, name, type, mask); in crypto_grab_cipher() 195 crypto_drop_spawn(&spawn->base); in crypto_drop_cipher() 201 return spawn->base.alg; in crypto_spawn_cipher_alg() 210 return __crypto_cipher_cast(crypto_spawn_tfm(&spawn->base, type, mask)); in crypto_spawn_cipher()
|
D | kpp.h | 29 return tfm->base.__crt_ctx; in kpp_tfm_ctx() 34 req->base.complete(&req->base, err); in kpp_request_complete()
|
/include/sound/ |
D | snd_wavefront.h | 23 unsigned long base; /* I/O port address */ member 52 unsigned long base; /* low i/o port address */ member 55 #define mpu_data_port base 56 #define mpu_command_port base + 1 /* write semantics */ 57 #define mpu_status_port base + 1 /* read semantics */ 58 #define data_port base + 2 59 #define status_port base + 3 /* read semantics */ 60 #define control_port base + 3 /* write semantics */ 61 #define block_port base + 4 /* 16 bit, writeonly */ 62 #define last_block_port base + 6 /* 16 bit, writeonly */ [all …]
|
/include/linux/clk/ |
D | davinci.h | 17 int da830_pll_init(struct device *dev, void __iomem *base, struct regmap *cfgchip); 20 int da850_pll0_init(struct device *dev, void __iomem *base, struct regmap *cfgchip); 23 int dm355_pll1_init(struct device *dev, void __iomem *base, struct regmap *cfgchip); 24 int dm355_psc_init(struct device *dev, void __iomem *base); 27 int dm365_pll1_init(struct device *dev, void __iomem *base, struct regmap *cfgchip); 28 int dm365_pll2_init(struct device *dev, void __iomem *base, struct regmap *cfgchip); 29 int dm365_psc_init(struct device *dev, void __iomem *base); 32 int dm644x_pll1_init(struct device *dev, void __iomem *base, struct regmap *cfgchip); 33 int dm644x_psc_init(struct device *dev, void __iomem *base); 36 int dm646x_pll1_init(struct device *dev, void __iomem *base, struct regmap *cfgchip); [all …]
|
/include/crypto/ |
D | skcipher.h | 32 struct crypto_async_request base; member 40 struct crypto_tfm base; member 44 struct crypto_skcipher base; member 118 struct crypto_alg base; member 167 return container_of(tfm, struct crypto_skcipher, base); in __crypto_skcipher_cast() 193 return &tfm->base; in crypto_skcipher_tfm() 209 crypto_free_skcipher(&tfm->base); in crypto_free_sync_skcipher() 234 struct skcipher_alg, base); in crypto_skcipher_alg() 259 return crypto_skcipher_ivsize(&tfm->base); in crypto_sync_skcipher_ivsize() 304 return crypto_skcipher_blocksize(&tfm->base); in crypto_sync_skcipher_blocksize() [all …]
|
D | acompress.h | 27 struct crypto_async_request base; member 52 struct crypto_tfm base; member 83 struct crypto_alg base; member 130 return &tfm->base; in crypto_acomp_tfm() 135 return container_of(alg, struct acomp_alg, base); in __crypto_acomp_alg() 140 return container_of(tfm, struct crypto_acomp, base); in __crypto_acomp_tfm() 156 req->base.tfm = crypto_acomp_tfm(tfm); in acomp_request_set_tfm() 161 return __crypto_acomp_tfm(req->base.tfm); in crypto_acomp_reqtfm() 219 req->base.complete = cmpl; in acomp_request_set_callback() 220 req->base.data = data; in acomp_request_set_callback() [all …]
|
D | kpp.h | 28 struct crypto_async_request base; member 43 struct crypto_tfm base; member 83 struct crypto_alg base; member 109 return &tfm->base; in crypto_kpp_tfm() 114 return container_of(alg, struct kpp_alg, base); in __crypto_kpp_alg() 119 return container_of(tfm, struct crypto_kpp, base); in __crypto_kpp_tfm() 135 req->base.tfm = crypto_kpp_tfm(tfm); in kpp_request_set_tfm() 140 return __crypto_kpp_tfm(req->base.tfm); in crypto_kpp_reqtfm() 211 req->base.complete = cmpl; in kpp_request_set_callback() 212 req->base.data = data; in kpp_request_set_callback() [all …]
|
D | akcipher.h | 34 struct crypto_async_request base; member 49 struct crypto_tfm base; member 106 struct crypto_alg base; member 136 return &tfm->base; in crypto_akcipher_tfm() 141 return container_of(alg, struct akcipher_alg, base); in __crypto_akcipher_alg() 147 return container_of(tfm, struct crypto_akcipher, base); in __crypto_akcipher_tfm() 164 req->base.tfm = crypto_akcipher_tfm(tfm); in akcipher_request_set_tfm() 170 return __crypto_akcipher_tfm(req->base.tfm); in crypto_akcipher_reqtfm() 231 req->base.complete = cmpl; in akcipher_request_set_callback() 232 req->base.data = data; in akcipher_request_set_callback() [all …]
|
D | aead.h | 88 struct crypto_async_request base; member 149 struct crypto_alg base; member 156 struct crypto_tfm base; member 161 return container_of(tfm, struct crypto_aead, base); in __crypto_aead_cast() 182 return &tfm->base; in crypto_aead_tfm() 204 struct aead_alg, base); in crypto_aead_alg() 321 return __crypto_aead_cast(req->base.tfm); in crypto_aead_reqtfm() 402 req->base.tfm = crypto_aead_tfm(tfm); in aead_request_set_tfm() 468 req->base.complete = compl; in aead_request_set_callback() 469 req->base.data = data; in aead_request_set_callback() [all …]
|
D | rng.h | 51 struct crypto_alg base; member 55 struct crypto_tfm base; member 94 return &tfm->base; in crypto_rng_tfm() 108 struct rng_alg, base); in crypto_rng_alg() 140 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_rng_generate()
|
/include/linux/mfd/ |
D | tmio.h | 28 #define sd_config_write8(base, shift, reg, val) \ argument 29 tmio_iowrite8((val), (base) + ((reg) << (shift))) 30 #define sd_config_write16(base, shift, reg, val) \ argument 31 tmio_iowrite16((val), (base) + ((reg) << (shift))) 32 #define sd_config_write32(base, shift, reg, val) \ argument 34 tmio_iowrite16((val), (base) + ((reg) << (shift))); \ 35 tmio_iowrite16((val) >> 16, (base) + ((reg + 2) << (shift))); \ 87 int tmio_core_mmc_enable(void __iomem *cnf, int shift, unsigned long base); 88 int tmio_core_mmc_resume(void __iomem *cnf, int shift, unsigned long base);
|
/include/drm/ |
D | drm_framebuffer.h | 131 struct drm_mode_object base; member 216 #define obj_to_fb(x) container_of(x, struct drm_framebuffer, base) 236 drm_mode_object_get(&fb->base); in drm_framebuffer_get() 248 drm_mode_object_put(&fb->base); in drm_framebuffer_put() 259 return kref_read(&fb->base.refcount); in drm_framebuffer_read_refcount() 309 struct drm_framebuffer base; member 336 #define fb_to_afbc_fb(x) container_of(x, struct drm_afbc_framebuffer, base)
|
/include/linux/amba/ |
D | sp810.h | 53 static inline void sysctl_soft_reset(void __iomem *base) in sysctl_soft_reset() argument 56 writel(0x2, base + SCCTRL); in sysctl_soft_reset() 59 writel(0, base + SCSYSSTAT); in sysctl_soft_reset()
|