Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/dwc3/
H A Ddwc3-generic.c143 u32 host_mode; in dwc3_ti_select_dr_mode() local
165 host_mode = 0; in dwc3_ti_select_dr_mode()
169 host_mode = 1; in dwc3_ti_select_dr_mode()
174 host_mode = 0; in dwc3_ti_select_dr_mode()
193 if (!host_mode) in dwc3_ti_select_dr_mode()
/openbmc/linux/arch/mips/pci/
H A Dpcie-octeon.c719 if ((pcie_port == 0) && !npei_ctl_status.s.host_mode) { in __cvmx_pcie_rc_initialize_gen1()
1238 if (!mio_rst_ctl.s.host_mode) { in __cvmx_pcie_rc_initialize_gen2()
1869 int host_mode; in octeon_pcie_setup() local
1913 host_mode = npei_ctl_status.s.host_mode; in octeon_pcie_setup()
1918 host_mode = mio_rst_ctl.s.host_mode; in octeon_pcie_setup()
1922 if (host_mode) { in octeon_pcie_setup()
1981 host_mode = 1; in octeon_pcie_setup()
1987 host_mode = 0; in octeon_pcie_setup()
1992 host_mode = mio_rst_ctl.s.host_mode; in octeon_pcie_setup()
1995 if (host_mode) { in octeon_pcie_setup()
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-rst-defs.h125 uint64_t host_mode:1; member
137 uint64_t host_mode:1;
H A Dcvmx-mio-defs.h3216 uint64_t host_mode:1; member
3228 uint64_t host_mode:1;
3244 uint64_t host_mode:1; member
3256 uint64_t host_mode:1;
3276 uint64_t host_mode:1; member
3288 uint64_t host_mode:1;
3304 uint64_t host_mode:1; member
3316 uint64_t host_mode:1;
3328 uint64_t host_mode:1; member
3340 uint64_t host_mode:1;
H A Dcvmx-npei-defs.h746 uint64_t host_mode:1; member
750 uint64_t host_mode:1;
771 uint64_t host_mode:1; member
775 uint64_t host_mode:1;
792 uint64_t host_mode:1; member
796 uint64_t host_mode:1;
/openbmc/linux/drivers/pci/controller/
H A Dpci-ixp4xx.c107 bool host_mode; member
554 p->host_mode = !!(val & IXP4XX_PCI_CSR_HOST); in ixp4xx_pci_probe()
556 p->host_mode ? "host" : "option"); in ixp4xx_pci_probe()
572 if (p->host_mode) { in ixp4xx_pci_probe()
/openbmc/qemu/hw/input/
H A Dtsc2005.c47 bool host_mode; member
204 s->host_mode = (data >> 15) != 0; in tsc2005_write()
262 if (!s->host_mode && s->dav) { in tsc2005_pin_update()
475 VMSTATE_BOOL(host_mode, TSC2005State),
H A Dtsc210x.c67 bool host_mode; member
423 (s->host_mode << 12) | ((!!s->dav) << 11) | s->dav; in tsc2102_control_register_read()
571 s->host_mode = value >> 15; in tsc2102_control_register_write()
1022 VMSTATE_BOOL(host_mode, TSC210xState),
/openbmc/linux/drivers/hwtracing/intel_th/
H A 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()
H A 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()
H A Dintel_th.h84 bool host_mode; member
/openbmc/linux/drivers/usb/dwc2/
H A 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()
/openbmc/qemu/hw/usb/
H A Dtusb6010.c52 int host_mode; member
509 s->host_mode = (value & TUSB_DEV_CONF_USB_HOST_MODE); in tusb_async_writew()
784 s->host_mode = 0; in tusb6010_reset()
/openbmc/linux/drivers/usb/host/
H A Dxhci-tegra.c301 bool host_mode; member
1352 dev_dbg(tegra->dev, "host mode %s\n", tegra->host_mode ? "on" : "off"); in tegra_xhci_id_work()
1356 if (tegra->host_mode) in tegra_xhci_id_work()
1366 if (tegra->host_mode) { in tegra_xhci_id_work()
1434 return ((index == tegra->otg_usb2_port) && tegra->host_mode); in is_host_mode_phy()
1441 return ((index == tegra->otg_usb3_port) && tegra->host_mode); in is_host_mode_phy()
1472 if ((tegra->host_mode && usbphy->last_event == USB_EVENT_ID) || in tegra_xhci_id_notify()
1473 (!tegra->host_mode && usbphy->last_event != USB_EVENT_ID)) { in tegra_xhci_id_notify()
1475 tegra->host_mode); in tegra_xhci_id_notify()
1481 tegra->host_mode = (usbphy->last_event == USB_EVENT_ID) ? true : false; in tegra_xhci_id_notify()
/openbmc/linux/Documentation/trace/
H A Dintel_th.rst121 In order to enable the host mode, set the 'host_mode' parameter of the
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A 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()
H A Dwmi.h2640 enum ath6kl_host_mode host_mode);