Home
last modified time | relevance | path

Searched refs:host_mode (Results 1 – 8 of 8) sorted by relevance

/drivers/pci/controller/
Dpci-ixp4xx.c107 bool host_mode; member
553 p->host_mode = !!(val & IXP4XX_PCI_CSR_HOST); in ixp4xx_pci_probe()
555 p->host_mode ? "host" : "option"); in ixp4xx_pci_probe()
571 if (p->host_mode) { in ixp4xx_pci_probe()
/drivers/hwtracing/intel_th/
Dcore.c24 static bool host_mode __read_mostly;
25 module_param(host_mode, bool, 0444);
679 thdev->host_mode = in intel_th_subdevice_alloc()
680 INTEL_TH_CAP(th, host_mode_only) ? true : host_mode; in intel_th_subdevice_alloc()
777 if ((INTEL_TH_CAP(th, host_mode_only) || host_mode) && in intel_th_populate()
1044 if (hub->host_mode) in intel_th_set_output()
Dgth.c668 if (thdev->host_mode) in intel_th_gth_assign()
708 if (thdev->host_mode) in intel_th_gth_unassign()
777 if (thdev->host_mode) in intel_th_gth_probe()
785 thdev->host_mode = true; in intel_th_gth_probe()
Dintel_th.h84 bool host_mode; member
/drivers/usb/dwc2/
Dcore.c287 bool host_mode) in dwc2_wait_for_mode() argument
294 host_mode ? "host" : "device"); in dwc2_wait_for_mode()
301 if (dwc2_is_host_mode(hsotg) == host_mode) { in dwc2_wait_for_mode()
303 host_mode ? "Host" : "Device"); in dwc2_wait_for_mode()
312 __func__, host_mode ? "host" : "device"); in dwc2_wait_for_mode()
/drivers/usb/host/
Dxhci-tegra.c264 bool host_mode; member
1217 dev_dbg(tegra->dev, "host mode %s\n", tegra->host_mode ? "on" : "off"); in tegra_xhci_id_work()
1221 if (tegra->host_mode) in tegra_xhci_id_work()
1231 if (tegra->host_mode) { in tegra_xhci_id_work()
1299 return ((index == tegra->otg_usb2_port) && tegra->host_mode); in is_host_mode_phy()
1306 return ((index == tegra->otg_usb3_port) && tegra->host_mode); in is_host_mode_phy()
1337 if ((tegra->host_mode && usbphy->last_event == USB_EVENT_ID) || in tegra_xhci_id_notify()
1338 (!tegra->host_mode && usbphy->last_event != USB_EVENT_ID)) { in tegra_xhci_id_notify()
1340 tegra->host_mode); in tegra_xhci_id_notify()
1346 tegra->host_mode = (usbphy->last_event == USB_EVENT_ID) ? true : false; in tegra_xhci_id_notify()
/drivers/net/wireless/ath/ath6kl/
Dwmi.c2868 enum ath6kl_host_mode host_mode) in ath6kl_wmi_set_host_sleep_mode_cmd() argument
2874 if ((host_mode != ATH6KL_HOST_MODE_ASLEEP) && in ath6kl_wmi_set_host_sleep_mode_cmd()
2875 (host_mode != ATH6KL_HOST_MODE_AWAKE)) { in ath6kl_wmi_set_host_sleep_mode_cmd()
2876 ath6kl_err("invalid host sleep mode: %d\n", host_mode); in ath6kl_wmi_set_host_sleep_mode_cmd()
2886 if (host_mode == ATH6KL_HOST_MODE_ASLEEP) { in ath6kl_wmi_set_host_sleep_mode_cmd()
Dwmi.h2640 enum ath6kl_host_mode host_mode);