Home
last modified time | relevance | path

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

123456

/include/linux/
Dirq.h236 #define __irqd_to_state(d) ACCESS_PRIVATE((d)->common, state_use_accessors) argument
238 static inline bool irqd_is_setaffinity_pending(struct irq_data *d) in irqd_is_setaffinity_pending() argument
240 return __irqd_to_state(d) & IRQD_SETAFFINITY_PENDING; in irqd_is_setaffinity_pending()
243 static inline bool irqd_is_per_cpu(struct irq_data *d) in irqd_is_per_cpu() argument
245 return __irqd_to_state(d) & IRQD_PER_CPU; in irqd_is_per_cpu()
248 static inline bool irqd_can_balance(struct irq_data *d) in irqd_can_balance() argument
250 return !(__irqd_to_state(d) & (IRQD_PER_CPU | IRQD_NO_BALANCING)); in irqd_can_balance()
253 static inline bool irqd_affinity_was_set(struct irq_data *d) in irqd_affinity_was_set() argument
255 return __irqd_to_state(d) & IRQD_AFFINITY_SET; in irqd_affinity_was_set()
258 static inline void irqd_mark_affinity_was_set(struct irq_data *d) in irqd_mark_affinity_was_set() argument
[all …]
Doverflow.h55 #define check_add_overflow(a, b, d) ({ \ argument
58 typeof(d) __d = (d); \
64 #define check_sub_overflow(a, b, d) ({ \ argument
67 typeof(d) __d = (d); \
73 #define check_mul_overflow(a, b, d) ({ \ argument
76 typeof(d) __d = (d); \
86 #define __unsigned_add_overflow(a, b, d) ({ \ argument
89 typeof(d) __d = (d); \
95 #define __unsigned_sub_overflow(a, b, d) ({ \ argument
98 typeof(d) __d = (d); \
[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()
Ddio.h251 static inline struct dio_driver *dio_dev_driver(const struct dio_dev *d) in dio_dev_driver() argument
253 return d->driver; in dio_dev_driver()
256 #define dio_resource_start(d) ((d)->resource.start) argument
257 #define dio_resource_end(d) ((d)->resource.end) argument
258 #define dio_resource_len(d) (resource_size(&(d)->resource)) argument
259 #define dio_resource_flags(d) ((d)->resource.flags) argument
261 #define dio_request_device(d, name) \ argument
262 request_mem_region(dio_resource_start(d), dio_resource_len(d), name)
263 #define dio_release_device(d) \ argument
264 release_mem_region(dio_resource_start(d), dio_resource_len(d))
[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 …]
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
Dirqdomain.h105 int (*match)(struct irq_domain *d, struct device_node *node,
107 int (*select)(struct irq_domain *d, struct irq_fwspec *fwspec,
109 int (*map)(struct irq_domain *d, unsigned int virq, irq_hw_number_t hw);
110 void (*unmap)(struct irq_domain *d, unsigned int virq);
111 int (*xlate)(struct irq_domain *d, struct device_node *node,
116 int (*alloc)(struct irq_domain *d, unsigned int virq,
118 void (*free)(struct irq_domain *d, unsigned int virq,
120 int (*activate)(struct irq_domain *d, struct irq_data *irqd, bool reserve);
121 void (*deactivate)(struct irq_domain *d, struct irq_data *irq_data);
122 int (*translate)(struct irq_domain *d, struct irq_fwspec *fwspec,
[all …]
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()
Dmaple.h103 #define maple_get_drvdata(d) dev_get_drvdata(&(d)->dev) argument
104 #define maple_set_drvdata(d,p) dev_set_drvdata(&(d)->dev, (p)) argument
Dshdma-base.h113 #define shdma_for_each_chan(c, d, i) for (i = 0, c = (d)->schan[0]; \ argument
114 i < (d)->dma_dev.chancnt; c = (d)->schan[++i])
Dspmi.h45 static inline struct spmi_device *to_spmi_device(struct device *d) in to_spmi_device() argument
47 return container_of(d, struct spmi_device, dev); in to_spmi_device()
90 static inline struct spmi_controller *to_spmi_controller(struct device *d) in to_spmi_controller() argument
92 return container_of(d, struct spmi_controller, dev); in to_spmi_controller()
143 static inline struct spmi_driver *to_spmi_driver(struct device_driver *d) in to_spmi_driver() argument
145 return container_of(d, struct spmi_driver, driver); in to_spmi_driver()
/include/net/bluetooth/
Drfcomm.h198 void (*data_ready)(struct rfcomm_dlc *d, struct sk_buff *skb);
199 void (*state_change)(struct rfcomm_dlc *d, int err);
200 void (*modem_status)(struct rfcomm_dlc *d, u8 v24_sig);
236 void rfcomm_dlc_free(struct rfcomm_dlc *d);
237 int rfcomm_dlc_open(struct rfcomm_dlc *d, bdaddr_t *src, bdaddr_t *dst,
239 int rfcomm_dlc_close(struct rfcomm_dlc *d, int reason);
240 int rfcomm_dlc_send(struct rfcomm_dlc *d, struct sk_buff *skb);
241 void rfcomm_dlc_send_noerror(struct rfcomm_dlc *d, struct sk_buff *skb);
242 int rfcomm_dlc_set_modem_status(struct rfcomm_dlc *d, u8 v24_sig);
243 int rfcomm_dlc_get_modem_status(struct rfcomm_dlc *d, u8 *v24_sig);
[all …]
/include/soc/fsl/
Ddpaa2-io.h63 void dpaa2_io_down(struct dpaa2_io *d);
94 int dpaa2_io_get_cpu(struct dpaa2_io *d);
105 int dpaa2_io_service_pull_fq(struct dpaa2_io *d, u32 fqid,
107 int dpaa2_io_service_pull_channel(struct dpaa2_io *d, u32 channelid,
110 int dpaa2_io_service_enqueue_fq(struct dpaa2_io *d, u32 fqid,
112 int dpaa2_io_service_enqueue_qd(struct dpaa2_io *d, u32 qdid, u8 prio,
114 int dpaa2_io_service_release(struct dpaa2_io *d, u16 bpid,
116 int dpaa2_io_service_acquire(struct dpaa2_io *d, u16 bpid,
124 int dpaa2_io_query_fq_count(struct dpaa2_io *d, u32 fqid,
126 int dpaa2_io_query_bp_count(struct dpaa2_io *d, u16 bpid,
/include/linux/amba/
Dbus.h102 #define to_amba_device(d) container_of(d, struct amba_device, dev) argument
104 #define amba_get_drvdata(d) dev_get_drvdata(&d->dev) argument
105 #define amba_set_drvdata(d,p) dev_set_drvdata(&d->dev, p) argument
162 #define amba_config(d) AMBA_CONFIG_BITS((d)->periphid) argument
163 #define amba_rev(d) AMBA_REV_BITS((d)->periphid) argument
164 #define amba_manf(d) AMBA_MANF_BITS((d)->periphid) argument
165 #define amba_part(d) AMBA_PART_BITS((d)->periphid) argument
/include/net/
Dgen_stats.h32 struct gnet_dump *d, int padattr);
36 spinlock_t *lock, struct gnet_dump *d,
40 struct gnet_dump *d,
48 struct gnet_dump *d,
51 int gnet_stats_copy_rate_est(struct gnet_dump *d,
53 int gnet_stats_copy_queue(struct gnet_dump *d,
59 int gnet_stats_copy_app(struct gnet_dump *d, void *st, int len);
61 int gnet_stats_finish_copy(struct gnet_dump *d);
/include/uapi/linux/
Dkernel.h13 #define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) argument
/include/trace/events/
Dandroid_fs.h44 struct dentry *d; in android_fstrace_get_pathname() local
52 d = d_obtain_alias(inode); in android_fstrace_get_pathname()
53 if (likely(!IS_ERR(d))) { in android_fstrace_get_pathname()
54 path = dentry_path_raw(d, buf, buflen); in android_fstrace_get_pathname()
59 dput(d); in android_fstrace_get_pathname()
Dthermal_power_allocator.h60 s64 p, s64 i, s64 d, s32 output),
61 TP_ARGS(tz, err, err_integral, p, i, d, output),
68 __field(s64, d )
77 __entry->d = d;
83 __entry->p, __entry->i, __entry->d, __entry->output)
/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/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/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()
/include/linux/soc/qcom/
Dapr.h92 #define to_apr_device(d) container_of(d, struct apr_device, dev) argument
98 struct apr_resp_pkt *d);
103 #define to_apr_driver(d) container_of(d, struct apr_driver, driver) argument
/include/drm/
Ddrm_legacy.h159 int drm_legacy_addmap(struct drm_device *d, resource_size_t offset,
163 void drm_legacy_rmmap(struct drm_device *d, struct drm_local_map *map);
164 int drm_legacy_rmmap_locked(struct drm_device *d, struct drm_local_map *map);
168 int drm_legacy_addbufs_agp(struct drm_device *d, struct drm_buf_desc *req);
169 int drm_legacy_addbufs_pci(struct drm_device *d, struct drm_buf_desc *req);
/include/scsi/
Dfcoe_sysfs.h31 #define dev_to_ctlr(d) \ argument
32 container_of((d), struct fcoe_ctlr_device, dev)
102 #define dev_to_fcf(d) \ argument
103 container_of((d), struct fcoe_fcf_device, dev)
/include/linux/greybus/
Dmodule.h28 #define to_gb_module(d) container_of(d, struct gb_module, dev) argument

123456