/include/linux/ |
D | overflow.h | 55 #define check_add_overflow(a, b, d) ({ \ argument 64 #define check_sub_overflow(a, b, d) ({ \ argument 73 #define check_mul_overflow(a, b, d) ({ \ argument 86 #define __unsigned_add_overflow(a, b, d) ({ \ argument 95 #define __unsigned_sub_overflow(a, b, d) ({ \ argument 107 #define __unsigned_mul_overflow(a, b, d) ({ \ argument 135 #define __signed_add_overflow(a, b, d) ({ \ argument 151 #define __signed_sub_overflow(a, b, d) ({ \ argument 178 #define __signed_mul_overflow(a, b, d) ({ \ argument 193 #define check_add_overflow(a, b, d) \ argument [all …]
|
D | irq.h | 236 #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() 243 static inline bool irqd_is_per_cpu(struct irq_data *d) in irqd_is_per_cpu() 248 static inline bool irqd_can_balance(struct irq_data *d) in irqd_can_balance() 253 static inline bool irqd_affinity_was_set(struct irq_data *d) in irqd_affinity_was_set() 258 static inline void irqd_mark_affinity_was_set(struct irq_data *d) in irqd_mark_affinity_was_set() 263 static inline bool irqd_trigger_type_was_set(struct irq_data *d) in irqd_trigger_type_was_set() 268 static inline u32 irqd_get_trigger_type(struct irq_data *d) in irqd_get_trigger_type() 277 static inline void irqd_set_trigger_type(struct irq_data *d, u32 type) in irqd_set_trigger_type() 284 static inline bool irqd_is_level_type(struct irq_data *d) in irqd_is_level_type() [all …]
|
D | dio.h | 251 static inline struct dio_driver *dio_dev_driver(const struct dio_dev *d) 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 263 #define dio_release_device(d) \ argument 270 static inline void *dio_get_drvdata (struct dio_dev *d) in dio_get_drvdata() 275 static inline void dio_set_drvdata (struct dio_dev *d, void *data) in dio_set_drvdata()
|
D | vt_buffer.h | 42 static inline void scr_memcpyw(u16 *d, const u16 *s, unsigned int count) in scr_memcpyw() 55 static inline void scr_memmovew(u16 *d, const u16 *s, unsigned int count) in scr_memmovew()
|
D | superhyway.h | 60 #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
|
D | isa.h | 31 static inline int isa_register_driver(struct isa_driver *d, unsigned int i) in isa_register_driver() 36 static inline void isa_unregister_driver(struct isa_driver *d) in isa_unregister_driver()
|
D | spmi.h | 45 static inline struct spmi_device *to_spmi_device(struct device *d) in to_spmi_device() 90 static inline struct spmi_controller *to_spmi_controller(struct device *d) in to_spmi_controller() 143 static inline struct spmi_driver *to_spmi_driver(struct device_driver *d) in to_spmi_driver()
|
D | sunxi-rsb.h | 36 static inline struct sunxi_rsb_device *to_sunxi_rsb_device(struct device *d) 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()
|
D | rio_regs.h | 267 #define RIO_DEV_PORT_N_MNT_REQ_CSR(d, n) \ argument 270 #define RIO_DEV_PORT_N_MNT_RSP_CSR(d, n) \ argument 273 #define RIO_DEV_PORT_N_ACK_STS_CSR(d, n) \ argument 276 #define RIO_DEV_PORT_N_CTL2_CSR(d, n) \ argument 279 #define RIO_DEV_PORT_N_ERR_STS_CSR(d, n) \ argument 282 #define RIO_DEV_PORT_N_CTL_CSR(d, n) \ argument 285 #define RIO_DEV_PORT_N_OB_ACK_CSR(d, n) \ argument 288 #define RIO_DEV_PORT_N_IB_ACK_CSR(d, n) \ argument
|
D | mdio.h | 44 #define to_mdio_device(d) container_of(d, struct mdio_device, dev) argument 52 #define to_mdio_common_driver(d) \ argument 68 #define to_mdio_driver(d) \ argument
|
D | clkdev.h | 26 #define CLKDEV_INIT(d, n, c) \ argument
|
/include/linux/amba/ |
D | bus.h | 102 #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/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/sound/ac97/ |
D | codec.h | 71 static inline struct ac97_codec_device *to_ac97_device(struct device *d) in to_ac97_device() 76 static inline struct ac97_codec_driver *to_ac97_driver(struct device_driver *d) in to_ac97_driver()
|
/include/trace/events/ |
D | android_fs.h | 44 struct dentry *d; in android_fstrace_get_pathname() local
|
/include/uapi/linux/ |
D | kernel.h | 13 #define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) argument
|
D | bcache.h | 119 __u64 *d = (void *) k; in bkey_next() local 126 __u64 *d = (void *) k; in bkey_idx() local 207 __u64 d[SB_JOURNAL_BUCKETS]; /* journal buckets */ member 295 __u64 d[0]; member 360 __u64 d[0]; member
|
/include/linux/usb/ |
D | typec_altmode.h | 35 #define to_typec_altmode(d) container_of(d, struct typec_altmode, dev) argument 147 #define to_altmode_driver(d) container_of(d, struct typec_altmode_driver, \ argument
|
/include/acpi/ |
D | acpi_bus.h | 212 #define acpi_device_dir(d) ((d)->dir.entry) argument 244 #define acpi_device_bid(d) ((d)->pnp.bus_id) argument 245 #define acpi_device_adr(d) ((d)->pnp.bus_address) argument 247 #define acpi_device_uid(d) ((d)->pnp.unique_id) argument 248 #define acpi_device_name(d) ((d)->pnp.device_name) argument 249 #define acpi_device_class(d) ((d)->pnp.device_class) argument 442 static inline void *acpi_driver_data(struct acpi_device *d) in acpi_driver_data() 447 #define to_acpi_device(d) container_of(d, struct acpi_device, dev) argument 448 #define to_acpi_driver(d) container_of(d, struct acpi_driver, drv) argument 636 static inline int acpi_pm_device_sleep_state(struct device *d, int *p, int m) in acpi_pm_device_sleep_state()
|
/include/linux/greybus/ |
D | module.h | 28 #define to_gb_module(d) container_of(d, struct gb_module, dev) argument
|
D | control.h | 30 #define to_gb_control(d) container_of(d, struct gb_control, dev) argument
|
/include/linux/mmc/ |
D | sdio_func.h | 67 #define sdio_set_drvdata(f,d) dev_set_drvdata(&(f)->dev, d) argument 68 #define dev_to_sdio_func(d) container_of(d, struct sdio_func, dev) argument
|
/include/linux/fpga/ |
D | fpga-region.h | 32 #define to_fpga_region(d) container_of(d, struct fpga_region, dev) argument
|
/include/acpi/platform/ |
D | acgcc.h | 23 #define va_copy(d, s) __builtin_va_copy(d, s) argument
|
/include/net/bluetooth/ |
D | rfcomm.h | 247 #define rfcomm_dlc_lock(d) mutex_lock(&d->lock) argument 248 #define rfcomm_dlc_unlock(d) mutex_unlock(&d->lock) argument 250 static inline void rfcomm_dlc_hold(struct rfcomm_dlc *d) in rfcomm_dlc_hold() 255 static inline void rfcomm_dlc_put(struct rfcomm_dlc *d) in rfcomm_dlc_put() 264 static inline void rfcomm_dlc_throttle(struct rfcomm_dlc *d) in rfcomm_dlc_throttle() 270 static inline void rfcomm_dlc_unthrottle(struct rfcomm_dlc *d) in rfcomm_dlc_unthrottle()
|