Searched refs:opmode (Results 1 – 13 of 13) sorted by relevance
/drivers/net/ |
D | bfin_mac.c | 322 u32 opmode = bfin_read_EMAC_OPMODE(); in bfin_mac_adjust_link() local 326 opmode |= FDMODE; in bfin_mac_adjust_link() 328 opmode &= ~(FDMODE); in bfin_mac_adjust_link() 330 bfin_write_EMAC_OPMODE(opmode); in bfin_mac_adjust_link() 336 u32 opmode = bfin_read_EMAC_OPMODE(); in bfin_mac_adjust_link() local 339 opmode |= RMII_10; in bfin_mac_adjust_link() 342 opmode &= ~(RMII_10); in bfin_mac_adjust_link() 350 bfin_write_EMAC_OPMODE(opmode); in bfin_mac_adjust_link() 369 u32 opmode = bfin_read_EMAC_OPMODE(); in bfin_mac_adjust_link() local 371 pr_debug("EMAC_OPMODE = 0x%08x\n", opmode); in bfin_mac_adjust_link() [all …]
|
/drivers/media/video/ |
D | msp3400-driver.c | 71 static int opmode = OPMODE_AUTO; variable 84 module_param(opmode, int, 0444); 94 MODULE_PARM_DESC(opmode, "Forces a MSP3400 opmode. 0=Manual, 1=Autodetect, 2=Autodetect and autosel… 513 if (state->opmode == OPMODE_AUTOSELECT) in msp_ioctl() 586 switch (state->opmode) { in msp_s_radio() 652 reg = (state->opmode == OPMODE_AUTOSELECT) ? 0x30 : 0xbb; in msp_s_routing() 667 if (state->opmode == OPMODE_AUTOSELECT) in msp_g_tuner() 751 if (state->opmode == OPMODE_AUTOSELECT) in msp_log_status() 777 } else if (state->opmode == OPMODE_MANUAL) { in msp_log_status() 782 if (state->opmode == OPMODE_AUTODETECT) in msp_log_status() [all …]
|
D | tvp5150.c | 287 int opmode=0; in tvp5150_selmux() local 300 opmode=0x30; /* TV Mode */ in tvp5150_selmux() 305 opmode=0; /* Auto Mode */ in tvp5150_selmux() 312 input, opmode ); in tvp5150_selmux() 314 tvp5150_write(sd, TVP5150_OP_MODE_CTL, opmode); in tvp5150_selmux()
|
D | msp3400-driver.h | 73 int opmode; member
|
D | msp3400-kthreads.c | 236 if (state->opmode == OPMODE_AUTOSELECT) { in msp3400c_set_audmode() 1100 switch (state->opmode) { in msp_set_audmode() 1115 switch (state->opmode) { in msp_detect_stereo()
|
/drivers/i2c/chips/ |
D | tsl2550.c | 372 int *opmode, err = 0; in tsl2550_probe() local 388 opmode = client->dev.platform_data; in tsl2550_probe() 389 if (opmode) { in tsl2550_probe() 390 if (*opmode < 0 || *opmode > 1) { in tsl2550_probe() 392 *opmode); in tsl2550_probe() 396 data->operating_mode = *opmode; in tsl2550_probe()
|
/drivers/net/wireless/ath5k/ |
D | base.c | 528 sc->opmode = NL80211_IFTYPE_STATION; in ath5k_pci_probe() 1421 if (sc->opmode == NL80211_IFTYPE_AP || in ath5k_beaconq_config() 1422 sc->opmode == NL80211_IFTYPE_MESH_POINT) { in ath5k_beaconq_config() 1430 } else if (sc->opmode == NL80211_IFTYPE_ADHOC) { in ath5k_beaconq_config() 1759 sc->opmode != NL80211_IFTYPE_MONITOR) in ath5k_tasklet_rx() 1842 if (sc->opmode == NL80211_IFTYPE_ADHOC) in ath5k_tasklet_rx() 1974 if (sc->opmode == NL80211_IFTYPE_ADHOC && ath5k_hw_hasveol(ah)) { in ath5k_beacon_setup() 2023 if (unlikely(bf->skb == NULL || sc->opmode == NL80211_IFTYPE_STATION || in ath5k_beacon_send() 2024 sc->opmode == NL80211_IFTYPE_MONITOR)) { in ath5k_beacon_send() 2196 if (sc->opmode == NL80211_IFTYPE_STATION) { in ath5k_beacon_config() [all …]
|
D | base.h | 116 enum nl80211_iftype opmode; member
|
/drivers/char/ |
D | mxser.c | 1585 u8 opmode; in mxser_ioctl_special() local 1647 opmode = inb(port->opmode_ioaddr) >> in mxser_ioctl_special() 1649 opmode &= OP_MODE_MASK; in mxser_ioctl_special() 1650 me->iftype[p] = opmode; in mxser_ioctl_special() 1700 unsigned long opmode; in mxser_ioctl() local 1707 if (get_user(opmode, (int __user *) argp)) in mxser_ioctl() 1709 if (opmode != RS232_MODE && in mxser_ioctl() 1710 opmode != RS485_2WIRE_MODE && in mxser_ioctl() 1711 opmode != RS422_MODE && in mxser_ioctl() 1712 opmode != RS485_4WIRE_MODE) in mxser_ioctl() [all …]
|
/drivers/net/wireless/ath9k/ |
D | beacon.c | 625 enum nl80211_iftype opmode; in ath_beacon_config() local 632 opmode = avp->av_opmode; in ath_beacon_config() 634 opmode = sc->sc_ah->ah_opmode; in ath_beacon_config()
|
D | hw.c | 1092 enum nl80211_iftype opmode) in ath9k_hw_init_interrupt_masks() argument 1109 if (opmode == NL80211_IFTYPE_AP) in ath9k_hw_init_interrupt_masks() 1481 static void ath9k_hw_set_operating_mode(struct ath_hal *ah, int opmode) in ath9k_hw_set_operating_mode() argument 1487 switch (opmode) { in ath9k_hw_set_operating_mode()
|
/drivers/net/wireless/ |
D | airo.c | 533 __le16 opmode; /* operating mode */ member 1828 if ((cfgr.opmode & MODE_CFG_MASK) == MODE_STA_IBSS) in writeConfigRid() 3778 ai->config.opmode = adhoc ? MODE_STA_IBSS : MODE_STA_ESS; in setup_card() 3785 ai->config.opmode |= MODE_MIC; in setup_card() 4765 ai->config.opmode &= ~MODE_CFG_MASK; in proc_config_on_close() 4768 ai->config.opmode |= MODE_STA_IBSS; in proc_config_on_close() 4770 ai->config.opmode |= MODE_STA_ESS; in proc_config_on_close() 4981 mode = ai->config.opmode & MODE_CFG_MASK; in proc_config_open() 5774 if ((local->config.opmode & MODE_CFG_MASK) == MODE_STA_ESS) in airo_get_freq() 6162 local->config.opmode &= ~MODE_CFG_MASK; in airo_set_mode() [all …]
|
/drivers/regulator/ |
D | core.c | 294 static DEVICE_ATTR(opmode, 0444, regulator_opmode_show, NULL);
|