Home
last modified time | relevance | path

Searched refs:to_device (Results 1 – 13 of 13) sorted by relevance

/linux-4.1.27/drivers/base/power/
Dtrace.c197 struct device * dev = to_device(entry); in show_dev_hash()
224 struct device *dev = to_device(entry); in show_trace_dev_match()
Dmain.c566 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()
Dpower.h65 static inline struct device *to_device(struct list_head *entry) in to_device() function
/linux-4.1.27/drivers/staging/media/davinci_vpfe/
Dvpfe_mc_capture.h49 #define to_device(ptr_module) \ macro
/linux-4.1.27/arch/sh/kernel/
Dio_trapped.c244 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/
Diss.h36 #define to_device(ptr_module) \ macro
/linux-4.1.27/drivers/media/platform/omap3isp/
Disp.h45 #define to_device(ptr_module) \ macro
Dispccdc.c286 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()
Dispccp2.c829 struct device *dev = to_device(ccp2); in ccp2_s_stream()
Dispresizer.c1138 struct device *dev = to_device(res); in resizer_set_stream()
Disppreview.c1640 struct device *dev = to_device(prev); in preview_set_stream()
/linux-4.1.27/drivers/staging/fwserial/
Dfwserial.c101 #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/
Dtg3.c17165 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()