bw                279 arch/x86/include/asm/io.h #define BUILDIO(bwl, bw, type)						\
bw                282 arch/x86/include/asm/io.h 	asm volatile("out" #bwl " %" #bw "0, %w1"			\
bw                289 arch/x86/include/asm/io.h 	asm volatile("in" #bwl " %w1, %" #bw "0"			\
bw                376 arch/x86/kernel/cpu/resctrl/core.c u32 delay_bw_map(unsigned long bw, struct rdt_resource *r)
bw                379 arch/x86/kernel/cpu/resctrl/core.c 		return MAX_MBA_BW - bw;
bw                 33 arch/x86/kernel/cpu/resctrl/ctrlmondata.c 	unsigned long bw;
bw                 36 arch/x86/kernel/cpu/resctrl/ctrlmondata.c 	ret = kstrtoul(buf, 10, &bw);
bw                 42 arch/x86/kernel/cpu/resctrl/ctrlmondata.c 	if (bw < r->membw.min_bw || bw > r->default_ctrl) {
bw                 43 arch/x86/kernel/cpu/resctrl/ctrlmondata.c 		rdt_last_cmd_printf("MB value %ld out of range [%d,%d]\n", bw,
bw                 48 arch/x86/kernel/cpu/resctrl/ctrlmondata.c 	*data = roundup(bw, (unsigned long)r->membw.bw_gran);
bw                 79 arch/x86/kernel/cpu/resctrl/ctrlmondata.c 	unsigned long bw;
bw                 90 arch/x86/kernel/cpu/resctrl/ctrlmondata.c 	ret = kstrtoul(buf, 10, &bw);
bw                 96 arch/x86/kernel/cpu/resctrl/ctrlmondata.c 	if ((bw < r->membw.min_bw || bw > r->default_ctrl) &&
bw                 98 arch/x86/kernel/cpu/resctrl/ctrlmondata.c 		rdt_last_cmd_printf("MB value %ld out of range [%d,%d]\n", bw,
bw                103 arch/x86/kernel/cpu/resctrl/ctrlmondata.c 	*data = roundup(bw, (unsigned long)r->membw.bw_gran);
bw                597 arch/x86/kernel/cpu/resctrl/internal.h u32 delay_bw_map(unsigned long bw, struct rdt_resource *r);
bw               2395 drivers/acpi/nfit/core.c static u32 read_blk_stat(struct nfit_blk *nfit_blk, unsigned int bw)
bw               2398 drivers/acpi/nfit/core.c 	u64 offset = nfit_blk->stat_offset + mmio->size * bw;
bw               2407 drivers/acpi/nfit/core.c static void write_blk_ctl(struct nfit_blk *nfit_blk, unsigned int bw,
bw               2425 drivers/acpi/nfit/core.c 	offset = nfit_blk->cmd_offset + mmio->size * bw;
bw                270 drivers/block/loop.c 	ssize_t bw;
bw                275 drivers/block/loop.c 	bw = vfs_iter_write(file, &i, ppos, 0);
bw                278 drivers/block/loop.c 	if (likely(bw ==  bvec->bv_len))
bw                284 drivers/block/loop.c 	if (bw >= 0)
bw                285 drivers/block/loop.c 		bw = -EIO;
bw                286 drivers/block/loop.c 	return bw;
bw                235 drivers/edac/amd64_edac.c static int set_scrub_rate(struct mem_ctl_info *mci, u32 bw)
bw                251 drivers/edac/amd64_edac.c 	return __set_scrub_rate(pvt, bw, min_scrubrate);
bw                866 drivers/edac/cpc925_edac.c 	int bw;
bw                878 drivers/edac/cpc925_edac.c 		bw = 0;
bw                880 drivers/edac/cpc925_edac.c 		bw = CPC925_SCRUB_BLOCK_SIZE * 0xFA67 / si;
bw                882 drivers/edac/cpc925_edac.c 	return bw;
bw                553 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_exit_ns =
bw                555 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_enter_plus_exit_ns =
bw                557 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.pstate_change_ns =
bw                559 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.b.pte_meta_urgent_ns = v->ptemeta_urgent_watermark * 1000;
bw                560 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.b.urgent_ns = v->urgent_watermark * 1000;
bw                567 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_exit_ns =
bw                569 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_enter_plus_exit_ns =
bw                571 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.pstate_change_ns =
bw                573 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.c.pte_meta_urgent_ns = v->ptemeta_urgent_watermark * 1000;
bw                574 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.c.urgent_ns = v->urgent_watermark * 1000;
bw                588 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.cstate_exit_ns =
bw                590 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.cstate_enter_plus_exit_ns =
bw                592 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.pstate_change_ns =
bw                594 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.d.pte_meta_urgent_ns = v->ptemeta_urgent_watermark * 1000;
bw                595 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.d.urgent_ns = v->urgent_watermark * 1000;
bw                608 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_exit_ns =
bw                610 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns =
bw                612 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns =
bw                614 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	context->bw_ctx.bw.dcn.watermarks.a.pte_meta_urgent_ns = v->ptemeta_urgent_watermark * 1000;
bw                615 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	context->bw_ctx.bw.dcn.watermarks.a.urgent_ns = v->urgent_watermark * 1000;
bw                617 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.b = context->bw_ctx.bw.dcn.watermarks.a;
bw                618 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.c = context->bw_ctx.bw.dcn.watermarks.a;
bw                621 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.d = context->bw_ctx.bw.dcn.watermarks.a;
bw               1117 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_exit_ns =
bw               1119 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns =
bw               1121 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns =
bw               1123 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.a.pte_meta_urgent_ns = v->ptemeta_urgent_watermark * 1000;
bw               1124 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.a.urgent_ns = v->urgent_watermark * 1000;
bw               1125 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.b = context->bw_ctx.bw.dcn.watermarks.a;
bw               1126 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.c = context->bw_ctx.bw.dcn.watermarks.a;
bw               1127 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.watermarks.d = context->bw_ctx.bw.dcn.watermarks.a;
bw               1129 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.clk.fclk_khz = (int)(bw_consumed * 1000000 /
bw               1132 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 			context->bw_ctx.bw.dcn.clk.fclk_khz = (int)(bw_consumed * 1000000 / 32);
bw               1134 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.clk.dcfclk_deep_sleep_khz = (int)(v->dcf_clk_deep_sleep * 1000);
bw               1135 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.clk.dcfclk_khz = (int)(v->dcfclk * 1000);
bw               1137 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.clk.dispclk_khz = (int)(v->dispclk * 1000);
bw               1139 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 			context->bw_ctx.bw.dcn.clk.dispclk_khz = (int)(dc->dcn_soc->max_dispclk_vmax0p9 * 1000);
bw               1141 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		if (context->bw_ctx.bw.dcn.clk.dispclk_khz <
bw               1143 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 			context->bw_ctx.bw.dcn.clk.dispclk_khz =
bw               1147 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.clk.dppclk_khz = context->bw_ctx.bw.dcn.clk.dispclk_khz /
bw               1149 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 		context->bw_ctx.bw.dcn.clk.phyclk_khz = v->phyclk_per_state[v->voltage_level];
bw               1152 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 			context->bw_ctx.bw.dcn.clk.max_supported_dppclk_khz =
bw               1156 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 			context->bw_ctx.bw.dcn.clk.max_supported_dppclk_khz =
bw               1160 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 			context->bw_ctx.bw.dcn.clk.max_supported_dppclk_khz =
bw               1164 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 			context->bw_ctx.bw.dcn.clk.max_supported_dppclk_khz =
bw                208 drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/dce_clk_mgr.c 		if (context->bw_ctx.bw.dce.dispclk_khz >
bw                218 drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/dce_clk_mgr.c 				< context->bw_ctx.bw.dce.dispclk_khz)
bw                401 drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/dce_clk_mgr.c 	int patched_disp_clk = context->bw_ctx.bw.dce.dispclk_khz;
bw                183 drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c 		context->bw_ctx.bw.dce.all_displays_in_sync;
bw                185 drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c 			context->bw_ctx.bw.dce.nbp_state_change_enable == false;
bw                187 drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c 			context->bw_ctx.bw.dce.cpuc_state_change_enable == false;
bw                189 drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c 			context->bw_ctx.bw.dce.cpup_state_change_enable == false;
bw                191 drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c 			context->bw_ctx.bw.dce.blackout_recovery_time_us;
bw                204 drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c 		pp_display_cfg->min_memory_clock_khz = context->bw_ctx.bw.dce.yclk_khz
bw                210 drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c 			context->bw_ctx.bw.dce.sclk_khz);
bw                223 drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c 			= context->bw_ctx.bw.dce.sclk_deep_sleep_khz;
bw                254 drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c 	int patched_disp_clk = context->bw_ctx.bw.dce.dispclk_khz;
bw                269 drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c 		context->bw_ctx.bw.dce.dispclk_khz = dce_set_clock(clk_mgr_base, patched_disp_clk);
bw                199 drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/dce112_clk_mgr.c 	int patched_disp_clk = context->bw_ctx.bw.dce.dispclk_khz;
bw                 91 drivers/gpu/drm/amd/display/dc/clk_mgr/dce120/dce120_clk_mgr.c 	int patched_disp_clk = context->bw_ctx.bw.dce.dispclk_khz;
bw                132 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr.c 	struct dc_clocks *new_clocks = &context->bw_ctx.bw.dcn.clk;
bw                114 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c 		dppclk_khz = context->res_ctx.pipe_ctx[i].plane_res.bw.dppclk_khz;
bw                191 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c 	struct dc_clocks *new_clocks = &context->bw_ctx.bw.dcn.clk;
bw                288 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c 				dppclk_khz = context->res_ctx.pipe_ctx[i].plane_res.bw.dppclk_khz;
bw                305 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c 				dppclk_khz = context->res_ctx.pipe_ctx[i].plane_res.bw.dppclk_khz;
bw                325 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c 	struct dc_clocks *new_clocks = &context->bw_ctx.bw.dcn.clk;
bw                405 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c 		clock_cfg->max_clock_khz = context->bw_ctx.bw.dcn.clk.max_supported_dispclk_khz;
bw                408 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c 		clock_cfg->bw_requirequired_clock_khz = context->bw_ctx.bw.dcn.clk.bw_dispclk_khz;
bw                411 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c 		clock_cfg->max_clock_khz = context->bw_ctx.bw.dcn.clk.max_supported_dppclk_khz;
bw                414 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c 		clock_cfg->bw_requirequired_clock_khz = context->bw_ctx.bw.dcn.clk.bw_dppclk_khz;
bw                 60 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c 	struct dc_clocks *new_clocks = &context->bw_ctx.bw.dcn.clk;
bw               1658 drivers/gpu/drm/amd/display/dc/core/dc.c 	if (type == UPDATE_TYPE_FAST && memcmp(&dc->current_state->bw_ctx.bw.dcn.clk, &dc->clk_mgr->clks, offsetof(struct dc_clocks, prev_p_state_change_support)) != 0)
bw               2517 drivers/gpu/drm/amd/display/dc/core/dc.c 	info->displayClock				= (unsigned int)state->bw_ctx.bw.dcn.clk.dispclk_khz;
bw               2518 drivers/gpu/drm/amd/display/dc/core/dc.c 	info->engineClock				= (unsigned int)state->bw_ctx.bw.dcn.clk.dcfclk_khz;
bw               2519 drivers/gpu/drm/amd/display/dc/core/dc.c 	info->memoryClock				= (unsigned int)state->bw_ctx.bw.dcn.clk.dramclk_khz;
bw               2520 drivers/gpu/drm/amd/display/dc/core/dc.c 	info->maxSupportedDppClock		= (unsigned int)state->bw_ctx.bw.dcn.clk.max_supported_dppclk_khz;
bw               2521 drivers/gpu/drm/amd/display/dc/core/dc.c 	info->dppClock					= (unsigned int)state->bw_ctx.bw.dcn.clk.dppclk_khz;
bw               2522 drivers/gpu/drm/amd/display/dc/core/dc.c 	info->socClock					= (unsigned int)state->bw_ctx.bw.dcn.clk.socclk_khz;
bw               2523 drivers/gpu/drm/amd/display/dc/core/dc.c 	info->dcfClockDeepSleep			= (unsigned int)state->bw_ctx.bw.dcn.clk.dcfclk_deep_sleep_khz;
bw               2524 drivers/gpu/drm/amd/display/dc/core/dc.c 	info->fClock					= (unsigned int)state->bw_ctx.bw.dcn.clk.fclk_khz;
bw               2525 drivers/gpu/drm/amd/display/dc/core/dc.c 	info->phyClock					= (unsigned int)state->bw_ctx.bw.dcn.clk.phyclk_khz;
bw                354 drivers/gpu/drm/amd/display/dc/core/dc_debug.c 			context->bw_ctx.bw.dcn.clk.dispclk_khz,
bw                355 drivers/gpu/drm/amd/display/dc/core/dc_debug.c 			context->bw_ctx.bw.dcn.clk.dppclk_khz,
bw                356 drivers/gpu/drm/amd/display/dc/core/dc_debug.c 			context->bw_ctx.bw.dcn.clk.dcfclk_khz,
bw                357 drivers/gpu/drm/amd/display/dc/core/dc_debug.c 			context->bw_ctx.bw.dcn.clk.dcfclk_deep_sleep_khz,
bw                358 drivers/gpu/drm/amd/display/dc/core/dc_debug.c 			context->bw_ctx.bw.dcn.clk.fclk_khz,
bw                359 drivers/gpu/drm/amd/display/dc/core/dc_debug.c 			context->bw_ctx.bw.dcn.clk.socclk_khz);
bw                362 drivers/gpu/drm/amd/display/dc/core/dc_debug.c 			context->bw_ctx.bw.dcn.clk.dispclk_khz,
bw                363 drivers/gpu/drm/amd/display/dc/core/dc_debug.c 			context->bw_ctx.bw.dcn.clk.dppclk_khz,
bw                364 drivers/gpu/drm/amd/display/dc/core/dc_debug.c 			context->bw_ctx.bw.dcn.clk.dcfclk_khz,
bw                365 drivers/gpu/drm/amd/display/dc/core/dc_debug.c 			context->bw_ctx.bw.dcn.clk.dcfclk_deep_sleep_khz,
bw                366 drivers/gpu/drm/amd/display/dc/core/dc_debug.c 			context->bw_ctx.bw.dcn.clk.fclk_khz,
bw                367 drivers/gpu/drm/amd/display/dc/core/dc_debug.c 			context->bw_ctx.bw.dcn.clk.socclk_khz);
bw                227 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 		if (context->bw_ctx.bw.dce.dispclk_khz >
bw                237 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 				< context->bw_ctx.bw.dce.dispclk_khz)
bw                615 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 		context->bw_ctx.bw.dce.all_displays_in_sync;
bw                617 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 			context->bw_ctx.bw.dce.nbp_state_change_enable == false;
bw                619 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 			context->bw_ctx.bw.dce.cpuc_state_change_enable == false;
bw                621 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 			context->bw_ctx.bw.dce.cpup_state_change_enable == false;
bw                623 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 			context->bw_ctx.bw.dce.blackout_recovery_time_us;
bw                625 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 	pp_display_cfg->min_memory_clock_khz = context->bw_ctx.bw.dce.yclk_khz
bw                630 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 			context->bw_ctx.bw.dce.sclk_khz);
bw                643 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 			= context->bw_ctx.bw.dce.sclk_deep_sleep_khz;
bw                674 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 	int patched_disp_clk = context->bw_ctx.bw.dce.dispclk_khz;
bw                701 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 	int patched_disp_clk = context->bw_ctx.bw.dce.dispclk_khz;
bw                716 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 		context->bw_ctx.bw.dce.dispclk_khz = dce_set_clock(clk_mgr, patched_disp_clk);
bw                728 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 	int patched_disp_clk = context->bw_ctx.bw.dce.dispclk_khz;
bw                756 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 	int patched_disp_clk = context->bw_ctx.bw.dce.dispclk_khz;
bw                780 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c 		context->bw_ctx.bw.dce.dispclk_khz = 681000;
bw                781 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c 		context->bw_ctx.bw.dce.yclk_khz = 250000 * MEMORY_TYPE_MULTIPLIER_CZ;
bw                783 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c 		context->bw_ctx.bw.dce.dispclk_khz = 0;
bw                784 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c 		context->bw_ctx.bw.dce.yclk_khz = 0;
bw               1664 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 			context->bw_ctx.bw.dce.nbp_state_change_wm_ns[num_pipes],
bw               1665 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 			context->bw_ctx.bw.dce.stutter_exit_wm_ns[num_pipes],
bw               1666 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 			context->bw_ctx.bw.dce.stutter_entry_wm_ns[num_pipes],
bw               1667 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 			context->bw_ctx.bw.dce.urgent_wm_ns[num_pipes],
bw               1673 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 				context->bw_ctx.bw.dce.nbp_state_change_wm_ns[num_pipes],
bw               1674 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 				context->bw_ctx.bw.dce.stutter_exit_wm_ns[num_pipes],
bw               1675 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 				context->bw_ctx.bw.dce.urgent_wm_ns[num_pipes],
bw                907 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			&context->bw_ctx.bw.dce))
bw                917 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 	if (memcmp(&dc->current_state->bw_ctx.bw.dce,
bw                918 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			&context->bw_ctx.bw.dce, sizeof(context->bw_ctx.bw.dce))) {
bw                932 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.nbp_state_change_wm_ns[0].b_mark,
bw                933 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.nbp_state_change_wm_ns[0].a_mark,
bw                934 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.urgent_wm_ns[0].b_mark,
bw                935 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.urgent_wm_ns[0].a_mark,
bw                936 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.stutter_exit_wm_ns[0].b_mark,
bw                937 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.stutter_exit_wm_ns[0].a_mark,
bw                938 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.nbp_state_change_wm_ns[1].b_mark,
bw                939 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.nbp_state_change_wm_ns[1].a_mark,
bw                940 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.urgent_wm_ns[1].b_mark,
bw                941 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.urgent_wm_ns[1].a_mark,
bw                942 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.stutter_exit_wm_ns[1].b_mark,
bw                943 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.stutter_exit_wm_ns[1].a_mark,
bw                944 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.nbp_state_change_wm_ns[2].b_mark,
bw                945 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.nbp_state_change_wm_ns[2].a_mark,
bw                946 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.urgent_wm_ns[2].b_mark,
bw                947 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.urgent_wm_ns[2].a_mark,
bw                948 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.stutter_exit_wm_ns[2].b_mark,
bw                949 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.stutter_exit_wm_ns[2].a_mark,
bw                950 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.stutter_mode_enable,
bw                951 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.cpuc_state_change_enable,
bw                952 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.cpup_state_change_enable,
bw                953 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.nbp_state_change_enable,
bw                954 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.all_displays_in_sync,
bw                955 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.dispclk_khz,
bw                956 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.sclk_khz,
bw                957 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.sclk_deep_sleep_khz,
bw                958 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.yclk_khz,
bw                959 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			context->bw_ctx.bw.dce.blackout_recovery_time_us);
bw                829 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			&context->bw_ctx.bw.dce))
bw                837 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 	if (memcmp(&dc->current_state->bw_ctx.bw.dce,
bw                838 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			&context->bw_ctx.bw.dce, sizeof(context->bw_ctx.bw.dce))) {
bw                852 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.nbp_state_change_wm_ns[0].b_mark,
bw                853 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.nbp_state_change_wm_ns[0].a_mark,
bw                854 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.urgent_wm_ns[0].b_mark,
bw                855 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.urgent_wm_ns[0].a_mark,
bw                856 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.stutter_exit_wm_ns[0].b_mark,
bw                857 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.stutter_exit_wm_ns[0].a_mark,
bw                858 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.nbp_state_change_wm_ns[1].b_mark,
bw                859 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.nbp_state_change_wm_ns[1].a_mark,
bw                860 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.urgent_wm_ns[1].b_mark,
bw                861 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.urgent_wm_ns[1].a_mark,
bw                862 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.stutter_exit_wm_ns[1].b_mark,
bw                863 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.stutter_exit_wm_ns[1].a_mark,
bw                864 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.nbp_state_change_wm_ns[2].b_mark,
bw                865 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.nbp_state_change_wm_ns[2].a_mark,
bw                866 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.urgent_wm_ns[2].b_mark,
bw                867 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.urgent_wm_ns[2].a_mark,
bw                868 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.stutter_exit_wm_ns[2].b_mark,
bw                869 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.stutter_exit_wm_ns[2].a_mark,
bw                870 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.stutter_mode_enable,
bw                871 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.cpuc_state_change_enable,
bw                872 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.cpup_state_change_enable,
bw                873 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.nbp_state_change_enable,
bw                874 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.all_displays_in_sync,
bw                875 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.dispclk_khz,
bw                876 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.sclk_khz,
bw                877 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.sclk_deep_sleep_khz,
bw                878 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.yclk_khz,
bw                879 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			context->bw_ctx.bw.dce.blackout_recovery_time_us);
bw                814 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 		context->bw_ctx.bw.dce.dispclk_khz = 681000;
bw                815 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 		context->bw_ctx.bw.dce.yclk_khz = 250000 * MEMORY_TYPE_MULTIPLIER_CZ;
bw                817 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 		context->bw_ctx.bw.dce.dispclk_khz = 0;
bw                818 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 		context->bw_ctx.bw.dce.yclk_khz = 0;
bw                411 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			dc->current_state->bw_ctx.bw.dcn.clk.dcfclk_khz,
bw                412 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			dc->current_state->bw_ctx.bw.dcn.clk.dcfclk_deep_sleep_khz,
bw                413 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			dc->current_state->bw_ctx.bw.dcn.clk.dispclk_khz,
bw                414 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			dc->current_state->bw_ctx.bw.dcn.clk.dppclk_khz,
bw                415 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			dc->current_state->bw_ctx.bw.dcn.clk.max_supported_dppclk_khz,
bw                416 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			dc->current_state->bw_ctx.bw.dcn.clk.fclk_khz,
bw                417 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			dc->current_state->bw_ctx.bw.dcn.clk.socclk_khz);
bw               2295 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 		bool should_divided_by_2 = context->bw_ctx.bw.dcn.clk.dppclk_khz <=
bw               2307 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 					pipe_ctx->plane_res.bw.dppclk_khz,
bw               2696 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			context->bw_ctx.bw.dcn.clk.phyclk_khz = 0;
bw               2705 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			&context->bw_ctx.bw.dcn.watermarks,
bw               2728 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			context->bw_ctx.bw.dcn.clk.phyclk_khz = 0;
bw               2737 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			&context->bw_ctx.bw.dcn.watermarks,
bw               3265 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 	struct dc_clocks *current_clocks = &context->bw_ctx.bw.dcn.clk;
bw                475 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c 		dc->current_state->bw_ctx.bw.dcn.clk.dcfclk_khz,
bw                476 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c 		dc->current_state->bw_ctx.bw.dcn.clk.dcfclk_deep_sleep_khz,
bw                477 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c 		dc->current_state->bw_ctx.bw.dcn.clk.dispclk_khz,
bw                478 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c 		dc->current_state->bw_ctx.bw.dcn.clk.dppclk_khz,
bw                479 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c 		dc->current_state->bw_ctx.bw.dcn.clk.fclk_khz,
bw                480 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c 		dc->current_state->bw_ctx.bw.dcn.clk.socclk_khz);
bw               1285 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c 					&context->bw_ctx.bw.dcn.watermarks,
bw               1298 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c 					&context->bw_ctx.bw.dcn.watermarks,
bw               1376 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c 	mcif_wb->funcs->config_mcif_arb(mcif_wb, &context->bw_ctx.bw.dcn.bw_writeback.mcif_wb_arb[wb_info->dwb_pipe_inst]);
bw               2221 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			wb_arb_params = &context->bw_ctx.bw.dcn.bw_writeback.mcif_wb_arb[dwb_pipe];
bw               2696 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.watermarks.b.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
bw               2697 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter_exit(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
bw               2698 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
bw               2699 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
bw               2700 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.watermarks.b.pte_meta_urgent_ns = get_wm_memory_trip(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
bw               2707 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.watermarks.c.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
bw               2708 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter_exit(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
bw               2709 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
bw               2710 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
bw               2711 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.watermarks.c.pte_meta_urgent_ns = get_wm_memory_trip(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
bw               2718 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.watermarks.d.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
bw               2719 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter_exit(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
bw               2720 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
bw               2721 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
bw               2722 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.watermarks.d.pte_meta_urgent_ns = get_wm_memory_trip(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
bw               2727 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.watermarks.a.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
bw               2728 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter_exit(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
bw               2729 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
bw               2730 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
bw               2731 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.watermarks.a.pte_meta_urgent_ns = get_wm_memory_trip(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
bw               2746 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.clk.dispclk_khz = context->bw_ctx.dml.vba.DISPCLK * 1000;
bw               2747 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.clk.dcfclk_khz = context->bw_ctx.dml.vba.DCFCLK * 1000;
bw               2748 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.clk.socclk_khz = context->bw_ctx.dml.vba.SOCCLK * 1000;
bw               2749 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.clk.dramclk_khz = context->bw_ctx.dml.vba.DRAMSpeed * 1000 / 16;
bw               2750 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.clk.dcfclk_deep_sleep_khz = context->bw_ctx.dml.vba.DCFCLKDeepSleep * 1000;
bw               2751 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.clk.fclk_khz = 0;
bw               2752 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.clk.p_state_change_support =
bw               2755 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.clk.dppclk_khz = 0;
bw               2801 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		if (context->bw_ctx.bw.dcn.clk.dppclk_khz < pipes[pipe_idx].clks_cfg.dppclk_mhz * 1000)
bw               2802 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			context->bw_ctx.bw.dcn.clk.dppclk_khz = pipes[pipe_idx].clks_cfg.dppclk_mhz * 1000;
bw               2803 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		context->res_ctx.pipe_ctx[i].plane_res.bw.dppclk_khz =
bw               2810 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.clk.bw_dppclk_khz = context->bw_ctx.bw.dcn.clk.dppclk_khz;
bw               2811 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.clk.bw_dispclk_khz = context->bw_ctx.bw.dcn.clk.dispclk_khz;
bw               2812 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.clk.max_supported_dppclk_khz = context->bw_ctx.dml.soc.clock_limits[vlevel].dppclk_mhz * 1000;
bw               2813 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	context->bw_ctx.bw.dcn.clk.max_supported_dispclk_khz = context->bw_ctx.dml.soc.clock_limits[vlevel].dispclk_mhz * 1000;
bw               2828 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 				context->bw_ctx.bw.dcn.clk.p_state_change_support,
bw               2905 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	full_pstate_supported = context->bw_ctx.bw.dcn.clk.p_state_change_support;
bw               2909 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		context->bw_ctx.bw.dcn.clk.p_state_change_support = true;
bw               2917 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	dummy_pstate_supported = context->bw_ctx.bw.dcn.clk.p_state_change_support;
bw               2920 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		context->bw_ctx.bw.dcn.clk.p_state_change_support = false;
bw               1041 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 	calculate_wm_set_for_vlevel(vlevel, table_entry, &context->bw_ctx.bw.dcn.watermarks.d,
bw               1046 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 	calculate_wm_set_for_vlevel(vlevel, table_entry, &context->bw_ctx.bw.dcn.watermarks.c,
bw               1051 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 	calculate_wm_set_for_vlevel(vlevel, table_entry, &context->bw_ctx.bw.dcn.watermarks.b,
bw               1057 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 	calculate_wm_set_for_vlevel(vlevel, table_entry, &context->bw_ctx.bw.dcn.watermarks.a,
bw                266 drivers/gpu/drm/amd/display/dc/inc/core_types.h 	struct dcn_fe_bandwidth bw;
bw                367 drivers/gpu/drm/amd/display/dc/inc/core_types.h 	union bw_output bw;
bw                185 drivers/gpu/drm/i915/display/intel_bw.c 			int ct, bw;
bw                195 drivers/gpu/drm/i915/display/intel_bw.c 			bw = icl_calc_bw(sp->dclk, clpchgroup * 32 * num_channels, ct);
bw                198 drivers/gpu/drm/i915/display/intel_bw.c 					       bw * 9 / 10); /* 90% */
bw                105 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 	u32 bw, threshold;
bw                155 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 		bw = DIV_ROUND_UP_ULL(bw_sum_of_intfs, 1000);
bw                156 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 		DPU_DEBUG("calculated bandwidth=%uk\n", bw);
bw                171 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 		} else if (bw > threshold) {
bw                172 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 			DPU_ERROR("exceeds bandwidth: %ukb > %ukb\n", bw,
bw                234 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 		 ior->dp.nr, ior->dp.bw * 27);
bw                244 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 			while ((ior->dp.bw * 2700) < nvbios_rd16(bios, lnkcmp))
bw                248 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 			while (ior->dp.bw < nvbios_rd08(bios, lnkcmp))
bw                272 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 	sink[0] = ior->dp.bw;
bw                329 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 	u8  bw;
bw                373 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 			    (cfg->nr <= sink_nr && cfg->bw <= sink_bw))
bw                395 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 		 failsafe->nr, failsafe->bw * 27);
bw                399 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 		if ((cfg->nr > outp_nr || cfg->bw > outp_bw ||
bw                400 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 		     cfg->nr > sink_nr || cfg->bw > sink_bw)) {
bw                407 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 		ior->dp.bw = cfg->bw;
bw                468 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 	linkKBps = ior->dp.bw * 27000 * ior->dp.nr;
bw                 42 drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h 		u8 bw;
bw                329 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	const u32 linkKBps = ior->dp.bw * 27000;
bw                 41 drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c 	int ret = nvkm_i2c_aux_lnk_ctl(aux, pior->dp.nr, pior->dp.bw,
bw                114 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	if (sor->dp.bw > 0x06)
bw                107 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 	clksor |= sor->dp.bw << 18;
bw                 46 drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.c 	clksor |= sor->dp.bw << 18;
bw                144 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c nvkm_i2c_aux_lnk_ctl(struct nvkm_i2c_aux *aux, int nr, int bw, bool ef)
bw                147 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c 		return aux->func->lnk_ctl(aux, nr, bw, ef);
bw                 57 drivers/gpu/drm/pl111/pl111_display.c 	u64 bw;
bw                 63 drivers/gpu/drm/pl111/pl111_display.c 	bw = mode->clock * 1000ULL; /* In Hz */
bw                 64 drivers/gpu/drm/pl111/pl111_display.c 	bw = bw * mode->hdisplay * mode->vdisplay * cpp;
bw                 65 drivers/gpu/drm/pl111/pl111_display.c 	bw = div_u64(bw, mode->htotal * mode->vtotal);
bw                 71 drivers/gpu/drm/pl111/pl111_display.c 	if (priv->memory_bw && (bw > priv->memory_bw)) {
bw                 74 drivers/gpu/drm/pl111/pl111_display.c 			      mode->clock * 1000, cpp, bw);
bw                 80 drivers/gpu/drm/pl111/pl111_display.c 		      mode->clock * 1000, cpp, bw);
bw                213 drivers/gpu/drm/radeon/r600_cs.c 	unsigned bw;
bw                218 drivers/gpu/drm/radeon/r600_cs.c 	bw = color_formats_table[format].blockwidth;
bw                219 drivers/gpu/drm/radeon/r600_cs.c 	if (bw == 0)
bw                222 drivers/gpu/drm/radeon/r600_cs.c 	return (w + bw - 1) / bw;
bw               1272 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 	const u32 bw = desc->block_size.width, bh = desc->block_size.height;
bw               1274 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 	const u32 rowstride = __KERNEL_DIV_ROUND_UP(width, bw) *
bw               1279 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 			    x / bw * desc->bytes_per_block);
bw                260 drivers/iio/accel/adxl372.c 	enum adxl372_bandwidth		bw;
bw                337 drivers/iio/accel/adxl372.c 				 enum adxl372_bandwidth bw)
bw                343 drivers/iio/accel/adxl372.c 				 ADXL372_MEASURE_BANDWIDTH_MODE(bw));
bw                347 drivers/iio/accel/adxl372.c 	st->bw = bw;
bw                672 drivers/iio/accel/adxl372.c 		*val = adxl372_bw_freq_tbl[st->bw];
bw                712 drivers/iio/accel/adxl372.c 		if (st->bw > odr_index)
bw                120 drivers/iio/accel/bma180.c 	int bw;
bw                246 drivers/iio/accel/bma180.c 			data->bw = val;
bw                485 drivers/iio/accel/bma180.c 		*val = data->bw;
bw                437 drivers/iio/gyro/fxas21002c_core.c static int fxas21002c_lpf_set(struct fxas21002c_data *data, int bw)
bw                443 drivers/iio/gyro/fxas21002c_core.c 	bw_bits = fxas21002c_lpf_value_from_bw(data, bw);
bw                221 drivers/input/misc/bma150.c static int bma150_set_bandwidth(struct bma150_data *bma150, u8 bw)
bw                223 drivers/input/misc/bma150.c 	return bma150_set_reg_bits(bma150->client, bw, BMA150_BANDWIDTH_POS,
bw               1402 drivers/md/md-bitmap.c 		int bw;
bw               1404 drivers/md/md-bitmap.c 		bw = atomic_read(&bitmap->behind_writes);
bw               1405 drivers/md/md-bitmap.c 		if (bw > bitmap->behind_writes_used)
bw               1406 drivers/md/md-bitmap.c 			bitmap->behind_writes_used = bw;
bw               1409 drivers/md/md-bitmap.c 			 bw, bitmap->mddev->bitmap_info.max_write_behind);
bw                 62 drivers/media/dvb-frontends/ascot2e.c 	u8	bw;
bw                435 drivers/media/dvb-frontends/ascot2e.c 	data[2] |= (u8)(ascot2e_sett[tv_system].bw << 4);
bw                471 drivers/media/dvb-frontends/cx24113.c 	u32 bw;
bw                473 drivers/media/dvb-frontends/cx24113.c 	bw  = ((c->symbol_rate/100) * roll_off) / 1000;
bw                474 drivers/media/dvb-frontends/cx24113.c 	bw += (10000000/100) + 5;
bw                475 drivers/media/dvb-frontends/cx24113.c 	bw /= 10;
bw                476 drivers/media/dvb-frontends/cx24113.c 	bw += 1000;
bw                477 drivers/media/dvb-frontends/cx24113.c 	cx24113_set_bandwidth(state, bw);
bw                481 drivers/media/dvb-frontends/cx24113.c 	return cx24113_get_status(fe, &bw);
bw                688 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	enum cxd2880_dtv_bandwidth bw = CXD2880_DTV_BW_1_7_MHZ;
bw                702 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	bw = priv->dvbt_tune_param.bandwidth;
bw                716 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 		pre_ber_rate = 63000000 * bw * (info.constellation * 2 + 2) /
bw                719 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 		post_ber_rate =	1000 * cr_table[info.rate_hp] * bw *
bw                723 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 		ucblock_rate = 875 * cr_table[info.rate_hp] * bw *
bw                745 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 				63000000 * bw * (info.constellation * 2 + 2) /
bw                748 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 			post_ber_rate = 1000 * cr_table[info.rate_lp] * bw *
bw                753 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 				       bw * (info.constellation * 2 + 2) /
bw                757 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 				63000000 * bw * 2 / denominator_tbl[info.guard];
bw                759 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 			post_ber_rate = 1000 * cr_table[info.rate_hp] * bw * 2 /
bw                763 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 					bw * 2 / denominator_tbl[info.guard];
bw                802 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	enum cxd2880_dtv_bandwidth bw = CXD2880_DTV_BW_1_7_MHZ;
bw                824 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	bw = priv->dvbt2_tune_param.bandwidth;
bw                856 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	switch (bw) {
bw               1039 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	enum cxd2880_dtv_bandwidth bw = CXD2880_DTV_BW_1_7_MHZ;
bw               1070 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 		bw = CXD2880_DTV_BW_1_7_MHZ;
bw               1073 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 		bw = CXD2880_DTV_BW_5_MHZ;
bw               1076 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 		bw = CXD2880_DTV_BW_6_MHZ;
bw               1079 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 		bw = CXD2880_DTV_BW_7_MHZ;
bw               1082 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 		bw = CXD2880_DTV_BW_8_MHZ;
bw               1091 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 		c->delivery_system, c->frequency, bw);
bw               1096 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 		priv->dvbt_tune_param.bandwidth = bw;
bw               1103 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 		priv->dvbt2_tune_param.bandwidth = bw;
bw                128 drivers/media/dvb-frontends/dib3000mc.c static int dib3000mc_set_timing(struct dib3000mc_state *state, s16 nfft, u32 bw, u8 update_offset)
bw                139 drivers/media/dvb-frontends/dib3000mc.c 	timf *= (bw / 1000);
bw                151 drivers/media/dvb-frontends/dib3000mc.c 		state->timf = timf / (bw / 1000);
bw                245 drivers/media/dvb-frontends/dib3000mc.c static int dib3000mc_set_bandwidth(struct dib3000mc_state *state, u32 bw)
bw                252 drivers/media/dvb-frontends/dib3000mc.c 	switch (bw) {
bw                292 drivers/media/dvb-frontends/dib3000mc.c 	dib3000mc_set_timing(state, TRANSMISSION_MODE_2K, bw, 0);
bw                476 drivers/media/dvb-frontends/dib3000mc.c 	u32 bw = BANDWIDTH_TO_KHZ(ch->bandwidth_hz);
bw                478 drivers/media/dvb-frontends/dib3000mc.c 	dib3000mc_set_bandwidth(state, bw);
bw                479 drivers/media/dvb-frontends/dib3000mc.c 	dib3000mc_set_timing(state, ch->transmission_mode, bw, 0);
bw                316 drivers/media/dvb-frontends/dib7000m.c static int dib7000m_set_bandwidth(struct dib7000m_state *state, u32 bw)
bw                320 drivers/media/dvb-frontends/dib7000m.c 	if (!bw)
bw                321 drivers/media/dvb-frontends/dib7000m.c 		bw = 8000;
bw                324 drivers/media/dvb-frontends/dib7000m.c 	state->current_bandwidth = bw;
bw                334 drivers/media/dvb-frontends/dib7000m.c 	timf = timf * (bw / 50) / 160;
bw                382 drivers/media/dvb-frontends/dib7000m.c static void dib7000m_reset_pll_common(struct dib7000m_state *state, const struct dibx000_bandwidth_config *bw)
bw                384 drivers/media/dvb-frontends/dib7000m.c 	dib7000m_write_word(state, 18, (u16) (((bw->internal*1000) >> 16) & 0xffff));
bw                385 drivers/media/dvb-frontends/dib7000m.c 	dib7000m_write_word(state, 19, (u16) ( (bw->internal*1000)        & 0xffff));
bw                386 drivers/media/dvb-frontends/dib7000m.c 	dib7000m_write_word(state, 21, (u16) ( (bw->ifreq          >> 16) & 0xffff));
bw                387 drivers/media/dvb-frontends/dib7000m.c 	dib7000m_write_word(state, 22, (u16) (  bw->ifreq                 & 0xffff));
bw                389 drivers/media/dvb-frontends/dib7000m.c 	dib7000m_write_word(state, 928, bw->sad_cfg);
bw                394 drivers/media/dvb-frontends/dib7000m.c 	const struct dibx000_bandwidth_config *bw = state->cfg.bw;
bw                398 drivers/media/dvb-frontends/dib7000m.c 	reg_907 = (bw->pll_bypass << 15) | (bw->modulo << 7) |
bw                399 drivers/media/dvb-frontends/dib7000m.c 		(bw->ADClkSrc << 6) | (bw->IO_CLK_en_core << 5) | (bw->bypclk_div << 2) |
bw                400 drivers/media/dvb-frontends/dib7000m.c 		(bw->enable_refdiv << 1) | (0 << 0);
bw                401 drivers/media/dvb-frontends/dib7000m.c 	reg_910 = (((bw->pll_ratio >> 6) & 0x3) << 3) | (bw->pll_range << 1) | bw->pll_reset;
bw                414 drivers/media/dvb-frontends/dib7000m.c 		reg_907 |= (bw->pll_ratio & 0x3f) << 9;
bw                415 drivers/media/dvb-frontends/dib7000m.c 		reg_910 |= (bw->pll_prediv << 5);
bw                422 drivers/media/dvb-frontends/dib7000m.c 	dib7000m_reset_pll_common(state, bw);
bw                427 drivers/media/dvb-frontends/dib7000m.c 	const struct dibx000_bandwidth_config *bw = state->cfg.bw;
bw                431 drivers/media/dvb-frontends/dib7000m.c 	dib7000m_write_word(state, 907, (bw->pll_prediv << 8) | (bw->pll_ratio << 0));
bw                436 drivers/media/dvb-frontends/dib7000m.c 			(bw->IO_CLK_en_core << 10) | (bw->bypclk_div << 5) | (bw->enable_refdiv << 4) |
bw                437 drivers/media/dvb-frontends/dib7000m.c 			(1 << 3) | (bw->pll_range << 1) | (bw->pll_reset << 0);
bw                439 drivers/media/dvb-frontends/dib7000m.c 	clk_cfg1 = (clk_cfg1 & 0xfff7) | (bw->pll_bypass << 3);
bw                443 drivers/media/dvb-frontends/dib7000m.c 	dib7000m_write_word(state, 910, (1 << 12) | (2 << 10) | (bw->modulo << 8) | (bw->ADClkSrc << 7));
bw                445 drivers/media/dvb-frontends/dib7000m.c 	dib7000m_reset_pll_common(state, bw);
bw                626 drivers/media/dvb-frontends/dib7000m.c 	state->internal_clk = state->cfg.bw->internal;
bw               1419 drivers/media/dvb-frontends/dib7000m.c 	st->timf_default = cfg->bw->timf;
bw                 18 drivers/media/dvb-frontends/dib7000m.h 	struct dibx000_bandwidth_config *bw;
bw                373 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_set_bandwidth(struct dib7000p_state *state, u32 bw)
bw                378 drivers/media/dvb-frontends/dib7000p.c 	state->current_bandwidth = bw;
bw                382 drivers/media/dvb-frontends/dib7000p.c 		timf = state->cfg.bw->timf;
bw                388 drivers/media/dvb-frontends/dib7000p.c 	timf = timf * (bw / 50) / 160;
bw                449 drivers/media/dvb-frontends/dib7000p.c 	struct dibx000_bandwidth_config *bw = &state->cfg.bw[0];
bw                453 drivers/media/dvb-frontends/dib7000p.c 		dib7000p_write_word(state, 1856, (!bw->pll_reset << 13) | (bw->pll_range << 12) | (bw->pll_ratio << 6) | (bw->pll_prediv));
bw                458 drivers/media/dvb-frontends/dib7000p.c 		dib7000p_write_word(state, 1857, dib7000p_read_word(state, 1857) | (!bw->pll_bypass << 15));
bw                461 drivers/media/dvb-frontends/dib7000p.c 		clk_cfg0 = (1 << 15) | ((bw->pll_ratio & 0x3f) << 9) |
bw                462 drivers/media/dvb-frontends/dib7000p.c 			(bw->modulo << 7) | (bw->ADClkSrc << 6) | (bw->IO_CLK_en_core << 5) | (bw->bypclk_div << 2) | (bw->enable_refdiv << 1) | (0 << 0);
bw                467 drivers/media/dvb-frontends/dib7000p.c 		dib7000p_write_word(state, 903, (bw->pll_prediv << 5) | (((bw->pll_ratio >> 6) & 0x3) << 3) | (bw->pll_range << 1) | bw->pll_reset);
bw                468 drivers/media/dvb-frontends/dib7000p.c 		clk_cfg0 = (bw->pll_bypass << 15) | (clk_cfg0 & 0x7fff);
bw                472 drivers/media/dvb-frontends/dib7000p.c 	dib7000p_write_word(state, 18, (u16) (((bw->internal * 1000) >> 16) & 0xffff));
bw                473 drivers/media/dvb-frontends/dib7000p.c 	dib7000p_write_word(state, 19, (u16) ((bw->internal * 1000) & 0xffff));
bw                474 drivers/media/dvb-frontends/dib7000p.c 	dib7000p_write_word(state, 21, (u16) ((bw->ifreq >> 16) & 0xffff));
bw                475 drivers/media/dvb-frontends/dib7000p.c 	dib7000p_write_word(state, 22, (u16) ((bw->ifreq) & 0xffff));
bw                477 drivers/media/dvb-frontends/dib7000p.c 	dib7000p_write_word(state, 72, bw->sad_cfg);
bw                489 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_update_pll(struct dvb_frontend *fe, struct dibx000_bandwidth_config *bw)
bw                500 drivers/media/dvb-frontends/dib7000p.c 	if ((bw != NULL) && (bw->pll_prediv != prediv || bw->pll_ratio != loopdiv)) {
bw                501 drivers/media/dvb-frontends/dib7000p.c 		dprintk("Updating pll (prediv: old =  %d new = %d ; loopdiv : old = %d new = %d)\n", prediv, bw->pll_prediv, loopdiv, bw->pll_ratio);
bw                506 drivers/media/dvb-frontends/dib7000p.c 		dib7000p_write_word(state, 1856, reg_1856 | ((bw->pll_ratio & 0x3f) << 6) | (bw->pll_prediv & 0x3f));
bw                511 drivers/media/dvb-frontends/dib7000p.c 		internal = 1000 * (xtal / bw->pll_prediv) * bw->pll_ratio;	/* new internal */
bw                810 drivers/media/dvb-frontends/dib7000p.c 	u32 dds = state->cfg.bw->ifreq & 0x1ffffff;
bw                811 drivers/media/dvb-frontends/dib7000p.c 	u8 invert = !!(state->cfg.bw->ifreq & (1 << 25));
bw                950 drivers/media/dvb-frontends/dib7000p.c 	dprintk("updated timf_frequency: %d (default: %d)\n", state->timf, state->cfg.bw->timf);
bw               1189 drivers/media/dvb-frontends/dib7000p.c static void dib7000p_spur_protect(struct dib7000p_state *state, u32 rf_khz, u32 bw)
bw               1211 drivers/media/dvb-frontends/dib7000p.c 	u32 xtal = state->cfg.bw->xtal_hz / 1000;
bw               1215 drivers/media/dvb-frontends/dib7000p.c 	int bw_khz = bw;
bw                 15 drivers/media/dvb-frontends/dib7000p.h 	struct dibx000_bandwidth_config *bw;
bw                 53 drivers/media/dvb-frontends/dib7000p.h 	int (*update_pll)(struct dvb_frontend *fe, struct dibx000_bandwidth_config *bw);
bw                617 drivers/media/dvb-frontends/dib8000.c static int dib8000_set_bandwidth(struct dvb_frontend *fe, u32 bw)
bw                622 drivers/media/dvb-frontends/dib8000.c 	if (bw == 0)
bw                623 drivers/media/dvb-frontends/dib8000.c 		bw = 6000;
bw                672 drivers/media/dvb-frontends/dib8000.c static void dib8000_reset_pll_common(struct dib8000_state *state, const struct dibx000_bandwidth_config *bw)
bw                674 drivers/media/dvb-frontends/dib8000.c 	dprintk("ifreq: %d %x, inversion: %d\n", bw->ifreq, bw->ifreq, bw->ifreq >> 25);
bw                677 drivers/media/dvb-frontends/dib8000.c 				(u16) (((bw->internal * 1000) >> 16) & 0xffff));
bw                679 drivers/media/dvb-frontends/dib8000.c 				(u16) ((bw->internal * 1000) & 0xffff));
bw                681 drivers/media/dvb-frontends/dib8000.c 		dib8000_write_word(state, 23, (u16) (((bw->internal / 2 * 1000) >> 16) & 0xffff));
bw                683 drivers/media/dvb-frontends/dib8000.c 				(u16) ((bw->internal  / 2 * 1000) & 0xffff));
bw                685 drivers/media/dvb-frontends/dib8000.c 	dib8000_write_word(state, 27, (u16) ((bw->ifreq >> 16) & 0x01ff));
bw                686 drivers/media/dvb-frontends/dib8000.c 	dib8000_write_word(state, 28, (u16) (bw->ifreq & 0xffff));
bw                687 drivers/media/dvb-frontends/dib8000.c 	dib8000_write_word(state, 26, (u16) ((bw->ifreq >> 25) & 0x0003));
bw                690 drivers/media/dvb-frontends/dib8000.c 		dib8000_write_word(state, 922, bw->sad_cfg);
bw                746 drivers/media/dvb-frontends/dib8000.c 		struct dibx000_bandwidth_config *pll, u32 bw, u8 ratio)
bw                794 drivers/media/dvb-frontends/dib8000.c 		if (bw != state->current_demod_bw) {
bw                796 drivers/media/dvb-frontends/dib8000.c 			dprintk("PLL: Bandwidth Change %d MHz -> %d MHz (prediv: %d->%d)\n", state->current_demod_bw / 1000, bw / 1000, oldprediv, state->cfg.pll->pll_prediv);
bw                802 drivers/media/dvb-frontends/dib8000.c 				dprintk("PLL: New Setting for %d MHz Bandwidth (prediv: %d, ratio: %d)\n", bw/1000, state->cfg.pll->pll_prediv, state->cfg.pll->pll_ratio);
bw                809 drivers/media/dvb-frontends/dib8000.c 			state->current_demod_bw = bw;
bw                 46 drivers/media/dvb-frontends/dib8000.h 		struct dibx000_bandwidth_config *pll, u32 bw, u8 ratio);
bw                 11 drivers/media/dvb-frontends/dib9000.h 	struct dibx000_bandwidth_config *bw;
bw                 89 drivers/media/dvb-frontends/dvb-pll.c 	u32 bw = fe->dtv_property_cache.bandwidth_hz;
bw                 90 drivers/media/dvb-frontends/dvb-pll.c 	if (bw == 7000000)
bw                113 drivers/media/dvb-frontends/dvb-pll.c 	u32 bw = fe->dtv_property_cache.bandwidth_hz;
bw                114 drivers/media/dvb-frontends/dvb-pll.c 	if (bw == 8000000)
bw                207 drivers/media/dvb-frontends/dvb-pll.c 	u32 bw = fe->dtv_property_cache.bandwidth_hz;
bw                208 drivers/media/dvb-frontends/dvb-pll.c 	if (bw == 8000000)
bw                241 drivers/media/dvb-frontends/dvb-pll.c 	u32 bw = fe->dtv_property_cache.bandwidth_hz;
bw                242 drivers/media/dvb-frontends/dvb-pll.c 	if (bw == 7000000)
bw                265 drivers/media/dvb-frontends/dvb-pll.c 	u32 bw = fe->dtv_property_cache.bandwidth_hz;
bw                266 drivers/media/dvb-frontends/dvb-pll.c 	if (bw == 8000000)
bw                123 drivers/media/dvb-frontends/itd1000.c 	u8 bw      = itd1000_read_reg(state, BW)      & 0xf0;
bw                135 drivers/media/dvb-frontends/itd1000.c 			itd1000_write_reg(state, BW,      bw | (i & 0x0f));
bw                127 drivers/media/dvb-frontends/l64781.c 	int bw;
bw                131 drivers/media/dvb-frontends/l64781.c 		bw = 8;
bw                134 drivers/media/dvb-frontends/l64781.c 		bw = 7;
bw                137 drivers/media/dvb-frontends/l64781.c 		bw = 6;
bw                179 drivers/media/dvb-frontends/l64781.c 	ddfs_offset_fixed = 0x4000-(ppm<<16)/bw/1000000;
bw                183 drivers/media/dvb-frontends/l64781.c 			bw & 0xFFFFFF);
bw                189 drivers/media/dvb-frontends/l64781.c 	spi_bias *= bw;
bw                 37 drivers/media/dvb-frontends/mb86a20s.c 	enum mb86a20s_bandwidth bw;
bw               1775 drivers/media/dvb-frontends/mb86a20s.c 	if (!state->bw)
bw               1782 drivers/media/dvb-frontends/mb86a20s.c 	rc = mb86a20s_writereg(state, 0x71, state->bw);
bw               1879 drivers/media/dvb-frontends/mb86a20s.c 		state->bw = MB86A20S_1SEG;
bw               1881 drivers/media/dvb-frontends/mb86a20s.c 		state->bw = MB86A20S_13SEG_PARTIAL;
bw               1883 drivers/media/dvb-frontends/mb86a20s.c 		state->bw = MB86A20S_13SEG;
bw                104 drivers/media/dvb-frontends/mt352.c 	u32 bw,value;
bw                108 drivers/media/dvb-frontends/mt352.c 		bw = 6;
bw                111 drivers/media/dvb-frontends/mt352.c 		bw = 7;
bw                115 drivers/media/dvb-frontends/mt352.c 		bw = 8;
bw                121 drivers/media/dvb-frontends/mt352.c 	value = 64 * bw * (1<<16) / (7 * 8);
bw                124 drivers/media/dvb-frontends/mt352.c 		__func__, bw, adc_clock, value);
bw                245 drivers/media/dvb-frontends/stb6100.c 	u32 bw;
bw                253 drivers/media/dvb-frontends/stb6100.c 	bw = (f + 5) * 2000;	/* x2 for ZIF	*/
bw                255 drivers/media/dvb-frontends/stb6100.c 	*bandwidth = state->bandwidth = bw * 1000;
bw                 34 drivers/media/dvb-frontends/stb6100_cfg.h 	u32 bw = c->bandwidth_hz;
bw                 42 drivers/media/dvb-frontends/stb6100_cfg.h 		c->bandwidth_hz = bw;
bw                 39 drivers/media/dvb-frontends/stb6100_proc.h 	u32 bw = c->bandwidth_hz;
bw                 50 drivers/media/dvb-frontends/stb6100_proc.h 		c->bandwidth_hz = bw;
bw                 67 drivers/media/dvb-frontends/stv0367.c 	u8  bw; /* channel width 6, 7 or 8 in MHz */
bw               1065 drivers/media/dvb-frontends/stv0367.c 				(ter_state->pBW != ter_state->bw)) {
bw               1079 drivers/media/dvb-frontends/stv0367.c 		if (!stv0367_iir_filt_init(state, ter_state->bw,
bw               1083 drivers/media/dvb-frontends/stv0367.c 		ter_state->pBW = ter_state->bw;
bw               1095 drivers/media/dvb-frontends/stv0367.c 		((((ter_state->bw * 64 * (1 << 15) * 100)
bw               1106 drivers/media/dvb-frontends/stv0367.c 	temp = (int)(((1 << 17) * ter_state->bw * 1000) / (7 * (InternalFreq)));
bw               1165 drivers/media/dvb-frontends/stv0367.c 	if (ter_state->bw == 6)
bw               1167 drivers/media/dvb-frontends/stv0367.c 	else if (ter_state->bw == 7)
bw               1272 drivers/media/dvb-frontends/stv0367.c 		ter_state->bw = FE_TER_CHAN_BW_6M;
bw               1275 drivers/media/dvb-frontends/stv0367.c 		ter_state->bw = FE_TER_CHAN_BW_7M;
bw               1279 drivers/media/dvb-frontends/stv0367.c 		ter_state->bw = FE_TER_CHAN_BW_8M;
bw                296 drivers/media/dvb-frontends/stv0900_priv.h 	s32	bw[2];
bw                583 drivers/media/dvb-frontends/stv0900_sw.c 		intp->bw[d] = stv0900_carrier_width(intp->symbol_rate[d],
bw                597 drivers/media/dvb-frontends/stv0900_sw.c 						intp->bw[d], demod);
bw                599 drivers/media/dvb-frontends/stv0900_sw.c 				stv0900_set_tuner(fe, tuner_freq, intp->bw[d]);
bw                964 drivers/media/dvb-frontends/stv0900_sw.c 		intp->bw[demod] = stv0900_carrier_width(srate,
bw                972 drivers/media/dvb-frontends/stv0900_sw.c 							intp->bw[demod],
bw                976 drivers/media/dvb-frontends/stv0900_sw.c 							intp->bw[demod]);
bw               1490 drivers/media/dvb-frontends/stv0900_sw.c 						intp->bw[demod], demod);
bw               1493 drivers/media/dvb-frontends/stv0900_sw.c 						intp->bw[demod]);
bw               1837 drivers/media/dvb-frontends/stv0900_sw.c 		intp->bw[demod] = 2 * 36000000;
bw               1854 drivers/media/dvb-frontends/stv0900_sw.c 		intp->bw[demod] =
bw               1861 drivers/media/dvb-frontends/stv0900_sw.c 				intp->bw[demod] += 10000000;
bw               1862 drivers/media/dvb-frontends/stv0900_sw.c 				intp->bw[demod] *= 15;
bw               1863 drivers/media/dvb-frontends/stv0900_sw.c 				intp->bw[demod] /= 10;
bw               1865 drivers/media/dvb-frontends/stv0900_sw.c 				intp->bw[demod] += 10000000;
bw               1869 drivers/media/dvb-frontends/stv0900_sw.c 			intp->bw[demod] += 10000000;
bw               1870 drivers/media/dvb-frontends/stv0900_sw.c 			intp->bw[demod] *= 15;
bw               1871 drivers/media/dvb-frontends/stv0900_sw.c 			intp->bw[demod] /= 10;
bw               1891 drivers/media/dvb-frontends/stv0900_sw.c 				intp->bw[demod], demod);
bw               1893 drivers/media/dvb-frontends/stv0900_sw.c 		stv0900_set_tuner(fe, intp->freq[demod], intp->bw[demod]);
bw                328 drivers/media/dvb-frontends/tda10048.c 			     u32 bw)
bw                339 drivers/media/dvb-frontends/tda10048.c 	t = bw * 10;
bw                358 drivers/media/dvb-frontends/tda10048.c 				u32 bw)
bw                373 drivers/media/dvb-frontends/tda10048.c 	do_div(t, bw);
bw                384 drivers/media/dvb-frontends/tda10048.c 	u32 bw)
bw                387 drivers/media/dvb-frontends/tda10048.c 	dprintk(1, "%s(bw=%d)\n", __func__, bw);
bw                390 drivers/media/dvb-frontends/tda10048.c 	switch (bw) {
bw                394 drivers/media/dvb-frontends/tda10048.c 		tda10048_set_wref(fe, state->sample_freq, bw);
bw                395 drivers/media/dvb-frontends/tda10048.c 		tda10048_set_invwref(fe, state->sample_freq, bw);
bw                402 drivers/media/dvb-frontends/tda10048.c 	state->bandwidth = bw;
bw                407 drivers/media/dvb-frontends/tda10048.c static int tda10048_set_if(struct dvb_frontend *fe, u32 bw)
bw                414 drivers/media/dvb-frontends/tda10048.c 	dprintk(1, "%s(bw = %d)\n", __func__, bw);
bw                417 drivers/media/dvb-frontends/tda10048.c 	switch (bw) {
bw               1122 drivers/media/dvb-frontends/tda18271c2dd.c 	u32 bw = fe->dtv_property_cache.bandwidth_hz;
bw               1130 drivers/media/dvb-frontends/tda18271c2dd.c 		switch (bw) {
bw               1146 drivers/media/dvb-frontends/tda18271c2dd.c 		if (bw <= 6000000)
bw               1148 drivers/media/dvb-frontends/tda18271c2dd.c 		else if (bw <= 7000000)
bw                117 drivers/media/dvb-frontends/zl10353.c 	u8 bw = bandwidth / 1000000;
bw                123 drivers/media/dvb-frontends/zl10353.c 	value = (bw * value) + adc_clock / 2;
bw                127 drivers/media/dvb-frontends/zl10353.c 		__func__, bw, adc_clock, *nominal_rate);
bw                437 drivers/media/pci/cx23885/cx23885-dvb.c 	.bw  = &xc3028_bw_config,
bw               1066 drivers/media/pci/cx23885/cx23885-dvb.c 	.bw  = &dib7070_bw_config_12_mhz,
bw                136 drivers/media/tuners/max2165.c static int max2165_set_bandwidth(struct max2165_priv *priv, u32 bw)
bw                140 drivers/media/tuners/max2165.c 	if (bw == 8000000)
bw                291 drivers/media/tuners/max2165.c static int max2165_get_bandwidth(struct dvb_frontend *fe, u32 *bw)
bw                296 drivers/media/tuners/max2165.c 	*bw = priv->bandwidth;
bw               2175 drivers/media/tuners/mt2063.c static int mt2063_get_bandwidth(struct dvb_frontend *fe, u32 *bw)
bw               2184 drivers/media/tuners/mt2063.c 	*bw = state->AS_Data.f_out_bw - 750000;
bw               2186 drivers/media/tuners/mt2063.c 	dprintk(1, "bandwidth: %d\n", *bw);
bw               3989 drivers/media/tuners/mxl5005s.c 	u32 bw = c->bandwidth_hz;
bw               4006 drivers/media/tuners/mxl5005s.c 		switch (bw) {
bw                381 drivers/media/tuners/mxl5007t.c 				 enum mxl5007t_bw_mhz bw)
bw                385 drivers/media/tuners/mxl5007t.c 	switch (bw) {
bw                407 drivers/media/tuners/mxl5007t.c 				       u32 rf_freq, enum mxl5007t_bw_mhz bw)
bw                416 drivers/media/tuners/mxl5007t.c 	mxl5007t_set_bw_bits(state, bw);
bw                530 drivers/media/tuners/mxl5007t.c 				  enum mxl5007t_bw_mhz bw)
bw                536 drivers/media/tuners/mxl5007t.c 	rf_tune_regs = mxl5007t_calc_rf_tune_regs(state, rf_freq_hz, bw);
bw                604 drivers/media/tuners/mxl5007t.c 	enum mxl5007t_bw_mhz bw;
bw                612 drivers/media/tuners/mxl5007t.c 		bw = MxL_BW_6MHz;
bw                616 drivers/media/tuners/mxl5007t.c 		bw = MxL_BW_6MHz;
bw                623 drivers/media/tuners/mxl5007t.c 			bw = MxL_BW_6MHz;
bw                626 drivers/media/tuners/mxl5007t.c 			bw = MxL_BW_7MHz;
bw                629 drivers/media/tuners/mxl5007t.c 			bw = MxL_BW_8MHz;
bw                649 drivers/media/tuners/mxl5007t.c 	ret = mxl5007t_tuner_rf_tune(state, freq, bw);
bw                 92 drivers/media/tuners/r820t.c 	u32				bw;	/* in MHz */
bw                928 drivers/media/tuners/r820t.c 				 unsigned bw,
bw                979 drivers/media/tuners/r820t.c 		if (bw <= 6) {
bw                991 drivers/media/tuners/r820t.c 		} else if (bw == 7) {
bw               1071 drivers/media/tuners/r820t.c 		 ((delsys != priv->delsys) || bw != priv->bw))
bw               1179 drivers/media/tuners/r820t.c 	priv->bw = bw;
bw               1287 drivers/media/tuners/r820t.c 			    unsigned bw,
bw               1296 drivers/media/tuners/r820t.c 		  freq / 1000, bw);
bw               1298 drivers/media/tuners/r820t.c 	rc = r820t_set_tv_standard(priv, bw, type, std, delsys);
bw               2178 drivers/media/tuners/r820t.c 	unsigned bw;
bw               2188 drivers/media/tuners/r820t.c 		bw = 6;
bw               2190 drivers/media/tuners/r820t.c 		bw = 8;
bw               2196 drivers/media/tuners/r820t.c 	rc = generic_set_freq(fe, 62500l * p->frequency, bw,
bw               2211 drivers/media/tuners/r820t.c 	unsigned bw;
bw               2220 drivers/media/tuners/r820t.c 	bw = (c->bandwidth_hz + 500000) / 1000000;
bw               2221 drivers/media/tuners/r820t.c 	if (!bw)
bw               2222 drivers/media/tuners/r820t.c 		bw = 8;
bw               2224 drivers/media/tuners/r820t.c 	rc = generic_set_freq(fe, c->frequency, bw,
bw                115 drivers/media/tuners/tda18218.c 	u32 bw = c->bandwidth_hz;
bw                141 drivers/media/tuners/tda18218.c 	if (bw <= 6000000) {
bw                144 drivers/media/tuners/tda18218.c 	} else if (bw <= 7000000) {
bw                 75 drivers/media/tuners/tda18271-fe.c 					  u32 freq, u32 bw)
bw                694 drivers/media/tuners/tda18271-fe.c 						     u32 freq, u32 bw)
bw                728 drivers/media/tuners/tda18271-fe.c 		N = freq + bw / 2;
bw                741 drivers/media/tuners/tda18271-fe.c 		N = freq + bw / 2 + 1000000;
bw                885 drivers/media/tuners/tda18271-fe.c 			 struct tda18271_std_map_item *map, u32 freq, u32 bw)
bw                891 drivers/media/tuners/tda18271-fe.c 		freq, map->if_freq, bw, map->agc_mode, map->std);
bw                905 drivers/media/tuners/tda18271-fe.c 		tda18271c1_rf_tracking_filter_calibration(fe, freq, bw);
bw                911 drivers/media/tuners/tda18271-fe.c 	ret = tda18271_channel_configuration(fe, map, freq, bw);
bw                924 drivers/media/tuners/tda18271-fe.c 	u32 bw = c->bandwidth_hz;
bw                936 drivers/media/tuners/tda18271-fe.c 		bw = 6000000;
bw                941 drivers/media/tuners/tda18271-fe.c 		if (bw <= 6000000) {
bw                943 drivers/media/tuners/tda18271-fe.c 		} else if (bw <= 7000000) {
bw                950 drivers/media/tuners/tda18271-fe.c 		bw = 6000000;
bw                954 drivers/media/tuners/tda18271-fe.c 		if (bw <= 6000000) {
bw                956 drivers/media/tuners/tda18271-fe.c 		} else if (bw <= 7000000) {
bw                971 drivers/media/tuners/tda18271-fe.c 	ret = tda18271_tune(fe, map, freq, bw);
bw                978 drivers/media/tuners/tda18271-fe.c 	priv->bandwidth = bw;
bw                846 drivers/media/tuners/tuner-simple.c 				const u32 bw)
bw                878 drivers/media/tuners/tuner-simple.c 	simple_set_dvb(fe, buf, delsys, freq, bw);
bw                892 drivers/media/tuners/tuner-simple.c 	u32 bw = c->bandwidth_hz;
bw                899 drivers/media/tuners/tuner-simple.c 	frequency = simple_dvb_configure(fe, buf+1, delsys, c->frequency, bw);
bw                915 drivers/media/tuners/tuner-simple.c 	u32 bw = c->bandwidth_hz;
bw                929 drivers/media/tuners/tuner-simple.c 	frequency = simple_dvb_configure(fe, buf+1, delsys, freq, bw);
bw                936 drivers/media/tuners/tuner-simple.c 	priv->bandwidth = bw;
bw               1192 drivers/media/tuners/tuner-xc2028.c 	u32 bw = c->bandwidth_hz;
bw               1212 drivers/media/tuners/tuner-xc2028.c 		if (bw <= 6000000)
bw               1240 drivers/media/tuners/tuner-xc2028.c 	if (bw <= 6000000) {
bw               1244 drivers/media/tuners/tuner-xc2028.c 	} else if (bw <= 7000000) {
bw               1142 drivers/media/tuners/xc4000.c 	u32 bw = c->bandwidth_hz;
bw               1169 drivers/media/tuners/xc4000.c 		if (bw == 0) {
bw               1177 drivers/media/tuners/xc4000.c 		} else if (bw <= 6000000) {
bw               1181 drivers/media/tuners/xc4000.c 		} else if (bw <= 7000000) {
bw               1542 drivers/media/tuners/xc4000.c static int xc4000_get_bandwidth(struct dvb_frontend *fe, u32 *bw)
bw               1547 drivers/media/tuners/xc4000.c 	*bw = priv->bandwidth;
bw                687 drivers/media/tuners/xc5000.c 	u32 bw = fe->dtv_property_cache.bandwidth_hz;
bw                721 drivers/media/tuners/xc5000.c 	priv->bandwidth = bw;
bw                730 drivers/media/tuners/xc5000.c 	u32 bw = fe->dtv_property_cache.bandwidth_hz;
bw                756 drivers/media/tuners/xc5000.c 		if (!bw)
bw                757 drivers/media/tuners/xc5000.c 			bw = 6000000;
bw                764 drivers/media/tuners/xc5000.c 		switch (bw) {
bw                787 drivers/media/tuners/xc5000.c 		if (bw <= 6000000) {
bw                791 drivers/media/tuners/xc5000.c 		} else if (bw <= 7000000) {
bw                801 drivers/media/tuners/xc5000.c 			b, bw);
bw               1076 drivers/media/tuners/xc5000.c static int xc5000_get_bandwidth(struct dvb_frontend *fe, u32 *bw)
bw               1081 drivers/media/tuners/xc5000.c 	*bw = priv->bandwidth;
bw                 79 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 								  u8 bw)
bw                 84 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 	switch (bw) {
bw                186 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c static int mxl1x1sf_tune_rf(struct dvb_frontend *fe, u32 freq, u8 bw)
bw                193 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 	mxl_dbg("(freq = %d, bw = 0x%x)", freq, bw);
bw                206 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 	reg_ctrl_array = mxl111sf_calc_phy_tune_regs(freq, bw);
bw                268 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 	u8 bw;
bw                275 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 		bw = 0; /* ATSC */
bw                278 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 		bw = 1; /* US CABLE */
bw                283 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 			bw = 6;
bw                286 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 			bw = 7;
bw                289 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 			bw = 8;
bw                300 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 	ret = mxl1x1sf_tune_rf(fe, c->frequency, bw);
bw                530 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_fe_program_cfoe(struct dvb_usb_device *d, u32 bw)
bw                541 drivers/media/usb/dvb-usb/af9005-fe.c 	switch (bw) {
bw                569 drivers/media/usb/dvb-usb/af9005-fe.c 		err("Invalid bandwidth %d.", bw);
bw                764 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_fe_select_bw(struct dvb_usb_device *d, u32 bw)
bw                767 drivers/media/usb/dvb-usb/af9005-fe.c 	switch (bw) {
bw                778 drivers/media/usb/dvb-usb/af9005-fe.c 		err("Invalid bandwidth %d.", bw);
bw               1101 drivers/media/usb/dvb-usb/cxusb.c 	.bw  = &dib7070_bw_config_12_mhz,
bw                246 drivers/media/usb/dvb-usb/dib0700_devices.c 		.bw  = &stk7700d_mt2266_pll_config,
bw                258 drivers/media/usb/dvb-usb/dib0700_devices.c 		.bw  = &stk7700d_mt2266_pll_config,
bw                412 drivers/media/usb/dvb-usb/dib0700_devices.c 	.bw  = &xc3028_bw_config,
bw                682 drivers/media/usb/dvb-usb/dib0700_devices.c 	.bw  = &stk7700p_pll_config,
bw                694 drivers/media/usb/dvb-usb/dib0700_devices.c 	.bw  = &stk7700p_pll_config,
bw                972 drivers/media/usb/dvb-usb/dib0700_devices.c 	.bw  = &dib7070_bw_config_12_mhz,
bw               1029 drivers/media/usb/dvb-usb/dib0700_devices.c 	.bw  = &dib7070_bw_config_12_mhz,
bw               2803 drivers/media/usb/dvb-usb/dib0700_devices.c 	.bw							= &dib7090_clock_config_12_mhz,
bw               2849 drivers/media/usb/dvb-usb/dib0700_devices.c 		.bw							= &dib7090_clock_config_12_mhz,
bw               2876 drivers/media/usb/dvb-usb/dib0700_devices.c 		.bw							= &dib7090_clock_config_12_mhz,
bw               2936 drivers/media/usb/dvb-usb/dib0700_devices.c 	.bw							= &dib7090_clock_config_12_mhz,
bw               3265 drivers/media/usb/dvb-usb/dib0700_devices.c 		.bw  = &dib7070_bw_config_12_mhz,
bw               3279 drivers/media/usb/dvb-usb/dib0700_devices.c 		.bw  = &dib7070_bw_config_12_mhz,
bw               3583 drivers/media/usb/dvb-usb/dib0700_devices.c 	.bw  = &stk7700p_xc4000_pll_config,
bw                 99 drivers/memory/pl353-smc.c int pl353_smc_set_buswidth(unsigned int bw)
bw                101 drivers/memory/pl353-smc.c 	if (bw != PL353_SMC_MEM_WIDTH_8  && bw != PL353_SMC_MEM_WIDTH_16)
bw                104 drivers/memory/pl353-smc.c 	writel(bw, pl353_smc_base + PL353_SMC_SET_OPMODE_OFFS);
bw                 72 drivers/memory/samsung/exynos-srom.c 	u32 cs, bw;
bw                 90 drivers/memory/samsung/exynos-srom.c 	bw = readl_relaxed(srom->reg_base + EXYNOS_SROM_BW);
bw                 91 drivers/memory/samsung/exynos-srom.c 	bw = (bw & ~(EXYNOS_SROM_BW__CS_MASK << bank)) | (cs << bank);
bw                 92 drivers/memory/samsung/exynos-srom.c 	writel_relaxed(bw, srom->reg_base + EXYNOS_SROM_BW);
bw                592 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c 			ets_params.cos[i].params.bw_params.bw =
bw                829 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 				     const u8 bw,
bw                835 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 	const u32 cos_bw_nig = ((bw ? bw : 1) * min_w_val_nig) / total_bw;
bw                836 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 	const u32 cos_bw_pbf = ((bw ? bw : 1) * min_w_val_pbf) / total_bw;
bw                906 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 			if (!ets_params->cos[cos_idx].params.bw_params.bw) {
bw                912 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 				ets_params->cos[cos_idx].params.bw_params.bw
bw                916 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 				ets_params->cos[cos_idx].params.bw_params.bw;
bw               1185 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 				ets_params->cos[cos_entry].params.bw_params.bw,
bw                487 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h 	u8 bw;
bw                 21 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c static s32 ixgbe_ieee_credits(__u8 *bw, __u16 *refill,
bw                 32 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 		if (bw[i] < min_percent && bw[i])
bw                 33 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 			min_percent = bw[i];
bw                 40 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 		int val = min(bw[i] * multiplier, MAX_CREDIT_REFILL);
bw                 46 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 		max[i] = bw[i] ? (bw[i] * MAX_CREDIT)/100 : min_credit;
bw               1335 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h #define IS_VALID_BW(bw)		(bw <= MAX_BW)
bw               1421 drivers/net/ethernet/ti/cpsw.c static int cpsw_set_fifo_bw(struct cpsw_priv *priv, int fifo, int bw)
bw               1428 drivers/net/ethernet/ti/cpsw.c 	if (bw > priv->shp_cfg_speed * 1000)
bw               1437 drivers/net/ethernet/ti/cpsw.c 		if (!bw) {
bw               1453 drivers/net/ethernet/ti/cpsw.c 			val = DIV_ROUND_UP(bw, priv->shp_cfg_speed * 10);
bw               1470 drivers/net/ethernet/ti/cpsw.c 	priv->fifo_bw[fifo] = bw;
bw               1481 drivers/net/ethernet/ti/cpsw.c static int cpsw_set_fifo_rlimit(struct cpsw_priv *priv, int fifo, int bw)
bw               1488 drivers/net/ethernet/ti/cpsw.c 	ret = cpsw_set_fifo_bw(priv, fifo, bw);
bw               1496 drivers/net/ethernet/ti/cpsw.c 	if (!bw)
bw               1497 drivers/net/ethernet/ti/cpsw.c 		cpsw_fifo_shp_on(priv, fifo, bw);
bw               1508 drivers/net/ethernet/ti/cpsw.c 		if (bw)
bw               1515 drivers/net/ethernet/ti/cpsw.c 	if (bw)
bw               1522 drivers/net/ethernet/ti/cpsw.c 	cpsw_fifo_shp_on(priv, fifo, bw);
bw               1539 drivers/net/ethernet/ti/cpsw.c 	u32 bw = 0;
bw               1578 drivers/net/ethernet/ti/cpsw.c 	bw = qopt->enable ? qopt->idleslope : 0;
bw               1579 drivers/net/ethernet/ti/cpsw.c 	ret = cpsw_set_fifo_rlimit(priv, fifo, bw);
bw               1585 drivers/net/ethernet/ti/cpsw.c 	if (bw && prev_speed)
bw               1595 drivers/net/ethernet/ti/cpsw.c 	int fifo, bw;
bw               1598 drivers/net/ethernet/ti/cpsw.c 		bw = priv->fifo_bw[fifo];
bw               1599 drivers/net/ethernet/ti/cpsw.c 		if (!bw)
bw               1602 drivers/net/ethernet/ti/cpsw.c 		cpsw_set_fifo_rlimit(priv, fifo, bw);
bw                791 drivers/net/wan/hdlc_fr.c 		u32 bw;
bw                812 drivers/net/wan/hdlc_fr.c 			bw = (skb->data[i + 3] << 16) |
bw                818 drivers/net/wan/hdlc_fr.c 			bw = 0;
bw                833 drivers/net/wan/hdlc_fr.c 			    bw != pvc->state.bandwidth ||
bw                837 drivers/net/wan/hdlc_fr.c 				pvc->state.bandwidth = bw;
bw                476 drivers/net/wireless/ath/ath10k/core.h 	u64 bw[ATH10K_COUNTER_TYPE_MAX][ATH10K_BW_NUM];
bw                494 drivers/net/wireless/ath/ath10k/core.h 	u32 bw;
bw                698 drivers/net/wireless/ath/ath10k/debugfs_sta.c 					 stats->bw[j][0], stats->bw[j][1],
bw                699 drivers/net/wireless/ath/ath10k/debugfs_sta.c 					 stats->bw[j][2], stats->bw[j][3],
bw                700 drivers/net/wireless/ath/ath10k/debugfs_sta.c 					 stats->bw[j][4], stats->bw[j][5]);
bw               1357 drivers/net/wireless/ath/ath10k/htt.h 	__le32 bw[3];
bw                913 drivers/net/wireless/ath/ath10k/htt_rx.c static inline u8 ath10k_bw_to_mac80211_bw(u8 bw)
bw                917 drivers/net/wireless/ath/ath10k/htt_rx.c 	switch (bw) {
bw                940 drivers/net/wireless/ath/ath10k/htt_rx.c 	u8 cck, rate, bw, sgi, mcs, nss;
bw                971 drivers/net/wireless/ath/ath10k/htt_rx.c 		bw = (info2 >> 7) & 1;
bw                978 drivers/net/wireless/ath/ath10k/htt_rx.c 		if (bw)
bw                979 drivers/net/wireless/ath/ath10k/htt_rx.c 			status->bw = RATE_INFO_BW_40;
bw                986 drivers/net/wireless/ath/ath10k/htt_rx.c 		bw = info2 & 3;
bw               1037 drivers/net/wireless/ath/ath10k/htt_rx.c 		status->bw = ath10k_bw_to_mac80211_bw(bw);
bw               1216 drivers/net/wireless/ath/ath10k/htt_rx.c 		status->bw = RATE_INFO_BW_20;
bw               1300 drivers/net/wireless/ath/ath10k/htt_rx.c 		   (status->bw == RATE_INFO_BW_40) ? "40" : "",
bw               1301 drivers/net/wireless/ath/ath10k/htt_rx.c 		   (status->bw == RATE_INFO_BW_80) ? "80" : "",
bw               1302 drivers/net/wireless/ath/ath10k/htt_rx.c 		   (status->bw == RATE_INFO_BW_160) ? "160" : "",
bw               3336 drivers/net/wireless/ath/ath10k/htt_rx.c 	int idx, ht_idx, gi, mcs, bw, nss;
bw               3346 drivers/net/wireless/ath/ath10k/htt_rx.c 	bw = txrate->bw;
bw               3350 drivers/net/wireless/ath/ath10k/htt_rx.c 	idx += bw * 2 + gi;
bw               3393 drivers/net/wireless/ath/ath10k/htt_rx.c 		STATS_OP_FMT(AMPDU).bw[0][bw] +=
bw               3401 drivers/net/wireless/ath/ath10k/htt_rx.c 		STATS_OP_FMT(AMPDU).bw[1][bw] +=
bw               3414 drivers/net/wireless/ath/ath10k/htt_rx.c 	STATS_OP_FMT(SUCC).bw[0][bw] += pstats->succ_bytes;
bw               3418 drivers/net/wireless/ath/ath10k/htt_rx.c 	STATS_OP_FMT(SUCC).bw[1][bw] += pstats->succ_pkts;
bw               3422 drivers/net/wireless/ath/ath10k/htt_rx.c 	STATS_OP_FMT(FAIL).bw[0][bw] += pstats->failed_bytes;
bw               3426 drivers/net/wireless/ath/ath10k/htt_rx.c 	STATS_OP_FMT(FAIL).bw[1][bw] += pstats->failed_pkts;
bw               3430 drivers/net/wireless/ath/ath10k/htt_rx.c 	STATS_OP_FMT(RETRY).bw[0][bw] += pstats->retry_bytes;
bw               3434 drivers/net/wireless/ath/ath10k/htt_rx.c 	STATS_OP_FMT(RETRY).bw[1][bw] += pstats->retry_pkts;
bw               3465 drivers/net/wireless/ath/ath10k/htt_rx.c 	txrate.bw = ATH10K_HW_BW(peer_stats->flags);
bw               3542 drivers/net/wireless/ath/ath10k/htt_rx.c 	arsta->txrate.bw = ath10k_bw_to_mac80211_bw(txrate.bw);
bw               3547 drivers/net/wireless/ath/ath10k/htt_rx.c 	switch (arsta->txrate.bw) {
bw               6295 drivers/net/wireless/ath/ath10k/mac.c 	u32 changed, bw, nss, smps;
bw               6315 drivers/net/wireless/ath/ath10k/mac.c 	bw = arsta->bw;
bw               6332 drivers/net/wireless/ath/ath10k/mac.c 			   sta->addr, bw, mode);
bw               6343 drivers/net/wireless/ath/ath10k/mac.c 						WMI_PEER_CHAN_WIDTH, bw);
bw               6346 drivers/net/wireless/ath/ath10k/mac.c 				    sta->addr, bw, err);
bw               7589 drivers/net/wireless/ath/ath10k/mac.c 	u32 bw, smps;
bw               7607 drivers/net/wireless/ath/ath10k/mac.c 		bw = WMI_PEER_CHWIDTH_20MHZ;
bw               7611 drivers/net/wireless/ath/ath10k/mac.c 			bw = WMI_PEER_CHWIDTH_20MHZ;
bw               7614 drivers/net/wireless/ath/ath10k/mac.c 			bw = WMI_PEER_CHWIDTH_40MHZ;
bw               7617 drivers/net/wireless/ath/ath10k/mac.c 			bw = WMI_PEER_CHWIDTH_80MHZ;
bw               7620 drivers/net/wireless/ath/ath10k/mac.c 			bw = WMI_PEER_CHWIDTH_160MHZ;
bw               7625 drivers/net/wireless/ath/ath10k/mac.c 			bw = WMI_PEER_CHWIDTH_20MHZ;
bw               7629 drivers/net/wireless/ath/ath10k/mac.c 		arsta->bw = bw;
bw               8177 drivers/net/wireless/ath/ath10k/mac.c 		sinfo->txrate.bw = arsta->txrate.bw;
bw               1416 drivers/net/wireless/ath/ath5k/base.c 		rxs->bw = RATE_INFO_BW_5;
bw               1419 drivers/net/wireless/ath/ath5k/base.c 		rxs->bw = RATE_INFO_BW_10;
bw               1842 drivers/net/wireless/ath/ath6kl/cfg80211.c 		sinfo->txrate.bw = RATE_INFO_BW_20;
bw               1851 drivers/net/wireless/ath/ath6kl/cfg80211.c 		sinfo->txrate.bw = RATE_INFO_BW_40;
bw                498 drivers/net/wireless/ath/ath9k/ar9003_mac.c 	rxs->bw = RATE_INFO_BW_20;
bw                525 drivers/net/wireless/ath/ath9k/ar9003_mac.c 	rxs->bw = (rxsp->status4 & AR_2040) ? RATE_INFO_BW_40 : RATE_INFO_BW_20;
bw                184 drivers/net/wireless/ath/ath9k/common.c 		rxs->bw = RATE_INFO_BW_5;
bw                186 drivers/net/wireless/ath/ath9k/common.c 		rxs->bw = RATE_INFO_BW_10;
bw                192 drivers/net/wireless/ath/ath9k/common.c 		rxs->bw = rx_stats->bw;
bw                119 drivers/net/wireless/ath/ath9k/debug_sta.c 		if (rxs->bw == RATE_INFO_BW_40)
bw                933 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	rx_stats->bw = RATE_INFO_BW_20;
bw                935 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 		rx_stats->bw = RATE_INFO_BW_40;
bw                539 drivers/net/wireless/ath/ath9k/mac.c 	rs->bw = RATE_INFO_BW_20;
bw                583 drivers/net/wireless/ath/ath9k/mac.c 	rs->bw = (ads.ds_rxstatus3 & AR_2040) ? RATE_INFO_BW_40 :
bw                148 drivers/net/wireless/ath/ath9k/mac.h 	enum rate_info_bw bw;
bw               1038 drivers/net/wireless/ath/ath9k/recv.c 	is_40 = !!(rxs->bw == RATE_INFO_BW_40);
bw                600 drivers/net/wireless/ath/carl9170/carl9170.h 			 enum nl80211_channel_type bw);
bw                967 drivers/net/wireless/ath/carl9170/phy.c 				      u32 freq, enum carl9170_bw bw)
bw                975 drivers/net/wireless/ath/carl9170/phy.c 	switch (bw) {
bw               1036 drivers/net/wireless/ath/carl9170/phy.c 			   enum carl9170_bw bw)
bw               1052 drivers/net/wireless/ath/carl9170/phy.c 	return &carl9170_phy_freq_params[chanidx].params[bw];
bw               1260 drivers/net/wireless/ath/carl9170/phy.c 	enum carl9170_bw bw, struct ar9170_calctl_edges edges[])
bw               1271 drivers/net/wireless/ath/carl9170/phy.c 	if (bw == CARL9170_BW_40_BELOW || bw == CARL9170_BW_40_ABOVE)
bw               1291 drivers/net/wireless/ath/carl9170/phy.c static void carl9170_calc_ctl(struct ar9170 *ar, u32 freq, enum carl9170_bw bw)
bw               1366 drivers/net/wireless/ath/carl9170/phy.c 						freq, bw, EDGES(ctl_idx, 1));
bw               1372 drivers/net/wireless/ath/carl9170/phy.c 				if (bw == CARL9170_BW_40_BELOW)
bw               1429 drivers/net/wireless/ath/carl9170/phy.c 				   enum carl9170_bw bw)
bw               1524 drivers/net/wireless/ath/carl9170/phy.c 	carl9170_calc_ctl(ar, freq, bw);
bw               1578 drivers/net/wireless/ath/carl9170/phy.c 	enum carl9170_bw bw;
bw               1581 drivers/net/wireless/ath/carl9170/phy.c 	bw = nl80211_to_carl(_bw);
bw               1625 drivers/net/wireless/ath/carl9170/phy.c 					 channel->center_freq, bw);
bw               1632 drivers/net/wireless/ath/carl9170/phy.c 	switch (bw) {
bw               1662 drivers/net/wireless/ath/carl9170/phy.c 	carl9170_set_power_cal(ar, channel->center_freq, bw);
bw               1668 drivers/net/wireless/ath/carl9170/phy.c 	freqpar = carl9170_get_hw_dyn_params(channel, bw);
bw                426 drivers/net/wireless/ath/carl9170/rx.c 			status->bw = RATE_INFO_BW_40;
bw               1534 drivers/net/wireless/broadcom/b43/phy_n.c 	u16 bw, len, rot, angle;
bw               1537 drivers/net/wireless/broadcom/b43/phy_n.c 	bw = b43_is_40mhz(dev) ? 40 : 20;
bw               1538 drivers/net/wireless/broadcom/b43/phy_n.c 	len = bw << 3;
bw               1542 drivers/net/wireless/broadcom/b43/phy_n.c 			bw = 82;
bw               1544 drivers/net/wireless/broadcom/b43/phy_n.c 			bw = 80;
bw               1547 drivers/net/wireless/broadcom/b43/phy_n.c 			bw <<= 1;
bw               1549 drivers/net/wireless/broadcom/b43/phy_n.c 		len = bw << 1;
bw               1557 drivers/net/wireless/broadcom/b43/phy_n.c 	rot = (((freq * 36) / bw) << 16) / 100;
bw                172 drivers/net/wireless/broadcom/b43/xmit.c 	u16 bw;
bw                175 drivers/net/wireless/broadcom/b43/xmit.c 		bw = B43_TXH_PHY1_BW_20;
bw                177 drivers/net/wireless/broadcom/b43/xmit.c 		bw = B43_TXH_PHY1_BW_20;
bw                181 drivers/net/wireless/broadcom/b43/xmit.c 		control = bw;
bw                183 drivers/net/wireless/broadcom/b43/xmit.c 		control = bw;
bw                258 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		ch_inf.bw = BRCMU_CHAN_BW_20;
bw                262 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		ch_inf.bw = BRCMU_CHAN_BW_40;
bw                269 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		ch_inf.bw = BRCMU_CHAN_BW_80;
bw                280 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		ch_inf.bw = BRCMU_CHAN_BW_160;
bw                327 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	ch_inf.bw = BRCMU_CHAN_BW_20;
bw               5025 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	switch (ch.bw) {
bw               6072 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		    ch.bw == BRCMU_CHAN_BW_40)
bw               6075 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		    ch.bw == BRCMU_CHAN_BW_80)
bw               6100 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		switch (ch.bw) {
bw               6112 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 				   ch.bw);
bw               6122 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 			ch.bw = BRCMU_CHAN_BW_20;
bw               6182 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		ch.bw = BRCMU_CHAN_BW_40;
bw               6206 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 			if (WARN_ON(ch.bw != BRCMU_CHAN_BW_40))
bw                932 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c 	ch.bw = BRCMU_CHAN_BW_20;
bw               1063 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c 	ch.bw = BRCMU_CHAN_BW_20;
bw               1954 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c 	ch.bw = BRCMU_CHAN_BW_20;
bw               1583 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c void brcms_b_bw_set(struct brcms_hardware *wlc_hw, u16 bw)
bw               1592 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	wlc_phy_bw_state_set(wlc_hw->band->pi, bw);
bw               6152 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	u16 bw;
bw               6155 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		bw = PHY_TXC1_BW_20MHZ;
bw               6157 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		bw = rspec_get_bw(rspec);
bw               6159 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		if (bw < PHY_TXC1_BW_20MHZ) {
bw               6161 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				  "not supported yet, set to 20L\n", bw);
bw               6162 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			bw = PHY_TXC1_BW_20MHZ;
bw               6181 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		phyctl1 = (bw | (rspec_stf(rspec) << PHY_TXC1_MODE_SHIFT));
bw               6193 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		    (bw | (phycfg << 8) |
bw               7085 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			rx_status->bw = RATE_INFO_BW_40;
bw                648 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h void brcms_b_bw_set(struct brcms_hardware *wlc_hw, u16 bw);
bw                502 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 	pi->bw = WL_CHANSPEC_BW_20;
bw                670 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 		switch (pi->bw) {
bw                765 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 	if (CHSPEC_BW(pi->radio_chanspec) != pi->bw)
bw               1143 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 	return pi->bw;
bw               1146 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c void wlc_phy_bw_state_set(struct brcms_phy_pub *ppi, u16 bw)
bw               1150 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 	pi->bw = bw;
bw               1267 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 		if (ISNPHY(pi) && pi->bw == WL_CHANSPEC_BW_40) {
bw                195 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_hal.h void wlc_phy_bw_state_set(struct brcms_phy_pub *ppi, u16 bw);
bw                551 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h 	u16 bw;
bw               3397 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c 	u32 bw;
bw               3420 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c 			bw = phy_bw * 1000 * k;
bw               3421 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c 			num_samps = bw / abs(f_kHz);
bw               3423 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c 		} while ((num_samps * (u32) (abs(f_kHz))) != bw);
bw               14721 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 	if (pi->bw == WL_CHANSPEC_BW_40) {
bw               14744 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 	if (pi->bw == WL_CHANSPEC_BW_40) {
bw               20719 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 				bias = (pi->bw == WL_CHANSPEC_BW_40) ?
bw               21182 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 	if (CHSPEC_BW(chanspec) != pi->bw)
bw               24744 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 				m[core] = (pi->bw == WL_CHANSPEC_BW_40) ?
bw               24747 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 				m[core] = (pi->bw == WL_CHANSPEC_BW_40) ?
bw               24750 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 75 : 107;
bw               24891 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 45 : 64;
bw               24893 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 75 : 107;
bw               27454 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 					(pi->bw == WL_CHANSPEC_BW_40) ? 24 : 12;
bw               27455 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 				txlpf_idac = (pi->bw == WL_CHANSPEC_BW_40) ?
bw               28255 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 		    pi->bw == WL_CHANSPEC_BW_40)
bw               28314 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 		    pi->bw == WL_CHANSPEC_BW_40)
bw                146 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy_shim.c void wlapi_bmac_bw_set(struct phy_shim_info *physhim, u16 bw)
bw                148 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy_shim.c 	brcms_b_bw_set(physhim->wlc_hw, bw);
bw                153 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy_shim.h void wlapi_bmac_bw_set(struct phy_shim_info *physhim, u16 bw);
bw                444 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 			uint rate_mask, bool mcsallow, u8 bw, u8 txstreams)
bw                453 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 			rs_dflt = (bw == BRCMS_20_MHZ ?
bw                456 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 			rs_dflt = (bw == BRCMS_20_MHZ ?
bw                508 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c void brcms_c_rateset_bw_mcs_filter(struct brcms_c_rateset *rateset, u8 bw)
bw                510 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 	if (bw == BRCMS_40_MHZ)
bw                137 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h 	u32 bw = rspec_get_bw(rspec);
bw                139 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h 	return bw == PHY_TXC1_BW_40MHZ || bw == PHY_TXC1_BW_40MHZ_DUP;
bw                236 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h 			     bool mcsallow, u8 bw, u8 txstreams);
bw                243 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h void brcms_c_rateset_bw_mcs_filter(struct brcms_c_rateset *rateset, u8 bw);
bw                 28 drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c static u16 d11n_bw(enum brcmu_chan_bw bw)
bw                 30 drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c 	switch (bw) {
bw                 43 drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c 	if (ch->bw == BRCMU_CHAN_BW_20)
bw                 52 drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c 			0, d11n_bw(ch->bw));
bw                 60 drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c static u16 d11ac_bw(enum brcmu_chan_bw bw)
bw                 62 drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c 	switch (bw) {
bw                 79 drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c 	if (ch->bw == BRCMU_CHAN_BW_20 || ch->sb == BRCMU_CHAN_SB_NONE)
bw                 87 drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c 			0, d11ac_bw(ch->bw));
bw                105 drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c 		ch->bw = BRCMU_CHAN_BW_20;
bw                109 drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c 		ch->bw = BRCMU_CHAN_BW_40;
bw                146 drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c 		ch->bw = BRCMU_CHAN_BW_20;
bw                150 drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c 		ch->bw = BRCMU_CHAN_BW_40;
bw                163 drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c 		ch->bw = BRCMU_CHAN_BW_80;
bw                185 drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c 		ch->bw = BRCMU_CHAN_BW_160;
bw                135 drivers/net/wireless/broadcom/brcm80211/include/brcmu_d11.h 	enum brcmu_chan_bw bw;
bw                721 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		rx_status.bw = RATE_INFO_BW_40;
bw                723 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		rx_status.bw = RATE_INFO_BW_20;
bw                879 drivers/net/wireless/intel/iwlwifi/dvm/rx.c 		rx_status.bw = RATE_INFO_BW_40;
bw                881 drivers/net/wireless/intel/iwlwifi/dvm/rx.c 		rx_status.bw = RATE_INFO_BW_20;
bw                935 drivers/net/wireless/intel/iwlwifi/fw/api/location.h 	u8 bw;
bw               2104 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			u8 bw;
bw               2106 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			for (bw = 0; bw < MAX_HE_CHANNEL_BW_INDX; bw++) {
bw               2111 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				sta_ctxt_cmd.pkt_ext.pkt_ext_qam_th[i][bw][1] =
bw               2116 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				sta_ctxt_cmd.pkt_ext.pkt_ext_qam_th[i][bw][0] =
bw               2154 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				u8 bw;
bw               2156 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				for (bw = 0; bw < MAX_HE_CHANNEL_BW_INDX;
bw               2157 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				     bw++) {
bw               2158 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 					pkt_ext->pkt_ext_qam_th[i][bw][0] =
bw               2160 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 					pkt_ext->pkt_ext_qam_th[i][bw][1] =
bw                572 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		       prefix, rs_pretty_rate(rate), rate->bw,
bw                870 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	ucode_rate |= rate->bw;
bw                920 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	rate->bw = ucode_rate & RATE_MCS_CHAN_WIDTH_MSK;
bw                968 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	WARN_ON_ONCE(rate->bw == RATE_MCS_CHAN_WIDTH_80 &&
bw               1116 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		rate->bw = RATE_MCS_CHAN_WIDTH_20;
bw               1150 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	return (a->type == b->type) && (a->bw == b->bw) && (a->sgi == b->sgi)
bw               1280 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 					    u32 bw)
bw               1299 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		switch (bw) {
bw               1316 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		switch (bw) {
bw               1352 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	tbl->expected_tpt = rs_get_expected_tpt_table(lq_sta, column, rate->bw);
bw               1592 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	if ((tbl->rate.bw == RATE_MCS_CHAN_WIDTH_80) &&
bw               1595 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		tbl->rate.bw = RATE_MCS_CHAN_WIDTH_20;
bw               1606 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	if ((tbl->rate.bw == RATE_MCS_CHAN_WIDTH_20) &&
bw               1611 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		tbl->rate.bw = RATE_MCS_CHAN_WIDTH_80;
bw               1734 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		rate->bw = RATE_MCS_CHAN_WIDTH_20;
bw               1748 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		rate->bw = rs_bw_from_sta_bw(sta);
bw               2460 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	rate->bw = rs_bw_from_sta_bw(sta);
bw               2484 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		if (rate->bw == RATE_MCS_CHAN_WIDTH_20) {
bw               2559 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	rate->bw = RATE_MCS_CHAN_WIDTH_20;
bw               2593 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		u32 bw = mvmsta->sta_state < IEEE80211_STA_AUTHORIZED ?
bw               2596 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		switch (bw) {
bw               2614 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		rate->bw = bw;
bw               3690 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	char *type, *bw;
bw               3726 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		bw = "20Mhz";
bw               3729 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		bw = "40Mhz";
bw               3732 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		bw = "80Mhz";
bw               3735 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		bw = "160Mhz";
bw               3738 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		bw = "BAD BW";
bw               3743 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			 type, rs_pretty_ant(ant), bw, mcs, nss,
bw                168 drivers/net/wireless/intel/iwlwifi/mvm/rs.h 	u32 bw;
bw                209 drivers/net/wireless/intel/iwlwifi/mvm/rs.h #define is_ht20(rate)         ((rate)->bw == RATE_MCS_CHAN_WIDTH_20)
bw                210 drivers/net/wireless/intel/iwlwifi/mvm/rs.h #define is_ht40(rate)         ((rate)->bw == RATE_MCS_CHAN_WIDTH_40)
bw                211 drivers/net/wireless/intel/iwlwifi/mvm/rs.h #define is_ht80(rate)         ((rate)->bw == RATE_MCS_CHAN_WIDTH_80)
bw                212 drivers/net/wireless/intel/iwlwifi/mvm/rs.h #define is_ht160(rate)        ((rate)->bw == RATE_MCS_CHAN_WIDTH_160)
bw                503 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 		rx_status->bw = RATE_INFO_BW_40;
bw                506 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 		rx_status->bw = RATE_INFO_BW_80;
bw                509 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 		rx_status->bw = RATE_INFO_BW_160;
bw               1183 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	rx_status->bw = RATE_INFO_BW_HE_RU;
bw               1223 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c #define CHECK_BW(bw) \
bw               1224 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	BUILD_BUG_ON(IEEE80211_RADIOTAP_HE_MU_FLAGS2_BW_FROM_SIG_A_BW_ ## bw ## MHZ != \
bw               1225 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		     RATE_MCS_CHAN_WIDTH_##bw >> RATE_MCS_CHAN_WIDTH_POS); \
bw               1226 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	BUILD_BUG_ON(IEEE80211_RADIOTAP_HE_DATA6_TB_PPDU_BW_ ## bw ## MHZ != \
bw               1227 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		     RATE_MCS_CHAN_WIDTH_##bw >> RATE_MCS_CHAN_WIDTH_POS)
bw               1441 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		rx_status->bw = RATE_INFO_BW_HE_RU;
bw               1629 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		rx_status->bw = RATE_INFO_BW_40;
bw               1632 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		rx_status->bw = RATE_INFO_BW_80;
bw               1635 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		rx_status->bw = RATE_INFO_BW_160;
bw               1941 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		rx_status->bw = RATE_INFO_BW_40;
bw               1944 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		rx_status->bw = RATE_INFO_BW_80;
bw               1947 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		rx_status->bw = RATE_INFO_BW_160;
bw               1243 drivers/net/wireless/mac80211_hwsim.c 		rx_status.bw = RATE_INFO_BW_40;
bw               1245 drivers/net/wireless/mac80211_hwsim.c 		rx_status.bw = RATE_INFO_BW_80;
bw               1247 drivers/net/wireless/mac80211_hwsim.c 		rx_status.bw = RATE_INFO_BW_160;
bw               1249 drivers/net/wireless/mac80211_hwsim.c 		rx_status.bw = RATE_INFO_BW_20;
bw               1309 drivers/net/wireless/marvell/mwifiex/cfg80211.c 				rate->bw = RATE_INFO_BW_20;
bw               1312 drivers/net/wireless/marvell/mwifiex/cfg80211.c 				rate->bw = RATE_INFO_BW_40;
bw               1315 drivers/net/wireless/marvell/mwifiex/cfg80211.c 				rate->bw = RATE_INFO_BW_80;
bw               1318 drivers/net/wireless/marvell/mwifiex/cfg80211.c 				rate->bw = RATE_INFO_BW_160;
bw               1338 drivers/net/wireless/marvell/mwifiex/cfg80211.c 			rate->bw = RATE_INFO_BW_20;
bw               1340 drivers/net/wireless/marvell/mwifiex/cfg80211.c 				rate->bw = RATE_INFO_BW_40;
bw                201 drivers/net/wireless/marvell/mwifiex/cfp.c 	u8 bw = 0;
bw                208 drivers/net/wireless/marvell/mwifiex/cfp.c 		bw = (ht_info & 0xC) >> 2;
bw                214 drivers/net/wireless/marvell/mwifiex/cfp.c 			rate = ac_mcs_rate_nss2[2 * (3 - bw) + gi][mcs_index];
bw                216 drivers/net/wireless/marvell/mwifiex/cfp.c 			rate = ac_mcs_rate_nss1[2 * (3 - bw) + gi][mcs_index];
bw                219 drivers/net/wireless/marvell/mwifiex/cfp.c 		bw = (ht_info & 0xC) >> 2;
bw                230 drivers/net/wireless/marvell/mwifiex/cfp.c 			if ((bw == 1) || (bw == 0))
bw                231 drivers/net/wireless/marvell/mwifiex/cfp.c 				rate = mcs_rate[2 * (1 - bw) + gi][index];
bw               1028 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 	u32 bw, prev_bw = 0;
bw               1057 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 				bw = MHZ_TO_KHZ(80);
bw               1059 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 				bw = MHZ_TO_KHZ(40);
bw               1061 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 				bw = MHZ_TO_KHZ(20);
bw               1064 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 				bw = MHZ_TO_KHZ(40);
bw               1066 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 				bw = MHZ_TO_KHZ(20);
bw               1069 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 		if (idx == 0 || prev_chflags != chflags || prev_bw != bw ||
bw               1081 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 		prev_bw = bw;
bw               1095 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c 		rule->freq_range.max_bandwidth_khz = bw;
bw               1007 drivers/net/wireless/marvell/mwl8k.c 			status->bw = RATE_INFO_BW_40;
bw               1123 drivers/net/wireless/marvell/mwl8k.c 		status->bw = RATE_INFO_BW_40;
bw               2868 drivers/net/wireless/marvell/mwl8k.c 	__le16 bw;
bw               2901 drivers/net/wireless/marvell/mwl8k.c 		cmd->bw = cpu_to_le16(0x2);
bw               2903 drivers/net/wireless/marvell/mwl8k.c 		cmd->bw = cpu_to_le16(0x4);
bw                499 drivers/net/wireless/mediatek/mt76/mac80211.c 	status->bw = mstat.bw;
bw                526 drivers/net/wireless/mediatek/mt76/mt76.h 	u8 encoding:2, bw:3;
bw                520 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 			status->bw = RATE_INFO_BW_40;
bw                551 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		       const struct ieee80211_tx_rate *rate, bool stbc, u8 *bw)
bw                556 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	*bw = 0;
bw                564 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 			*bw = 1;
bw                599 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	u8 bw, bw_prev, bw_idx = 0;
bw                652 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	val[0] = mt7603_mac_tx_rate_val(dev, &rates[0], stbc, &bw);
bw                653 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	bw_prev = bw;
bw                656 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		probe_val = mt7603_mac_tx_rate_val(dev, probe_rate, stbc, &bw);
bw                657 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		if (bw)
bw                665 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	w9 |= FIELD_PREP(MT_WTBL2_W9_CC_BW_SEL, bw);
bw                666 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	w9 |= FIELD_PREP(MT_WTBL2_W9_BW_CAP, bw);
bw                668 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	val[1] = mt7603_mac_tx_rate_val(dev, &rates[1], stbc, &bw);
bw                671 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		bw_prev = bw;
bw                674 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	val[2] = mt7603_mac_tx_rate_val(dev, &rates[2], stbc, &bw);
bw                677 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		bw_prev = bw;
bw                680 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	val[3] = mt7603_mac_tx_rate_val(dev, &rates[3], stbc, &bw);
bw                798 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	u8 bw;
bw                858 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		u16 rateval = mt7603_mac_tx_rate_val(dev, rate, stbc, &bw);
bw                863 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		      FIELD_PREP(MT_TXD6_BW, bw) |
bw                131 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	u8 bw = MT_BW_20;
bw                145 drivers/net/wireless/mediatek/mt76/mt7603/main.c 		bw = MT_BW_40;
bw                148 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	mt76_rmw_field(dev, MT_AGG_BWCR, MT_AGG_BWCR_BW, bw);
bw                439 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c 		u8 bw;
bw                448 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c 		.bw = MT_BW_20,
bw                456 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c 		req.bw = MT_BW_40;
bw                159 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 			status->bw = RATE_INFO_BW_40;
bw                162 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 			status->bw = RATE_INFO_BW_80;
bw                165 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 			status->bw = RATE_INFO_BW_160;
bw                252 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		       bool stbc, u8 *bw)
bw                257 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	*bw = 0;
bw                264 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 			*bw = 1;
bw                266 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 			*bw = 2;
bw                268 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 			*bw = 3;
bw                276 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 			*bw = 1;
bw                390 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		u8 bw;
bw                391 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		u16 rateval = mt7615_mac_tx_rate_val(dev, rate, stbc, &bw);
bw                396 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		      FIELD_PREP(MT_TXD6_BW, bw) |
bw                472 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	u8 bw, bw_prev, bw_idx = 0;
bw                524 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	val[0] = mt7615_mac_tx_rate_val(dev, &rates[0], stbc, &bw);
bw                525 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	bw_prev = bw;
bw                528 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		probe_val = mt7615_mac_tx_rate_val(dev, probe_rate, stbc, &bw);
bw                529 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		if (bw)
bw                537 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	val[1] = mt7615_mac_tx_rate_val(dev, &rates[1], stbc, &bw);
bw                540 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		bw_prev = bw;
bw                543 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	val[2] = mt7615_mac_tx_rate_val(dev, &rates[2], stbc, &bw);
bw                546 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		bw_prev = bw;
bw                549 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	val[3] = mt7615_mac_tx_rate_val(dev, &rates[3], stbc, &bw);
bw                555 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	w27 |= FIELD_PREP(MT_WTBL_W27_CC_BW_SEL, bw);
bw                562 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	w5 |= FIELD_PREP(MT_WTBL_W5_BW_CAP, bw) |
bw               1276 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 		u8 bw;
bw               1308 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 		req.bw = CMD_CBW_40MHZ;
bw               1311 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 		req.bw = CMD_CBW_80MHZ;
bw               1314 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 		req.bw = CMD_CBW_8080MHZ;
bw               1317 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 		req.bw = CMD_CBW_160MHZ;
bw               1320 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 		req.bw = CMD_CBW_5MHZ;
bw               1323 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 		req.bw = CMD_CBW_10MHZ;
bw               1328 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 		req.bw = CMD_CBW_20MHZ;
bw                192 drivers/net/wireless/mediatek/mt76/mt7615/mcu.h 	u8 bw;
bw                476 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 	int bw;
bw                482 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		bw = BW_20;
bw                485 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		bw = BW_40;
bw                488 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		bw = BW_80;
bw                491 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		bw = BW_10;
bw                500 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 	mt76x02_mcu_function_select(dev, BW_SETTING, bw);
bw                161 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 	u8 phy, rate_idx, nss, bw = 0;
bw                169 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 			bw = 2;
bw                171 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 			bw = 1;
bw                179 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 			bw = 1;
bw                198 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 	rateval |= FIELD_PREP(MT_RXWI_RATE_BW, bw);
bw                653 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 		status->bw = RATE_INFO_BW_40;
bw                656 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 		status->bw = RATE_INFO_BW_80;
bw                 15 drivers/net/wireless/mediatek/mt76/mt76x2/mcu.c int mt76x2_mcu_set_channel(struct mt76x02_dev *dev, u8 channel, u8 bw,
bw                 21 drivers/net/wireless/mediatek/mt76/mt76x2/mcu.c 		u8 bw;
bw                 31 drivers/net/wireless/mediatek/mt76/mt76x2/mcu.c 		.bw = bw,
bw                 56 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h int mt76x2_mcu_set_channel(struct mt76x02_dev *dev, u8 channel, u8 bw,
bw                 73 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h 			       enum nl80211_band band, u8 bw);
bw                148 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 	u8 bw, bw_index;
bw                159 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		bw = 1;
bw                173 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		bw = 2;
bw                178 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		bw = 0;
bw                186 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 	mt76x2_configure_tx_delay(dev, band, bw);
bw                200 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 	ret = mt76x2_mcu_set_channel(dev, channel, bw, bw_index, scan);
bw                185 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c 			       enum nl80211_band band, u8 bw)
bw                190 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c 		cfg0 = bw ? 0x000b0c01 : 0x00101101;
bw                193 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c 		cfg0 = bw ? 0x000b0b01 : 0x00101001;
bw                 87 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 	u8 channel = chan->hw_value, bw, bw_index;
bw                 96 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		bw = 1;
bw                110 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		bw = 2;
bw                115 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		bw = 0;
bw                123 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 	mt76x2_configure_tx_delay(dev, chan->band, bw);
bw                137 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 	ret = mt76x2_mcu_set_channel(dev, channel, bw, bw_index, scan);
bw                110 drivers/net/wireless/mediatek/mt7601u/mac.c 	u8 bw = 0;
bw                119 drivers/net/wireless/mediatek/mt7601u/mac.c 			bw = 1;
bw                133 drivers/net/wireless/mediatek/mt7601u/mac.c 		bw = 0;
bw                138 drivers/net/wireless/mediatek/mt7601u/mac.c 	rateval |= FIELD_PREP(MT_RXWI_RATE_BW, bw);
bw                439 drivers/net/wireless/mediatek/mt7601u/mac.c 		status->bw = RATE_INFO_BW_40;
bw                238 drivers/net/wireless/mediatek/mt7601u/mt7601u.h 	u8 bw;
bw                346 drivers/net/wireless/mediatek/mt7601u/mt7601u.h int mt7601u_bbp_set_bw(struct mt7601u_dev *dev, int bw);
bw                246 drivers/net/wireless/mediatek/mt7601u/phy.c 	int bw = FIELD_GET(MT_RXWI_RATE_BW, rate);
bw                255 drivers/net/wireless/mediatek/mt7601u/phy.c 	val -= lna[aux_lna][bw][lna_id];
bw                278 drivers/net/wireless/mediatek/mt7601u/phy.c 	if (dev->bw != MT_BW_20)
bw                296 drivers/net/wireless/mediatek/mt7601u/phy.c 	t = &bbp_mode_table[dev->temp_mode][dev->bw];
bw                319 drivers/net/wireless/mediatek/mt7601u/phy.c 				       t[dev->bw].regs, t[dev->bw].n);
bw                326 drivers/net/wireless/mediatek/mt7601u/phy.c 	if (hw_chan != 14 || dev->bw != MT_BW_20) {
bw                377 drivers/net/wireless/mediatek/mt7601u/phy.c 	u8 bw;
bw                380 drivers/net/wireless/mediatek/mt7601u/phy.c 	bw = MT_BW_20;
bw                385 drivers/net/wireless/mediatek/mt7601u/phy.c 		bw = MT_BW_40;
bw                395 drivers/net/wireless/mediatek/mt7601u/phy.c 	if (bw != dev->bw || chan_ext_below != dev->chan_ext_below) {
bw                397 drivers/net/wireless/mediatek/mt7601u/phy.c 			bw, chan_ext_below);
bw                399 drivers/net/wireless/mediatek/mt7601u/phy.c 		mt7601u_bbp_set_bw(dev, bw);
bw                423 drivers/net/wireless/mediatek/mt7601u/phy.c 	mt7601u_bbp_set_bw(dev, bw);
bw                837 drivers/net/wireless/mediatek/mt7601u/phy.c 	if (dev->bw == MT_BW_20)
bw               1174 drivers/net/wireless/mediatek/mt7601u/phy.c int mt7601u_bbp_set_bw(struct mt7601u_dev *dev, int bw)
bw               1178 drivers/net/wireless/mediatek/mt7601u/phy.c 	if (bw == dev->bw) {
bw               1180 drivers/net/wireless/mediatek/mt7601u/phy.c 		mt7601u_bbp_rmc(dev, 4, 0x18, bw == MT_BW_20 ? 0 : 0x10);
bw               1184 drivers/net/wireless/mediatek/mt7601u/phy.c 	dev->bw = bw;
bw               1193 drivers/net/wireless/mediatek/mt7601u/phy.c 	mt7601u_bbp_rmc(dev, 4, 0x18, bw == MT_BW_20 ? 0 : 0x10);
bw                466 drivers/net/wireless/quantenna/qtnfmac/commands.c 	switch (rate_src->bw) {
bw                468 drivers/net/wireless/quantenna/qtnfmac/commands.c 		rate_dst->bw = RATE_INFO_BW_5;
bw                471 drivers/net/wireless/quantenna/qtnfmac/commands.c 		rate_dst->bw = RATE_INFO_BW_10;
bw                475 drivers/net/wireless/quantenna/qtnfmac/commands.c 		rate_dst->bw = RATE_INFO_BW_20;
bw                478 drivers/net/wireless/quantenna/qtnfmac/commands.c 		rate_dst->bw = RATE_INFO_BW_40;
bw                481 drivers/net/wireless/quantenna/qtnfmac/commands.c 		rate_dst->bw = RATE_INFO_BW_80;
bw                484 drivers/net/wireless/quantenna/qtnfmac/commands.c 		rate_dst->bw = RATE_INFO_BW_160;
bw                487 drivers/net/wireless/quantenna/qtnfmac/commands.c 		rate_dst->bw = 0;
bw               1439 drivers/net/wireless/quantenna/qtnfmac/qlink.h 	u8 bw;
bw                894 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		rxdesc->bw = RATE_INFO_BW_40;
bw                856 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 	rx_status->bw = rxdesc.bw;
bw                178 drivers/net/wireless/ralink/rt2x00/rt2x00queue.h 	enum rate_info_bw bw;
bw                146 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h 	u32 bw:1;
bw                212 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h 	u32 bw:1;
bw                302 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h 	u32 bw:2;
bw                357 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h 	u32 bw:2;
bw               4333 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	u8 bw = 0;
bw               4348 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	h2c.b_macid_cfg.data2 = bw;
bw               5266 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		if (rx_desc->bw)
bw               5267 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 			rx_status->bw = RATE_INFO_BW_40;
bw               5336 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	if (rx_desc->bw)
bw               5337 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		rx_status->bw = RATE_INFO_BW_40;
bw                426 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c 		rx_status->bw = RATE_INFO_BW_40;
bw                336 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c 		rx_status->bw = RATE_INFO_BW_40;
bw                315 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 		rx_status->bw = RATE_INFO_BW_40;
bw                384 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 		rx_status->bw = RATE_INFO_BW_40;
bw                470 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c 		rx_status->bw = RATE_INFO_BW_40;
bw               1232 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 				     u8 bw, u8 channel)
bw               1257 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 	if (bw == HT_CHANNEL_WIDTH_20) {
bw               1262 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 	} else if (bw == HT_CHANNEL_WIDTH_20_40) {/* BW40-1S, BW40-2S */
bw               1530 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 						enum radio_path rfpath, u8 bw,
bw               1538 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 							 bw, channel);
bw                379 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c 		rx_status->bw = RATE_INFO_BW_40;
bw                270 drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c 		rx_status->bw = RATE_INFO_BW_40;
bw                299 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c 		rx_status->bw = RATE_INFO_BW_40;
bw                356 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c 		rx_status->bw = RATE_INFO_BW_40;
bw               1138 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 	u8 regulation, bw, channel, rate_section;
bw               1142 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 		for (bw = 0; bw < MAX_5G_BANDWIDTH_NUM; ++bw) {
bw               1146 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 						[bw][rate_section][channel][RF90_PATH_A];
bw               1148 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 						if (bw == 0 || bw == 1) { /*5G 20M 40M VHT and HT can cross reference*/
bw               1151 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 								1, bw, rate_section, channel, RF90_PATH_A);
bw               1153 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 								rtlphy->txpwr_limit_5g[regulation][bw][2][channel][RF90_PATH_A] =
bw               1154 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 									rtlphy->txpwr_limit_5g[regulation][bw][4][channel][RF90_PATH_A];
bw               1156 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 								rtlphy->txpwr_limit_5g[regulation][bw][4][channel][RF90_PATH_A] =
bw               1157 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 									rtlphy->txpwr_limit_5g[regulation][bw][2][channel][RF90_PATH_A];
bw               1159 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 								rtlphy->txpwr_limit_5g[regulation][bw][3][channel][RF90_PATH_A] =
bw               1160 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 									rtlphy->txpwr_limit_5g[regulation][bw][5][channel][RF90_PATH_A];
bw               1162 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 								rtlphy->txpwr_limit_5g[regulation][bw][5][channel][RF90_PATH_A] =
bw               1163 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 									rtlphy->txpwr_limit_5g[regulation][bw][3][channel][RF90_PATH_A];
bw               1305 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 	u8 regulation, bw, channel, rate_section;
bw               1317 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 		for (bw = 0; bw < MAX_2_4G_BANDWIDTH_NUM; ++bw) {
bw               1341 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 						[bw][rate_section][channel][RF90_PATH_A];
bw               1356 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 								[bw][rate_section][channel][rf_path] =
bw               1362 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 							regulation, bw, rate_section, channel,
bw               1363 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 							rtlphy->txpwr_limit_2_4g[regulation][bw]
bw               1373 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 		for (bw = 0; bw < MAX_5G_BANDWIDTH_NUM; ++bw) {
bw               1402 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 						[bw][rate_section][channel]
bw               1421 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 								[bw][rate_section][channel]
bw               1427 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 							regulation, bw, rate_section,
bw               1429 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 							[bw][rate_section][channel][rf_path],
bw               3179 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 						    u8 bw, u8 channel, u8 path)
bw               3194 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 			DESC_RATEMCS7, bw, channel);
bw               3199 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 			DESC_RATEMCS7, bw, channel);
bw               3344 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c static void _rtl8821ae_phy_set_reg_bw(struct rtl_priv *rtlpriv, u8 bw)
bw               3349 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 	switch (bw) {
bw               3362 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 		RT_TRACE(rtlpriv, COMP_ERR, DBG_WARNING, "unknown Bandwidth: 0x%x\n", bw);
bw                499 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c 		rx_status->bw = RATE_INFO_BW_40;
bw                501 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c 		rx_status->bw = RATE_INFO_BW_80;
bw                641 drivers/net/wireless/realtek/rtw88/coex.c 	u8 bw;
bw                644 drivers/net/wireless/realtek/rtw88/coex.c 	bw = rtwdev->hal.current_band_width;
bw                654 drivers/net/wireless/realtek/rtw88/coex.c 		if (bw == RTW_CHANNEL_WIDTH_40)
bw                655 drivers/net/wireless/realtek/rtw88/coex.c 			bw = chip->bt_afh_span_bw40;
bw                657 drivers/net/wireless/realtek/rtw88/coex.c 			bw = chip->bt_afh_span_bw20;
bw                663 drivers/net/wireless/realtek/rtw88/coex.c 				bw = chip->afh_5g[i].bt_skip_span;
bw                671 drivers/net/wireless/realtek/rtw88/coex.c 	coex_dm->wl_ch_info[2] = bw;
bw                673 drivers/net/wireless/realtek/rtw88/coex.c 	rtw_fw_wl_ch_info(rtwdev, link, center_chan, bw);
bw                509 drivers/net/wireless/realtek/rtw88/debug.c 	u8 bw = hal->current_band_width;
bw                549 drivers/net/wireless/realtek/rtw88/debug.c 			rtw_get_tx_power_params(rtwdev, path, rate, bw,
bw                230 drivers/net/wireless/realtek/rtw88/fw.c void rtw_fw_wl_ch_info(struct rtw_dev *rtwdev, u8 link, u8 ch, u8 bw)
bw                238 drivers/net/wireless/realtek/rtw88/fw.c 	SET_WL_CH_INFO_BW(h2c_pkt, bw);
bw                274 drivers/net/wireless/realtek/rtw88/fw.h void rtw_fw_wl_ch_info(struct rtw_dev *rtwdev, u8 link, u8 ch, u8 bw);
bw                 11 drivers/net/wireless/realtek/rtw88/mac.c void rtw_set_channel_mac(struct rtw_dev *rtwdev, u8 channel, u8 bw,
bw                 28 drivers/net/wireless/realtek/rtw88/mac.c 	switch (bw) {
bw                 28 drivers/net/wireless/realtek/rtw88/mac.h void rtw_set_channel_mac(struct rtw_dev *rtwdev, u8 channel, u8 bw,
bw                364 drivers/net/wireless/realtek/rtw88/main.c 	u8 bw = 0;
bw                369 drivers/net/wireless/realtek/rtw88/main.c 		bw |= BIT(RTW_CHANNEL_WIDTH_80);
bw                372 drivers/net/wireless/realtek/rtw88/main.c 		bw |= BIT(RTW_CHANNEL_WIDTH_40);
bw                375 drivers/net/wireless/realtek/rtw88/main.c 		bw |= BIT(RTW_CHANNEL_WIDTH_20);
bw                379 drivers/net/wireless/realtek/rtw88/main.c 	return bw;
bw                775 drivers/net/wireless/realtek/rtw88/main.c 	if (efuse->hw_cap.bw & BIT(RTW_CHANNEL_WIDTH_40))
bw                998 drivers/net/wireless/realtek/rtw88/main.c 	u8 bw;
bw               1012 drivers/net/wireless/realtek/rtw88/main.c 	bw = GET_EFUSE_HW_CAP_BW(hw_feature);
bw               1013 drivers/net/wireless/realtek/rtw88/main.c 	efuse->hw_cap.bw = hw_bw_cap_to_bitamp(bw);
bw               1027 drivers/net/wireless/realtek/rtw88/main.c 		efuse->hw_cap.hci, efuse->hw_cap.bw, efuse->hw_cap.ptcl,
bw                467 drivers/net/wireless/realtek/rtw88/main.h 	u8 bw;
bw                494 drivers/net/wireless/realtek/rtw88/main.h 	u8 bw;
bw               1199 drivers/net/wireless/realtek/rtw88/main.h 		u8 bw;
bw               1262 drivers/net/wireless/realtek/rtw88/phy.c 				       u8 bw, u8 rs, u8 ch, s8 pwr_limit)
bw               1273 drivers/net/wireless/realtek/rtw88/phy.c 	if (regd >= RTW_REGD_MAX || bw >= RTW_CHANNEL_WIDTH_MAX ||
bw               1277 drivers/net/wireless/realtek/rtw88/phy.c 		     regd, band, bw, rs, ch_idx, pwr_limit);
bw               1282 drivers/net/wireless/realtek/rtw88/phy.c 		hal->tx_pwr_limit_2g[regd][bw][rs][ch_idx] = pwr_limit;
bw               1283 drivers/net/wireless/realtek/rtw88/phy.c 		ww = hal->tx_pwr_limit_2g[RTW_REGD_WW][bw][rs][ch_idx];
bw               1285 drivers/net/wireless/realtek/rtw88/phy.c 		hal->tx_pwr_limit_2g[RTW_REGD_WW][bw][rs][ch_idx] = ww;
bw               1287 drivers/net/wireless/realtek/rtw88/phy.c 		hal->tx_pwr_limit_5g[regd][bw][rs][ch_idx] = pwr_limit;
bw               1288 drivers/net/wireless/realtek/rtw88/phy.c 		ww = hal->tx_pwr_limit_5g[RTW_REGD_WW][bw][rs][ch_idx];
bw               1290 drivers/net/wireless/realtek/rtw88/phy.c 		hal->tx_pwr_limit_5g[RTW_REGD_WW][bw][rs][ch_idx] = ww;
bw               1297 drivers/net/wireless/realtek/rtw88/phy.c 		      u8 bw, u8 ch_idx, u8 rs_ht, u8 rs_vht)
bw               1301 drivers/net/wireless/realtek/rtw88/phy.c 	s8 lmt_ht = hal->tx_pwr_limit_5g[regd][bw][rs_ht][ch_idx];
bw               1302 drivers/net/wireless/realtek/rtw88/phy.c 	s8 lmt_vht = hal->tx_pwr_limit_5g[regd][bw][rs_vht][ch_idx];
bw               1308 drivers/net/wireless/realtek/rtw88/phy.c 		hal->tx_pwr_limit_5g[regd][bw][rs_ht][ch_idx] = lmt_vht;
bw               1311 drivers/net/wireless/realtek/rtw88/phy.c 		hal->tx_pwr_limit_5g[regd][bw][rs_vht][ch_idx] = lmt_ht;
bw               1316 drivers/net/wireless/realtek/rtw88/phy.c rtw_xref_txpwr_lmt_by_rs(struct rtw_dev *rtwdev, u8 regd, u8 bw, u8 ch_idx)
bw               1326 drivers/net/wireless/realtek/rtw88/phy.c 		rtw_xref_5g_txpwr_lmt(rtwdev, regd, bw, ch_idx, rs_ht, rs_vht);
bw               1332 drivers/net/wireless/realtek/rtw88/phy.c rtw_xref_5g_txpwr_lmt_by_ch(struct rtw_dev *rtwdev, u8 regd, u8 bw)
bw               1337 drivers/net/wireless/realtek/rtw88/phy.c 		rtw_xref_txpwr_lmt_by_rs(rtwdev, regd, bw, ch_idx);
bw               1344 drivers/net/wireless/realtek/rtw88/phy.c 	u8 bw;
bw               1346 drivers/net/wireless/realtek/rtw88/phy.c 	for (bw = RTW_CHANNEL_WIDTH_20; bw <= RTW_CHANNEL_WIDTH_40; bw++)
bw               1347 drivers/net/wireless/realtek/rtw88/phy.c 		rtw_xref_5g_txpwr_lmt_by_ch(rtwdev, regd, bw);
bw               1367 drivers/net/wireless/realtek/rtw88/phy.c 					   p->bw, p->rs, p->ch, p->txpwr_lmt);
bw               1676 drivers/net/wireless/realtek/rtw88/phy.c 				     enum rtw_bandwidth bw, u8 rf_path,
bw               1707 drivers/net/wireless/realtek/rtw88/phy.c 		bw = RTW_CHANNEL_WIDTH_20;
bw               1711 drivers/net/wireless/realtek/rtw88/phy.c 		bw = min_t(u8, bw, RTW_CHANNEL_WIDTH_40);
bw               1714 drivers/net/wireless/realtek/rtw88/phy.c 	for (cur_bw = RTW_CHANNEL_WIDTH_20; cur_bw <= bw; cur_bw++) {
bw               1732 drivers/net/wireless/realtek/rtw88/phy.c 	     band, bw, rf_path, rate, channel);
bw               1736 drivers/net/wireless/realtek/rtw88/phy.c void rtw_get_tx_power_params(struct rtw_dev *rtwdev, u8 path, u8 rate, u8 bw,
bw               1754 drivers/net/wireless/realtek/rtw88/phy.c 						      bw, rate, group);
bw               1760 drivers/net/wireless/realtek/rtw88/phy.c 						      bw, rate, group);
bw               1764 drivers/net/wireless/realtek/rtw88/phy.c 	*limit = rtw_phy_get_tx_power_limit(rtwdev, band, bw, path,
bw               1802 drivers/net/wireless/realtek/rtw88/phy.c 	u8 bw;
bw               1810 drivers/net/wireless/realtek/rtw88/phy.c 	bw = hal->current_band_width;
bw               1814 drivers/net/wireless/realtek/rtw88/phy.c 						     bw, ch, regd);
bw               1905 drivers/net/wireless/realtek/rtw88/phy.c __rtw_phy_tx_power_limit_config(struct rtw_hal *hal, u8 regd, u8 bw, u8 rs)
bw               1912 drivers/net/wireless/realtek/rtw88/phy.c 		hal->tx_pwr_limit_2g[regd][bw][rs][ch] -= base;
bw               1917 drivers/net/wireless/realtek/rtw88/phy.c 		hal->tx_pwr_limit_5g[regd][bw][rs][ch] -= base;
bw               1923 drivers/net/wireless/realtek/rtw88/phy.c 	u8 regd, bw, rs;
bw               1929 drivers/net/wireless/realtek/rtw88/phy.c 		for (bw = 0; bw < RTW_CHANNEL_WIDTH_MAX; bw++)
bw               1931 drivers/net/wireless/realtek/rtw88/phy.c 				__rtw_phy_tx_power_limit_config(hal, regd, bw, rs);
bw               1935 drivers/net/wireless/realtek/rtw88/phy.c 					u8 regd, u8 bw, u8 rs)
bw               1943 drivers/net/wireless/realtek/rtw88/phy.c 		hal->tx_pwr_limit_2g[regd][bw][rs][ch] = max_power_index;
bw               1947 drivers/net/wireless/realtek/rtw88/phy.c 		hal->tx_pwr_limit_5g[regd][bw][rs][ch] = max_power_index;
bw               1953 drivers/net/wireless/realtek/rtw88/phy.c 	u8 regd, path, rate, rs, bw;
bw               1965 drivers/net/wireless/realtek/rtw88/phy.c 		for (bw = 0; bw < RTW_CHANNEL_WIDTH_MAX; bw++)
bw               1967 drivers/net/wireless/realtek/rtw88/phy.c 				rtw_phy_init_tx_power_limit(rtwdev, regd, bw,
bw                 51 drivers/net/wireless/realtek/rtw88/phy.h 	u8 bw;
bw                125 drivers/net/wireless/realtek/rtw88/phy.h 			u8 rate, u8 bw, u8 ch, u8 regd,
bw                301 drivers/net/wireless/realtek/rtw88/regd.c 	if (efuse->hw_cap.bw & BIT(RTW_CHANNEL_WIDTH_80))
bw                343 drivers/net/wireless/realtek/rtw88/rtw8822b.c static void rtw8822b_set_channel_cca(struct rtw_dev *rtwdev, u8 channel, u8 bw,
bw                394 drivers/net/wireless/realtek/rtw88/rtw8822b.c 		     bw == RTW_CHANNEL_WIDTH_40) ||
bw                396 drivers/net/wireless/realtek/rtw88/rtw8822b.c 		     bw == RTW_CHANNEL_WIDTH_40) ||
bw                408 drivers/net/wireless/realtek/rtw88/rtw8822b.c 	if (bw == RTW_CHANNEL_WIDTH_20 &&
bw                422 drivers/net/wireless/realtek/rtw88/rtw8822b.c static void rtw8822b_set_channel_rf(struct rtw_dev *rtwdev, u8 channel, u8 bw)
bw                452 drivers/net/wireless/realtek/rtw88/rtw8822b.c 	switch (bw) {
bw                515 drivers/net/wireless/realtek/rtw88/rtw8822b.c static void rtw8822b_set_channel_rxdfir(struct rtw_dev *rtwdev, u8 bw)
bw                517 drivers/net/wireless/realtek/rtw88/rtw8822b.c 	if (bw == RTW_CHANNEL_WIDTH_40) {
bw                522 drivers/net/wireless/realtek/rtw88/rtw8822b.c 	} else if (bw == RTW_CHANNEL_WIDTH_80) {
bw                535 drivers/net/wireless/realtek/rtw88/rtw8822b.c static void rtw8822b_set_channel_bb(struct rtw_dev *rtwdev, u8 channel, u8 bw,
bw                584 drivers/net/wireless/realtek/rtw88/rtw8822b.c 	switch (bw) {
bw                641 drivers/net/wireless/realtek/rtw88/rtw8822b.c static void rtw8822b_set_channel(struct rtw_dev *rtwdev, u8 channel, u8 bw,
bw                653 drivers/net/wireless/realtek/rtw88/rtw8822b.c 	rtw8822b_set_channel_bb(rtwdev, channel, bw, primary_chan_idx);
bw                654 drivers/net/wireless/realtek/rtw88/rtw8822b.c 	rtw_set_channel_mac(rtwdev, channel, bw, primary_chan_idx);
bw                655 drivers/net/wireless/realtek/rtw88/rtw8822b.c 	rtw8822b_set_channel_rf(rtwdev, channel, bw);
bw                656 drivers/net/wireless/realtek/rtw88/rtw8822b.c 	rtw8822b_set_channel_rxdfir(rtwdev, bw);
bw                658 drivers/net/wireless/realtek/rtw88/rtw8822b.c 	rtw8822b_set_channel_cca(rtwdev, channel, bw, rfe_info);
bw                772 drivers/net/wireless/realtek/rtw88/rtw8822b.c 	pkt_stat->bw = RTW_CHANNEL_WIDTH_20;
bw                780 drivers/net/wireless/realtek/rtw88/rtw8822b.c 	u8 rxsc, bw;
bw                789 drivers/net/wireless/realtek/rtw88/rtw8822b.c 		bw = RTW_CHANNEL_WIDTH_20;
bw                791 drivers/net/wireless/realtek/rtw88/rtw8822b.c 		bw = RTW_CHANNEL_WIDTH_40;
bw                793 drivers/net/wireless/realtek/rtw88/rtw8822b.c 		bw = RTW_CHANNEL_WIDTH_80;
bw                795 drivers/net/wireless/realtek/rtw88/rtw8822b.c 		bw = GET_PHY_STAT_P1_RF_MODE(phy_status);
bw                800 drivers/net/wireless/realtek/rtw88/rtw8822b.c 	pkt_stat->bw = bw;
bw               1265 drivers/net/wireless/realtek/rtw88/rtw8822c.c static void rtw8822c_set_channel_rf(struct rtw_dev *rtwdev, u8 channel, u8 bw)
bw               1294 drivers/net/wireless/realtek/rtw88/rtw8822c.c 	switch (bw) {
bw               1338 drivers/net/wireless/realtek/rtw88/rtw8822c.c static void rtw8822c_set_channel_bb(struct rtw_dev *rtwdev, u8 channel, u8 bw,
bw               1349 drivers/net/wireless/realtek/rtw88/rtw8822c.c 		switch (bw) {
bw               1445 drivers/net/wireless/realtek/rtw88/rtw8822c.c 	switch (bw) {
bw               1498 drivers/net/wireless/realtek/rtw88/rtw8822c.c static void rtw8822c_set_channel(struct rtw_dev *rtwdev, u8 channel, u8 bw,
bw               1501 drivers/net/wireless/realtek/rtw88/rtw8822c.c 	rtw8822c_set_channel_bb(rtwdev, channel, bw, primary_chan_idx);
bw               1502 drivers/net/wireless/realtek/rtw88/rtw8822c.c 	rtw_set_channel_mac(rtwdev, channel, bw, primary_chan_idx);
bw               1503 drivers/net/wireless/realtek/rtw88/rtw8822c.c 	rtw8822c_set_channel_rf(rtwdev, channel, bw);
bw               1642 drivers/net/wireless/realtek/rtw88/rtw8822c.c 	pkt_stat->bw = RTW_CHANNEL_WIDTH_20;
bw               1650 drivers/net/wireless/realtek/rtw88/rtw8822c.c 	u8 rxsc, bw;
bw               1659 drivers/net/wireless/realtek/rtw88/rtw8822c.c 		bw = RTW_CHANNEL_WIDTH_40;
bw               1661 drivers/net/wireless/realtek/rtw88/rtw8822c.c 		bw = RTW_CHANNEL_WIDTH_80;
bw               1663 drivers/net/wireless/realtek/rtw88/rtw8822c.c 		bw = RTW_CHANNEL_WIDTH_20;
bw               1668 drivers/net/wireless/realtek/rtw88/rtw8822c.c 	pkt_stat->bw = bw;
bw               2278 drivers/net/wireless/realtek/rtw88/rtw8822c.c 	u8 bw = rtwdev->dm_info.dpk_info.dpk_bw == DPK_CHANNEL_WIDTH_80 ? 2 : 0;
bw               2285 drivers/net/wireless/realtek/rtw88/rtw8822c.c 		cmd = 0x16 + path + bw;
bw               2291 drivers/net/wireless/realtek/rtw88/rtw8822c.c 		cmd = 0x1c + path + bw;
bw               3137 drivers/net/wireless/realtek/rtw88/rtw8822c.c 			    s8 pd_diff, s8 cs_diff, u8 bw, u8 nrx)
bw               3141 drivers/net/wireless/realtek/rtw88/rtw8822c.c 	if (WARN_ON(bw > RTW_CHANNEL_WIDTH_40 || nrx >= RTW_RF_PATH_MAX))
bw               3145 drivers/net/wireless/realtek/rtw88/rtw8822c.c 			     rtw8822c_cck_pd_reg[bw][nrx].reg_pd,
bw               3146 drivers/net/wireless/realtek/rtw88/rtw8822c.c 			     rtw8822c_cck_pd_reg[bw][nrx].mask_pd);
bw               3148 drivers/net/wireless/realtek/rtw88/rtw8822c.c 			     rtw8822c_cck_pd_reg[bw][nrx].reg_cs,
bw               3149 drivers/net/wireless/realtek/rtw88/rtw8822c.c 			     rtw8822c_cck_pd_reg[bw][nrx].mask_cs);
bw               3159 drivers/net/wireless/realtek/rtw88/rtw8822c.c 			 rtw8822c_cck_pd_reg[bw][nrx].reg_pd,
bw               3160 drivers/net/wireless/realtek/rtw88/rtw8822c.c 			 rtw8822c_cck_pd_reg[bw][nrx].mask_pd,
bw               3163 drivers/net/wireless/realtek/rtw88/rtw8822c.c 			 rtw8822c_cck_pd_reg[bw][nrx].reg_cs,
bw               3164 drivers/net/wireless/realtek/rtw88/rtw8822c.c 			 rtw8822c_cck_pd_reg[bw][nrx].mask_cs,
bw               3174 drivers/net/wireless/realtek/rtw88/rtw8822c.c 	u8 nrx, bw;
bw               3177 drivers/net/wireless/realtek/rtw88/rtw8822c.c 	bw = (u8)rtw_read32_mask(rtwdev, 0x9b0, 0xc);
bw               3179 drivers/net/wireless/realtek/rtw88/rtw8822c.c 	if (dm_info->cck_pd_lv[bw][nrx] == new_lvl)
bw               3182 drivers/net/wireless/realtek/rtw88/rtw8822c.c 	cur_lvl = dm_info->cck_pd_lv[bw][nrx];
bw               3190 drivers/net/wireless/realtek/rtw88/rtw8822c.c 				    bw, nrx);
bw               3191 drivers/net/wireless/realtek/rtw88/rtw8822c.c 	dm_info->cck_pd_lv[bw][nrx] = new_lvl;
bw                142 drivers/net/wireless/realtek/rtw88/rx.c 	if (pkt_stat->bw == RTW_CHANNEL_WIDTH_80)
bw                143 drivers/net/wireless/realtek/rtw88/rx.c 		rx_status->bw = RATE_INFO_BW_80;
bw                144 drivers/net/wireless/realtek/rtw88/rx.c 	else if (pkt_stat->bw == RTW_CHANNEL_WIDTH_40)
bw                145 drivers/net/wireless/realtek/rtw88/rx.c 		rx_status->bw = RATE_INFO_BW_40;
bw                147 drivers/net/wireless/realtek/rtw88/rx.c 		rx_status->bw = RATE_INFO_BW_20;
bw                 50 drivers/net/wireless/realtek/rtw88/tx.c 	SET_TX_DESC_DATA_BW(txdesc, pkt_info->bw);
bw                247 drivers/net/wireless/realtek/rtw88/tx.c 	u8 bw = RTW_CHANNEL_WIDTH_20;
bw                274 drivers/net/wireless/realtek/rtw88/tx.c 	bw = si->bw_mode;
bw                286 drivers/net/wireless/realtek/rtw88/tx.c 	pkt_info->bw = bw;
bw               5734 drivers/pci/pci.c 	u32 bw, next_bw;
bw               5741 drivers/pci/pci.c 	bw = 0;
bw               5753 drivers/pci/pci.c 		if (!bw || next_bw <= bw) {
bw               5754 drivers/pci/pci.c 			bw = next_bw;
bw               5767 drivers/pci/pci.c 	return bw;
bw               3958 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 			    ((o->bw == BW40MINUS) || (o->bw == BW40PLUS)))
bw               5458 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		set_ch_parm->ch, set_ch_parm->bw, set_ch_parm->ch_offset);
bw               5462 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	pmlmeext->cur_bwmode = set_ch_parm->bw;
bw               5464 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	set_channel_bwmode(padapter, set_ch_parm->ch, set_ch_parm->ch_offset, set_ch_parm->bw);
bw                288 drivers/staging/rtl8188eu/core/rtw_wlan_util.c inline void rtw_set_oper_bw(struct adapter *adapter, u8 bw)
bw                290 drivers/staging/rtl8188eu/core/rtw_wlan_util.c 	adapter->mlmeextpriv.oper_bwmode = bw;
bw                274 drivers/staging/rtl8188eu/include/rtw_cmd.h 	u8 bw;
bw                392 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h 	enum {BW20, BW40PLUS, BW40MINUS} bw;
bw                466 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void rtw_set_oper_bw(struct adapter *adapter, u8 bw);
bw                377 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 				((BW40MINUS == o->bw) || (BW40PLUS == o->bw)))
bw               6119 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	u8 ch, bw, offset;
bw               6229 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if (rtw_chk_start_clnt_join(padapter, &ch, &bw, &offset) == _FAIL) {
bw               6246 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	set_channel_bwmode(padapter, ch, offset, bw);
bw               6738 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c int rtw_chk_start_clnt_join(struct adapter *padapter, u8 *ch, u8 *bw, u8 *offset)
bw               6746 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if (!ch || !bw || !offset) {
bw               6754 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		*bw = cur_bw;
bw               6762 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c int rtw_get_ch_setting_union(struct adapter *adapter, u8 *ch, u8 *bw, u8 *offset)
bw               6769 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if (bw)
bw               6770 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		*bw = CHANNEL_WIDTH_20;
bw               6794 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		set_ch_parm->ch, set_ch_parm->bw, set_ch_parm->ch_offset);
bw               6798 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	pmlmeext->cur_bwmode = set_ch_parm->bw;
bw               6800 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	set_channel_bwmode(padapter, set_ch_parm->ch, set_ch_parm->ch_offset, set_ch_parm->bw);
bw                357 drivers/staging/rtl8723bs/core/rtw_wlan_util.c inline void rtw_set_oper_bw(struct adapter *adapter, u8 bw)
bw                359 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 	adapter_to_dvobj(adapter)->oper_bwmode = bw;
bw               1817 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c 	u8 regulation, bw, channel, rateSection;
bw               1821 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c 		for (bw = 0; bw < MAX_5G_BANDWITH_NUM; ++bw) {
bw               1824 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c 					tempPwrLmt = pHalData->TxPwrLimit_5G[regulation][bw][rateSection][channel][ODM_RF_PATH_A];
bw               1827 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c 						if (bw == 0 || bw == 1) { /*  5G 20M 40M VHT and HT can cross reference */
bw               1856 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c 								pHalData->TxPwrLimit_5G[regulation][bw][baseSection][channel][ODM_RF_PATH_A] =
bw               1857 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c 									pHalData->TxPwrLimit_5G[regulation][bw][refSection][channel][ODM_RF_PATH_A];
bw               1873 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c 	u8 regulation, bw, channel, rateSection;
bw               1882 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c 		for (bw = 0; bw < MAX_2_4G_BANDWITH_NUM; ++bw) {
bw               1885 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c 					tempPwrLmt = pHalData->TxPwrLimit_2_4G[regulation][bw][rateSection][channel][ODM_RF_PATH_A];
bw               1906 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c 							pHalData->TxPwrLimit_2_4G[regulation][bw][rateSection][channel][rfPath] = tempValue;
bw                975 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c void rtl8723b_set_FwMacIdConfig_cmd(struct adapter *padapter, u8 mac_id, u8 raid, u8 bw, u8 sgi, u32 mask)
bw                979 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 	DBG_871X("%s(): mac_id =%d raid = 0x%x bw =%d mask = 0x%x\n", __func__, mac_id, raid, bw, mask);
bw                984 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 	SET_8723B_H2CCMD_MACID_CFG_BW(u1H2CMacIdConfigParm, bw);
bw               2044 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 	u8 bw;
bw               2051 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 	bw = psta->bw_mode;
bw               2056 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 	DBG_871X("%s(): mac_id =%d raid = 0x%x bw =%d mask = 0x%x\n", __func__, mac_id, raid, bw, mask);
bw               2057 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 	rtl8723b_set_FwMacIdConfig_cmd(padapter, mac_id, raid, bw, shortGI, mask);
bw                173 drivers/staging/rtl8723bs/include/rtl8723b_cmd.h void rtl8723b_set_FwMacIdConfig_cmd(struct adapter *padapter, u8 mac_id, u8 raid, u8 bw, u8 sgi, u32 mask);
bw                 78 drivers/staging/rtl8723bs/include/rtl8723b_recv.h 	u32 bw:2;
bw                766 drivers/staging/rtl8723bs/include/rtw_cmd.h 	u8 bw;
bw                472 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h 	enum { BW20, BW40PLUS, BW40MINUS } bw;
bw                563 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void rtw_set_oper_bw(struct adapter *adapter, u8 bw);
bw                745 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h int rtw_chk_start_clnt_join(struct adapter *padapter, u8 *ch, u8 *bw, u8 *offset);
bw                746 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h int rtw_get_ch_setting_union(struct adapter *adapter, u8 *ch, u8 *bw, u8 *offset);
bw               1273 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	u8 ch, bw, offset;
bw               1330 drivers/staging/rtl8723bs/os_dep/os_intfs.c 		if (rtw_get_ch_setting_union(padapter, &ch, &bw, &offset) != 0) {
bw               1332 drivers/staging/rtl8723bs/os_dep/os_intfs.c 				FUNC_ADPT_ARG(padapter), ch, bw, offset);
bw               1333 drivers/staging/rtl8723bs/os_dep/os_intfs.c 			set_channel_bwmode(padapter, ch, offset, bw);
bw               1351 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	u8 ch, bw, offset;
bw               1387 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	if (rtw_get_ch_setting_union(padapter, &ch, &bw, &offset) != 0) {
bw               1389 drivers/staging/rtl8723bs/os_dep/os_intfs.c 			 FUNC_ADPT_ARG(padapter), ch, bw, offset);
bw               1390 drivers/staging/rtl8723bs/os_dep/os_intfs.c 		set_channel_bwmode(padapter, ch, offset, bw);
bw               4062 drivers/usb/dwc2/hcd.c static void dwc2_allocate_bus_bandwidth(struct usb_hcd *hcd, u16 bw,
bw               4068 drivers/usb/dwc2/hcd.c 		bus->bandwidth_allocated += bw / urb->interval;
bw               4075 drivers/usb/dwc2/hcd.c static void dwc2_free_bus_bandwidth(struct usb_hcd *hcd, u16 bw,
bw               4081 drivers/usb/dwc2/hcd.c 		bus->bandwidth_allocated -= bw / urb->interval;
bw                518 drivers/usb/host/ehci-dbg.c 	u8			*bw;
bw                536 drivers/usb/host/ehci-dbg.c 		bw = &ehci->bandwidth[i];
bw                539 drivers/usb/host/ehci-dbg.c 				i, bw[0], bw[1], bw[2], bw[3],
bw                540 drivers/usb/host/ehci-dbg.c 					bw[4], bw[5], bw[6], bw[7]);
bw                568 drivers/usb/host/ehci-dbg.c 			bw = &budget[i];
bw                571 drivers/usb/host/ehci-dbg.c 					i, bw[0], bw[1], bw[2], bw[3],
bw                572 drivers/usb/host/ehci-dbg.c 						bw[4], bw[5], bw[6], bw[7]);
bw                338 drivers/usb/host/xhci-mtk-sch.c 	u32 bw;
bw                347 drivers/usb/host/xhci-mtk-sch.c 			bw = sch_bw->bus_bw[base + j] +
bw                349 drivers/usb/host/xhci-mtk-sch.c 			if (bw > max_bw)
bw                350 drivers/usb/host/xhci-mtk-sch.c 				max_bw = bw;
bw               1441 drivers/usb/misc/sisusbvga/sisusb.c 		int *bw, int *chab)
bw               1476 drivers/usb/misc/sisusbvga/sisusb.c 		*chab = 0; *bw = 64;
bw               1480 drivers/usb/misc/sisusbvga/sisusb.c 				*chab = 0; *bw = 64;
bw               1485 drivers/usb/misc/sisusbvga/sisusb.c 			*chab = 1; *bw = 64;
bw               1498 drivers/usb/misc/sisusbvga/sisusb.c 				*bw = 32;
bw               1505 drivers/usb/misc/sisusbvga/sisusb.c 		*chab = 0; *bw = 64;	/* default: cha, bw = 64 */
bw               1511 drivers/usb/misc/sisusbvga/sisusb.c 				*chab = 0; *bw = 64;
bw               1516 drivers/usb/misc/sisusbvga/sisusb.c 				*chab = 0; *bw = 32;
bw               1539 drivers/usb/misc/sisusbvga/sisusb.c 					*chab = 1; *bw = 64;
bw               1544 drivers/usb/misc/sisusbvga/sisusb.c 					*chab = 1; *bw = 32;
bw               1582 drivers/usb/misc/sisusbvga/sisusb.c 		int index, u8 rankno, u8 chab, const u8 dramtype[][5], int bw)
bw               1592 drivers/usb/misc/sisusbvga/sisusb.c 	ranksize = dramtype[index][3] / 2 * bw / 32;
bw               1602 drivers/usb/misc/sisusbvga/sisusb.c 	tmp |= ((bw / 64) & 0x02);
bw               1639 drivers/usb/misc/sisusbvga/sisusb.c 		int *iret, int rankno, int idx, int bw, const u8 rtype[][5])
bw               1648 drivers/usb/misc/sisusbvga/sisusb.c 				bw / 64 + i);
bw               1654 drivers/usb/misc/sisusbvga/sisusb.c 	inc = 1 << (rtype[idx][2] + bw / 64 + 2);
bw               1659 drivers/usb/misc/sisusbvga/sisusb.c 	inc = 1 << (10 + bw / 64);
bw               1669 drivers/usb/misc/sisusbvga/sisusb.c 		int bw, int chab)
bw               1694 drivers/usb/misc/sisusbvga/sisusb.c 					sdramtype, bw);
bw               1698 drivers/usb/misc/sisusbvga/sisusb.c 			ret |= sisusb_check_ranks(sisusb, &i2ret, j, i, bw,
bw               1880 drivers/usb/misc/sisusbvga/sisusb.c 	int ret = 0, i, j, bw, chab, iret, retry = 3;
bw               2032 drivers/usb/misc/sisusbvga/sisusb.c 		ret |= sisusb_getbuswidth(sisusb, &bw, &chab);
bw               2036 drivers/usb/misc/sisusbvga/sisusb.c 			ret |= sisusb_get_sdram_size(sisusb, &iret, bw, chab);
bw               2080 drivers/usb/misc/sisusbvga/sisusb.c 	int bw = 0;
bw               2097 drivers/usb/misc/sisusbvga/sisusb.c 			bw = 32;
bw               2099 drivers/usb/misc/sisusbvga/sisusb.c 			bw = busSDR[(tmp8 & 0x03)];
bw               2105 drivers/usb/misc/sisusbvga/sisusb.c 		bw = busSDR[(tmp8 & 0x03)];
bw               2110 drivers/usb/misc/sisusbvga/sisusb.c 		bw = busDDRA[(tmp8 & 0x03)];
bw               2115 drivers/usb/misc/sisusbvga/sisusb.c 		bw = busDDR[(tmp8 & 0x03)];
bw               2122 drivers/usb/misc/sisusbvga/sisusb.c 			ram_datarate[ramtype], ram_dynamictype[ramtype], bw);
bw                210 drivers/video/fbdev/ffb.c 	u32	bw;
bw                504 drivers/video/fbdev/ffb.c 	upa_writel(rect->width, &fbc->bw);
bw                539 drivers/video/fbdev/ffb.c 	upa_writel(area->width, &fbc->bw);
bw                579 include/linux/edac.h 	int (*set_sdram_scrub_rate) (struct mem_ctl_info * mci, u32 bw);
bw               1741 include/linux/ieee80211.h 			      enum ieee80211_vht_chanwidth bw,
bw                 12 include/linux/interconnect-provider.h #define icc_units_to_bps(bw)  ((bw) * 1000ULL)
bw                379 include/linux/mtd/map.h 		int bw = 8 * map_bankwidth(map);
bw                381 include/linux/mtd/map.h 		r.x[0] = (1UL << bw) - 1;
bw                 28 include/linux/pl353-smc.h int pl353_smc_set_buswidth(unsigned int bw);
bw               1315 include/net/cfg80211.h 	u8 bw;
bw               4277 include/net/cfg80211.h 	enum nl80211_chan_width bw;
bw               1348 include/net/mac80211.h 	u8 encoding:2, bw:3, he_ru:3;
bw                241 include/net/regulatory.h #define REG_RULE_EXT(start, end, bw, gain, eirp, dfs_cac, reg_flags)	\
bw                245 include/net/regulatory.h 	.freq_range.max_bandwidth_khz = MHZ_TO_KHZ(bw),			\
bw                252 include/net/regulatory.h #define REG_RULE(start, end, bw, gain, eirp, reg_flags) \
bw                253 include/net/regulatory.h 	REG_RULE_EXT(start, end, bw, gain, eirp, 0, reg_flags)
bw                316 include/uapi/sound/compress_params.h 	__u32 bw;	/* encoder bandwidth */
bw               4924 kernel/sched/core.c 			    rq->rd->dl_bw.bw == 0) {
bw                349 kernel/sched/deadline.c 		dl_b->bw = -1;
bw                351 kernel/sched/deadline.c 		dl_b->bw = to_ratio(global_rt_period(), global_rt_runtime());
bw               2536 kernel/sched/deadline.c 		dl_b->bw = new_bw;
bw               2761 kernel/sched/deadline.c 	if (cur_dl_b->bw != -1 &&
bw               2762 kernel/sched/deadline.c 	    cur_dl_b->bw * trial_cpus < cur_dl_b->total_bw)
bw                608 kernel/sched/debug.c 	SEQ_printf(m, "  .%-30s: %lld\n", "dl_bw->bw", dl_bw->bw);
bw                287 kernel/sched/sched.h 	u64			bw;
bw                291 kernel/sched/sched.h static inline void __dl_update(struct dl_bw *dl_b, s64 bw);
bw                310 kernel/sched/sched.h 	return dl_b->bw != -1 &&
bw                311 kernel/sched/sched.h 	       dl_b->bw * cpus < dl_b->total_bw - old_bw + new_bw;
bw               2225 kernel/sched/sched.h void __dl_update(struct dl_bw *dl_b, s64 bw)
bw               2235 kernel/sched/sched.h 		rq->dl.extra_bw += bw;
bw               2240 kernel/sched/sched.h void __dl_update(struct dl_bw *dl_b, s64 bw)
bw               2244 kernel/sched/sched.h 	dl->extra_bw += bw;
bw                513 kernel/trace/trace_probe.c 	unsigned long bw, bo;
bw                519 kernel/trace/trace_probe.c 	bw = simple_strtoul(bf + 1, &tail, 0);	/* Use simple one */
bw                521 kernel/trace/trace_probe.c 	if (bw == 0 || *tail != '@')
bw                535 kernel/trace/trace_probe.c 	code->lshift = BYTES_TO_BITS(t->size) - (bw + bo);
bw                536 kernel/trace/trace_probe.c 	code->rshift = BYTES_TO_BITS(t->size) - bw;
bw                539 kernel/trace/trace_probe.c 	return (BYTES_TO_BITS(t->size) < (bw + bo)) ? -EINVAL : 0;
bw                230 lib/logic_pio.c #define BUILD_LOGIC_IO(bw, type)					\
bw                231 lib/logic_pio.c type logic_in##bw(unsigned long addr)					\
bw                236 lib/logic_pio.c 		ret = read##bw(PCI_IOBASE + addr);			\
bw                249 lib/logic_pio.c void logic_out##bw(type value, unsigned long addr)			\
bw                252 lib/logic_pio.c 		write##bw(value, PCI_IOBASE + addr);			\
bw                264 lib/logic_pio.c void logic_ins##bw(unsigned long addr, void *buffer,		\
bw                268 lib/logic_pio.c 		reads##bw(PCI_IOBASE + addr, buffer, count);		\
bw                281 lib/logic_pio.c void logic_outs##bw(unsigned long addr, const void *buffer,		\
bw                285 lib/logic_pio.c 		writes##bw(PCI_IOBASE + addr, buffer, count);		\
bw               1090 mm/page-writeback.c 	u64 bw;
bw               1102 mm/page-writeback.c 	bw = written - min(written, wb->written_stamp);
bw               1103 mm/page-writeback.c 	bw *= HZ;
bw               1105 mm/page-writeback.c 		do_div(bw, elapsed);
bw               1106 mm/page-writeback.c 		avg = bw;
bw               1109 mm/page-writeback.c 	bw += (u64)wb->write_bandwidth * (period - elapsed);
bw               1110 mm/page-writeback.c 	bw >>= ilog2(period);
bw               1115 mm/page-writeback.c 	if (avg > old && old >= (unsigned long)bw)
bw               1118 mm/page-writeback.c 	if (avg < old && old <= (unsigned long)bw)
bw               1129 mm/page-writeback.c 	wb->write_bandwidth = bw;
bw               1422 mm/page-writeback.c 	unsigned long bw = wb->avg_write_bandwidth;
bw               1432 mm/page-writeback.c 	t = wb_dirty / (1 + bw / roundup_pow_of_two(1 + HZ / 8));
bw                704 net/batman-adv/bat_v.c static int batadv_v_gw_throughput_get(struct batadv_gw_node *gw_node, u32 *bw)
bw                725 net/batman-adv/bat_v.c 	*bw = router_ifinfo->bat_v.throughput;
bw                726 net/batman-adv/bat_v.c 	*bw = min_t(u32, *bw, gw_node->bandwidth_down);
bw                748 net/batman-adv/bat_v.c 	u32 max_bw = 0, bw;
bw                755 net/batman-adv/bat_v.c 		if (batadv_v_gw_throughput_get(gw_node, &bw) < 0)
bw                758 net/batman-adv/bat_v.c 		if (curr_gw && bw <= max_bw)
bw                766 net/batman-adv/bat_v.c 		max_bw = bw;
bw                 91 net/ipv4/tcp_bbr.c 	struct minmax bw;	/* Max recent delivery rate in pkts/uS << 24 */
bw                217 net/ipv4/tcp_bbr.c 	return minmax_get(&bbr->bw);
bw                254 net/ipv4/tcp_bbr.c static unsigned long bbr_bw_to_pacing_rate(struct sock *sk, u32 bw, int gain)
bw                256 net/ipv4/tcp_bbr.c 	u64 rate = bw;
bw                268 net/ipv4/tcp_bbr.c 	u64 bw;
bw                277 net/ipv4/tcp_bbr.c 	bw = (u64)tp->snd_cwnd * BW_UNIT;
bw                278 net/ipv4/tcp_bbr.c 	do_div(bw, rtt_us);
bw                279 net/ipv4/tcp_bbr.c 	sk->sk_pacing_rate = bbr_bw_to_pacing_rate(sk, bw, bbr_high_gain);
bw                283 net/ipv4/tcp_bbr.c static void bbr_set_pacing_rate(struct sock *sk, u32 bw, int gain)
bw                287 net/ipv4/tcp_bbr.c 	unsigned long rate = bbr_bw_to_pacing_rate(sk, bw, gain);
bw                357 net/ipv4/tcp_bbr.c static u32 bbr_bdp(struct sock *sk, u32 bw, int gain)
bw                372 net/ipv4/tcp_bbr.c 	w = (u64)bw * bbr->min_rtt_us;
bw                410 net/ipv4/tcp_bbr.c static u32 bbr_inflight(struct sock *sk, u32 bw, int gain)
bw                414 net/ipv4/tcp_bbr.c 	inflight = bbr_bdp(sk, bw, gain);
bw                517 net/ipv4/tcp_bbr.c 			 u32 acked, u32 bw, int gain)
bw                529 net/ipv4/tcp_bbr.c 	target_cwnd = bbr_bdp(sk, bw, gain);
bw                559 net/ipv4/tcp_bbr.c 	u32 inflight, bw;
bw                568 net/ipv4/tcp_bbr.c 	bw = bbr_max_bw(sk);
bw                578 net/ipv4/tcp_bbr.c 			 inflight >= bbr_inflight(sk, bw, bbr->pacing_gain));
bw                585 net/ipv4/tcp_bbr.c 		inflight <= bbr_inflight(sk, bw, BBR_UNIT);
bw                655 net/ipv4/tcp_bbr.c static void bbr_lt_bw_interval_done(struct sock *sk, u32 bw)
bw                662 net/ipv4/tcp_bbr.c 		diff = abs(bw - bbr->lt_bw);
bw                667 net/ipv4/tcp_bbr.c 			bbr->lt_bw = (bw + bbr->lt_bw) >> 1;  /* avg 2 intvls */
bw                674 net/ipv4/tcp_bbr.c 	bbr->lt_bw = bw;
bw                690 net/ipv4/tcp_bbr.c 	u64 bw;
bw                752 net/ipv4/tcp_bbr.c 	bw = (u64)delivered * BW_UNIT;
bw                753 net/ipv4/tcp_bbr.c 	do_div(bw, t);
bw                754 net/ipv4/tcp_bbr.c 	bbr_lt_bw_interval_done(sk, bw);
bw                762 net/ipv4/tcp_bbr.c 	u64 bw;
bw                782 net/ipv4/tcp_bbr.c 	bw = div64_long((u64)rs->delivered * BW_UNIT, rs->interval_us);
bw                795 net/ipv4/tcp_bbr.c 	if (!rs->is_app_limited || bw >= bbr_max_bw(sk)) {
bw                797 net/ipv4/tcp_bbr.c 		minmax_running_max(&bbr->bw, bbr_bw_rtts, bbr->rtt_cnt, bw);
bw               1027 net/ipv4/tcp_bbr.c 	u32 bw;
bw               1031 net/ipv4/tcp_bbr.c 	bw = bbr_bw(sk);
bw               1032 net/ipv4/tcp_bbr.c 	bbr_set_pacing_rate(sk, bw, bbr->pacing_gain);
bw               1033 net/ipv4/tcp_bbr.c 	bbr_set_cwnd(sk, rs, rs->acked_sacked, bw, bbr->cwnd_gain);
bw               1053 net/ipv4/tcp_bbr.c 	minmax_reset(&bbr->bw, bbr->rtt_cnt, 0);  /* init max bw to 0 */
bw               1111 net/ipv4/tcp_bbr.c 		u64 bw = bbr_bw(sk);
bw               1113 net/ipv4/tcp_bbr.c 		bw = bw * tp->mss_cache * USEC_PER_SEC >> BW_SCALE;
bw               1115 net/ipv4/tcp_bbr.c 		info->bbr.bbr_bw_lo		= (u32)bw;
bw               1116 net/ipv4/tcp_bbr.c 		info->bbr.bbr_bw_hi		= (u32)(bw >> 32);
bw                134 net/ipv4/tcp_yeah.c 			u64 bw;
bw                152 net/ipv4/tcp_yeah.c 			bw = tp->snd_cwnd;
bw                153 net/ipv4/tcp_yeah.c 			bw *= rtt - yeah->vegas.baseRTT;
bw                154 net/ipv4/tcp_yeah.c 			do_div(bw, rtt);
bw                155 net/ipv4/tcp_yeah.c 			queue = bw;
bw                707 net/mac80211/cfg.c 		rinfo->bw = RATE_INFO_BW_40;
bw                709 net/mac80211/cfg.c 		rinfo->bw = RATE_INFO_BW_80;
bw                711 net/mac80211/cfg.c 		rinfo->bw = RATE_INFO_BW_160;
bw                713 net/mac80211/cfg.c 		rinfo->bw = RATE_INFO_BW_20;
bw                146 net/mac80211/ht.c 	enum ieee80211_sta_rx_bandwidth bw;
bw                256 net/mac80211/ht.c 		bw = IEEE80211_STA_RX_BW_20;
bw                262 net/mac80211/ht.c 		bw = ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 ?
bw                267 net/mac80211/ht.c 	sta->sta.bandwidth = bw;
bw               1020 net/mac80211/ibss.c 			if (rx_status->bw == RATE_INFO_BW_5)
bw               1022 net/mac80211/ibss.c 			else if (rx_status->bw == RATE_INFO_BW_10)
bw               1054 net/mac80211/ibss.c 		enum ieee80211_sta_rx_bandwidth bw = sta->sta.bandwidth;
bw               1082 net/mac80211/ibss.c 		if (bw != sta->sta.bandwidth)
bw                414 net/mac80211/mesh_plink.c 	enum ieee80211_sta_rx_bandwidth bw = sta->sta.bandwidth;
bw                446 net/mac80211/mesh_plink.c 	if (bw != sta->sta.bandwidth)
bw                547 net/mac80211/mlme.c 		u32 bw = cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK;
bw                550 net/mac80211/mlme.c 		if (bw == IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ ||
bw                551 net/mac80211/mlme.c 		    bw == IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ)
bw               1108 net/mac80211/mlme.c 		enum ieee80211_sta_rx_bandwidth bw = IEEE80211_STA_RX_BW_20;
bw               1134 net/mac80211/mlme.c 				bw = IEEE80211_STA_RX_BW_20;
bw               1137 net/mac80211/mlme.c 				bw = IEEE80211_STA_RX_BW_40;
bw               1140 net/mac80211/mlme.c 				bw = IEEE80211_STA_RX_BW_80;
bw               1144 net/mac80211/mlme.c 				bw = IEEE80211_STA_RX_BW_160;
bw               1155 net/mac80211/mlme.c 			mgd_sta->sta.bandwidth = bw;
bw               1172 net/mac80211/mlme.c 			mgd_sta->sta.bandwidth = bw;
bw                 63 net/mac80211/rc80211_minstrel_ht.c 	.bw = _ht40,							\
bw                100 net/mac80211/rc80211_minstrel_ht.c 	.bw = _bw,							\
bw                249 net/mac80211/rc80211_minstrel_ht.c minstrel_get_valid_vht_rates(int bw, int nss, __le16 mcs_map)
bw                253 net/mac80211/rc80211_minstrel_ht.c 	if (bw == BW_20) {
bw                256 net/mac80211/rc80211_minstrel_ht.c 	} else if (bw == BW_80) {
bw                262 net/mac80211/rc80211_minstrel_ht.c 		WARN_ON(bw != BW_40);
bw                545 net/mac80211/rc80211_minstrel_ht.c 	if (group->bw < tp_group->bw)
bw               1451 net/mac80211/rc80211_minstrel_ht.c 		int bw, nss;
bw               1505 net/mac80211/rc80211_minstrel_ht.c 			bw = BW_40;
bw               1507 net/mac80211/rc80211_minstrel_ht.c 			bw = BW_80;
bw               1509 net/mac80211/rc80211_minstrel_ht.c 			bw = BW_20;
bw               1511 net/mac80211/rc80211_minstrel_ht.c 		mi->supported[i] = minstrel_get_valid_vht_rates(bw, nss,
bw                 36 net/mac80211/rc80211_minstrel_ht.h 	u8 bw;
bw                406 net/mac80211/rx.c 		if (status->bw == RATE_INFO_BW_10)
bw                408 net/mac80211/rx.c 		else if (status->bw == RATE_INFO_BW_5)
bw                417 net/mac80211/rx.c 	if (status->bw == RATE_INFO_BW_10)
bw                419 net/mac80211/rx.c 	else if (status->bw == RATE_INFO_BW_5)
bw                471 net/mac80211/rx.c 		if (status->bw == RATE_INFO_BW_40)
bw                530 net/mac80211/rx.c 		switch (status->bw) {
bw                609 net/mac80211/rx.c 		switch (status->bw) {
bw                643 net/mac80211/rx.c 			WARN_ONCE(1, "Invalid SU BW %d\n", status->bw);
bw               3143 net/mac80211/rx.c 			sta_opmode.bw =
bw                163 net/mac80211/scan.c 	if (rx_status->bw == RATE_INFO_BW_5)
bw                165 net/mac80211/scan.c 	else if (rx_status->bw == RATE_INFO_BW_10)
bw               2062 net/mac80211/sta_info.c 	rinfo->bw = STA_STATS_GET(BW, rate);
bw               2087 net/mac80211/sta_info.c 		if (rinfo->bw == RATE_INFO_BW_5)
bw               2089 net/mac80211/sta_info.c 		else if (rinfo->bw == RATE_INFO_BW_10)
bw                833 net/mac80211/sta_info.h 	r = STA_STATS_FIELD(BW, s->bw);
bw                378 net/mac80211/status.c 		if (status->rate->bw == RATE_INFO_BW_40)
bw                403 net/mac80211/status.c 		switch (status->rate->bw) {
bw                463 net/mac80211/status.c 		switch (status->rate->bw) {
bw                497 net/mac80211/status.c 			WARN_ONCE(1, "Invalid SU BW %d\n", status->rate->bw);
bw               1269 net/mac80211/tdls.c 			enum ieee80211_sta_rx_bandwidth bw;
bw               1271 net/mac80211/tdls.c 			bw = ieee80211_chan_width_to_rx_bw(conf->def.width);
bw               1272 net/mac80211/tdls.c 			bw = min(bw, ieee80211_sta_cap_rx_bw(sta));
bw               1273 net/mac80211/tdls.c 			if (bw != sta->sta.bandwidth) {
bw               1274 net/mac80211/tdls.c 				sta->sta.bandwidth = bw;
bw               3247 net/mac80211/util.c 	ri.bw = status->bw;
bw               3272 net/mac80211/util.c 		switch (status->bw) {
bw                439 net/mac80211/vht.c 	enum ieee80211_sta_rx_bandwidth bw;
bw                442 net/mac80211/vht.c 	bw = ieee80211_sta_cap_rx_bw(sta);
bw                443 net/mac80211/vht.c 	bw = min(bw, sta->cur_max_bandwidth);
bw                452 net/mac80211/vht.c 		return bw;
bw                454 net/mac80211/vht.c 	bw = min(bw, ieee80211_chan_width_to_rx_bw(bss_width));
bw                456 net/mac80211/vht.c 	return bw;
bw                542 net/mac80211/vht.c 		sta_opmode.bw = ieee80211_sta_rx_bw_to_chan_width(sta);
bw               4974 net/wireless/nl80211.c 	switch (info->bw) {
bw               5027 net/wireless/nl80211.c 		if (info->bw == RATE_INFO_BW_HE_RU &&
bw               16408 net/wireless/nl80211.c 	    nla_put_u32(msg, NL80211_ATTR_CHANNEL_WIDTH, sta_opmode->bw))
bw                 26 net/wireless/of.c 	u32 bw = MHZ_TO_KHZ(20);
bw                 34 net/wireless/of.c 					       bw))
bw               1199 net/wireless/reg.c 	unsigned int bw = reg_get_max_bandwidth_from_range(rd, rule);
bw               1202 net/wireless/reg.c 		bw = min_t(unsigned int, bw, MHZ_TO_KHZ(80));
bw               1204 net/wireless/reg.c 		bw = min_t(unsigned int, bw, MHZ_TO_KHZ(40));
bw               1212 net/wireless/reg.c 		bw = min_t(unsigned int, bw, MHZ_TO_KHZ(20));
bw               1214 net/wireless/reg.c 	return bw;
bw               1577 net/wireless/reg.c 		   const struct ieee80211_regdomain *regd, u32 bw)
bw               1601 net/wireless/reg.c 		bw_fits = cfg80211_does_bw_fit_range(fr, center_freq, bw);
bw               1618 net/wireless/reg.c 	u32 bw;
bw               1620 net/wireless/reg.c 	for (bw = MHZ_TO_KHZ(20); bw >= min_bw; bw = bw / 2) {
bw               1621 net/wireless/reg.c 		reg_rule = freq_reg_info_regd(center_freq, regd, bw);
bw               2270 net/wireless/reg.c 	u32 bw;
bw               2272 net/wireless/reg.c 	for (bw = MHZ_TO_KHZ(20); bw >= min_bw; bw = bw / 2) {
bw               2274 net/wireless/reg.c 					      regd, bw);
bw               3395 net/wireless/reg.c 	char bw[32], cac_time[32];
bw               3405 net/wireless/reg.c 			snprintf(bw, sizeof(bw), "%d KHz, %d KHz AUTO",
bw               3409 net/wireless/reg.c 			snprintf(bw, sizeof(bw), "%d KHz",
bw               3427 net/wireless/reg.c 				bw,
bw               3435 net/wireless/reg.c 				bw,
bw               1034 net/wireless/util.c 	bitrate = (rate->bw == RATE_INFO_BW_40) ? 13500000 : 6500000;
bw               1188 net/wireless/util.c 	switch (rate->bw) {
bw               1216 net/wireless/util.c 		  rate->bw, rate->mcs, rate->nss);
bw               1258 net/wireless/util.c 	if (rate->bw == RATE_INFO_BW_160)
bw               1260 net/wireless/util.c 	else if (rate->bw == RATE_INFO_BW_80 ||
bw               1261 net/wireless/util.c 		 (rate->bw == RATE_INFO_BW_HE_RU &&
bw               1264 net/wireless/util.c 	else if (rate->bw == RATE_INFO_BW_40 ||
bw               1265 net/wireless/util.c 		 (rate->bw == RATE_INFO_BW_HE_RU &&
bw               1268 net/wireless/util.c 	else if (rate->bw == RATE_INFO_BW_20 ||
bw               1269 net/wireless/util.c 		 (rate->bw == RATE_INFO_BW_HE_RU &&
bw               1272 net/wireless/util.c 	else if (rate->bw == RATE_INFO_BW_HE_RU &&
bw               1275 net/wireless/util.c 	else if (rate->bw == RATE_INFO_BW_HE_RU &&
bw               1278 net/wireless/util.c 	else if (rate->bw == RATE_INFO_BW_HE_RU &&
bw               1283 net/wireless/util.c 		     rate->bw, rate->he_ru_alloc);
bw               2027 net/wireless/util.c 			      enum ieee80211_vht_chanwidth bw,
bw               2087 net/wireless/util.c 	switch (bw) {