Home
last modified time | relevance | path

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

/openbmc/linux/drivers/base/power/
H A Dtrace.c210 struct device * dev = to_device(entry); in show_dev_hash()
237 struct device *dev = to_device(entry); in show_trace_dev_match()
H A Dmain.c716 dev = to_device(dpm_noirq_list.next); in dpm_noirq_resume_devices()
849 dev = to_device(dpm_late_early_list.next); in dpm_resume_early()
1010 dev = to_device(dpm_suspended_list.next); in dpm_resume()
1100 struct device *dev = to_device(dpm_prepared_list.prev); in dpm_complete()
1291 struct device *dev = to_device(dpm_late_early_list.prev); in dpm_noirq_suspend_devices()
1476 struct device *dev = to_device(dpm_suspended_list.prev); in dpm_suspend_late()
1757 struct device *dev = to_device(dpm_prepared_list.prev); in dpm_suspend()
1894 struct device *dev = to_device(dpm_list.next); in dpm_prepare()
H A Dpower.h109 static inline struct device *to_device(struct list_head *entry) in to_device() function
/openbmc/linux/arch/sh/kernel/
H A Dio_trapped.c244 static unsigned long to_device(void *dst, const void *src, unsigned long cnt) in to_device() function
268 to_device,
/openbmc/linux/drivers/media/platform/qcom/camss/
H A Dcamss.h29 #define to_device(ptr_module) \ macro
/openbmc/linux/drivers/target/
H A Dtarget_core_configfs.c2243 struct se_device *dev = to_device(item); in target_dev_info_show()
2257 struct se_device *dev = to_device(item); in target_dev_control_store()
2264 struct se_device *dev = to_device(item); in target_dev_alias_show()
2275 struct se_device *dev = to_device(item); in target_dev_alias_store()
2304 struct se_device *dev = to_device(item); in target_dev_udev_path_show()
2315 struct se_device *dev = to_device(item); in target_dev_udev_path_store()
2345 struct se_device *dev = to_device(item); in target_dev_enable_show()
2353 struct se_device *dev = to_device(item); in target_dev_enable_store()
2372 struct se_device *dev = to_device(item); in target_dev_alua_lu_gp_show()
2397 struct se_device *dev = to_device(item); in target_dev_alua_lu_gp_store()
[all …]
/openbmc/qemu/hw/scsi/
H A Desp.c129 bool to_device; in esp_update_drq() local
135 to_device = true; in esp_update_drq()
141 to_device = false; in esp_update_drq()
150 if (to_device) { in esp_update_drq()
938 int to_device = (esp_get_phase(s) == STAT_DO); in esp_command_complete() local
946 if (s->dma || to_device) { in esp_command_complete()
/openbmc/linux/drivers/staging/media/omap4iss/
H A Diss.h34 #define to_device(ptr_module) \ macro
/openbmc/linux/drivers/media/platform/ti/omap3isp/
H A Disp.h42 #define to_device(ptr_module) \ macro
H A Dispccdc.c284 dev_warn(to_device(ccdc), "LSC prefetch timeout\n"); in __ccdc_lsc_enable()
315 dev_dbg(to_device(ccdc), "Discard LSC configuration\n"); in __ccdc_lsc_configure()
416 dev_dbg(to_device(ccdc), in ccdc_lsc_config()
1348 dev_warn(to_device(ccdc), "CCDC stop timeout!\n"); in ccdc_disable()
1497 dev_dbg(to_device(ccdc), "lsc prefetch error\n"); in ccdc_lsc_isr()
H A Dispccp2.c839 struct device *dev = to_device(ccp2); in ccp2_s_stream()
H A Dispresizer.c1138 struct device *dev = to_device(res); in resizer_set_stream()
H A Disppreview.c1633 struct device *dev = to_device(prev); in preview_set_stream()
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_hw.c245 void *addr, u32 hw_addr, size_t n, bool to_device) in qed_memcpy_hw() argument
265 if (to_device) in qed_memcpy_hw()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c17169 int size, bool to_device) in tg3_do_test_dma() argument
17202 if (to_device) { in tg3_do_test_dma()
17225 if (to_device) in tg3_do_test_dma()
17234 if (to_device) in tg3_do_test_dma()