Home
last modified time | relevance | path

Searched refs:operating_mode (Results 1 – 11 of 11) sorted by relevance

/drivers/misc/
Dtsl2550.c37 unsigned int operating_mode:1; member
58 data->operating_mode = mode; in tsl2550_set_operating_mode()
74 tsl2550_set_operating_mode(client, data->operating_mode); in tsl2550_set_power_state()
214 return sprintf(buf, "%u\n", data->operating_mode); in tsl2550_show_operating_mode()
241 static DEVICE_ATTR(operating_mode, S_IWUSR | S_IRUGO,
264 if (data->operating_mode == 1) in __tsl2550_show_lux()
324 TSL2550_MODE_RANGE[data->operating_mode]); in tsl2550_init_client()
366 data->operating_mode = *opmode; in tsl2550_probe()
368 data->operating_mode = 0; /* default mode is standard */ in tsl2550_probe()
370 data->operating_mode ? "extended" : "standard"); in tsl2550_probe()
/drivers/usb/host/
Dehci-fsl.c70 if (!((pdata->operating_mode == FSL_USB2_DR_HOST) || in fsl_ehci_drv_probe()
71 (pdata->operating_mode == FSL_USB2_MPH_HOST) || in fsl_ehci_drv_probe()
72 (pdata->operating_mode == FSL_USB2_DR_OTG))) { in fsl_ehci_drv_probe()
152 if (pdata->operating_mode == FSL_USB2_DR_OTG) { in fsl_ehci_drv_probe()
331 if ((pdata->operating_mode == FSL_USB2_DR_HOST) || in ehci_fsl_usb_setup()
332 (pdata->operating_mode == FSL_USB2_DR_OTG)) in ehci_fsl_usb_setup()
336 if (pdata->operating_mode == FSL_USB2_MPH_HOST) { in ehci_fsl_usb_setup()
Dfsl-mph-dr-of.c204 pdata->operating_mode = FSL_USB2_MPH_HOST; in fsl_usb2_mph_dr_of_probe()
213 pdata->operating_mode = dev_data->op_mode; in fsl_usb2_mph_dr_of_probe()
/drivers/net/wireless/atmel/
Datmel.c515 int operating_mode, power_mode; member
844 if (priv->operating_mode == IW_MODE_ADHOC) { in start_tx()
1222 if (priv->operating_mode == IW_MODE_INFRA && in service_interrupt()
1273 if (priv->operating_mode == IW_MODE_INFRA) { in atmel_get_wireless_stats()
1543 priv->operating_mode = IW_MODE_INFRA; in init_atmel_card()
2066 priv->operating_mode = *uwrq; in atmel_set_mode()
2077 *uwrq = priv->operating_mode; in atmel_get_mode()
2761 cmd.BSS_type = cpu_to_le16(priv->operating_mode == IW_MODE_ADHOC ? in atmel_scan()
2836 if (priv->operating_mode == IW_MODE_INFRA) in handle_beacon_probe()
2956 if (priv->operating_mode == priv->BSSinfo[i].BSStype && in retrieve_bss()
[all …]
/drivers/iio/magnetometer/
Dhmc5843_core.c136 static s32 hmc5843_set_mode(struct hmc5843_data *data, u8 operating_mode) in hmc5843_set_mode() argument
142 HMC5843_MODE_MASK, operating_mode); in hmc5843_set_mode()
/drivers/usb/gadget/udc/
Dfsl_udc_core.c2380 if (pdata->operating_mode == FSL_USB2_DR_OTG) { in fsl_udc_probe()
2396 if (pdata->operating_mode == FSL_USB2_DR_DEVICE) { in fsl_udc_probe()
2542 if (pdata->operating_mode == FSL_USB2_DR_DEVICE) in fsl_udc_probe()
2579 if (res && (pdata->operating_mode == FSL_USB2_DR_DEVICE)) in fsl_udc_remove()
/drivers/scsi/qla2xxx/
Dqla_init.c3827 if (ha->operating_mode == P2P) { in qla2x00_update_fw_options()
3852 if (ha->operating_mode == P2P) { in qla24xx_update_fw_options()
4091 if (ha->operating_mode == LOOP && !IS_CNA_CAPABLE(ha)) in qla2x00_init_rings()
4321 ha->operating_mode = LOOP; in qla2x00_configure_hba()
4340 ha->operating_mode = P2P; in qla2x00_configure_hba()
4348 ha->operating_mode = P2P; in qla2x00_configure_hba()
4654 ha->operating_mode = in qla2x00_nvram_config()
7223 ha->operating_mode = (le32_to_cpu(icb->firmware_options_2) & in qla24xx_nvram_config()
8433 ha->operating_mode = (le32_to_cpu(icb->firmware_options_2) & in qla81xx_nvram_config()
8644 if (ha->operating_mode == P2P) { in qla81xx_update_fw_options()
Dqla_bsg.c1824 if (ha->operating_mode != P2P) { in qla24xx_process_bidir_cmd()
Dqla_isr.c894 ha->operating_mode = LOOP; in qla2x00_async_event()
Dqla_def.h3757 uint8_t operating_mode; /* F/W operating mode */ member
Dqla_mbx.c2209 if (vha->hw->operating_mode == LOOP) in qla24xx_link_initialize()