Searched refs:to_device (Results 1 – 13 of 13) sorted by relevance
/linux-4.1.27/drivers/base/power/ |
D | trace.c | 197 struct device * dev = to_device(entry); in show_dev_hash() 224 struct device *dev = to_device(entry); in show_trace_dev_match()
|
D | main.c | 566 dev = to_device(dpm_noirq_list.next); in dpm_resume_noirq() 688 dev = to_device(dpm_late_early_list.next); in dpm_resume_early() 858 dev = to_device(dpm_suspended_list.next); in dpm_resume() 950 struct device *dev = to_device(dpm_prepared_list.prev); in dpm_complete() 1113 struct device *dev = to_device(dpm_late_early_list.prev); in dpm_suspend_noirq() 1254 struct device *dev = to_device(dpm_suspended_list.prev); in dpm_suspend_late() 1508 struct device *dev = to_device(dpm_prepared_list.prev); in dpm_suspend() 1630 struct device *dev = to_device(dpm_list.next); in dpm_prepare()
|
D | power.h | 65 static inline struct device *to_device(struct list_head *entry) in to_device() function
|
/linux-4.1.27/drivers/staging/media/davinci_vpfe/ |
D | vpfe_mc_capture.h | 49 #define to_device(ptr_module) \ macro
|
/linux-4.1.27/arch/sh/kernel/ |
D | io_trapped.c | 244 static unsigned long to_device(void *dst, const void *src, unsigned long cnt) in to_device() function 268 to_device,
|
/linux-4.1.27/drivers/staging/media/omap4iss/ |
D | iss.h | 36 #define to_device(ptr_module) \ macro
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
D | isp.h | 45 #define to_device(ptr_module) \ macro
|
D | ispccdc.c | 286 dev_warn(to_device(ccdc), "LSC prefetch timeout\n"); in __ccdc_lsc_enable() 318 dev_dbg(to_device(ccdc), "Discard LSC configuration\n"); in __ccdc_lsc_configure() 419 dev_dbg(to_device(ccdc), "%s: Both LSC configuration and table " in ccdc_lsc_config() 1344 dev_warn(to_device(ccdc), "CCDC stop timeout!\n"); in ccdc_disable() 1493 dev_dbg(to_device(ccdc), "lsc prefetch error\n"); in ccdc_lsc_isr()
|
D | ispccp2.c | 829 struct device *dev = to_device(ccp2); in ccp2_s_stream()
|
D | ispresizer.c | 1138 struct device *dev = to_device(res); in resizer_set_stream()
|
D | isppreview.c | 1640 struct device *dev = to_device(prev); in preview_set_stream()
|
/linux-4.1.27/drivers/staging/fwserial/ |
D | fwserial.c | 101 #define to_device(a, b) (a->b) macro 103 dev_err(to_device(p, device), fmt, ##__VA_ARGS__) 105 dev_info(to_device(p, device), fmt, ##__VA_ARGS__) 107 dev_notice(to_device(p, device), fmt, ##__VA_ARGS__) 109 dev_dbg(to_device(p, device), "%s: " fmt, __func__, ##__VA_ARGS__) 111 dev_err_ratelimited(to_device(p, device), fmt, ##__VA_ARGS__)
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | tg3.c | 17165 int size, bool to_device) in tg3_do_test_dma() argument 17198 if (to_device) { in tg3_do_test_dma() 17221 if (to_device) in tg3_do_test_dma() 17230 if (to_device) in tg3_do_test_dma()
|