| /include/linux/ |
| A D | irq.h | 249 #define __irqd_to_state(d) ACCESS_PRIVATE((d)->common, state_use_accessors) argument 440 return d->hwirq; in irqd_to_hwirq() 815 return d ? d->chip : NULL; in irq_get_chip() 820 return d->chip; in irq_data_get_irq_chip() 826 return d ? d->chip_data : NULL; in irq_get_chip_data() 837 return d ? d->common->handler_data : NULL; in irq_get_handler_data() 848 return d ? d->common->msi_desc : NULL; in irq_get_msi_desc() 859 return d ? irqd_get_trigger_type(d) : 0; in irq_get_trigger_type() 865 return d->node; in irq_common_data_get_node() 898 return d ? irq_data_get_affinity_mask(d) : NULL; in irq_get_affinity_mask() [all …]
|
| A D | irqdomain.h | 233 if (d) in irq_domain_set_pm_device() 234 d->pm_dev = dev; in irq_domain_set_pm_device() 361 struct irq_domain *d; in irq_find_host() local 364 if (!d) in irq_find_host() 367 return d; in irq_find_host() 385 return IS_ERR(d) ? NULL : d; in irq_domain_create_nomap() 414 return IS_ERR(d) ? NULL : d; in irq_domain_create_linear() 429 return IS_ERR(d) ? NULL : d; in irq_domain_create_tree() 562 return IS_ERR(d) ? NULL : d; in irq_domain_create_hierarchy() 725 return IS_ERR(d) ? NULL : d; in irq_domain_add_tree() [all …]
|
| A 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 …]
|
| A 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 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)) 282 #define RIO_DEV_PORT_N_CTL_CSR(d, n) \ argument [all …]
|
| A 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), \
|
| 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()
|
| A D | vt_buffer.h | 36 static inline void scr_memcpyw(u16 *d, const u16 *s, unsigned int count) in scr_memcpyw() argument 38 memcpy(d, s, count); in scr_memcpyw() 43 static inline void scr_memmovew(u16 *d, const u16 *s, unsigned int count) in scr_memmovew() argument 45 memmove(d, s, count); in scr_memmovew()
|
| A 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()
|
| A 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
|
| A 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()
|
| A D | resctrl.h | 101 struct rdt_ctrl_domain *d; member 331 struct rdt_mon_domain *d; member 423 int resctrl_arch_update_one(struct rdt_resource *r, struct rdt_ctrl_domain *d, 426 u32 resctrl_arch_get_config(struct rdt_resource *r, struct rdt_ctrl_domain *d, 428 int resctrl_online_ctrl_domain(struct rdt_resource *r, struct rdt_ctrl_domain *d); 429 int resctrl_online_mon_domain(struct rdt_resource *r, struct rdt_mon_domain *d); 430 void resctrl_offline_ctrl_domain(struct rdt_resource *r, struct rdt_ctrl_domain *d); 431 void resctrl_offline_mon_domain(struct rdt_resource *r, struct rdt_mon_domain *d); 460 int resctrl_arch_rmid_read(struct rdt_resource *r, struct rdt_mon_domain *d, 507 void resctrl_arch_reset_rmid(struct rdt_resource *r, struct rdt_mon_domain *d, [all …]
|
| A 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
|
| A 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/ |
| A 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, 120 int dpaa2_io_service_release(struct dpaa2_io *d, u16 bpid, 122 int dpaa2_io_service_acquire(struct dpaa2_io *d, u16 bpid, 130 int dpaa2_io_query_fq_count(struct dpaa2_io *d, u32 fqid, 132 int dpaa2_io_query_bp_count(struct dpaa2_io *d, u16 bpid, 137 void dpaa2_io_set_adaptive_coalescing(struct dpaa2_io *d, [all …]
|
| /include/net/bluetooth/ |
| A D | rfcomm.h | 235 void rfcomm_dlc_free(struct rfcomm_dlc *d); 243 void rfcomm_dlc_accept(struct rfcomm_dlc *d); 246 #define rfcomm_dlc_lock(d) mutex_lock(&d->lock) argument 247 #define rfcomm_dlc_unlock(d) mutex_unlock(&d->lock) argument 251 refcount_inc(&d->refcnt); in rfcomm_dlc_hold() 256 if (refcount_dec_and_test(&d->refcnt)) in rfcomm_dlc_put() 257 rfcomm_dlc_free(d); in rfcomm_dlc_put() 260 void __rfcomm_dlc_throttle(struct rfcomm_dlc *d); 266 __rfcomm_dlc_throttle(d); in rfcomm_dlc_throttle() 272 __rfcomm_dlc_unthrottle(d); in rfcomm_dlc_unthrottle() [all …]
|
| /include/linux/amba/ |
| A D | bus.h | 110 #define to_amba_device(d) container_of_const(d, struct amba_device, dev) argument 112 #define amba_get_drvdata(d) dev_get_drvdata(&d->dev) argument 113 #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/trace/events/ |
| A D | tsm_mr.h | 21 __dynamic_array(u8, d, mr->mr_size) 27 memcpy(__get_dynamic_array(d), mr->mr_value, __get_dynamic_array_len(d)); 31 __print_hex_str(__get_dynamic_array(d), __get_dynamic_array_len(d))) 64 __dynamic_array(u8, d, mr->mr_size) 70 memcpy(__get_dynamic_array(d), data, __get_dynamic_array_len(d)); 74 __print_hex_str(__get_dynamic_array(d), __get_dynamic_array_len(d)))
|
| /include/net/ |
| A 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/ |
| A 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/ |
| A D | op-2.h | 384 _r240.d += _s240.d; \ 385 _q240.d += _r240.d; \ 386 _p240.d += _q240.d; \ 387 _o240.d += _p240.d; \ 388 _n240.d += _o240.d; \ 389 _m240.d += _n240.d; \ 390 _l240.d += _m240.d; \ 392 _s240.d -= ((_const[10]+_s240.d)-_const[10]); \ 393 _r240.d -= ((_const[9]+_r240.d)-_const[9]); \ 394 _q240.d -= ((_const[8]+_q240.d)-_const[8]); \ [all …]
|
| /include/linux/soc/qcom/ |
| A 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
|
| A 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/ |
| A 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/ |
| A 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/ |
| A D | const.h | 51 #define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) argument
|