Home
last modified time | relevance | path

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

1234

/include/acpi/platform/
Dacenv.h249 #define ACPI_STRCPY(d,s) (void) strcpy((d), (s)) argument
250 #define ACPI_STRNCPY(d,s,n) (void) strncpy((d), (s), (acpi_size)(n)) argument
251 #define ACPI_STRNCMP(d,s,n) strncmp((d), (s), (acpi_size)(n)) argument
252 #define ACPI_STRCMP(d,s) strcmp((d), (s)) argument
253 #define ACPI_STRCAT(d,s) (void) strcat((d), (s)) argument
254 #define ACPI_STRNCAT(d,s,n) strncat((d), (s), (acpi_size)(n)) argument
255 #define ACPI_STRTOUL(d,s,n) strtoul((d), (s), (acpi_size)(n)) argument
257 #define ACPI_MEMCPY(d,s,n) (void) memcpy((d), (s), (acpi_size)(n)) argument
258 #define ACPI_MEMSET(d,s,n) (void) memset((d), (s), (acpi_size)(n)) argument
310 #define ACPI_STRCPY(d,s) (void) acpi_ut_strcpy ((d), (s)) argument
[all …]
/include/linux/
Dirq.h189 static inline bool irqd_is_setaffinity_pending(struct irq_data *d) in irqd_is_setaffinity_pending() argument
191 return d->state_use_accessors & IRQD_SETAFFINITY_PENDING; in irqd_is_setaffinity_pending()
194 static inline bool irqd_is_per_cpu(struct irq_data *d) in irqd_is_per_cpu() argument
196 return d->state_use_accessors & IRQD_PER_CPU; in irqd_is_per_cpu()
199 static inline bool irqd_can_balance(struct irq_data *d) in irqd_can_balance() argument
201 return !(d->state_use_accessors & (IRQD_PER_CPU | IRQD_NO_BALANCING)); in irqd_can_balance()
204 static inline bool irqd_affinity_was_set(struct irq_data *d) in irqd_affinity_was_set() argument
206 return d->state_use_accessors & IRQD_AFFINITY_SET; in irqd_affinity_was_set()
209 static inline void irqd_mark_affinity_was_set(struct irq_data *d) in irqd_mark_affinity_was_set() argument
211 d->state_use_accessors |= IRQD_AFFINITY_SET; in irqd_mark_affinity_was_set()
[all …]
Dvt_buffer.h24 #define scr_memcpyw(d, s, c) memcpy(d, s, c) argument
25 #define scr_memmovew(d, s, c) memmove(d, s, c) argument
40 static inline void scr_memcpyw(u16 *d, const u16 *s, unsigned int count) in scr_memcpyw() argument
44 scr_writew(scr_readw(s++), d++); in scr_memcpyw()
49 static inline void scr_memmovew(u16 *d, const u16 *s, unsigned int count) in scr_memmovew() argument
51 if (d < s) in scr_memmovew()
52 scr_memcpyw(d, s, count); in scr_memmovew()
55 d += count; in scr_memmovew()
58 scr_writew(scr_readw(--s), --d); in scr_memmovew()
Ddio.h250 static inline struct dio_driver *dio_dev_driver(const struct dio_dev *d) in dio_dev_driver() argument
252 return d->driver; in dio_dev_driver()
255 #define dio_resource_start(d) ((d)->resource.start) argument
256 #define dio_resource_end(d) ((d)->resource.end) argument
257 #define dio_resource_len(d) (resource_size(&(d)->resource)) argument
258 #define dio_resource_flags(d) ((d)->resource.flags) argument
260 #define dio_request_device(d, name) \ argument
261 request_mem_region(dio_resource_start(d), dio_resource_len(d), name)
262 #define dio_release_device(d) \ argument
263 release_mem_region(dio_resource_start(d), dio_resource_len(d))
[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
Dpcieport_if.h32 #define to_pcie_device(d) container_of(d, struct pcie_device, device) argument
62 #define to_service_driver(d) \ argument
63 container_of(d, struct pcie_port_service_driver, driver)
Dirqdomain.h61 int (*match)(struct irq_domain *d, struct device_node *node);
62 int (*map)(struct irq_domain *d, unsigned int virq, irq_hw_number_t hw);
63 void (*unmap)(struct irq_domain *d, unsigned int virq);
64 int (*xlate)(struct irq_domain *d, struct device_node *node,
164 int irq_domain_xlate_onecell(struct irq_domain *d, struct device_node *ctrlr,
167 int irq_domain_xlate_twocell(struct irq_domain *d, struct device_node *ctrlr,
170 int irq_domain_xlate_onetwocell(struct irq_domain *d, struct device_node *ctrlr,
Dmaple.h102 #define maple_get_drvdata(d) dev_get_drvdata(&(d)->dev) argument
103 #define maple_set_drvdata(d,p) dev_set_drvdata(&(d)->dev, (p)) argument
Disa.h29 static inline int isa_register_driver(struct isa_driver *d, unsigned int i) in isa_register_driver() argument
34 static inline void isa_unregister_driver(struct isa_driver *d) in isa_unregister_driver() argument
Dclkdev.h27 #define CLKDEV_INIT(d, n, c) \ argument
29 .dev_id = d, \
Dparport_pc.h62 static __inline__ void parport_pc_write_data(struct parport *p, unsigned char d) in parport_pc_write_data() argument
65 printk (KERN_DEBUG "parport_pc_write_data(%p,0x%02x)\n", p, d); in parport_pc_write_data()
67 outb(d, DATA(p)); in parport_pc_write_data()
156 unsigned char d) in parport_pc_write_control() argument
164 if (d & 0x20) { in parport_pc_write_control()
170 __parport_pc_frob_control (p, wm, d & wm); in parport_pc_write_control()
/include/linux/amba/
Dbus.h55 #define to_amba_device(d) container_of(d, struct amba_device, dev) argument
57 #define amba_get_drvdata(d) dev_get_drvdata(&d->dev) argument
58 #define amba_set_drvdata(d,p) dev_set_drvdata(&d->dev, p) argument
71 #define amba_pclk_enable(d) \ argument
72 (IS_ERR((d)->pclk) ? 0 : clk_enable((d)->pclk))
74 #define amba_pclk_disable(d) \ argument
75 do { if (!IS_ERR((d)->pclk)) clk_disable((d)->pclk); } while (0)
83 #define amba_config(d) AMBA_CONFIG_BITS((d)->periphid) argument
84 #define amba_rev(d) AMBA_REV_BITS((d)->periphid) argument
85 #define amba_manf(d) AMBA_MANF_BITS((d)->periphid) argument
[all …]
/include/net/bluetooth/
Drfcomm.h199 void (*data_ready)(struct rfcomm_dlc *d, struct sk_buff *skb);
200 void (*state_change)(struct rfcomm_dlc *d, int err);
201 void (*modem_status)(struct rfcomm_dlc *d, u8 v24_sig);
237 void rfcomm_dlc_free(struct rfcomm_dlc *d);
238 int rfcomm_dlc_open(struct rfcomm_dlc *d, bdaddr_t *src, bdaddr_t *dst,
240 int rfcomm_dlc_close(struct rfcomm_dlc *d, int reason);
241 int rfcomm_dlc_send(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);
244 void rfcomm_dlc_accept(struct rfcomm_dlc *d);
[all …]
/include/net/
Dgen_stats.h23 spinlock_t *lock, struct gnet_dump *d);
27 spinlock_t *lock, struct gnet_dump *d);
29 extern int gnet_stats_copy_basic(struct gnet_dump *d,
31 extern int gnet_stats_copy_rate_est(struct gnet_dump *d,
34 extern int gnet_stats_copy_queue(struct gnet_dump *d,
36 extern int gnet_stats_copy_app(struct gnet_dump *d, void *st, int len);
38 extern int gnet_stats_finish_copy(struct gnet_dump *d);
/include/linux/usb/
Dcomposite.h377 #define DBG(d, fmt, args...) \ argument
378 dev_dbg(&(d)->gadget->dev , fmt , ## args)
379 #define VDBG(d, fmt, args...) \ argument
380 dev_vdbg(&(d)->gadget->dev , fmt , ## args)
381 #define ERROR(d, fmt, args...) \ argument
382 dev_err(&(d)->gadget->dev , fmt , ## args)
383 #define WARNING(d, fmt, args...) \ argument
384 dev_warn(&(d)->gadget->dev , fmt , ## args)
385 #define INFO(d, fmt, args...) \ argument
386 dev_info(&(d)->gadget->dev , fmt , ## args)
Dlangwell_udc.h62 #define DEN(d) \ argument
63 (((d)>>0)&0x1f) /* bits 4:0, device endpoint number */
138 #define USBADR(d) \ argument
139 (((d)>>25)&0x7f) /* bits 31:25, device address */
144 #define EPBASE(d) (((d)>>11)&0x1fffff) argument
199 #define LPM_PTS(d) (((d)>>29)&7) argument
202 #define LPM_PSPD(d) (((d)>>25)&3) /* bits 26:25, port speed */ argument
211 #define LPM_BA(d) \ argument
212 (((d)>>1)&0x7ff) /* bits 11:1, BmAttributes */
/include/linux/mtd/
Ddoc2000.h96 #define WriteDOC_(d, adr, reg) do{ *(volatile __u32 *)(((unsigned long)adr)+((reg)<<2)) = (__u32)d argument
100 #define WriteDOC_(d, adr, reg) do{ *(volatile __u16 *)(((unsigned long)adr)+((reg)<<1)) = (__u16)d argument
104 #define WriteDOC_(d, adr, reg) writeb(d, (void __iomem *)(adr) + (reg)) argument
115 #define WriteDOC(d, adr, reg) WriteDOC_(d,adr,DoC_##reg) argument
/include/math-emu/
Dop-2.h353 union { double d; UDItype i; } _l240, _m240, _n240, _o240, \
380 _s240.d = _e240*_j240;\
381 _r240.d = _d240*_j240 + _e240*_i240;\
382 _q240.d = _c240*_j240 + _d240*_i240 + _e240*_h240;\
383 _p240.d = _b240*_j240 + _c240*_i240 + _d240*_h240 + _e240*_g240;\
384 _o240.d = _a240*_j240 + _b240*_i240 + _c240*_h240 + _d240*_g240 + _e240*_f240;\
385 _n240.d = _a240*_i240 + _b240*_h240 + _c240*_g240 + _d240*_f240; \
386 _m240.d = _a240*_h240 + _b240*_g240 + _c240*_f240; \
387 _l240.d = _a240*_g240 + _b240*_f240; \
389 _r240.d += _s240.d; \
[all …]
/include/acpi/
Dacpi_bus.h160 #define acpi_device_dir(d) ((d)->dir.entry) argument
183 #define acpi_device_bid(d) ((d)->pnp.bus_id) argument
184 #define acpi_device_adr(d) ((d)->pnp.bus_address) argument
186 #define acpi_device_name(d) ((d)->pnp.device_name) argument
187 #define acpi_device_class(d) ((d)->pnp.device_class) argument
279 static inline void *acpi_driver_data(struct acpi_device *d) in acpi_driver_data() argument
281 return d->driver_data; in acpi_driver_data()
284 #define to_acpi_device(d) container_of(d, struct acpi_device, dev) argument
285 #define to_acpi_driver(d) container_of(d, struct acpi_driver, drv) argument
388 static inline int acpi_pm_device_sleep_state(struct device *d, int *p) in acpi_pm_device_sleep_state() argument
/include/media/
Dv4l2-int-device.h90 int v4l2_int_device_register(struct v4l2_int_device *d);
91 void v4l2_int_device_unregister(struct v4l2_int_device *d);
93 int v4l2_int_ioctl_0(struct v4l2_int_device *d, int cmd);
94 int v4l2_int_ioctl_1(struct v4l2_int_device *d, int cmd, void *arg);
241 static inline int vidioc_int_##name(struct v4l2_int_device *d) \
243 return v4l2_int_ioctl_0(d, vidioc_int_##name##_num); \
259 static inline int vidioc_int_##name(struct v4l2_int_device *d, \
262 return v4l2_int_ioctl_1(d, vidioc_int_##name##_num, \
/include/linux/mmc/
Dsdio_func.h79 #define sdio_set_drvdata(f,d) dev_set_drvdata(&(f)->dev, d) argument
80 #define dev_to_sdio_func(d) container_of(d, struct sdio_func, dev) argument
95 #define to_sdio_driver(d) container_of(d, struct sdio_driver, drv) argument
/include/linux/uwb/
Dumc.h73 #define to_umc_dev(d) container_of(d, struct umc_dev, dev) argument
98 #define to_umc_driver(d) container_of(d, struct umc_driver, driver) argument
/include/asm-generic/
Ddma-mapping-broken.h19 #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f) argument
20 #define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h) argument
/include/linux/crush/
Dhash.h13 extern __u32 crush_hash32_4(int type, __u32 a, __u32 b, __u32 c, __u32 d);
14 extern __u32 crush_hash32_5(int type, __u32 a, __u32 b, __u32 c, __u32 d,
/include/linux/netfilter/ipset/
Dip_set_ahash.h291 #define type_pf_data_match(d) 1 argument
435 type_pf_data_next(struct ip_set_hash *h, const struct type_pf_elem *d);
444 const struct type_pf_elem *d = value; in type_pf_add() local
462 if (type_pf_data_equal(ahash_data(n, i), d, &multi)) { in type_pf_add()
476 type_pf_data_next(h, d); in type_pf_add()
481 add_cidr(h, CIDR(d->cidr), HOST_MASK); in type_pf_add()
497 const struct type_pf_elem *d = value; in type_pf_del() local
507 if (!type_pf_data_equal(data, d, &multi)) in type_pf_del()
516 del_cidr(h, CIDR(d->cidr), HOST_MASK); in type_pf_del()
541 type_pf_test_cidrs(struct ip_set *set, struct type_pf_elem *d, u32 timeout) in type_pf_test_cidrs() argument
[all …]

1234