Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/x86/intel/int1092/
H A Dintel_sar.c44 context->sar_data.device_mode < config->total_dev_mode) { in update_sar_data()
48 if (context->sar_data.device_mode == in update_sar_data()
49 config->device_mode_info[itr].device_mode) { in update_sar_data()
105 if (get_int_value(&num->package.elements[0], &temp.device_mode)) in parse_package()
142 context->sar_data.device_mode = out->integer.value; in sar_get_device_mode()
161 return sysfs_emit(buf, "%d %d %d %d\n", context->sar_data.device_mode, in intc_data_show()
H A Dintel_sar.h28 int device_mode; member
/openbmc/linux/drivers/phy/broadcom/
H A Dphy-bcm63xx-usbh.c103 bool device_mode; member
277 if (usbh->device_mode && usbh->variant->swapctl_dev_set) in bcm63xx_usbh_phy_init()
305 if (usbh->device_mode && in bcm63xx_usbh_phy_init()
373 usbh->device_mode = !!args->args[0]; in bcm63xx_usbh_phy_xlate()
/openbmc/linux/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf.h46 int device_mode; member
79 int device_mode; member
H A Dmxl111sf.c291 err = mxl1x1sf_set_device_mode(state, adap_state->device_mode); in mxl111sf_adap_fe_init()
444 adap_state->device_mode = MXL_TUNER_MODE; in mxl111sf_lgdt3305_frontend_attach()
454 ret = mxl1x1sf_set_device_mode(state, adap_state->device_mode); in mxl111sf_lgdt3305_frontend_attach()
515 adap_state->device_mode = MXL_TUNER_MODE; in mxl111sf_lg2160_frontend_attach()
525 ret = mxl1x1sf_set_device_mode(state, adap_state->device_mode); in mxl111sf_lg2160_frontend_attach()
600 adap_state->device_mode = MXL_TUNER_MODE; in mxl111sf_lg2161_frontend_attach()
610 ret = mxl1x1sf_set_device_mode(state, adap_state->device_mode); in mxl111sf_lg2161_frontend_attach()
687 adap_state->device_mode = MXL_TUNER_MODE; in mxl111sf_lg2161_ep6_frontend_attach()
697 ret = mxl1x1sf_set_device_mode(state, adap_state->device_mode); in mxl111sf_lg2161_ep6_frontend_attach()
762 adap_state->device_mode = MXL_SOC_MODE; in mxl111sf_attach_demod()
[all …]
H A Dmxl111sf-phy.c78 state->device_mode = mode; in mxl1x1sf_set_device_mode()
/openbmc/linux/drivers/platform/surface/
H A Dsurface_dtx.c162 u8 device_mode; member
767 if (ddev->state.device_mode == mode) { in sdtx_device_mode_workfn()
772 ddev->state.device_mode = mode; in sdtx_device_mode_workfn()
837 if (ddev->state.device_mode == mode) in __sdtx_device_state_update_mode()
840 ddev->state.device_mode = mode; in __sdtx_device_state_update_mode()
990 status = ssam_retry(ssam_bas_get_device_mode, ddev->ctrl, &ddev->state.device_mode); in sdtx_device_init()
1008 tablet_mode = (ddev->state.device_mode != SDTX_DEVICE_MODE_LAPTOP); in sdtx_device_init()
/openbmc/linux/include/linux/usb/
H A Dtypec_tbt.h21 u32 device_mode; member
/openbmc/linux/drivers/spi/
H A Dspi-stm32.c175 #define STM32_SPI_MASTER_MODE(stm32_spi) (!(stm32_spi)->device_mode)
176 #define STM32_SPI_DEVICE_MODE(stm32_spi) ((stm32_spi)->device_mode)
323 bool device_mode; member
1811 bool device_mode; in stm32_spi_probe() local
1815 device_mode = of_property_read_bool(np, "spi-slave"); in stm32_spi_probe()
1816 if (!cfg->has_device_mode && device_mode) { in stm32_spi_probe()
1821 if (device_mode) in stm32_spi_probe()
1834 spi->device_mode = device_mode; in stm32_spi_probe()
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-driver-intc_sar36 - device_mode
/openbmc/linux/drivers/input/touchscreen/
H A Draspberrypi-ts.c46 u8 device_mode; member
/openbmc/linux/drivers/usb/gadget/udc/
H A Dtegra-xudc.c504 bool device_mode; member
778 if (xudc->device_mode) in tegra_xudc_usb_role_sw_work()
803 if ((xudc->device_mode && usbphy->last_event == USB_EVENT_VBUS) || in tegra_xudc_update_data_role()
804 (!xudc->device_mode && usbphy->last_event != USB_EVENT_VBUS)) { in tegra_xudc_update_data_role()
806 xudc->device_mode); in tegra_xudc_update_data_role()
810 xudc->device_mode = (usbphy->last_event == USB_EVENT_VBUS) ? true : in tegra_xudc_update_data_role()
877 if (xudc->device_mode && xudc->wait_for_sec_prc) { in tegra_xudc_port_reset_war_work()
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_typec.c450 data.device_mode = TBT_MODE; in cros_typec_enable_tbt()
453 data.device_mode = TBT_SET_ADAPTER(TBT_ADAPTER_TBT3); in cros_typec_enable_tbt()
/openbmc/linux/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c325 if (TBT_ADAPTER(data->device_mode) == TBT_ADAPTER_TBT3) in pmc_usb_mux_tbt()
/openbmc/linux/drivers/net/wireless/ath/wcn36xx/
H A Dhal.h4936 u8 device_mode; member