/drivers/mfd/ |
H A D | wl1273-core.c | 90 * @new_mode: The new audio mode. 94 static int wl1273_fm_set_audio(struct wl1273_core *core, unsigned int new_mode) argument 102 if (core->mode == WL1273_MODE_RX && new_mode == WL1273_AUDIO_DIGITAL) { 119 new_mode == WL1273_AUDIO_ANALOG) { 126 new_mode == WL1273_AUDIO_DIGITAL) { 138 new_mode == WL1273_AUDIO_ANALOG) { 145 core->audio_mode = new_mode;
|
/drivers/staging/omapdrm/ |
H A D | omap_connector.c | 214 struct drm_display_mode *new_mode; local 222 new_mode = drm_mode_duplicate(dev, mode); 223 new_mode->clock = timings.pixel_clock; 224 new_mode->vrefresh = 0; 225 if (mode->vrefresh == drm_mode_vrefresh(new_mode)) 227 drm_mode_destroy(dev, new_mode);
|
/drivers/net/ethernet/sfc/ |
H A D | falcon_boards.c | 372 enum efx_phy_mode old_mode, new_mode; local 378 new_mode = old_mode & ~PHY_MODE_SPECIAL; 380 new_mode = PHY_MODE_SPECIAL; 381 if (!((old_mode ^ new_mode) & PHY_MODE_SPECIAL)) { 388 efx->phy_mode = new_mode; 389 if (new_mode & PHY_MODE_SPECIAL) 394 if (!(new_mode & PHY_MODE_SPECIAL))
|
/drivers/media/radio/ |
H A D | radio-wl1273.c | 566 static int wl1273_fm_start(struct wl1273_device *radio, int new_mode) argument 580 if (new_mode == WL1273_MODE_RX) { 602 } else if (new_mode == WL1273_MODE_TX) { 632 if (new_mode == WL1273_MODE_RX) { 643 } else if (new_mode == WL1273_MODE_TX) { 988 static int wl1273_fm_set_rds(struct wl1273_device *radio, unsigned int new_mode) argument 997 if (new_mode == WL1273_RDS_RESET) { 1002 if (core->mode == WL1273_MODE_TX && new_mode == WL1273_RDS_OFF) { 1004 } else if (core->mode == WL1273_MODE_TX && new_mode == WL1273_RDS_ON) { 1006 } else if (core->mode == WL1273_MODE_RX && new_mode [all...] |
/drivers/input/tablet/ |
H A D | aiptek.c | 1089 int new_mode = map_str_to_val(pointer_mode_map, buf, count); local 1091 if (new_mode == AIPTEK_INVALID_VALUE) 1094 aiptek->newSetting.pointerMode = new_mode; 1126 int new_mode = map_str_to_val(coordinate_mode_map, buf, count); local 1128 if (new_mode == AIPTEK_INVALID_VALUE) 1131 aiptek->newSetting.coordinateMode = new_mode; 1168 int new_mode = map_str_to_val(tool_mode_map, buf, count); local 1170 if (new_mode == AIPTEK_INVALID_VALUE) 1173 aiptek->newSetting.toolMode = new_mode;
|
/drivers/net/team/ |
H A D | team.c | 336 const struct team_mode *new_mode) 355 if (!new_mode) 358 if (new_mode->ops->init) { 361 err = new_mode->ops->init(team); 366 team->mode = new_mode; 367 memcpy(&team->ops, new_mode->ops, sizeof(struct team_mode_ops)); 375 struct team_mode *new_mode; local 389 new_mode = team_mode_get(kind); 390 if (!new_mode) { 395 err = __team_change_mode(team, new_mode); 335 __team_change_mode(struct team *team, const struct team_mode *new_mode) argument [all...] |
/drivers/video/ |
H A D | carminefb.c | 76 u32 new_mode; member in struct:carmine_fb 416 par->new_mode = ret; 417 if (par->cur_mode != par->new_mode) { 419 par->cur_mode = par->new_mode; 420 par->res = &car_modes[par->new_mode]; 570 par->cur_mode = par->new_mode = ~0;
|
H A D | sh_mobile_lcdcfb.c | 370 const struct fb_videomode *new_mode) 374 new_mode->xres, new_mode->yres); 377 if (fb_mode_is_equal(&ch->display.mode, new_mode)) 381 ch->display.mode.yres, new_mode->yres); 382 ch->display.mode = *new_mode; 369 sh_mobile_lcdc_must_reconfigure(struct sh_mobile_lcdc_chan *ch, const struct fb_videomode *new_mode) argument
|
/drivers/input/mouse/ |
H A D | hgpk.c | 825 enum hgpk_mode new_mode = hgpk_mode_from_name(buf, len); local 830 if (new_mode == HGPK_MODE_INVALID) 833 if (old_mode == new_mode) 843 priv->mode = new_mode; 848 hgpk_setup_input_device(new_dev, old_dev, new_mode);
|
/drivers/net/ethernet/realtek/ |
H A D | atp.c | 871 unsigned char new_mode, mc_filter[8]; /* Multicast hash filter */ local 875 new_mode = CMR2h_PROMISC; 880 new_mode = CMR2h_Normal; 889 new_mode = CMR2h_Normal; 891 lp->addr_mode = new_mode;
|
/drivers/net/wireless/b43/ |
H A D | phy_common.h | 181 enum b43_interference_mitigation new_mode);
|
/drivers/net/ethernet/3com/ |
H A D | 3c515.c | 1527 short new_mode; local 1533 new_mode = SetRxFilter | RxStation | RxMulticast | RxBroadcast | RxProm; 1535 new_mode = SetRxFilter | RxStation | RxMulticast | RxBroadcast; 1537 new_mode = SetRxFilter | RxStation | RxBroadcast; 1539 outw(new_mode, ioaddr + EL3_CMD);
|
H A D | 3c59x.c | 3027 int new_mode; local 3032 new_mode = SetRxFilter|RxStation|RxMulticast|RxBroadcast|RxProm; 3034 new_mode = SetRxFilter|RxStation|RxMulticast|RxBroadcast; 3036 new_mode = SetRxFilter | RxStation | RxBroadcast; 3038 iowrite16(new_mode, ioaddr + EL3_CMD);
|
/drivers/md/ |
H A D | dm-table.c | 433 static int upgrade_mode(struct dm_dev_internal *dd, fmode_t new_mode, argument 441 dd_new.dm_dev.mode |= new_mode; 448 dd->dm_dev.mode |= new_mode;
|
/drivers/net/vmxnet3/ |
H A D | vmxnet3_drv.c | 1994 u32 new_mode = VMXNET3_RXM_UCAST; local 2000 new_mode |= VMXNET3_RXM_PROMISC; 2006 new_mode |= VMXNET3_RXM_BCAST; 2009 new_mode |= VMXNET3_RXM_ALL_MULTI; 2014 new_mode |= VMXNET3_RXM_MCAST; 2022 new_mode |= VMXNET3_RXM_ALL_MULTI; 2027 if (!(new_mode & VMXNET3_RXM_MCAST)) { 2033 if (new_mode != rxConf->rxMode) { 2034 rxConf->rxMode = cpu_to_le32(new_mode);
|
/drivers/net/ethernet/brocade/bna/ |
H A D | bna_tx_rx.c | 2628 bna_rx_mode_set(struct bna_rx *rx, enum bna_rxmode new_mode, argument 2637 if (is_promisc_enable(new_mode, bitmask)) { 2648 if (is_default_enable(new_mode, bitmask)) 2652 if (is_default_enable(new_mode, bitmask)) { 2666 if (is_promisc_enable(new_mode, bitmask)) { 2669 } else if (is_promisc_disable(new_mode, bitmask)) { 2674 if (is_allmulti_enable(new_mode, bitmask)) { 2677 } else if (is_allmulti_disable(new_mode, bitmask)) {
|
/drivers/net/wireless/b43legacy/ |
H A D | main.c | 2586 unsigned int new_mode) 2594 err = find_wldev_for_phymode(wl, new_mode, &up_dev, &gmode); 2597 phymode_to_string(new_mode)); 2605 phymode_to_string(new_mode)); 2627 phymode_to_string(new_mode)); 2636 phymode_to_string(new_mode)); 2585 b43legacy_switch_phymode(struct b43legacy_wl *wl, unsigned int new_mode) argument
|