Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/platform/x86/intel/int1092/
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()
Dintel_sar.h28 int device_mode; member
/linux-6.12.1/drivers/crypto/intel/iaa/
Diaa_crypto_main.c393 struct iaa_device_compression_mode *device_mode) in free_device_compression_mode() argument
398 kfree(device_mode->name); in free_device_compression_mode()
400 if (device_mode->aecs_comp_table) in free_device_compression_mode()
401 dma_free_coherent(dev, size, device_mode->aecs_comp_table, in free_device_compression_mode()
402 device_mode->aecs_comp_table_dma_addr); in free_device_compression_mode()
403 kfree(device_mode); in free_device_compression_mode()
425 struct iaa_device_compression_mode *device_mode; in init_device_compression_mode() local
428 device_mode = kzalloc(sizeof(*device_mode), GFP_KERNEL); in init_device_compression_mode()
429 if (!device_mode) in init_device_compression_mode()
432 device_mode->name = kstrdup(mode->name, GFP_KERNEL); in init_device_compression_mode()
[all …]
/linux-6.12.1/drivers/phy/broadcom/
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()
/linux-6.12.1/drivers/media/usb/dvb-usb-v2/
Dmxl111sf.h46 int device_mode; member
79 int device_mode; member
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 …]
Dmxl111sf-phy.c78 state->device_mode = mode; in mxl1x1sf_set_device_mode()
/linux-6.12.1/drivers/platform/surface/
Dsurface_dtx.c162 u8 device_mode; member
766 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()
/linux-6.12.1/include/linux/usb/
Dtypec_tbt.h22 u32 device_mode; member
/linux-6.12.1/drivers/spi/
Dspi-stm32.c197 #define STM32_SPI_HOST_MODE(stm32_spi) (!(stm32_spi)->device_mode)
198 #define STM32_SPI_DEVICE_MODE(stm32_spi) ((stm32_spi)->device_mode)
359 bool device_mode; member
2072 bool device_mode; in stm32_spi_probe() local
2076 device_mode = of_property_read_bool(np, "spi-slave"); in stm32_spi_probe()
2077 if (!cfg->has_device_mode && device_mode) { in stm32_spi_probe()
2082 if (device_mode) in stm32_spi_probe()
2095 spi->device_mode = device_mode; in stm32_spi_probe()
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-driver-intc_sar36 - device_mode
/linux-6.12.1/drivers/input/touchscreen/
Draspberrypi-ts.c46 u8 device_mode; member
/linux-6.12.1/drivers/usb/gadget/udc/
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()
/linux-6.12.1/drivers/platform/chrome/
Dcros_ec_typec.c468 data.device_mode = TBT_MODE; in cros_typec_enable_tbt()
471 data.device_mode = TBT_SET_ADAPTER(TBT_ADAPTER_TBT3); in cros_typec_enable_tbt()
/linux-6.12.1/drivers/usb/typec/mux/
Dintel_pmc_mux.c348 if (TBT_ADAPTER(data->device_mode) == TBT_ADAPTER_TBT3) in pmc_usb_mux_tbt()
/linux-6.12.1/drivers/net/wireless/ath/wcn36xx/
Dhal.h4936 u8 device_mode; member