new_mode          203 arch/powerpc/platforms/powernv/subcore.c static void split_core(int new_mode)
new_mode          213 arch/powerpc/platforms/powernv/subcore.c 	i = (new_mode >> 1) - 1;
new_mode          235 arch/powerpc/platforms/powernv/subcore.c static void cpu_do_split(int new_mode)
new_mode          246 arch/powerpc/platforms/powernv/subcore.c 	if (new_mode != 1)
new_mode          247 arch/powerpc/platforms/powernv/subcore.c 		split_core(new_mode);
new_mode          286 arch/powerpc/platforms/powernv/subcore.c 	int cpu, new_mode = *(int *)data;
new_mode          289 arch/powerpc/platforms/powernv/subcore.c 		new_split_mode = new_mode;
new_mode          300 arch/powerpc/platforms/powernv/subcore.c 	cpu_do_split(new_mode);
new_mode          315 arch/powerpc/platforms/powernv/subcore.c 		subcores_per_core = new_mode;
new_mode          326 arch/powerpc/platforms/powernv/subcore.c static int set_subcores_per_core(int new_mode)
new_mode          340 arch/powerpc/platforms/powernv/subcore.c 	BUG_ON(new_mode < 1 || new_mode > 4 || new_mode == 3);
new_mode          356 arch/powerpc/platforms/powernv/subcore.c 	stop_machine_cpuslocked(cpu_update_split_mode, &new_mode,
new_mode          590 arch/s390/kernel/topology.c 	int new_mode;
new_mode          605 arch/s390/kernel/topology.c 	new_mode = topology_get_mode(enabled);
new_mode          606 arch/s390/kernel/topology.c 	if (topology_mode != new_mode) {
new_mode          607 arch/s390/kernel/topology.c 		topology_mode = new_mode;
new_mode           32 arch/x86/boot/video-bios.c 	u8 new_mode;
new_mode           44 arch/x86/boot/video-bios.c 	new_mode = oreg.al & 0x7f;
new_mode           46 arch/x86/boot/video-bios.c 	if (new_mode == mode)
new_mode           50 arch/x86/boot/video-bios.c 	if (new_mode != boot_params.screen_info.orig_video_mode) {
new_mode          346 arch/x86/kvm/x86.c 	enum lapic_mode new_mode = kvm_apic_mode(msr_info->data);
new_mode          350 arch/x86/kvm/x86.c 	if ((msr_info->data & reserved_bits) != 0 || new_mode == LAPIC_MODE_INVALID)
new_mode          353 arch/x86/kvm/x86.c 		if (old_mode == LAPIC_MODE_X2APIC && new_mode == LAPIC_MODE_XAPIC)
new_mode          355 arch/x86/kvm/x86.c 		if (old_mode == LAPIC_MODE_DISABLED && new_mode == LAPIC_MODE_X2APIC)
new_mode           20 drivers/clk/sunxi-ng/ccu_mmc_timing.c int sunxi_ccu_set_mmc_timing_mode(struct clk *clk, bool new_mode)
new_mode           33 drivers/clk/sunxi-ng/ccu_mmc_timing.c 	if (new_mode)
new_mode          272 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c static int d71_change_opmode(struct komeda_dev *mdev, int new_mode)
new_mode          275 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c 	u32 opmode = to_d71_opmode(new_mode);
new_mode           88 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 	u32 new_mode;
new_mode           93 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 	new_mode = mdev->dpmode | BIT(master->id);
new_mode           94 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 	if (WARN_ON(new_mode == mdev->dpmode)) {
new_mode           99 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 	err = mdev->funcs->change_opmode(mdev, new_mode);
new_mode          102 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 			  mdev->dpmode, new_mode);
new_mode          106 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 	mdev->dpmode = new_mode;
new_mode          112 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 	if (new_mode != KOMEDA_MODE_DUAL_DISP) {
new_mode          139 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 	u32 new_mode;
new_mode          144 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 	new_mode = mdev->dpmode & (~BIT(master->id));
new_mode          146 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 	if (WARN_ON(new_mode == mdev->dpmode)) {
new_mode          151 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 	err = mdev->funcs->change_opmode(mdev, new_mode);
new_mode          154 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 			  mdev->dpmode, new_mode);
new_mode          158 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 	mdev->dpmode = new_mode;
new_mode          161 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c 	if (new_mode == KOMEDA_MODE_INACTIVE)
new_mode          121 drivers/gpu/drm/arm/display/komeda/komeda_dev.h 	int (*change_opmode)(struct komeda_dev *mdev, int new_mode);
new_mode         3443 drivers/gpu/drm/drm_edid.c 			struct drm_display_mode *new_mode;
new_mode         3450 drivers/gpu/drm/drm_edid.c 			new_mode = drm_mode_duplicate(dev, mode);
new_mode         3451 drivers/gpu/drm/drm_edid.c 			if (!new_mode)
new_mode         3454 drivers/gpu/drm/drm_edid.c 			new_mode->flags |= mandatory->flags;
new_mode         3455 drivers/gpu/drm/drm_edid.c 			list_add_tail(&new_mode->head, &stereo_modes);
new_mode          266 drivers/gpu/drm/omapdrm/omap_connector.c 	struct drm_display_mode new_mode = { { 0 } };
new_mode          270 drivers/gpu/drm/omapdrm/omap_connector.c 					   &new_mode);
new_mode          275 drivers/gpu/drm/omapdrm/omap_connector.c 	if (drm_mode_vrefresh(mode) != drm_mode_vrefresh(&new_mode))
new_mode          562 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 	struct drm_display_mode new_mode = { DRM_MODE("fb_mode",
new_mode          570 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 	mode = drm_mode_duplicate(vmw_priv->dev, &new_mode);
new_mode          471 drivers/iio/light/gp2ap020a00f.c 	enum gp2ap020a00f_opmode new_mode;
new_mode          479 drivers/iio/light/gp2ap020a00f.c 			new_mode =  diff_mode;
new_mode          481 drivers/iio/light/gp2ap020a00f.c 			new_mode = GP2AP020A00F_OPMODE_ALS_AND_PS;
new_mode          484 drivers/iio/light/gp2ap020a00f.c 			new_mode = (diff_mode == GP2AP020A00F_OPMODE_ALS) ?
new_mode          488 drivers/iio/light/gp2ap020a00f.c 			new_mode = GP2AP020A00F_OPMODE_SHUTDOWN;
new_mode          491 drivers/iio/light/gp2ap020a00f.c 	return gp2ap020a00f_set_operation_mode(data, new_mode);
new_mode           14 drivers/infiniband/core/counters.c 			      enum rdma_nl_counter_mode new_mode,
new_mode           17 drivers/infiniband/core/counters.c 	if ((new_mode == RDMA_COUNTER_MODE_AUTO) &&
new_mode           22 drivers/infiniband/core/counters.c 	curr->mode = new_mode;
new_mode          818 drivers/input/mouse/hgpk.c 	enum hgpk_mode new_mode = hgpk_mode_from_name(buf, len);
new_mode          823 drivers/input/mouse/hgpk.c 	if (new_mode == HGPK_MODE_INVALID)
new_mode          826 drivers/input/mouse/hgpk.c 	if (old_mode == new_mode)
new_mode          836 drivers/input/mouse/hgpk.c 	priv->mode = new_mode;
new_mode          841 drivers/input/mouse/hgpk.c 	hgpk_setup_input_device(new_dev, old_dev, new_mode);
new_mode         1076 drivers/input/tablet/aiptek.c 	int new_mode = map_str_to_val(pointer_mode_map, buf, count);
new_mode         1078 drivers/input/tablet/aiptek.c 	if (new_mode == AIPTEK_INVALID_VALUE)
new_mode         1081 drivers/input/tablet/aiptek.c 	aiptek->newSetting.pointerMode = new_mode;
new_mode         1113 drivers/input/tablet/aiptek.c 	int new_mode = map_str_to_val(coordinate_mode_map, buf, count);
new_mode         1115 drivers/input/tablet/aiptek.c 	if (new_mode == AIPTEK_INVALID_VALUE)
new_mode         1118 drivers/input/tablet/aiptek.c 	aiptek->newSetting.coordinateMode = new_mode;
new_mode         1155 drivers/input/tablet/aiptek.c 	int new_mode = map_str_to_val(tool_mode_map, buf, count);
new_mode         1157 drivers/input/tablet/aiptek.c 	if (new_mode == AIPTEK_INVALID_VALUE)
new_mode         1160 drivers/input/tablet/aiptek.c 	aiptek->newSetting.toolMode = new_mode;
new_mode         1387 drivers/input/touchscreen/cyttsp4_core.c static int cyttsp4_set_mode(struct cyttsp4 *cd, int new_mode)
new_mode         1394 drivers/input/touchscreen/cyttsp4_core.c 	switch (new_mode) {
new_mode         1406 drivers/input/touchscreen/cyttsp4_core.c 			__func__, new_mode, new_mode);
new_mode         1413 drivers/input/touchscreen/cyttsp4_core.c 			new_dev_mode, new_mode);
new_mode          966 drivers/md/dm-cache-target.c static void set_cache_mode(struct cache *cache, enum cache_metadata_mode new_mode)
new_mode          974 drivers/md/dm-cache-target.c 		new_mode = CM_FAIL;
new_mode          977 drivers/md/dm-cache-target.c 	if (new_mode == CM_WRITE && needs_check) {
new_mode          980 drivers/md/dm-cache-target.c 		if (old_mode != new_mode)
new_mode          981 drivers/md/dm-cache-target.c 			new_mode = old_mode;
new_mode          983 drivers/md/dm-cache-target.c 			new_mode = CM_READ_ONLY;
new_mode          988 drivers/md/dm-cache-target.c 		new_mode = CM_FAIL;
new_mode          990 drivers/md/dm-cache-target.c 	switch (new_mode) {
new_mode         1001 drivers/md/dm-cache-target.c 	cache->features.mode = new_mode;
new_mode         1003 drivers/md/dm-cache-target.c 	if (new_mode != old_mode)
new_mode         1004 drivers/md/dm-cache-target.c 		notify_mode_switch(cache, new_mode);
new_mode          169 drivers/md/dm-clone-target.c static void __set_clone_mode(struct clone *clone, enum clone_metadata_mode new_mode)
new_mode          181 drivers/md/dm-clone-target.c 		new_mode = CM_FAIL;
new_mode          183 drivers/md/dm-clone-target.c 	switch (new_mode) {
new_mode          194 drivers/md/dm-clone-target.c 	WRITE_ONCE(clone->mode, new_mode);
new_mode          196 drivers/md/dm-clone-target.c 	if (new_mode != old_mode) {
new_mode          199 drivers/md/dm-clone-target.c 		       descs[(int)new_mode]);
new_mode          383 drivers/md/dm-table.c static int upgrade_mode(struct dm_dev_internal *dd, fmode_t new_mode,
new_mode          392 drivers/md/dm-table.c 				dd->dm_dev->mode | new_mode, &new_dev);
new_mode         1441 drivers/md/dm-thin.c static void set_pool_mode(struct pool *pool, enum pool_mode new_mode);
new_mode         2536 drivers/md/dm-thin.c static void set_pool_mode(struct pool *pool, enum pool_mode new_mode)
new_mode         2547 drivers/md/dm-thin.c 	if (new_mode == PM_WRITE && needs_check) {
new_mode         2550 drivers/md/dm-thin.c 		if (old_mode != new_mode)
new_mode         2551 drivers/md/dm-thin.c 			new_mode = old_mode;
new_mode         2553 drivers/md/dm-thin.c 			new_mode = PM_READ_ONLY;
new_mode         2561 drivers/md/dm-thin.c 		new_mode = old_mode;
new_mode         2563 drivers/md/dm-thin.c 	switch (new_mode) {
new_mode         2623 drivers/md/dm-thin.c 	pool->pf.mode = new_mode;
new_mode         2628 drivers/md/dm-thin.c 	pt->adjusted_pf.mode = new_mode;
new_mode         2630 drivers/md/dm-thin.c 	if (old_mode != new_mode)
new_mode         2886 drivers/md/dm-thin.c 	enum pool_mode new_mode = pt->adjusted_pf.mode;
new_mode         2899 drivers/md/dm-thin.c 	set_pool_mode(pool, new_mode);
new_mode          507 drivers/media/i2c/max2175.c 			  enum max2175_csm_mode new_mode)
new_mode          514 drivers/media/i2c/max2175.c 	max2175_write_bits(ctx, 0, 2, 0, new_mode);
new_mode          515 drivers/media/i2c/max2175.c 	mxm_dbg(ctx, "set csm new mode %d\n", new_mode);
new_mode          518 drivers/media/i2c/max2175.c 	switch (new_mode) {
new_mode         2172 drivers/media/i2c/ov5640.c 				   const struct ov5640_mode_info **new_mode)
new_mode         2184 drivers/media/i2c/ov5640.c 	if (new_mode)
new_mode         2185 drivers/media/i2c/ov5640.c 		*new_mode = mode;
new_mode         2207 drivers/media/i2c/ov5640.c 	const struct ov5640_mode_info *new_mode;
new_mode         2223 drivers/media/i2c/ov5640.c 				      sensor->current_fr, &new_mode);
new_mode         2234 drivers/media/i2c/ov5640.c 	if (new_mode != sensor->current_mode) {
new_mode         2235 drivers/media/i2c/ov5640.c 		sensor->current_mode = new_mode;
new_mode          917 drivers/media/i2c/ov5645.c 	const struct ov5645_mode_info *new_mode;
new_mode          923 drivers/media/i2c/ov5645.c 	new_mode = v4l2_find_nearest_size(ov5645_mode_info_data,
new_mode          928 drivers/media/i2c/ov5645.c 	__crop->width = new_mode->width;
new_mode          929 drivers/media/i2c/ov5645.c 	__crop->height = new_mode->height;
new_mode          933 drivers/media/i2c/ov5645.c 					     new_mode->pixel_clock);
new_mode          938 drivers/media/i2c/ov5645.c 				       new_mode->link_freq);
new_mode          942 drivers/media/i2c/ov5645.c 		ov5645->current_mode = new_mode;
new_mode         1036 drivers/media/i2c/ov7251.c 	const struct ov7251_mode_info *new_mode;
new_mode         1043 drivers/media/i2c/ov7251.c 	new_mode = v4l2_find_nearest_size(ov7251_mode_info_data,
new_mode         1048 drivers/media/i2c/ov7251.c 	__crop->width = new_mode->width;
new_mode         1049 drivers/media/i2c/ov7251.c 	__crop->height = new_mode->height;
new_mode         1053 drivers/media/i2c/ov7251.c 					       new_mode->pixel_clock);
new_mode         1058 drivers/media/i2c/ov7251.c 					 new_mode->link_freq);
new_mode         1063 drivers/media/i2c/ov7251.c 					       1, new_mode->exposure_max,
new_mode         1064 drivers/media/i2c/ov7251.c 					       1, new_mode->exposure_def);
new_mode         1069 drivers/media/i2c/ov7251.c 					 new_mode->exposure_def);
new_mode         1077 drivers/media/i2c/ov7251.c 		ov7251->current_mode = new_mode;
new_mode         1185 drivers/media/i2c/ov7251.c 	const struct ov7251_mode_info *new_mode;
new_mode         1189 drivers/media/i2c/ov7251.c 	new_mode = ov7251_find_mode_by_ival(ov7251, &fi->interval);
new_mode         1191 drivers/media/i2c/ov7251.c 	if (new_mode != ov7251->current_mode) {
new_mode         1193 drivers/media/i2c/ov7251.c 					       new_mode->pixel_clock);
new_mode         1198 drivers/media/i2c/ov7251.c 					 new_mode->link_freq);
new_mode         1203 drivers/media/i2c/ov7251.c 					       1, new_mode->exposure_max,
new_mode         1204 drivers/media/i2c/ov7251.c 					       1, new_mode->exposure_def);
new_mode         1209 drivers/media/i2c/ov7251.c 					 new_mode->exposure_def);
new_mode         1217 drivers/media/i2c/ov7251.c 		ov7251->current_mode = new_mode;
new_mode          556 drivers/media/radio/radio-wl1273.c static int wl1273_fm_start(struct wl1273_device *radio, int new_mode)
new_mode          570 drivers/media/radio/radio-wl1273.c 	if (new_mode == WL1273_MODE_RX) {
new_mode          592 drivers/media/radio/radio-wl1273.c 	} else if (new_mode == WL1273_MODE_TX) {
new_mode          633 drivers/media/radio/radio-wl1273.c 		if (new_mode == WL1273_MODE_RX) {
new_mode          644 drivers/media/radio/radio-wl1273.c 		} else if (new_mode == WL1273_MODE_TX) {
new_mode          994 drivers/media/radio/radio-wl1273.c static int wl1273_fm_set_rds(struct wl1273_device *radio, unsigned int new_mode)
new_mode         1003 drivers/media/radio/radio-wl1273.c 	if (new_mode == WL1273_RDS_RESET) {
new_mode         1008 drivers/media/radio/radio-wl1273.c 	if (core->mode == WL1273_MODE_TX && new_mode == WL1273_RDS_OFF) {
new_mode         1010 drivers/media/radio/radio-wl1273.c 	} else if (core->mode == WL1273_MODE_TX && new_mode == WL1273_RDS_ON) {
new_mode         1012 drivers/media/radio/radio-wl1273.c 	} else if (core->mode == WL1273_MODE_RX && new_mode == WL1273_RDS_OFF) {
new_mode         1014 drivers/media/radio/radio-wl1273.c 	} else if (core->mode == WL1273_MODE_RX && new_mode == WL1273_RDS_ON) {
new_mode         1018 drivers/media/radio/radio-wl1273.c 			__func__, new_mode);
new_mode         1023 drivers/media/radio/radio-wl1273.c 		radio->rds_on = (new_mode == WL1273_RDS_ON) ? true : false;
new_mode           80 drivers/mfd/wl1273-core.c static int wl1273_fm_set_audio(struct wl1273_core *core, unsigned int new_mode)
new_mode           88 drivers/mfd/wl1273-core.c 	if (core->mode == WL1273_MODE_RX && new_mode == WL1273_AUDIO_DIGITAL) {
new_mode          105 drivers/mfd/wl1273-core.c 		   new_mode == WL1273_AUDIO_ANALOG) {
new_mode          112 drivers/mfd/wl1273-core.c 		   new_mode == WL1273_AUDIO_DIGITAL) {
new_mode          124 drivers/mfd/wl1273-core.c 		   new_mode == WL1273_AUDIO_ANALOG) {
new_mode          131 drivers/mfd/wl1273-core.c 	core->audio_mode = new_mode;
new_mode         1524 drivers/net/ethernet/3com/3c515.c 	unsigned short new_mode;
new_mode         1530 drivers/net/ethernet/3com/3c515.c 		new_mode = SetRxFilter | RxStation | RxMulticast | RxBroadcast | RxProm;
new_mode         1532 drivers/net/ethernet/3com/3c515.c 		new_mode = SetRxFilter | RxStation | RxMulticast | RxBroadcast;
new_mode         1534 drivers/net/ethernet/3com/3c515.c 		new_mode = SetRxFilter | RxStation | RxBroadcast;
new_mode         1536 drivers/net/ethernet/3com/3c515.c 	outw(new_mode, ioaddr + EL3_CMD);
new_mode         3056 drivers/net/ethernet/3com/3c59x.c 	int new_mode;
new_mode         3061 drivers/net/ethernet/3com/3c59x.c 		new_mode = SetRxFilter|RxStation|RxMulticast|RxBroadcast|RxProm;
new_mode         3063 drivers/net/ethernet/3com/3c59x.c 		new_mode = SetRxFilter|RxStation|RxMulticast|RxBroadcast;
new_mode         3065 drivers/net/ethernet/3com/3c59x.c 		new_mode = SetRxFilter | RxStation | RxBroadcast;
new_mode         3067 drivers/net/ethernet/3com/3c59x.c 	iowrite16(new_mode, ioaddr + EL3_CMD);
new_mode         1416 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 	u32 new_mode, cur_mode;
new_mode         1432 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 	new_mode = cur_mode &
new_mode         1434 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 	new_mode |= clc_cnt;
new_mode         1435 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 	new_mode |= (EMAC_MDIO_MODE_CLAUSE_45);
new_mode         1438 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 	   cur_mode, new_mode);
new_mode         1439 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 	REG_WR(bp, emac_base + EMAC_REG_EMAC_MDIO_MODE, new_mode);
new_mode         2594 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_rx_mode_set(struct bna_rx *rx, enum bna_rxmode new_mode,
new_mode         2602 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	if (is_promisc_enable(new_mode, bitmask)) {
new_mode         2613 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 		if (is_default_enable(new_mode, bitmask))
new_mode         2617 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	if (is_default_enable(new_mode, bitmask)) {
new_mode         2631 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	if (is_promisc_enable(new_mode, bitmask)) {
new_mode         2634 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	} else if (is_promisc_disable(new_mode, bitmask)) {
new_mode         2639 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	if (is_allmulti_enable(new_mode, bitmask)) {
new_mode         2642 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	} else if (is_allmulti_disable(new_mode, bitmask)) {
new_mode         3203 drivers/net/ethernet/brocade/bna/bnad.c 	enum bna_rxmode new_mode, mode_mask;
new_mode         3217 drivers/net/ethernet/brocade/bna/bnad.c 	new_mode = 0;
new_mode         3219 drivers/net/ethernet/brocade/bna/bnad.c 		new_mode |= BNAD_RXMODE_PROMISC_DEFAULT;
new_mode         3225 drivers/net/ethernet/brocade/bna/bnad.c 			new_mode |= BNA_RXMODE_ALLMULTI;
new_mode         3230 drivers/net/ethernet/brocade/bna/bnad.c 			new_mode |= BNA_RXMODE_DEFAULT;
new_mode         3235 drivers/net/ethernet/brocade/bna/bnad.c 	bna_rx_mode_set(bnad->rx_info[0].rx, new_mode, mode_mask);
new_mode          369 drivers/net/ethernet/sfc/falcon/falcon_boards.c 	enum ef4_phy_mode old_mode, new_mode;
new_mode          375 drivers/net/ethernet/sfc/falcon/falcon_boards.c 		new_mode = old_mode & ~PHY_MODE_SPECIAL;
new_mode          377 drivers/net/ethernet/sfc/falcon/falcon_boards.c 		new_mode = PHY_MODE_SPECIAL;
new_mode          378 drivers/net/ethernet/sfc/falcon/falcon_boards.c 	if (!((old_mode ^ new_mode) & PHY_MODE_SPECIAL)) {
new_mode          385 drivers/net/ethernet/sfc/falcon/falcon_boards.c 		efx->phy_mode = new_mode;
new_mode          386 drivers/net/ethernet/sfc/falcon/falcon_boards.c 		if (new_mode & PHY_MODE_SPECIAL)
new_mode          391 drivers/net/ethernet/sfc/falcon/falcon_boards.c 		if (!(new_mode & PHY_MODE_SPECIAL))
new_mode          457 drivers/net/ethernet/sfc/nic.h 			unsigned int new_mode);
new_mode         1724 drivers/net/ethernet/sfc/ptp.c 			unsigned int new_mode)
new_mode         1727 drivers/net/ethernet/sfc/ptp.c 	    (enable_wanted && (efx->ptp_data->mode != new_mode))) {
new_mode         1733 drivers/net/ethernet/sfc/ptp.c 			    (efx->ptp_data->mode != new_mode)) {
new_mode         1744 drivers/net/ethernet/sfc/ptp.c 			efx->ptp_data->mode = new_mode;
new_mode          552 drivers/net/team/team.c 			      const struct team_mode *new_mode)
new_mode          571 drivers/net/team/team.c 	if (!new_mode)
new_mode          574 drivers/net/team/team.c 	if (new_mode->ops->init) {
new_mode          577 drivers/net/team/team.c 		err = new_mode->ops->init(team);
new_mode          582 drivers/net/team/team.c 	team->mode = new_mode;
new_mode          583 drivers/net/team/team.c 	memcpy(&team->ops, new_mode->ops, sizeof(struct team_mode_ops));
new_mode          591 drivers/net/team/team.c 	const struct team_mode *new_mode;
new_mode          605 drivers/net/team/team.c 	new_mode = team_mode_get(kind);
new_mode          606 drivers/net/team/team.c 	if (!new_mode) {
new_mode          611 drivers/net/team/team.c 	err = __team_change_mode(team, new_mode);
new_mode          614 drivers/net/team/team.c 		team_mode_put(new_mode);
new_mode         2317 drivers/net/vmxnet3/vmxnet3_drv.c 	u32 new_mode = VMXNET3_RXM_UCAST;
new_mode         2323 drivers/net/vmxnet3/vmxnet3_drv.c 		new_mode |= VMXNET3_RXM_PROMISC;
new_mode         2329 drivers/net/vmxnet3/vmxnet3_drv.c 		new_mode |= VMXNET3_RXM_BCAST;
new_mode         2332 drivers/net/vmxnet3/vmxnet3_drv.c 		new_mode |= VMXNET3_RXM_ALL_MULTI;
new_mode         2347 drivers/net/vmxnet3/vmxnet3_drv.c 					new_mode |= VMXNET3_RXM_MCAST;
new_mode         2356 drivers/net/vmxnet3/vmxnet3_drv.c 				new_mode |= VMXNET3_RXM_ALL_MULTI;
new_mode         2360 drivers/net/vmxnet3/vmxnet3_drv.c 	if (!(new_mode & VMXNET3_RXM_MCAST)) {
new_mode         2366 drivers/net/vmxnet3/vmxnet3_drv.c 	if (new_mode != rxConf->rxMode) {
new_mode         2367 drivers/net/vmxnet3/vmxnet3_drv.c 		rxConf->rxMode = cpu_to_le32(new_mode);
new_mode          175 drivers/net/wireless/broadcom/b43/phy_common.h 				 enum b43_interference_mitigation new_mode);
new_mode         2581 drivers/net/wireless/broadcom/b43legacy/main.c 				      unsigned int new_mode)
new_mode         2589 drivers/net/wireless/broadcom/b43legacy/main.c 	err = find_wldev_for_phymode(wl, new_mode, &up_dev, &gmode);
new_mode         2592 drivers/net/wireless/broadcom/b43legacy/main.c 		       phymode_to_string(new_mode));
new_mode         2600 drivers/net/wireless/broadcom/b43legacy/main.c 	       phymode_to_string(new_mode));
new_mode         2622 drivers/net/wireless/broadcom/b43legacy/main.c 				     phymode_to_string(new_mode));
new_mode         2631 drivers/net/wireless/broadcom/b43legacy/main.c 			       phymode_to_string(new_mode));
new_mode          477 drivers/phy/allwinner/phy-sun4i-usb.c 	int new_mode;
new_mode          487 drivers/phy/allwinner/phy-sun4i-usb.c 		new_mode = USB_DR_MODE_HOST;
new_mode          490 drivers/phy/allwinner/phy-sun4i-usb.c 		new_mode = USB_DR_MODE_PERIPHERAL;
new_mode          493 drivers/phy/allwinner/phy-sun4i-usb.c 		new_mode = USB_DR_MODE_OTG;
new_mode          499 drivers/phy/allwinner/phy-sun4i-usb.c 	if (new_mode != data->dr_mode) {
new_mode          500 drivers/phy/allwinner/phy-sun4i-usb.c 		dev_info(&_phy->dev, "Changing dr_mode to %d\n", new_mode);
new_mode          501 drivers/phy/allwinner/phy-sun4i-usb.c 		data->dr_mode = new_mode;
new_mode          319 drivers/phy/renesas/phy-rcar-gen3-usb2.c 	enum phy_mode cur_mode, new_mode;
new_mode          325 drivers/phy/renesas/phy-rcar-gen3-usb2.c 		new_mode = PHY_MODE_USB_HOST;
new_mode          327 drivers/phy/renesas/phy-rcar-gen3-usb2.c 		new_mode = PHY_MODE_USB_DEVICE;
new_mode          336 drivers/phy/renesas/phy-rcar-gen3-usb2.c 	if (cur_mode == new_mode)
new_mode          339 drivers/phy/renesas/phy-rcar-gen3-usb2.c 	if (new_mode == PHY_MODE_USB_HOST) { /* And is_host must be false */
new_mode          871 drivers/phy/rockchip/phy-rockchip-typec.c 	int timeout, new_mode, ret = 0;
new_mode          876 drivers/phy/rockchip/phy-rockchip-typec.c 	new_mode = tcphy_get_mode(tcphy);
new_mode          877 drivers/phy/rockchip/phy-rockchip-typec.c 	if (new_mode < 0) {
new_mode          878 drivers/phy/rockchip/phy-rockchip-typec.c 		ret = new_mode;
new_mode          883 drivers/phy/rockchip/phy-rockchip-typec.c 	if (!(new_mode & (MODE_DFP_USB | MODE_UFP_USB))) {
new_mode          888 drivers/phy/rockchip/phy-rockchip-typec.c 	if (tcphy->mode == new_mode)
new_mode          892 drivers/phy/rockchip/phy-rockchip-typec.c 		ret = tcphy_phy_init(tcphy, new_mode);
new_mode          901 drivers/phy/rockchip/phy-rockchip-typec.c 			tcphy->mode |= new_mode & (MODE_DFP_USB | MODE_UFP_USB);
new_mode          949 drivers/phy/rockchip/phy-rockchip-typec.c 	int new_mode, ret = 0;
new_mode          954 drivers/phy/rockchip/phy-rockchip-typec.c 	new_mode = tcphy_get_mode(tcphy);
new_mode          955 drivers/phy/rockchip/phy-rockchip-typec.c 	if (new_mode < 0) {
new_mode          956 drivers/phy/rockchip/phy-rockchip-typec.c 		ret = new_mode;
new_mode          960 drivers/phy/rockchip/phy-rockchip-typec.c 	if (!(new_mode & MODE_DFP_DP)) {
new_mode          965 drivers/phy/rockchip/phy-rockchip-typec.c 	if (tcphy->mode == new_mode)
new_mode          972 drivers/phy/rockchip/phy-rockchip-typec.c 	if (new_mode == MODE_DFP_DP && tcphy->mode != MODE_DISCONNECT) {
new_mode          974 drivers/phy/rockchip/phy-rockchip-typec.c 		ret = tcphy_phy_init(tcphy, new_mode);
new_mode          976 drivers/phy/rockchip/phy-rockchip-typec.c 		ret = tcphy_phy_init(tcphy, new_mode);
new_mode         1695 drivers/platform/x86/asus-wmi.c 	u8 new_mode;
new_mode         1699 drivers/platform/x86/asus-wmi.c 	result = kstrtou8(buf, 10, &new_mode);
new_mode         1705 drivers/platform/x86/asus-wmi.c 	if (new_mode == ASUS_FAN_BOOST_MODE_OVERBOOST) {
new_mode         1708 drivers/platform/x86/asus-wmi.c 	} else if (new_mode == ASUS_FAN_BOOST_MODE_SILENT) {
new_mode         1711 drivers/platform/x86/asus-wmi.c 	} else if (new_mode != ASUS_FAN_BOOST_MODE_NORMAL) {
new_mode         1715 drivers/platform/x86/asus-wmi.c 	asus->fan_boost_mode = new_mode;
new_mode         3048 drivers/platform/x86/thinkpad_acpi.c static int adaptive_keyboard_set_mode(int new_mode);
new_mode         3789 drivers/platform/x86/thinkpad_acpi.c static int adaptive_keyboard_set_mode(int new_mode)
new_mode         3791 drivers/platform/x86/thinkpad_acpi.c 	if (new_mode < 0 ||
new_mode         3792 drivers/platform/x86/thinkpad_acpi.c 		new_mode > LAYFLAT_MODE)
new_mode         3795 drivers/platform/x86/thinkpad_acpi.c 	if (!acpi_evalf(hkey_handle, NULL, "STRW", "vd", new_mode)) {
new_mode         3824 drivers/platform/x86/thinkpad_acpi.c 	int new_mode = 0;
new_mode         3830 drivers/platform/x86/thinkpad_acpi.c 			new_mode = adaptive_keyboard_prev_mode;
new_mode         3836 drivers/platform/x86/thinkpad_acpi.c 			new_mode = adaptive_keyboard_get_next_mode(
new_mode         3840 drivers/platform/x86/thinkpad_acpi.c 		if (adaptive_keyboard_set_mode(new_mode) < 0)
new_mode          414 drivers/regulator/hi6421-regulator.c 	u32 new_mode;
new_mode          418 drivers/regulator/hi6421-regulator.c 		new_mode = 0;
new_mode          421 drivers/regulator/hi6421-regulator.c 		new_mode = info->mode_mask;
new_mode          429 drivers/regulator/hi6421-regulator.c 			   info->mode_mask, new_mode);
new_mode          438 drivers/regulator/hi6421-regulator.c 	u32 new_mode;
new_mode          442 drivers/regulator/hi6421-regulator.c 		new_mode = 0;
new_mode          445 drivers/regulator/hi6421-regulator.c 		new_mode = info->mode_mask;
new_mode          453 drivers/regulator/hi6421-regulator.c 			   info->mode_mask, new_mode);
new_mode          130 drivers/regulator/hi6421v530-regulator.c 	unsigned int new_mode;
new_mode          135 drivers/regulator/hi6421v530-regulator.c 		new_mode = 0;
new_mode          138 drivers/regulator/hi6421v530-regulator.c 		new_mode = info->mode_mask;
new_mode          145 drivers/regulator/hi6421v530-regulator.c 			   info->mode_mask, new_mode);
new_mode         3364 drivers/scsi/smartpqi/smartpqi_init.c 	enum pqi_irq_mode new_mode)
new_mode         3368 drivers/scsi/smartpqi/smartpqi_init.c 		switch (new_mode) {
new_mode         3380 drivers/scsi/smartpqi/smartpqi_init.c 		switch (new_mode) {
new_mode         3393 drivers/scsi/smartpqi/smartpqi_init.c 		switch (new_mode) {
new_mode         3407 drivers/scsi/smartpqi/smartpqi_init.c 	ctrl_info->irq_mode = new_mode;
new_mode          345 drivers/usb/musb/musb_cppi41.c 	u32 new_mode;
new_mode          353 drivers/usb/musb/musb_cppi41.c 	new_mode = update_ep_mode(port, mode, old_mode);
new_mode          355 drivers/usb/musb/musb_cppi41.c 	if (new_mode == old_mode)
new_mode          358 drivers/usb/musb/musb_cppi41.c 		controller->tx_mode = new_mode;
new_mode          359 drivers/usb/musb/musb_cppi41.c 		musb_writel(musb->ctrl_base, USB_CTRL_TX_MODE, new_mode);
new_mode          361 drivers/usb/musb/musb_cppi41.c 		controller->rx_mode = new_mode;
new_mode          362 drivers/usb/musb/musb_cppi41.c 		musb_writel(musb->ctrl_base, USB_CTRL_RX_MODE, new_mode);
new_mode          373 drivers/usb/musb/musb_cppi41.c 	u32 new_mode;
new_mode          382 drivers/usb/musb/musb_cppi41.c 	new_mode = old_mode & ~(3 << shift);
new_mode          383 drivers/usb/musb/musb_cppi41.c 	new_mode |= mode << shift;
new_mode          385 drivers/usb/musb/musb_cppi41.c 	if (new_mode == old_mode)
new_mode          387 drivers/usb/musb/musb_cppi41.c 	controller->tx_mode = new_mode;
new_mode          388 drivers/usb/musb/musb_cppi41.c 	musb_writel(musb->ctrl_base, DA8XX_USB_MODE, new_mode);
new_mode          397 drivers/usb/musb/musb_cppi41.c 	u32 new_mode;
new_mode          402 drivers/usb/musb/musb_cppi41.c 	new_mode = update_ep_mode(port, mode, old_mode);
new_mode          404 drivers/usb/musb/musb_cppi41.c 	if (new_mode == old_mode)
new_mode          406 drivers/usb/musb/musb_cppi41.c 	controller->auto_req = new_mode;
new_mode          408 drivers/usb/musb/musb_cppi41.c 		    controller->autoreq_reg, new_mode);
new_mode          327 drivers/usb/musb/sunxi.c 	enum phy_mode new_mode;
new_mode          331 drivers/usb/musb/sunxi.c 		new_mode = PHY_MODE_USB_HOST;
new_mode          334 drivers/usb/musb/sunxi.c 		new_mode = PHY_MODE_USB_DEVICE;
new_mode          337 drivers/usb/musb/sunxi.c 		new_mode = PHY_MODE_USB_OTG;
new_mode          345 drivers/usb/musb/sunxi.c 	if (glue->phy_mode == new_mode)
new_mode          361 drivers/usb/musb/sunxi.c 	glue->phy_mode = new_mode;
new_mode           77 drivers/video/fbdev/carminefb.c 	u32 new_mode;
new_mode          417 drivers/video/fbdev/carminefb.c 	par->new_mode = ret;
new_mode          418 drivers/video/fbdev/carminefb.c 	if (par->cur_mode != par->new_mode) {
new_mode          420 drivers/video/fbdev/carminefb.c 		par->cur_mode = par->new_mode;
new_mode          421 drivers/video/fbdev/carminefb.c 		par->res = &car_modes[par->new_mode];
new_mode          572 drivers/video/fbdev/carminefb.c 	par->cur_mode = par->new_mode = ~0;
new_mode           92 fs/ceph/acl.c  	umode_t new_mode = inode->i_mode, old_mode = inode->i_mode;
new_mode          103 fs/ceph/acl.c  			ret = posix_acl_update_mode(inode, &new_mode, &acl);
new_mode          133 fs/ceph/acl.c  	if (new_mode != old_mode) {
new_mode          135 fs/ceph/acl.c  		newattrs.ia_mode = new_mode;
new_mode          144 fs/ceph/acl.c  		if (new_mode != old_mode) {
new_mode          784 fs/dlm/user.c  	int old_mode, new_mode;
new_mode          867 fs/dlm/user.c  		new_mode = cb.mode;
new_mode          870 fs/dlm/user.c  		    dlm_lvb_operations[old_mode + 1][new_mode + 1])
new_mode         1598 fs/gfs2/inode.c 	umode_t new_mode = nip->i_inode.i_mode;
new_mode         1619 fs/gfs2/inode.c 		if (S_ISDIR(new_mode)) {
new_mode         1666 fs/gfs2/inode.c 	if (S_ISDIR(new_mode)) {
new_mode         1679 fs/gfs2/inode.c 	error = update_moved_ino(nip, odip, S_ISDIR(new_mode));
new_mode         1689 fs/gfs2/inode.c 			       IF2DT(new_mode));
new_mode         1694 fs/gfs2/inode.c 		if (S_ISDIR(new_mode) && !S_ISDIR(old_mode)) {
new_mode         1697 fs/gfs2/inode.c 		} else if (S_ISDIR(old_mode) && !S_ISDIR(new_mode)) {
new_mode          161 fs/ocfs2/acl.c 			      handle_t *handle, umode_t new_mode)
new_mode          195 fs/ocfs2/acl.c 	inode->i_mode = new_mode;
new_mode           12 include/linux/clk/sunxi-ng.h int sunxi_ccu_set_mmc_timing_mode(struct clk *clk, bool new_mode);
new_mode           16 include/linux/clk/sunxi-ng.h 						bool new_mode)
new_mode          528 net/sched/sch_htb.c 	enum htb_cmode new_mode = htb_class_mode(cl, diff);
new_mode          530 net/sched/sch_htb.c 	if (new_mode == cl->cmode)
new_mode          533 net/sched/sch_htb.c 	if (new_mode == HTB_CANT_SEND) {
new_mode          541 net/sched/sch_htb.c 		cl->cmode = new_mode;
new_mode          542 net/sched/sch_htb.c 		if (new_mode != HTB_CANT_SEND)
new_mode          545 net/sched/sch_htb.c 		cl->cmode = new_mode;