Home
last modified time | relevance | path

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

/linux/drivers/crypto/intel/iaa/
H A Diaa_crypto_main.c390 struct iaa_device_compression_mode *device_mode) in free_device_compression_mode() argument
395 kfree(device_mode->name); in free_device_compression_mode()
397 if (device_mode->aecs_comp_table) in free_device_compression_mode()
398 dma_free_coherent(dev, size, device_mode->aecs_comp_table, in free_device_compression_mode()
399 device_mode->aecs_comp_table_dma_addr); in free_device_compression_mode()
400 kfree(device_mode); in free_device_compression_mode()
422 struct iaa_device_compression_mode *device_mode; in init_device_compression_mode() local
425 device_mode = kzalloc_obj(*device_mode); in init_device_compression_mode()
426 if (!device_mode) in init_device_compression_mode()
429 device_mode->name = kstrdup(mode->name, GFP_KERNEL); in init_device_compression_mode()
[all …]
/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
/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()
/linux/drivers/media/usb/dvb-usb-v2/
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.h46 int device_mode; member
79 int device_mode; member
H A Dmxl111sf-phy.c78 state->device_mode = mode; in mxl1x1sf_set_device_mode()
/linux/drivers/platform/surface/
H A 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/include/linux/usb/
H A Dtypec_tbt.h22 u32 device_mode; member
/linux/drivers/spi/
H A Dspi-stm32.c202 #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; member
2359 bool device_mode; in stm32_spi_probe() local
2368 device_mode = of_property_read_bool(np, "spi-slave"); in stm32_spi_probe()
2369 if (!cfg->has_device_mode && device_mode) { in stm32_spi_probe()
2374 if (device_mode) in stm32_spi_probe()
2387 spi->device_mode = device_mode; in stm32_spi_probe()
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-intc_sar36 - device_mode
/linux/drivers/input/touchscreen/
H A Draspberrypi-ts.c46 u8 device_mode; member
/linux/drivers/soc/qcom/
H A Dpmic_glink_altmode.c217 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()
/linux/drivers/usb/typec/altmodes/
H A Dthunderbolt.c211 data.device_mode = tbt->alt->vdo; in tbt_altmode_vdm()
/linux/drivers/usb/gadget/udc/
H A Dtegra-xudc.c504 bool device_mode; member
783 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()
/linux/drivers/usb/typec/tipd/
H A Dcore.c116 __le16 device_mode; member
704 tbt_data.device_mode = le16_to_cpu(st->intel_vid_status.device_mode); in cd321x_typec_update_mode()
/linux/drivers/platform/chrome/
H A Dcros_ec_typec.c586 data.device_mode = TBT_MODE; in cros_typec_enable_tbt()
589 data.device_mode = TBT_SET_ADAPTER(TBT_ADAPTER_TBT3); in cros_typec_enable_tbt()
/linux/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c348 if (TBT_ADAPTER(data->device_mode) == TBT_ADAPTER_TBT3) in pmc_usb_mux_tbt()
/linux/drivers/net/wireless/ath/wcn36xx/
H A Dhal.h4862 u8 device_mode; member