Home
last modified time | relevance | path

Searched refs:d (Results 1 – 25 of 140) sorted by relevance

123456

/include/linux/
Dirq.h254 #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 …]
Dvt_buffer.h42 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()
Dio-pgtable-arm.h34 #define ARM_LPAE_LVL_SHIFT(l,d) \ argument
35 (((ARM_LPAE_MAX_LEVELS - (l)) * (d)->bits_per_level) + \
38 #define ARM_LPAE_GRANULE(d) \ argument
39 (sizeof(arm_lpae_iopte) << (d)->bits_per_level)
40 #define ARM_LPAE_PGD_SIZE(d) \ argument
41 (sizeof(arm_lpae_iopte) << (d)->pgd_bits)
43 #define ARM_LPAE_PTES_PER_TABLE(d) \ argument
44 (ARM_LPAE_GRANULE(d) >> ilog2(sizeof(arm_lpae_iopte)))
50 #define ARM_LPAE_PGD_IDX(l,d) \ argument
51 ((l) == (d)->start_level ? (d)->pgd_bits - (d)->bits_per_level : 0)
[all …]
Ddio.h251 #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 …]
Drio_regs.h267 #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 …]
Dsiphash.h37 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), \
Dsuperhyway.h60 #define to_superhyway_driver(d) container_of((d), struct superhyway_driver, drv) argument
76 #define to_superhyway_device(d) container_of((d), struct superhyway_device, dev) argument
78 #define superhyway_get_drvdata(d) dev_get_drvdata(&(d)->dev) argument
79 #define superhyway_set_drvdata(d,p) dev_set_drvdata(&(d)->dev, (p)) argument
Dmath.h39 #define DIV_ROUND_DOWN_ULL(ll, d) \ argument
40 ({ unsigned long long _tmp = (ll); do_div(_tmp, d); _tmp; })
42 #define DIV_ROUND_UP_ULL(ll, d) \ argument
43 DIV_ROUND_DOWN_ULL((unsigned long long)(ll) + (d) - 1, (d))
46 # define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP_ULL(ll, d) argument
48 # define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP(ll,d) argument
122 #define mult_frac(x, n, d) \ in __STRUCT_FRACT() argument
126 typeof(d) d_ = (d); \ in __STRUCT_FRACT()
Dresctrl.h181 struct rdt_domain *d);
215 int resctrl_arch_update_one(struct rdt_resource *r, struct rdt_domain *d,
218 u32 resctrl_arch_get_config(struct rdt_resource *r, struct rdt_domain *d,
220 int resctrl_online_domain(struct rdt_resource *r, struct rdt_domain *d);
221 void resctrl_offline_domain(struct rdt_resource *r, struct rdt_domain *d);
237 int resctrl_arch_rmid_read(struct rdt_resource *r, struct rdt_domain *d,
250 void resctrl_arch_reset_rmid(struct rdt_resource *r, struct rdt_domain *d,
262 void resctrl_arch_reset_rmid_all(struct rdt_resource *r, struct rdt_domain *d);
Dirqdomain.h90 int (*match)(struct irq_domain *d, struct device_node *node,
92 int (*select)(struct irq_domain *d, struct irq_fwspec *fwspec,
94 int (*map)(struct irq_domain *d, unsigned int virq, irq_hw_number_t hw);
95 void (*unmap)(struct irq_domain *d, unsigned int virq);
96 int (*xlate)(struct irq_domain *d, struct device_node *node,
101 int (*alloc)(struct irq_domain *d, unsigned int virq,
103 void (*free)(struct irq_domain *d, unsigned int virq,
105 int (*activate)(struct irq_domain *d, struct irq_data *irqd, bool reserve);
106 void (*deactivate)(struct irq_domain *d, struct irq_data *irq_data);
107 int (*translate)(struct irq_domain *d, struct irq_fwspec *fwspec,
[all …]
Doverflow.h68 #define check_add_overflow(a, b, d) \ argument
69 __must_check_overflow(__builtin_add_overflow(a, b, d))
83 #define check_sub_overflow(a, b, d) \ argument
84 __must_check_overflow(__builtin_sub_overflow(a, b, d))
98 #define check_mul_overflow(a, b, d) \ argument
99 __must_check_overflow(__builtin_mul_overflow(a, b, d))
121 #define check_shl_overflow(a, s, d) __must_check_overflow(({ \ argument
124 typeof(d) _d = d; \
127 is_non_negative(_s) && _s < 8 * sizeof(*d) ? _s : 0; \
Dpeci.h53 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()
86 static inline struct peci_device *to_peci_device(struct device *d) in to_peci_device() argument
88 return container_of(d, struct peci_device, dev); in to_peci_device()
Ddfl.h73 #define to_dfl_dev(d) container_of(d, struct dfl_device, dev) argument
74 #define to_dfl_drv(d) container_of(d, struct dfl_driver, drv) argument
Dsunxi-rsb.h36 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()
Dpci-ats.h15 static inline bool pci_ats_supported(struct pci_dev *d) in pci_ats_supported() argument
17 static inline int pci_enable_ats(struct pci_dev *d, int ps) in pci_enable_ats() argument
19 static inline void pci_disable_ats(struct pci_dev *d) { } in pci_disable_ats() argument
20 static inline int pci_ats_queue_depth(struct pci_dev *d) in pci_ats_queue_depth() argument
/include/soc/fsl/
Ddpaa2-io.h65 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/
Drfcomm.h200 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/
Dbus.h115 #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
147 #define amba_config(d) AMBA_CONFIG_BITS((d)->periphid) argument
148 #define amba_rev(d) AMBA_REV_BITS((d)->periphid) argument
149 #define amba_manf(d) AMBA_MANF_BITS((d)->periphid) argument
150 #define amba_part(d) AMBA_PART_BITS((d)->periphid) argument
/include/net/
Dgen_stats.h42 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/
Dutils.h21 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/
Dop-2.h348 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/
Dapr.h125 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(d, struct apr_driver, driver) argument
/include/linux/ulpi/
Ddriver.h23 #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/
Ddevice.h96 #define SSAM_DEVICE(d, cat, tid, iid, fun) \ argument
100 .domain = d, \
207 static inline bool is_ssam_device(struct device *d) in is_ssam_device() argument
209 return d->type == &ssam_device_type; in is_ssam_device()
214 static inline bool is_ssam_device(struct device *d) in is_ssam_device() argument
232 #define to_ssam_device(d) container_of_const(d, struct ssam_device, dev) argument
246 #define to_ssam_device_driver(d) container_of_const(d, struct ssam_device_driver, driver) argument
345 int __ssam_device_driver_register(struct ssam_device_driver *d, struct module *o);
346 void ssam_device_driver_unregister(struct ssam_device_driver *d);
/include/sound/ac97/
Dcodec.h71 static inline struct ac97_codec_device *to_ac97_device(struct device *d) in to_ac97_device() argument
73 return container_of(d, struct ac97_codec_device, dev); in to_ac97_device()
76 static inline struct ac97_codec_driver *to_ac97_driver(struct device_driver *d) in to_ac97_driver() argument
78 return container_of(d, struct ac97_codec_driver, driver); in to_ac97_driver()

123456