Searched refs:device_mode (Results 1 – 14 of 14) sorted by relevance
44 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()
28 int device_mode; member
103 bool device_mode; member277 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()
46 int device_mode; member79 int device_mode; member
78 state->device_mode = mode; in mxl1x1sf_set_device_mode()
162 u8 device_mode; member766 if (ddev->state.device_mode == mode) { in sdtx_device_mode_workfn()771 ddev->state.device_mode = mode; in sdtx_device_mode_workfn()836 if (ddev->state.device_mode == mode) in __sdtx_device_state_update_mode()839 ddev->state.device_mode = mode; in __sdtx_device_state_update_mode()989 status = ssam_retry(ssam_bas_get_device_mode, ddev->ctrl, &ddev->state.device_mode); in sdtx_device_init()1007 tablet_mode = (ddev->state.device_mode != SDTX_DEVICE_MODE_LAPTOP); in sdtx_device_init()
22 u32 device_mode; member
202 #define STM32_SPI_HOST_MODE(stm32_spi) (!(stm32_spi)->device_mode)203 #define STM32_SPI_DEVICE_MODE(stm32_spi) ((stm32_spi)->device_mode)377 bool device_mode; member2359 bool device_mode; in stm32_spi_probe() local2367 device_mode = of_property_read_bool(np, "spi-slave"); in stm32_spi_probe()2368 if (!cfg->has_device_mode && device_mode) in stm32_spi_probe()2371 if (device_mode) in stm32_spi_probe()2382 spi->device_mode = device_mode; in stm32_spi_probe()
36 - device_mode
46 u8 device_mode; member
217 tbt_data.device_mode = TBT_MODE; in pmic_glink_altmode_enable_tbt()218 tbt_data.device_mode |= TBT_SET_ADAPTER(TBT_ADAPTER_TBT3); in pmic_glink_altmode_enable_tbt()
211 data.device_mode = tbt->alt->vdo; in tbt_altmode_vdm()
504 bool device_mode; member783 if (xudc->device_mode) in tegra_xudc_usb_role_sw_work()808 if ((xudc->device_mode && usbphy->last_event == USB_EVENT_VBUS) || in tegra_xudc_update_data_role()809 (!xudc->device_mode && usbphy->last_event != USB_EVENT_VBUS)) { in tegra_xudc_update_data_role()811 xudc->device_mode); in tegra_xudc_update_data_role()815 xudc->device_mode = usbphy->last_event == USB_EVENT_VBUS; in tegra_xudc_update_data_role()881 if (xudc->device_mode && xudc->wait_for_sec_prc) { in tegra_xudc_port_reset_war_work()4051 if (xudc->device_mode != xudc->current_device_mode) in tegra_xudc_resume()
348 if (TBT_ADAPTER(data->device_mode) == TBT_ADAPTER_TBT3) in pmc_usb_mux_tbt()