Searched refs:to_device (Results 1 – 14 of 14) sorted by relevance
/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 | 570 dev = to_device(dpm_noirq_list.next); in dpm_resume_noirq() 693 dev = to_device(dpm_late_early_list.next); in dpm_resume_early() 863 dev = to_device(dpm_suspended_list.next); in dpm_resume() 953 struct device *dev = to_device(dpm_prepared_list.prev); in dpm_complete() 1122 struct device *dev = to_device(dpm_late_early_list.prev); in dpm_suspend_noirq() 1263 struct device *dev = to_device(dpm_suspended_list.prev); in dpm_suspend_late() 1521 struct device *dev = to_device(dpm_prepared_list.prev); in dpm_suspend() 1652 struct device *dev = to_device(dpm_list.next); in dpm_prepare()
|
D | power.h | 134 static inline struct device *to_device(struct list_head *entry) in to_device() function
|
/drivers/target/ |
D | target_core_configfs.c | 1775 static inline struct se_device *to_device(struct config_item *item) in to_device() function 1782 struct se_device *dev = to_device(item); in target_dev_info_show() 1796 struct se_device *dev = to_device(item); in target_dev_control_store() 1803 struct se_device *dev = to_device(item); in target_dev_alias_show() 1814 struct se_device *dev = to_device(item); in target_dev_alias_store() 1843 struct se_device *dev = to_device(item); in target_dev_udev_path_show() 1854 struct se_device *dev = to_device(item); in target_dev_udev_path_store() 1884 struct se_device *dev = to_device(item); in target_dev_enable_show() 1892 struct se_device *dev = to_device(item); in target_dev_enable_store() 1911 struct se_device *dev = to_device(item); in target_dev_alua_lu_gp_show() [all …]
|
/drivers/staging/media/davinci_vpfe/ |
D | vpfe_mc_capture.h | 49 #define to_device(ptr_module) \ macro
|
/drivers/staging/media/omap4iss/ |
D | iss.h | 38 #define to_device(ptr_module) \ macro
|
/drivers/media/platform/omap3isp/ |
D | isp.h | 46 #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 | 1636 struct device *dev = to_device(prev); in preview_set_stream()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_hw.c | 222 void *addr, u32 hw_addr, size_t n, bool to_device) in qed_memcpy_hw() argument 242 if (to_device) in qed_memcpy_hw()
|
/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__)
|
/drivers/net/ethernet/broadcom/ |
D | tg3.c | 17179 int size, bool to_device) in tg3_do_test_dma() argument 17212 if (to_device) { in tg3_do_test_dma() 17235 if (to_device) in tg3_do_test_dma() 17244 if (to_device) in tg3_do_test_dma()
|