| /include/linux/ |
| D | irq.h | 254 #define __irqd_to_state(d) ACCESS_PRIVATE((d)->common, state_use_accessors) argument 256 static inline bool irqd_is_setaffinity_pending(struct irq_data *d) in irqd_is_setaffinity_pending() argument 258 return __irqd_to_state(d) & IRQD_SETAFFINITY_PENDING; in irqd_is_setaffinity_pending() 261 static inline bool irqd_is_per_cpu(struct irq_data *d) in irqd_is_per_cpu() argument 263 return __irqd_to_state(d) & IRQD_PER_CPU; in irqd_is_per_cpu() 266 static inline bool irqd_can_balance(struct irq_data *d) in irqd_can_balance() argument 268 return !(__irqd_to_state(d) & (IRQD_PER_CPU | IRQD_NO_BALANCING)); in irqd_can_balance() 271 static inline bool irqd_affinity_was_set(struct irq_data *d) in irqd_affinity_was_set() argument 273 return __irqd_to_state(d) & IRQD_AFFINITY_SET; in irqd_affinity_was_set() 276 static inline void irqd_mark_affinity_was_set(struct irq_data *d) in irqd_mark_affinity_was_set() argument [all …]
|
| D | vt_buffer.h | 42 static inline void scr_memcpyw(u16 *d, const u16 *s, unsigned int count) in scr_memcpyw() argument 47 scr_writew(scr_readw(s++), d++); in scr_memcpyw() 49 memcpy(d, s, count); in scr_memcpyw() 55 static inline void scr_memmovew(u16 *d, const u16 *s, unsigned int count) in scr_memmovew() argument 58 if (d < s) in scr_memmovew() 59 scr_memcpyw(d, s, count); in scr_memmovew() 62 d += count; in scr_memmovew() 65 scr_writew(scr_readw(--s), --d); in scr_memmovew() 68 memmove(d, s, count); in scr_memmovew()
|
| D | dio.h | 251 #define dio_resource_start(d) ((d)->resource.start) argument 252 #define dio_resource_end(d) ((d)->resource.end) argument 253 #define dio_resource_len(d) (resource_size(&(d)->resource)) argument 254 #define dio_resource_flags(d) ((d)->resource.flags) argument 256 #define dio_request_device(d, name) \ argument 257 request_mem_region(dio_resource_start(d), dio_resource_len(d), name) 258 #define dio_release_device(d) \ argument 259 release_mem_region(dio_resource_start(d), dio_resource_len(d)) 265 static inline void *dio_get_drvdata (struct dio_dev *d) in dio_get_drvdata() argument 267 return dev_get_drvdata(&d->dev); in dio_get_drvdata() [all …]
|
| D | irqdomain.h | 103 int (*match)(struct irq_domain *d, struct device_node *node, 105 int (*select)(struct irq_domain *d, struct irq_fwspec *fwspec, 107 int (*map)(struct irq_domain *d, unsigned int virq, irq_hw_number_t hw); 108 void (*unmap)(struct irq_domain *d, unsigned int virq); 109 int (*xlate)(struct irq_domain *d, struct device_node *node, 114 int (*alloc)(struct irq_domain *d, unsigned int virq, 116 void (*free)(struct irq_domain *d, unsigned int virq, 118 int (*activate)(struct irq_domain *d, struct irq_data *irqd, bool reserve); 119 void (*deactivate)(struct irq_domain *d, struct irq_data *irq_data); 120 int (*translate)(struct irq_domain *d, struct irq_fwspec *fwspec, [all …]
|
| D | io-pgtable-arm.h | 42 #define ARM_LPAE_LVL_SHIFT(l,d) \ argument 43 (((ARM_LPAE_MAX_LEVELS - (l)) * (d)->bits_per_level) + \ 46 #define ARM_LPAE_GRANULE(d) \ argument 47 (sizeof(arm_lpae_iopte) << (d)->bits_per_level) 48 #define ARM_LPAE_PGD_SIZE(d) \ argument 49 (sizeof(arm_lpae_iopte) << (d)->pgd_bits) 51 #define ARM_LPAE_PTES_PER_TABLE(d) \ argument 52 (ARM_LPAE_GRANULE(d) >> ilog2(sizeof(arm_lpae_iopte))) 58 #define ARM_LPAE_PGD_IDX(l,d) \ argument 59 ((l) == (d)->start_level ? (d)->pgd_bits - (d)->bits_per_level : 0) [all …]
|
| D | rio_regs.h | 267 #define RIO_DEV_PORT_N_MNT_REQ_CSR(d, n) \ argument 268 (d->phys_efptr + RIO_PORT_N_MNT_REQ_CSR(n, d->phys_rmap)) 270 #define RIO_DEV_PORT_N_MNT_RSP_CSR(d, n) \ argument 271 (d->phys_efptr + RIO_PORT_N_MNT_RSP_CSR(n, d->phys_rmap)) 273 #define RIO_DEV_PORT_N_ACK_STS_CSR(d, n) \ argument 274 (d->phys_efptr + RIO_PORT_N_ACK_STS_CSR(n)) 276 #define RIO_DEV_PORT_N_CTL2_CSR(d, n) \ argument 277 (d->phys_efptr + RIO_PORT_N_CTL2_CSR(n, d->phys_rmap)) 279 #define RIO_DEV_PORT_N_ERR_STS_CSR(d, n) \ argument 280 (d->phys_efptr + RIO_PORT_N_ERR_STS_CSR(n, d->phys_rmap)) [all …]
|
| D | siphash.h | 37 u64 siphash_4u64(const u64 a, const u64 b, const u64 c, const u64 d, 49 const u32 d, const siphash_key_t *key) in siphash_4u32() argument 51 return siphash_2u64((u64)b << 32 | a, (u64)d << 32 | c, key); in siphash_4u32() 104 u32 hsiphash_4u32(const u32 a, const u32 b, const u32 c, const u32 d, 146 #define SIPHASH_PERMUTATION(a, b, c, d) ( \ argument 148 (c) += (d), (d) = rol64((d), 16), (d) ^= (c), \ 149 (a) += (d), (d) = rol64((d), 21), (d) ^= (a), \ 157 #define HSIPHASH_PERMUTATION(a, b, c, d) ( \ argument 159 (c) += (d), (d) = rol32((d), 8), (d) ^= (c), \ 160 (a) += (d), (d) = rol32((d), 7), (d) ^= (a), \
|
| D | math.h | 46 #define DIV_ROUND_UP_POW2(n, d) \ argument 47 ((n) / (d) + !!((n) & ((d) - 1))) 51 #define DIV_ROUND_DOWN_ULL(ll, d) \ argument 52 ({ unsigned long long _tmp = (ll); do_div(_tmp, d); _tmp; }) 54 #define DIV_ROUND_UP_ULL(ll, d) \ argument 55 DIV_ROUND_DOWN_ULL((unsigned long long)(ll) + (d) - 1, (d)) 58 # define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP_ULL(ll, d) argument 60 # define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP(ll,d) argument 136 #define mult_frac(x, n, d) \ in __STRUCT_FRACT() argument 140 typeof(d) d_ = (d); \ in __STRUCT_FRACT()
|
| D | resctrl.h | 223 struct rdt_ctrl_domain *d); 258 int resctrl_arch_update_one(struct rdt_resource *r, struct rdt_ctrl_domain *d, 261 u32 resctrl_arch_get_config(struct rdt_resource *r, struct rdt_ctrl_domain *d, 263 int resctrl_online_ctrl_domain(struct rdt_resource *r, struct rdt_ctrl_domain *d); 264 int resctrl_online_mon_domain(struct rdt_resource *r, struct rdt_mon_domain *d); 265 void resctrl_offline_ctrl_domain(struct rdt_resource *r, struct rdt_ctrl_domain *d); 266 void resctrl_offline_mon_domain(struct rdt_resource *r, struct rdt_mon_domain *d); 295 int resctrl_arch_rmid_read(struct rdt_resource *r, struct rdt_mon_domain *d, 328 void resctrl_arch_reset_rmid(struct rdt_resource *r, struct rdt_mon_domain *d, 341 void resctrl_arch_reset_rmid_all(struct rdt_resource *r, struct rdt_mon_domain *d);
|
| D | peci.h | 53 static inline struct peci_controller *to_peci_controller(void *d) in to_peci_controller() argument 55 return container_of(d, struct peci_controller, dev); in to_peci_controller() 83 static inline struct peci_device *to_peci_device(struct device *d) in to_peci_device() argument 85 return container_of(d, struct peci_device, dev); in to_peci_device()
|
| D | dfl.h | 73 #define to_dfl_dev(d) container_of(d, struct dfl_device, dev) argument 74 #define to_dfl_drv(d) container_of_const(d, struct dfl_driver, drv) argument
|
| D | sunxi-rsb.h | 36 static inline struct sunxi_rsb_device *to_sunxi_rsb_device(struct device *d) in to_sunxi_rsb_device() argument 38 return container_of(d, struct sunxi_rsb_device, dev); in to_sunxi_rsb_device() 65 static inline struct sunxi_rsb_driver *to_sunxi_rsb_driver(struct device_driver *d) in to_sunxi_rsb_driver() argument 67 return container_of(d, struct sunxi_rsb_driver, driver); in to_sunxi_rsb_driver()
|
| D | pci-ats.h | 16 static inline bool pci_ats_supported(struct pci_dev *d) in pci_ats_supported() argument 18 static inline int pci_enable_ats(struct pci_dev *d, int ps) in pci_enable_ats() argument 22 static inline void pci_disable_ats(struct pci_dev *d) { } in pci_disable_ats() argument 23 static inline int pci_ats_queue_depth(struct pci_dev *d) in pci_ats_queue_depth() argument
|
| D | overflow.h | 67 #define check_add_overflow(a, b, d) \ argument 68 __must_check_overflow(__builtin_add_overflow(a, b, d)) 113 #define check_sub_overflow(a, b, d) \ argument 114 __must_check_overflow(__builtin_sub_overflow(a, b, d)) 159 #define check_mul_overflow(a, b, d) \ argument 160 __must_check_overflow(__builtin_mul_overflow(a, b, d)) 198 #define check_shl_overflow(a, s, d) __must_check_overflow(({ \ argument 201 typeof(d) _d = d; \ 204 is_non_negative(_s) && _s < 8 * sizeof(*d) ? _s : 0; \
|
| /include/soc/fsl/ |
| D | dpaa2-io.h | 65 void dpaa2_io_down(struct dpaa2_io *d); 96 int dpaa2_io_get_cpu(struct dpaa2_io *d); 107 int dpaa2_io_service_pull_fq(struct dpaa2_io *d, u32 fqid, 109 int dpaa2_io_service_pull_channel(struct dpaa2_io *d, u32 channelid, 112 int dpaa2_io_service_enqueue_fq(struct dpaa2_io *d, u32 fqid, 114 int dpaa2_io_service_enqueue_multiple_fq(struct dpaa2_io *d, u32 fqid, 116 int dpaa2_io_service_enqueue_multiple_desc_fq(struct dpaa2_io *d, u32 *fqid, 118 int dpaa2_io_service_enqueue_qd(struct dpaa2_io *d, u32 qdid, u8 prio, 120 int dpaa2_io_service_release(struct dpaa2_io *d, u16 bpid, 122 int dpaa2_io_service_acquire(struct dpaa2_io *d, u16 bpid, [all …]
|
| /include/net/bluetooth/ |
| D | rfcomm.h | 200 void (*data_ready)(struct rfcomm_dlc *d, struct sk_buff *skb); 201 void (*state_change)(struct rfcomm_dlc *d, int err); 202 void (*modem_status)(struct rfcomm_dlc *d, u8 v24_sig); 241 void rfcomm_dlc_free(struct rfcomm_dlc *d); 242 int rfcomm_dlc_open(struct rfcomm_dlc *d, bdaddr_t *src, bdaddr_t *dst, 244 int rfcomm_dlc_close(struct rfcomm_dlc *d, int reason); 245 int rfcomm_dlc_send(struct rfcomm_dlc *d, struct sk_buff *skb); 246 void rfcomm_dlc_send_noerror(struct rfcomm_dlc *d, struct sk_buff *skb); 247 int rfcomm_dlc_set_modem_status(struct rfcomm_dlc *d, u8 v24_sig); 248 int rfcomm_dlc_get_modem_status(struct rfcomm_dlc *d, u8 *v24_sig); [all …]
|
| /include/linux/amba/ |
| D | bus.h | 115 #define to_amba_device(d) container_of_const(d, struct amba_device, dev) argument 117 #define amba_get_drvdata(d) dev_get_drvdata(&d->dev) argument 118 #define amba_set_drvdata(d,p) dev_set_drvdata(&d->dev, p) argument 154 #define amba_config(d) AMBA_CONFIG_BITS((d)->periphid) argument 155 #define amba_rev(d) AMBA_REV_BITS((d)->periphid) argument 156 #define amba_manf(d) AMBA_MANF_BITS((d)->periphid) argument 157 #define amba_part(d) AMBA_PART_BITS((d)->periphid) argument
|
| /include/net/ |
| D | gen_stats.h | 42 struct gnet_dump *d, int padattr); 46 spinlock_t *lock, struct gnet_dump *d, 49 int gnet_stats_copy_basic(struct gnet_dump *d, 55 int gnet_stats_copy_basic_hw(struct gnet_dump *d, 58 int gnet_stats_copy_rate_est(struct gnet_dump *d, 60 int gnet_stats_copy_queue(struct gnet_dump *d, 66 int gnet_stats_copy_app(struct gnet_dump *d, void *st, int len); 68 int gnet_stats_finish_copy(struct gnet_dump *d);
|
| /include/crypto/ |
| D | utils.h | 21 unsigned long *d = (unsigned long *)dst; in crypto_xor() local 26 l = get_unaligned(d) ^ get_unaligned(s++); in crypto_xor() 27 put_unaligned(l, d++); in crypto_xor() 41 unsigned long *d = (unsigned long *)dst; in crypto_xor_cpy() local 48 put_unaligned(l, d++); in crypto_xor_cpy()
|
| /include/math-emu/ |
| D | op-2.h | 348 union { double d; UDItype i; } _l240, _m240, _n240, _o240, \ 375 _s240.d = _e240*_j240;\ 376 _r240.d = _d240*_j240 + _e240*_i240;\ 377 _q240.d = _c240*_j240 + _d240*_i240 + _e240*_h240;\ 378 _p240.d = _b240*_j240 + _c240*_i240 + _d240*_h240 + _e240*_g240;\ 379 _o240.d = _a240*_j240 + _b240*_i240 + _c240*_h240 + _d240*_g240 + _e240*_f240;\ 380 _n240.d = _a240*_i240 + _b240*_h240 + _c240*_g240 + _d240*_f240; \ 381 _m240.d = _a240*_h240 + _b240*_g240 + _c240*_f240; \ 382 _l240.d = _a240*_g240 + _b240*_f240; \ 384 _r240.d += _s240.d; \ [all …]
|
| /include/linux/soc/qcom/ |
| D | apr.h | 125 typedef int (*gpr_port_cb) (struct gpr_resp_pkt *d, void *priv, int op); 151 #define to_apr_device(d) container_of(d, struct apr_device, dev) argument 152 #define svc_to_apr_device(d) container_of(d, struct apr_device, svc) argument 158 struct apr_resp_pkt *d); 159 int (*gpr_callback)(struct gpr_resp_pkt *d, void *data, int op); 165 #define to_apr_driver(d) container_of_const(d, struct apr_driver, driver) argument
|
| D | irq.h | 29 static inline bool irq_domain_qcom_handle_wakeup(const struct irq_domain *d) in irq_domain_qcom_handle_wakeup() argument 31 return (d->flags & IRQ_DOMAIN_FLAG_QCOM_PDC_WAKEUP); in irq_domain_qcom_handle_wakeup()
|
| /include/linux/ulpi/ |
| D | driver.h | 23 #define to_ulpi_dev(d) container_of(d, struct ulpi, dev) argument 49 #define to_ulpi_driver(d) container_of(d, struct ulpi_driver, driver) argument
|
| /include/linux/surface_aggregator/ |
| D | device.h | 96 #define SSAM_DEVICE(d, cat, tid, iid, fun) \ argument 100 .domain = d, \ 206 static inline bool is_ssam_device(struct device *d) in is_ssam_device() argument 208 return d->type == &ssam_device_type; in is_ssam_device() 213 static inline bool is_ssam_device(struct device *d) in is_ssam_device() argument 231 #define to_ssam_device(d) container_of_const(d, struct ssam_device, dev) argument 245 #define to_ssam_device_driver(d) container_of_const(d, struct ssam_device_driver, driver) argument 344 int __ssam_device_driver_register(struct ssam_device_driver *d, struct module *o); 345 void ssam_device_driver_unregister(struct ssam_device_driver *d);
|
| /include/uapi/linux/ |
| D | const.h | 51 #define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) argument
|