Home
last modified time | relevance | path

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

/drivers/misc/
Dtsl2550.c51 unsigned int operating_mode:1; member
72 data->operating_mode = mode; in tsl2550_set_operating_mode()
88 tsl2550_set_operating_mode(client, data->operating_mode); in tsl2550_set_power_state()
228 return sprintf(buf, "%u\n", data->operating_mode); in tsl2550_show_operating_mode()
255 static DEVICE_ATTR(operating_mode, S_IWUSR | S_IRUGO,
278 if (data->operating_mode == 1) in __tsl2550_show_lux()
338 TSL2550_MODE_RANGE[data->operating_mode]); in tsl2550_init_client()
380 data->operating_mode = *opmode; in tsl2550_probe()
382 data->operating_mode = 0; /* default mode is standard */ in tsl2550_probe()
384 data->operating_mode ? "extended" : "standard"); in tsl2550_probe()
/drivers/staging/iio/magnetometer/
Dhmc5843.c206 u8 operating_mode; member
213 u8 operating_mode) in hmc5843_configure() argument
217 operating_mode & HMC5843_MODE_MASK); in hmc5843_configure()
263 return sprintf(buf, "%d\n", data->operating_mode); in hmc5843_show_operating_mode()
275 unsigned long operating_mode = 0; in hmc5843_set_operating_mode() local
280 error = kstrtoul(buf, 10, &operating_mode); in hmc5843_set_operating_mode()
285 dev_dbg(dev, "set conversion mode to %lu\n", operating_mode); in hmc5843_set_operating_mode()
286 if (operating_mode > HMC5843_MODE_SLEEP) { in hmc5843_set_operating_mode()
292 operating_mode); in hmc5843_set_operating_mode()
297 data->operating_mode = operating_mode; in hmc5843_set_operating_mode()
[all …]
/drivers/usb/host/
Dehci-fsl.c71 if (!((pdata->operating_mode == FSL_USB2_DR_HOST) || in usb_hcd_fsl_probe()
72 (pdata->operating_mode == FSL_USB2_MPH_HOST) || in usb_hcd_fsl_probe()
73 (pdata->operating_mode == FSL_USB2_DR_OTG))) { in usb_hcd_fsl_probe()
143 if (pdata->operating_mode == FSL_USB2_DR_OTG) { in usb_hcd_fsl_probe()
309 if ((pdata->operating_mode == FSL_USB2_DR_HOST) || in ehci_fsl_usb_setup()
310 (pdata->operating_mode == FSL_USB2_DR_OTG)) in ehci_fsl_usb_setup()
314 if (pdata->operating_mode == FSL_USB2_MPH_HOST) { in ehci_fsl_usb_setup()
Dfsl-mph-dr-of.c193 pdata->operating_mode = FSL_USB2_MPH_HOST; in fsl_usb2_mph_dr_of_probe()
202 pdata->operating_mode = dev_data->op_mode; in fsl_usb2_mph_dr_of_probe()
Dehci-tegra.c776 if (pdata->operating_mode == TEGRA_USB_OTG) { in tegra_ehci_probe()
/drivers/net/wireless/
Datmel.c517 int operating_mode, power_mode; member
846 if (priv->operating_mode == IW_MODE_ADHOC) { in start_tx()
1225 if (priv->operating_mode == IW_MODE_INFRA && in service_interrupt()
1276 if (priv->operating_mode == IW_MODE_INFRA) { in atmel_get_wireless_stats()
1566 priv->operating_mode = IW_MODE_INFRA; in init_atmel_card()
2086 priv->operating_mode = *uwrq; in atmel_set_mode()
2097 *uwrq = priv->operating_mode; in atmel_get_mode()
2795 cmd.BSS_type = cpu_to_le16(priv->operating_mode == IW_MODE_ADHOC ? in atmel_scan()
2870 if (priv->operating_mode == IW_MODE_INFRA) in handle_beacon_probe()
2990 if (priv->operating_mode == priv->BSSinfo[i].BSStype && in retrieve_bss()
[all …]
/drivers/usb/gadget/
Dfsl_udc_core.c2352 if (pdata->operating_mode == FSL_USB2_DR_OTG) { in fsl_udc_probe()
2368 if (pdata->operating_mode == FSL_USB2_DR_DEVICE) { in fsl_udc_probe()
2513 if (pdata->operating_mode == FSL_USB2_DR_DEVICE) in fsl_udc_probe()
2550 if (pdata->operating_mode == FSL_USB2_DR_DEVICE) in fsl_udc_remove()
/drivers/scsi/qla2xxx/
Dqla_init.c2042 if (ha->operating_mode == LOOP && !IS_CNA_CAPABLE(ha)) in qla2x00_init_rings()
2257 ha->operating_mode = LOOP; in qla2x00_configure_hba()
2276 ha->operating_mode = P2P; in qla2x00_configure_hba()
2284 ha->operating_mode = P2P; in qla2x00_configure_hba()
2607 ha->operating_mode = in qla2x00_nvram_config()
4941 ha->operating_mode = (le32_to_cpu(icb->firmware_options_2) & in qla24xx_nvram_config()
5716 ha->operating_mode = (le32_to_cpu(icb->firmware_options_2) & in qla81xx_nvram_config()
Dqla_bsg.c1780 if (ha->operating_mode != P2P) { in qla24xx_process_bidir_cmd()
Dqla_def.h2906 uint8_t operating_mode; /* F/W operating mode */ member
Dqla_isr.c733 ha->operating_mode = LOOP; in qla2x00_async_event()
Dqla_target.c3956 ha->operating_mode, ha->current_topology); in qlt_async_event()
/drivers/isdn/hardware/eicon/
Ddivacapi.h460 byte operating_mode; member
Dmessage.c6895 …fax_send_edata_ack = (((T30_INFO *)(plci->fax_connect_info_buffer))->operating_mode == T30_OPERATI… in nl_ind()
8151 ((T30_INFO *)&nlc[1])->operating_mode = T30_OPERATING_MODE_CAPI; in add_b23()
8517 ((T30_INFO *)&nlc[1])->operating_mode = T30_OPERATING_MODE_CAPI_NEG; in add_b23()