dm                 34 arch/arm/mach-zx/zx296702-pm-domain.c 	struct generic_pm_domain dm;
dm                110 arch/arm/mach-zx/zx296702-pm-domain.c 	.dm = {
dm                119 arch/arm/mach-zx/zx296702-pm-domain.c 	.dm = {
dm                128 arch/arm/mach-zx/zx296702-pm-domain.c 	.dm = {
dm                137 arch/arm/mach-zx/zx296702-pm-domain.c 	.dm = {
dm                146 arch/arm/mach-zx/zx296702-pm-domain.c 	&vou_domain.dm,
dm                147 arch/arm/mach-zx/zx296702-pm-domain.c 	&gpu_domain.dm,
dm                148 arch/arm/mach-zx/zx296702-pm-domain.c 	&decppu_domain.dm,
dm                149 arch/arm/mach-zx/zx296702-pm-domain.c 	&r2d_domain.dm,
dm                373 arch/arm/vfp/vfp.h 	u32 (* const fn)(int dd, int dn, int dm, u32 fpscr);
dm                250 arch/arm/vfp/vfpdouble.c static u32 vfp_double_fabs(int dd, int unused, int dm, u32 fpscr)
dm                252 arch/arm/vfp/vfpdouble.c 	vfp_put_double(vfp_double_packed_abs(vfp_get_double(dm)), dd);
dm                256 arch/arm/vfp/vfpdouble.c static u32 vfp_double_fcpy(int dd, int unused, int dm, u32 fpscr)
dm                258 arch/arm/vfp/vfpdouble.c 	vfp_put_double(vfp_get_double(dm), dd);
dm                262 arch/arm/vfp/vfpdouble.c static u32 vfp_double_fneg(int dd, int unused, int dm, u32 fpscr)
dm                264 arch/arm/vfp/vfpdouble.c 	vfp_put_double(vfp_double_packed_negate(vfp_get_double(dm)), dd);
dm                268 arch/arm/vfp/vfpdouble.c static u32 vfp_double_fsqrt(int dd, int unused, int dm, u32 fpscr)
dm                273 arch/arm/vfp/vfpdouble.c 	vfp_double_unpack(&vdm, vfp_get_double(dm));
dm                358 arch/arm/vfp/vfpdouble.c static u32 vfp_compare(int dd, int signal_on_qnan, int dm, u32 fpscr)
dm                363 arch/arm/vfp/vfpdouble.c 	m = vfp_get_double(dm);
dm                419 arch/arm/vfp/vfpdouble.c static u32 vfp_double_fcmp(int dd, int unused, int dm, u32 fpscr)
dm                421 arch/arm/vfp/vfpdouble.c 	return vfp_compare(dd, 0, dm, fpscr);
dm                424 arch/arm/vfp/vfpdouble.c static u32 vfp_double_fcmpe(int dd, int unused, int dm, u32 fpscr)
dm                426 arch/arm/vfp/vfpdouble.c 	return vfp_compare(dd, 1, dm, fpscr);
dm                429 arch/arm/vfp/vfpdouble.c static u32 vfp_double_fcmpz(int dd, int unused, int dm, u32 fpscr)
dm                434 arch/arm/vfp/vfpdouble.c static u32 vfp_double_fcmpez(int dd, int unused, int dm, u32 fpscr)
dm                439 arch/arm/vfp/vfpdouble.c static u32 vfp_double_fcvts(int sd, int unused, int dm, u32 fpscr)
dm                446 arch/arm/vfp/vfpdouble.c 	vfp_double_unpack(&vdm, vfp_get_double(dm));
dm                482 arch/arm/vfp/vfpdouble.c static u32 vfp_double_fuito(int dd, int unused, int dm, u32 fpscr)
dm                485 arch/arm/vfp/vfpdouble.c 	u32 m = vfp_get_float(dm);
dm                494 arch/arm/vfp/vfpdouble.c static u32 vfp_double_fsito(int dd, int unused, int dm, u32 fpscr)
dm                497 arch/arm/vfp/vfpdouble.c 	u32 m = vfp_get_float(dm);
dm                506 arch/arm/vfp/vfpdouble.c static u32 vfp_double_ftoui(int sd, int unused, int dm, u32 fpscr)
dm                513 arch/arm/vfp/vfpdouble.c 	vfp_double_unpack(&vdm, vfp_get_double(dm));
dm                580 arch/arm/vfp/vfpdouble.c static u32 vfp_double_ftouiz(int sd, int unused, int dm, u32 fpscr)
dm                582 arch/arm/vfp/vfpdouble.c 	return vfp_double_ftoui(sd, unused, dm, FPSCR_ROUND_TOZERO);
dm                585 arch/arm/vfp/vfpdouble.c static u32 vfp_double_ftosi(int sd, int unused, int dm, u32 fpscr)
dm                592 arch/arm/vfp/vfpdouble.c 	vfp_double_unpack(&vdm, vfp_get_double(dm));
dm                655 arch/arm/vfp/vfpdouble.c static u32 vfp_double_ftosiz(int dd, int unused, int dm, u32 fpscr)
dm                657 arch/arm/vfp/vfpdouble.c 	return vfp_double_ftosi(dd, unused, dm, FPSCR_ROUND_TOZERO);
dm                851 arch/arm/vfp/vfpdouble.c vfp_double_multiply_accumulate(int dd, int dn, int dm, u32 fpscr, u32 negate, char *func)
dm                860 arch/arm/vfp/vfpdouble.c 	vfp_double_unpack(&vdm, vfp_get_double(dm));
dm                886 arch/arm/vfp/vfpdouble.c static u32 vfp_double_fmac(int dd, int dn, int dm, u32 fpscr)
dm                888 arch/arm/vfp/vfpdouble.c 	return vfp_double_multiply_accumulate(dd, dn, dm, fpscr, 0, "fmac");
dm                894 arch/arm/vfp/vfpdouble.c static u32 vfp_double_fnmac(int dd, int dn, int dm, u32 fpscr)
dm                896 arch/arm/vfp/vfpdouble.c 	return vfp_double_multiply_accumulate(dd, dn, dm, fpscr, NEG_MULTIPLY, "fnmac");
dm                902 arch/arm/vfp/vfpdouble.c static u32 vfp_double_fmsc(int dd, int dn, int dm, u32 fpscr)
dm                904 arch/arm/vfp/vfpdouble.c 	return vfp_double_multiply_accumulate(dd, dn, dm, fpscr, NEG_SUBTRACT, "fmsc");
dm                910 arch/arm/vfp/vfpdouble.c static u32 vfp_double_fnmsc(int dd, int dn, int dm, u32 fpscr)
dm                912 arch/arm/vfp/vfpdouble.c 	return vfp_double_multiply_accumulate(dd, dn, dm, fpscr, NEG_SUBTRACT | NEG_MULTIPLY, "fnmsc");
dm                918 arch/arm/vfp/vfpdouble.c static u32 vfp_double_fmul(int dd, int dn, int dm, u32 fpscr)
dm                927 arch/arm/vfp/vfpdouble.c 	vfp_double_unpack(&vdm, vfp_get_double(dm));
dm                938 arch/arm/vfp/vfpdouble.c static u32 vfp_double_fnmul(int dd, int dn, int dm, u32 fpscr)
dm                947 arch/arm/vfp/vfpdouble.c 	vfp_double_unpack(&vdm, vfp_get_double(dm));
dm                960 arch/arm/vfp/vfpdouble.c static u32 vfp_double_fadd(int dd, int dn, int dm, u32 fpscr)
dm                969 arch/arm/vfp/vfpdouble.c 	vfp_double_unpack(&vdm, vfp_get_double(dm));
dm                981 arch/arm/vfp/vfpdouble.c static u32 vfp_double_fsub(int dd, int dn, int dm, u32 fpscr)
dm                990 arch/arm/vfp/vfpdouble.c 	vfp_double_unpack(&vdm, vfp_get_double(dm));
dm               1007 arch/arm/vfp/vfpdouble.c static u32 vfp_double_fdiv(int dd, int dn, int dm, u32 fpscr)
dm               1014 arch/arm/vfp/vfpdouble.c 	vfp_double_unpack(&vdm, vfp_get_double(dm));
dm               1133 arch/arm/vfp/vfpdouble.c 	unsigned int dm;
dm               1154 arch/arm/vfp/vfpdouble.c 		dm = vfp_get_sm(inst);
dm               1156 arch/arm/vfp/vfpdouble.c 		dm = vfp_get_dm(inst);
dm               1181 arch/arm/vfp/vfpdouble.c 				 type, dest, dn, dm);
dm               1185 arch/arm/vfp/vfpdouble.c 				 type, dest, dn, FOP_TO_IDX(op), dm);
dm               1187 arch/arm/vfp/vfpdouble.c 		except = fop->fn(dest, dn, dm, fpscr);
dm               1199 arch/arm/vfp/vfpdouble.c 		if (FREG_BANK(dm) != 0)
dm               1200 arch/arm/vfp/vfpdouble.c 			dm = FREG_BANK(dm) + ((FREG_IDX(dm) + vecstride) & 3);
dm                 55 arch/arm64/kernel/vdso.c 	struct vm_special_mapping *dm;
dm                133 arch/arm64/kernel/vdso.c 	vdso_lookup[arch_index].dm->pages = &vdso_pagelist[0];
dm                159 arch/arm64/kernel/vdso.c 				       vdso_lookup[arch_index].dm);
dm                256 arch/arm64/kernel/vdso.c 	vdso_lookup[ARM64_VDSO32].dm = &aarch32_vdso_spec[C_VVAR];
dm                397 arch/arm64/kernel/vdso.c 	vdso_lookup[ARM64_VDSO].dm = &vdso_spec[A_VVAR];
dm                 43 arch/ia64/include/asm/uv/uv_mmrs.h 	unsigned long	dm       :  3;  /* RW */
dm                271 arch/ia64/include/asm/uv/uv_mmrs.h 	unsigned long	dm       :  3;  /* RW */
dm                309 arch/ia64/include/asm/uv/uv_mmrs.h 	unsigned long	dm       :  3;  /* RW */
dm                347 arch/ia64/include/asm/uv/uv_mmrs.h 	unsigned long	dm       :  3;  /* RW */
dm                385 arch/ia64/include/asm/uv/uv_mmrs.h 	unsigned long	dm       :  3;  /* RW */
dm                625 arch/ia64/include/asm/uv/uv_mmrs.h 	unsigned long	dm       :  3;  /* RW */
dm                663 arch/ia64/include/asm/uv/uv_mmrs.h 	unsigned long	dm       :  3;  /* RW */
dm                701 arch/ia64/include/asm/uv/uv_mmrs.h 	unsigned long	dm       :  3;  /* RW */
dm                 86 arch/mips/include/asm/txx9/tx4939.h 	struct tx4939_le_reg dm[2];
dm                132 arch/mips/kernel/setup.c 	void *dm = &detect_magic;
dm                136 arch/mips/kernel/setup.c 		if (!memcmp(dm, dm + size, sizeof(detect_magic)))
dm                132 arch/mips/txx9/generic/irq_tx4939.c 		crp = &tx4939_ircptr->dm[(irq_nr & 8) >> 3].r;
dm                189 arch/mips/txx9/generic/irq_tx4939.c 		__raw_writel(0, &tx4939_ircptr->dm[i].r);
dm                491 arch/powerpc/include/asm/ps3av.h 		u8 dm:1;
dm                176 arch/x86/include/asm/uv/uv_mmrs.h 		unsigned long	dm:3;				/* RW */
dm                777 arch/x86/include/asm/uv/uv_mmrs.h 		unsigned long	dm:3;				/* RW */
dm                816 arch/x86/include/asm/uv/uv_mmrs.h 		unsigned long	dm:3;				/* RW */
dm               1288 arch/x86/include/asm/uv/uv_mmrs.h 		unsigned long	dm:3;				/* RW */
dm               1335 arch/x86/include/asm/uv/uv_mmrs.h 		unsigned long	dm:3;				/* RW */
dm               4204 arch/x86/include/asm/uv/uv_mmrs.h 		unsigned long	dm:3;				/* RW */
dm                467 arch/x86/kernel/cpu/resctrl/core.c void setup_default_ctrlval(struct rdt_resource *r, u32 *dc, u32 *dm)
dm                477 arch/x86/kernel/cpu/resctrl/core.c 	for (i = 0; i < r->num_closid; i++, dc++, dm++) {
dm                479 arch/x86/kernel/cpu/resctrl/core.c 		*dm = MBA_MAX_MBPS;
dm                486 arch/x86/kernel/cpu/resctrl/core.c 	u32 *dc, *dm;
dm                492 arch/x86/kernel/cpu/resctrl/core.c 	dm = kmalloc_array(r->num_closid, sizeof(*d->mbps_val), GFP_KERNEL);
dm                493 arch/x86/kernel/cpu/resctrl/core.c 	if (!dm) {
dm                499 arch/x86/kernel/cpu/resctrl/core.c 	d->mbps_val = dm;
dm                500 arch/x86/kernel/cpu/resctrl/core.c 	setup_default_ctrlval(r, dc, dm);
dm                596 arch/x86/kernel/cpu/resctrl/internal.h void setup_default_ctrlval(struct rdt_resource *r, u32 *dc, u32 *dm);
dm                444 arch/x86/kvm/trace.h 	    TP_PROTO(__u32 apicid, __u16 dm, __u16 tm, __u8 vec),
dm                445 arch/x86/kvm/trace.h 	    TP_ARGS(apicid, dm, tm, vec),
dm                449 arch/x86/kvm/trace.h 		__field(	__u16,		dm		)
dm                456 arch/x86/kvm/trace.h 		__entry->dm		= dm;
dm                463 arch/x86/kvm/trace.h 		  __print_symbolic((__entry->dm >> 8 & 0x7), kvm_deliver_mode),
dm                196 arch/x86/pci/common.c static void __init read_dmi_type_b1(const struct dmi_header *dm,
dm                199 arch/x86/pci/common.c 	u8 *data = (u8 *)dm + 4;
dm                201 arch/x86/pci/common.c 	if (dm->type != 0xB1)
dm                881 drivers/acpi/battery.c static void find_battery(const struct dmi_header *dm, void *private)
dm                886 drivers/acpi/battery.c 	if (dm->type == DMI_ENTRY_PORTABLE_BATTERY && dm->length >= 8) {
dm                887 drivers/acpi/battery.c 		const u8 *dmi_data = (const u8 *)(dm + 1);
dm                889 drivers/acpi/battery.c 		if (dm->length >= 18)
dm               2096 drivers/ata/libahci.c 	u32 devslp, dm, dito, mdat, deto, dito_conf;
dm               2120 drivers/ata/libahci.c 	dm = (devslp & PORT_DEVSLP_DM_MASK) >> PORT_DEVSLP_DM_OFFSET;
dm               2121 drivers/ata/libahci.c 	dito = devslp_idle_timeout / (dm + 1);
dm                126 drivers/char/ipmi/ipmi_dmi.c static void __init dmi_decode_ipmi(const struct dmi_header *dm)
dm                128 drivers/char/ipmi/ipmi_dmi.c 	const u8 *data = (const u8 *) dm;
dm                131 drivers/char/ipmi/ipmi_dmi.c 	u8 len = dm->length;
dm                102 drivers/cpufreq/cppc_cpufreq.c static void cppc_find_dmi_mhz(const struct dmi_header *dm, void *private)
dm                104 drivers/cpufreq/cppc_cpufreq.c 	const u8 *dmi_data = (const u8 *)dm;
dm                107 drivers/cpufreq/cppc_cpufreq.c 	if (dm->type == DMI_ENTRY_PROCESSOR &&
dm                108 drivers/cpufreq/cppc_cpufreq.c 	    dm->length >= DMI_ENTRY_PROCESSOR_MIN_LENGTH) {
dm                 41 drivers/firmware/dmi_scan.c static const char * __init dmi_string_nosave(const struct dmi_header *dm, u8 s)
dm                 43 drivers/firmware/dmi_scan.c 	const u8 *bp = ((u8 *) dm) + dm->length;
dm                 61 drivers/firmware/dmi_scan.c static const char * __init dmi_string(const struct dmi_header *dm, u8 s)
dm                 63 drivers/firmware/dmi_scan.c 	const char *bp = dmi_string_nosave(dm, s);
dm                 97 drivers/firmware/dmi_scan.c 		const struct dmi_header *dm = (const struct dmi_header *)data;
dm                104 drivers/firmware/dmi_scan.c 		data += dm->length;
dm                108 drivers/firmware/dmi_scan.c 			decode(dm, private_data);
dm                121 drivers/firmware/dmi_scan.c 		if (!dmi_num && dm->type == DMI_ENTRY_END_OF_TABLE)
dm                168 drivers/firmware/dmi_scan.c static void __init dmi_save_ident(const struct dmi_header *dm, int slot,
dm                171 drivers/firmware/dmi_scan.c 	const char *d = (const char *) dm;
dm                174 drivers/firmware/dmi_scan.c 	if (dmi_ident[slot] || dm->length <= string)
dm                177 drivers/firmware/dmi_scan.c 	p = dmi_string(dm, d[string]);
dm                184 drivers/firmware/dmi_scan.c static void __init dmi_save_uuid(const struct dmi_header *dm, int slot,
dm                191 drivers/firmware/dmi_scan.c 	if (dmi_ident[slot] || dm->length < index + 16)
dm                194 drivers/firmware/dmi_scan.c 	d = (u8 *) dm + index;
dm                222 drivers/firmware/dmi_scan.c static void __init dmi_save_type(const struct dmi_header *dm, int slot,
dm                228 drivers/firmware/dmi_scan.c 	if (dmi_ident[slot] || dm->length <= index)
dm                235 drivers/firmware/dmi_scan.c 	d = (u8 *) dm + index;
dm                259 drivers/firmware/dmi_scan.c static void __init dmi_save_devices(const struct dmi_header *dm)
dm                261 drivers/firmware/dmi_scan.c 	int i, count = (dm->length - sizeof(struct dmi_header)) / 2;
dm                264 drivers/firmware/dmi_scan.c 		const char *d = (char *)(dm + 1) + (i * 2);
dm                270 drivers/firmware/dmi_scan.c 		dmi_save_one_device(*d & 0x7f, dmi_string_nosave(dm, *(d + 1)));
dm                274 drivers/firmware/dmi_scan.c static void __init dmi_save_oem_strings_devices(const struct dmi_header *dm)
dm                279 drivers/firmware/dmi_scan.c 	if (dm->length < 0x05)
dm                282 drivers/firmware/dmi_scan.c 	count = *(u8 *)(dm + 1);
dm                284 drivers/firmware/dmi_scan.c 		const char *devname = dmi_string(dm, i);
dm                301 drivers/firmware/dmi_scan.c static void __init dmi_save_ipmi_device(const struct dmi_header *dm)
dm                306 drivers/firmware/dmi_scan.c 	data = dmi_alloc(dm->length);
dm                310 drivers/firmware/dmi_scan.c 	memcpy(data, dm, dm->length);
dm                350 drivers/firmware/dmi_scan.c static void __init dmi_save_extended_devices(const struct dmi_header *dm)
dm                353 drivers/firmware/dmi_scan.c 	const u8 *d = (u8 *)dm;
dm                355 drivers/firmware/dmi_scan.c 	if (dm->length < 0x0B)
dm                362 drivers/firmware/dmi_scan.c 	name = dmi_string_nosave(dm, d[0x4]);
dm                368 drivers/firmware/dmi_scan.c static void __init dmi_save_system_slot(const struct dmi_header *dm)
dm                370 drivers/firmware/dmi_scan.c 	const u8 *d = (u8 *)dm;
dm                373 drivers/firmware/dmi_scan.c 	if (dm->length < 0x11)
dm                376 drivers/firmware/dmi_scan.c 			     d[0x10], dmi_string_nosave(dm, d[0x4]),
dm                380 drivers/firmware/dmi_scan.c static void __init count_mem_devices(const struct dmi_header *dm, void *v)
dm                382 drivers/firmware/dmi_scan.c 	if (dm->type != DMI_ENTRY_MEM_DEVICE)
dm                387 drivers/firmware/dmi_scan.c static void __init save_mem_devices(const struct dmi_header *dm, void *v)
dm                389 drivers/firmware/dmi_scan.c 	const char *d = (const char *)dm;
dm                394 drivers/firmware/dmi_scan.c 	if (dm->type != DMI_ENTRY_MEM_DEVICE || dm->length < 0x12)
dm                400 drivers/firmware/dmi_scan.c 	dmi_memdev[nr].handle = get_unaligned(&dm->handle);
dm                401 drivers/firmware/dmi_scan.c 	dmi_memdev[nr].device = dmi_string(dm, d[0x10]);
dm                402 drivers/firmware/dmi_scan.c 	dmi_memdev[nr].bank = dmi_string(dm, d[0x11]);
dm                411 drivers/firmware/dmi_scan.c 	else if (size != 0x7fff || dm->length < 0x20)
dm                434 drivers/firmware/dmi_scan.c static void __init dmi_decode(const struct dmi_header *dm, void *dummy)
dm                436 drivers/firmware/dmi_scan.c 	switch (dm->type) {
dm                438 drivers/firmware/dmi_scan.c 		dmi_save_ident(dm, DMI_BIOS_VENDOR, 4);
dm                439 drivers/firmware/dmi_scan.c 		dmi_save_ident(dm, DMI_BIOS_VERSION, 5);
dm                440 drivers/firmware/dmi_scan.c 		dmi_save_ident(dm, DMI_BIOS_DATE, 8);
dm                443 drivers/firmware/dmi_scan.c 		dmi_save_ident(dm, DMI_SYS_VENDOR, 4);
dm                444 drivers/firmware/dmi_scan.c 		dmi_save_ident(dm, DMI_PRODUCT_NAME, 5);
dm                445 drivers/firmware/dmi_scan.c 		dmi_save_ident(dm, DMI_PRODUCT_VERSION, 6);
dm                446 drivers/firmware/dmi_scan.c 		dmi_save_ident(dm, DMI_PRODUCT_SERIAL, 7);
dm                447 drivers/firmware/dmi_scan.c 		dmi_save_uuid(dm, DMI_PRODUCT_UUID, 8);
dm                448 drivers/firmware/dmi_scan.c 		dmi_save_ident(dm, DMI_PRODUCT_SKU, 25);
dm                449 drivers/firmware/dmi_scan.c 		dmi_save_ident(dm, DMI_PRODUCT_FAMILY, 26);
dm                452 drivers/firmware/dmi_scan.c 		dmi_save_ident(dm, DMI_BOARD_VENDOR, 4);
dm                453 drivers/firmware/dmi_scan.c 		dmi_save_ident(dm, DMI_BOARD_NAME, 5);
dm                454 drivers/firmware/dmi_scan.c 		dmi_save_ident(dm, DMI_BOARD_VERSION, 6);
dm                455 drivers/firmware/dmi_scan.c 		dmi_save_ident(dm, DMI_BOARD_SERIAL, 7);
dm                456 drivers/firmware/dmi_scan.c 		dmi_save_ident(dm, DMI_BOARD_ASSET_TAG, 8);
dm                459 drivers/firmware/dmi_scan.c 		dmi_save_ident(dm, DMI_CHASSIS_VENDOR, 4);
dm                460 drivers/firmware/dmi_scan.c 		dmi_save_type(dm, DMI_CHASSIS_TYPE, 5);
dm                461 drivers/firmware/dmi_scan.c 		dmi_save_ident(dm, DMI_CHASSIS_VERSION, 6);
dm                462 drivers/firmware/dmi_scan.c 		dmi_save_ident(dm, DMI_CHASSIS_SERIAL, 7);
dm                463 drivers/firmware/dmi_scan.c 		dmi_save_ident(dm, DMI_CHASSIS_ASSET_TAG, 8);
dm                466 drivers/firmware/dmi_scan.c 		dmi_save_system_slot(dm);
dm                469 drivers/firmware/dmi_scan.c 		dmi_save_devices(dm);
dm                472 drivers/firmware/dmi_scan.c 		dmi_save_oem_strings_devices(dm);
dm                475 drivers/firmware/dmi_scan.c 		dmi_save_ipmi_device(dm);
dm                478 drivers/firmware/dmi_scan.c 		dmi_save_extended_devices(dm);
dm                956 drivers/gpu/drm/amd/amdgpu/amdgpu.h 	struct amdgpu_display_manager dm;
dm               1504 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 			adev->dm.soc_bounding_box = &gpu_info_fw->soc_bounding_box;
dm                293 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		fw_info->ver = adev->dm.dmcu_fw_version;
dm                413 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c FW_VERSION_ATTR(dmcu_fw_version, 0444, dm.dmcu_fw_version);
dm                884 drivers/gpu/drm/amd/amdkfd/kfd_topology.c static void find_system_memory(const struct dmi_header *dm,
dm                891 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 	const u8 *dmi_data = (const u8 *)(dm + 1);
dm                893 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 	if (dm->type == DMI_ENTRY_MEM_DEVICE && dm->length >= 0x15) {
dm                112 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c static void amdgpu_dm_destroy_drm_device(struct amdgpu_display_manager *dm);
dm                117 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c static int amdgpu_dm_plane_init(struct amdgpu_display_manager *dm,
dm                121 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c static int amdgpu_dm_crtc_init(struct amdgpu_display_manager *dm,
dm                124 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c static int amdgpu_dm_connector_init(struct amdgpu_display_manager *dm,
dm                396 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				    adev->dm.freesync_module,
dm                401 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				    adev->dm.dc,
dm                444 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				adev->dm.freesync_module,
dm                449 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				adev->dm.dc,
dm                477 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct dm_comressor_info *compressor = &adev->dm.compressor;
dm                482 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (adev->dm.dc->fbc_compressor == NULL)
dm                505 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			adev->dm.dc->ctx->fbc_gpu_addr = compressor->gpu_addr;
dm                526 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	mutex_lock(&adev->dm.audio_lock);
dm                542 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	mutex_unlock(&adev->dm.audio_lock);
dm                562 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->dm.audio_component = acomp;
dm                576 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->dm.audio_component = NULL;
dm                593 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->mode_info.audio.num_pins = adev->dm.dc->res_pool->audio_count;
dm                603 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			adev->dm.dc->res_pool->audios[i]->inst;
dm                611 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->dm.audio_registered = true;
dm                624 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (adev->dm.audio_registered) {
dm                626 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		adev->dm.audio_registered = false;
dm                636 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct drm_audio_component *acomp = adev->dm.audio_component;
dm                649 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->dm.ddev = adev->ddev;
dm                650 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->dm.adev = adev;
dm                655 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	mutex_init(&adev->dm.dc_lock);
dm                656 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	mutex_init(&adev->dm.audio_lock);
dm                675 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->dm.cgs_device = amdgpu_cgs_create_device(adev);
dm                677 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (!adev->dm.cgs_device) {
dm                682 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	init_data.cgs_device = adev->dm.cgs_device;
dm                703 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	init_data.soc_bounding_box = adev->dm.soc_bounding_box;
dm                707 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->dm.dc = dc_create(&init_data);
dm                709 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (adev->dm.dc) {
dm                716 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->dm.freesync_module = mod_freesync_create(adev->dm.dc);
dm                717 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (!adev->dm.freesync_module) {
dm                722 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				adev->dm.freesync_module);
dm                733 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->mode_info.num_crtc = adev->dm.display_indexes_num;
dm                738 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->ddev->mode_config.cursor_width = adev->dm.dc->caps.max_cursor_size;
dm                739 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->ddev->mode_config.cursor_height = adev->dm.dc->caps.max_cursor_size;
dm                741 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (drm_vblank_init(adev->ddev, adev->dm.display_indexes_num)) {
dm                765 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	amdgpu_dm_destroy_drm_device(&adev->dm);
dm                768 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (adev->dm.dc)
dm                769 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		dc_destroy(&adev->dm.dc);
dm                776 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (adev->dm.cgs_device) {
dm                777 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		amdgpu_cgs_destroy_device(adev->dm.cgs_device);
dm                778 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		adev->dm.cgs_device = NULL;
dm                780 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (adev->dm.freesync_module) {
dm                781 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		mod_freesync_destroy(adev->dm.freesync_module);
dm                782 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		adev->dm.freesync_module = NULL;
dm                785 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	mutex_destroy(&adev->dm.audio_lock);
dm                786 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	mutex_destroy(&adev->dm.dc_lock);
dm                837 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	r = request_firmware_direct(&adev->dm.fw_dmcu, fw_name_dmcu, adev->dev);
dm                841 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		adev->dm.fw_dmcu = NULL;
dm                850 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	r = amdgpu_ucode_validate(adev->dm.fw_dmcu);
dm                854 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		release_firmware(adev->dm.fw_dmcu);
dm                855 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		adev->dm.fw_dmcu = NULL;
dm                859 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	hdr = (const struct dmcu_firmware_header_v1_0 *)adev->dm.fw_dmcu->data;
dm                861 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->firmware.ucode[AMDGPU_UCODE_ID_DMCU_ERAM].fw = adev->dm.fw_dmcu;
dm                866 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->firmware.ucode[AMDGPU_UCODE_ID_DMCU_INTV].fw = adev->dm.fw_dmcu;
dm                870 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->dm.dmcu_fw_version = le32_to_cpu(hdr->header.ucode_version);
dm                888 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if(adev->dm.fw_dmcu) {
dm                889 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		release_firmware(adev->dm.fw_dmcu);
dm                890 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		adev->dm.fw_dmcu = NULL;
dm                931 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct dmcu *dmcu = adev->dm.dc->res_pool->dmcu;
dm               1047 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_display_manager *dm = &adev->dm;
dm               1050 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	WARN_ON(adev->dm.cached_state);
dm               1051 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->dm.cached_state = drm_atomic_helper_suspend(adev->ddev);
dm               1058 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	dc_set_power_state(dm->dc, DC_ACPI_CM_POWER_STATE_D3);
dm               1168 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_display_manager *dm = &adev->dm;
dm               1177 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct dm_atomic_state *dm_state = to_dm_atomic_state(dm->atomic_obj.state);
dm               1183 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	dm_state->context = dc_create_state(dm->dc);
dm               1185 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	dc_resource_state_construct(dm->dc, dm_state->context);
dm               1188 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	dc_set_power_state(dm->dc, DC_ACPI_CM_POWER_STATE_D0);
dm               1191 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	dc_resume(dm->dc);
dm               1233 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	for_each_new_crtc_in_state(dm->cached_state, crtc, new_crtc_state, i)
dm               1241 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	for_each_new_crtc_in_state(dm->cached_state, crtc, new_crtc_state, i) {
dm               1250 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	for_each_new_plane_in_state(dm->cached_state, plane, new_plane_state, i) {
dm               1259 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	drm_atomic_helper_resume(ddev, dm->cached_state);
dm               1261 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	dm->cached_state = NULL;
dm               1686 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct dc *dc = adev->dm.dc;
dm               1722 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		c_irq_params = &adev->dm.vblank_params[int_params.irq_source - DC_IRQ_SOURCE_VBLANK1];
dm               1743 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		c_irq_params = &adev->dm.vupdate_params[int_params.irq_source - DC_IRQ_SOURCE_VUPDATE1];
dm               1765 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		c_irq_params = &adev->dm.pflip_params[int_params.irq_source - DC_IRQ_SOURCE_PFLIP_FIRST];
dm               1792 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct dc *dc = adev->dm.dc;
dm               1828 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		c_irq_params = &adev->dm.vblank_params[int_params.irq_source - DC_IRQ_SOURCE_VBLANK1];
dm               1856 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		c_irq_params = &adev->dm.vupdate_params[int_params.irq_source - DC_IRQ_SOURCE_VUPDATE1];
dm               1879 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		c_irq_params = &adev->dm.pflip_params[int_params.irq_source - DC_IRQ_SOURCE_PFLIP_FIRST];
dm               1914 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_display_manager *dm = &adev->dm;
dm               1920 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	priv_state = drm_atomic_get_private_obj_state(state, &dm->atomic_obj);
dm               1934 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_display_manager *dm = &adev->dm;
dm               1940 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		if (obj->funcs == dm->atomic_obj.funcs)
dm               1952 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_display_manager *dm = &adev->dm;
dm               1958 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		if (obj->funcs == dm->atomic_obj.funcs)
dm               2029 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	state->context = dc_create_state(adev->dm.dc);
dm               2035 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	dc_resource_state_copy_construct_current(adev->dm.dc, state->context);
dm               2038 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				    &adev->dm.atomic_obj,
dm               2059 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c static void amdgpu_dm_update_backlight_caps(struct amdgpu_display_manager *dm)
dm               2064 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (dm->backlight_caps.caps_valid)
dm               2067 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	amdgpu_acpi_get_backlight_caps(dm->adev, &caps);
dm               2069 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		dm->backlight_caps.min_input_signal = caps.min_input_signal;
dm               2070 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		dm->backlight_caps.max_input_signal = caps.max_input_signal;
dm               2071 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		dm->backlight_caps.caps_valid = true;
dm               2073 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		dm->backlight_caps.min_input_signal =
dm               2075 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		dm->backlight_caps.max_input_signal =
dm               2079 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	dm->backlight_caps.min_input_signal = AMDGPU_DM_DEFAULT_MIN_BACKLIGHT;
dm               2080 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	dm->backlight_caps.max_input_signal = AMDGPU_DM_DEFAULT_MAX_BACKLIGHT;
dm               2086 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_display_manager *dm = bl_get_data(bd);
dm               2090 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	amdgpu_dm_update_backlight_caps(dm);
dm               2091 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	caps = dm->backlight_caps;
dm               2108 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (dc_link_set_backlight_level(dm->backlight_link,
dm               2117 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_display_manager *dm = bl_get_data(bd);
dm               2118 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	int ret = dc_link_get_backlight_level(dm->backlight_link);
dm               2132 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c amdgpu_dm_register_backlight_device(struct amdgpu_display_manager *dm)
dm               2137 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	amdgpu_dm_update_backlight_caps(dm);
dm               2144 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			dm->adev->ddev->primary->index);
dm               2146 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	dm->backlight_dev = backlight_device_register(bl_name,
dm               2147 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			dm->adev->ddev->dev,
dm               2148 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			dm,
dm               2152 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (IS_ERR(dm->backlight_dev))
dm               2160 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c static int initialize_plane(struct amdgpu_display_manager *dm,
dm               2183 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (plane_id >= dm->dc->caps.max_streams)
dm               2186 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	ret = amdgpu_dm_plane_init(dm, plane, possible_crtcs, plane_cap);
dm               2201 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c static void register_backlight_device(struct amdgpu_display_manager *dm,
dm               2214 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		amdgpu_dm_register_backlight_device(dm);
dm               2216 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		if (dm->backlight_dev)
dm               2217 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			dm->backlight_link = link;
dm               2233 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_display_manager *dm = &adev->dm;
dm               2243 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	link_cnt = dm->dc->caps.max_links;
dm               2244 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (amdgpu_dm_mode_config_init(dm->adev)) {
dm               2250 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	primary_planes = dm->dc->caps.max_streams;
dm               2258 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		plane = &dm->dc->caps.planes[i];
dm               2260 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		if (initialize_plane(dm, mode_info, i,
dm               2276 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	for (i = 0; i < dm->dc->caps.max_planes; ++i) {
dm               2277 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		struct dc_plane_cap *plane = &dm->dc->caps.planes[i];
dm               2288 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		if (initialize_plane(dm, NULL, primary_planes + i,
dm               2298 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	for (i = 0; i < dm->dc->caps.max_streams; i++)
dm               2299 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		if (amdgpu_dm_crtc_init(dm, mode_info->planes[i], i)) {
dm               2304 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	dm->display_indexes_num = dm->dc->caps.max_streams;
dm               2325 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		if (amdgpu_dm_encoder_init(dm->ddev, aencoder, i)) {
dm               2330 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		if (amdgpu_dm_connector_init(dm, aconnector, i, aencoder)) {
dm               2335 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		link = dc_get_link_at_index(dm->dc, i);
dm               2346 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			register_backlight_device(dm, link);
dm               2370 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		if (dce110_register_irq_handlers(dm->adev)) {
dm               2385 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		if (dcn10_register_irq_handlers(dm->adev)) {
dm               2397 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		dm->dc->debug.disable_stutter = amdgpu_pp_feature_mask & PP_STUTTER_MODE ? false : true;
dm               2407 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c static void amdgpu_dm_destroy_drm_device(struct amdgpu_display_manager *dm)
dm               2409 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	drm_mode_config_cleanup(dm->ddev);
dm               2410 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	drm_atomic_private_obj_fini(&dm->atomic_obj);
dm               2709 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct dc *dc = adev->dm.dc;
dm               3754 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	rc = dc_interrupt_set(adev->dm.dc, irq_source, enable) ? 0 : -EBUSY;
dm               3782 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	return dc_interrupt_set(adev->dm.dc, irq_source, enable) ? 0 : -EBUSY;
dm               3946 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_display_manager *dm = &adev->dm;
dm               3953 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	    dm->backlight_dev) {
dm               3954 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		backlight_device_unregister(dm->backlight_dev);
dm               3955 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		dm->backlight_dev = NULL;
dm               4133 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	dc_result = dc_validate_stream(adev->dm.dc, stream);
dm               4365 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct dc *dc = adev->dm.dc;
dm               4596 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct dc *dc = adev->dm.dc;
dm               4733 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c static int amdgpu_dm_plane_init(struct amdgpu_display_manager *dm,
dm               4745 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	res = drm_universal_plane_init(dm->adev->ddev, plane, possible_crtcs,
dm               4781 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c static int amdgpu_dm_crtc_init(struct amdgpu_display_manager *dm,
dm               4795 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	res = amdgpu_dm_plane_init(dm, cursor_plane, 0, NULL);
dm               4802 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			dm->ddev,
dm               4817 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	acrtc->max_cursor_width = dm->adev->dm.dc->caps.max_cursor_size;
dm               4818 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	acrtc->max_cursor_height = dm->adev->dm.dc->caps.max_cursor_size;
dm               4824 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	dm->adev->mode_info.crtcs[crtc_index] = acrtc;
dm               5028 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c void amdgpu_dm_connector_init_helper(struct amdgpu_display_manager *dm,
dm               5034 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_device *adev = dm->ddev->dev_private;
dm               5076 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				dm->ddev->mode_config.scaling_mode_property,
dm               5096 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	    dc_is_dmcu_initialized(adev->dm.dc)) {
dm               5106 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			dm->ddev->mode_config.hdr_output_metadata_property, 0);
dm               5186 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c static int amdgpu_dm_connector_init(struct amdgpu_display_manager *dm,
dm               5193 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct dc *dc = dm->dc;
dm               5218 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			dm->ddev,
dm               5234 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		dm,
dm               5252 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		amdgpu_dm_initialize_dp_connector(dm, aconnector);
dm               5444 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			mutex_lock(&adev->dm.dc_lock);
dm               5447 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			mutex_unlock(&adev->dm.dc_lock);
dm               5467 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		mutex_lock(&adev->dm.dc_lock);
dm               5475 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		mutex_unlock(&adev->dm.dc_lock);
dm               5498 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_display_manager *dm,
dm               5506 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_device *adev = dm->adev;
dm               5525 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			dm->freesync_module,
dm               5533 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			mod_freesync_handle_v_update(dm->freesync_module,
dm               5537 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			dc_stream_adjust_vmin_vmax(dm->dc,
dm               5544 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		dm->freesync_module,
dm               5577 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_display_manager *dm,
dm               5583 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_device *adev = dm->adev;
dm               5609 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	mod_freesync_build_vrr_params(dm->freesync_module,
dm               5671 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				    struct amdgpu_display_manager *dm,
dm               5787 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			dm->adev, new_plane_state, tiling_flags,
dm               5820 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				dm,
dm               5843 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			last_flip_vblank = amdgpu_get_vblank_counter_kms(dm->ddev, acrtc_attach->crtc_id);
dm               5866 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			(amdgpu_display_get_crtc_scanoutpos(dm->ddev, acrtc_attach->crtc_id,
dm               5872 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			  amdgpu_get_vblank_counter_kms(dm->ddev, acrtc_attach->crtc_id)) > 0)) {
dm               5928 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				dm->dc, acrtc_state->stream,
dm               5933 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		mutex_lock(&dm->dc_lock);
dm               5934 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		dc_commit_updates_for_stream(dm->dc,
dm               5940 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		mutex_unlock(&dm->dc_lock);
dm               5989 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		mutex_lock(&adev->dm.audio_lock);
dm               5992 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		mutex_unlock(&adev->dm.audio_lock);
dm               6021 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		mutex_lock(&adev->dm.audio_lock);
dm               6024 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		mutex_unlock(&adev->dm.audio_lock);
dm               6158 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_display_manager *dm = &adev->dm;
dm               6178 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		dc_state_temp = dc_create_state(dm->dc);
dm               6181 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		dc_resource_state_copy_construct_current(dm->dc, dc_state);
dm               6257 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		mutex_lock(&dm->dc_lock);
dm               6258 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		WARN_ON(!dc_commit_state(dm->dc, dc_state));
dm               6259 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		mutex_unlock(&dm->dc_lock);
dm               6352 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		mutex_lock(&dm->dc_lock);
dm               6353 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		dc_commit_updates_for_stream(dm->dc,
dm               6359 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		mutex_unlock(&dm->dc_lock);
dm               6372 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		pre_update_freesync_state_on_stream(dm, dm_new_crtc_state);
dm               6392 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 						dm, crtc, wait_for_vblank);
dm               6618 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c static int dm_update_crtc_state(struct amdgpu_display_manager *dm,
dm               6741 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				dm->dc,
dm               6784 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 					dm->dc,
dm               7073 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c dm_determine_update_type_for_commit(struct amdgpu_display_manager *dm,
dm               7077 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct dc *dc = dm->dc;
dm               7178 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 					dm->adev, new_plane_state, tiling_flags,
dm               7212 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		mutex_lock(&dm->dc_lock);
dm               7215 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		mutex_unlock(&dm->dc_lock);
dm               7260 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct dc *dc = adev->dm.dc;
dm               7349 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		ret = dm_update_crtc_state(&adev->dm, state, crtc,
dm               7360 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		ret = dm_update_crtc_state(&adev->dm, state, crtc,
dm               7428 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	ret = dm_determine_update_type_for_commit(&adev->dm, state, &update_type);
dm               7561 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (!adev->dm.freesync_module)
dm               7570 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 						adev->dm.dc,
dm                370 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h void amdgpu_dm_connector_init_helper(struct amdgpu_display_manager *dm,
dm                113 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c 	mutex_lock(&adev->dm.dc_lock);
dm                132 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c 	mutex_unlock(&adev->dm.dc_lock);
dm                971 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c 	struct dc *dc = adev->dm.dc;
dm               1010 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c 	struct dc *dc = adev->dm.dc;
dm               1032 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c 	struct dc *dc = adev->dm.dc;
dm               1049 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c 	struct dc *dc = adev->dm.dc;
dm               1093 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c 	adev->dm.dc->debug.visual_confirm = (enum visual_confirm)val;
dm               1106 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c 	*val = adev->dm.dc->debug.visual_confirm;
dm                 82 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 	struct amdgpu_display_manager *dm;
dm                 88 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 	spin_lock_irqsave(&adev->dm.irq_handler_list_table_lock, flags)
dm                 91 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 	spin_unlock_irqrestore(&adev->dm.irq_handler_list_table_lock, flags)
dm                100 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 				     struct amdgpu_display_manager *dm)
dm                104 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 	hcd->dm = dm;
dm                160 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 		hnd_list = &adev->dm.irq_handler_list_high_tab[irq_source];
dm                164 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 		hnd_list = &adev->dm.irq_handler_list_low_tab[irq_source].head;
dm                280 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 	init_handler_common_data(handler_data, ih, handler_args, &adev->dm);
dm                291 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 		hnd_list = &adev->dm.irq_handler_list_high_tab[irq_source];
dm                295 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 		hnd_list = &adev->dm.irq_handler_list_low_tab[irq_source].head;
dm                381 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 	spin_lock_init(&adev->dm.irq_handler_list_table_lock);
dm                385 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 		lh = &adev->dm.irq_handler_list_low_tab[src];
dm                390 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 		INIT_LIST_HEAD(&adev->dm.irq_handler_list_high_tab[src]);
dm                413 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 		lh = &adev->dm.irq_handler_list_low_tab[src];
dm                435 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 		hnd_list_l = &adev->dm.irq_handler_list_low_tab[src].head;
dm                436 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 		hnd_list_h = &adev->dm.irq_handler_list_high_tab[src];
dm                438 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 			dc_interrupt_set(adev->dm.dc, src, false);
dm                441 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 		flush_work(&adev->dm.irq_handler_list_low_tab[src].work);
dm                462 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 		hnd_list_l = &adev->dm.irq_handler_list_low_tab[src].head;
dm                463 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 		hnd_list_h = &adev->dm.irq_handler_list_high_tab[src];
dm                465 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 			dc_interrupt_set(adev->dm.dc, src, true);
dm                488 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 		hnd_list_l = &adev->dm.irq_handler_list_low_tab[src].head;
dm                489 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 		hnd_list_h = &adev->dm.irq_handler_list_high_tab[src];
dm                491 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 			dc_interrupt_set(adev->dm.dc, src, true);
dm                510 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 	if (!list_empty(&adev->dm.irq_handler_list_low_tab[irq_source].head))
dm                511 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 		work = &adev->dm.irq_handler_list_low_tab[irq_source].work;
dm                538 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 		&adev->dm.irq_handler_list_high_tab[irq_source]) {
dm                568 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 			adev->dm.dc,
dm                572 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 	dc_interrupt_ack(adev->dm.dc, src);
dm                610 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 	dc_interrupt_set(adev->dm.dc, src, st);
dm                641 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 	dc_interrupt_set(adev->dm.dc, irq_source, st);
dm                743 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 			dc_interrupt_set(adev->dm.dc,
dm                749 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 			dc_interrupt_set(adev->dm.dc,
dm                774 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 		dc_interrupt_set(adev->dm.dc, dc_link->irq_source_hpd, false);
dm                777 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 			dc_interrupt_set(adev->dm.dc,
dm                328 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c 		&adev->dm,
dm                410 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c void amdgpu_dm_initialize_dp_connector(struct amdgpu_display_manager *dm,
dm                420 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c 				      aconnector->base.name, dm->adev->dev);
dm                424 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c 		dm->adev->ddev,
dm                 32 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.h void amdgpu_dm_initialize_dp_connector(struct amdgpu_display_manager *dm,
dm                546 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	const struct dc_context *ctx = pp->dm;
dm                601 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	const struct dc_context *ctx = pp->dm;
dm                614 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	const struct dc_context *ctx = pp->dm;
dm                627 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	const struct dc_context *ctx = pp->dm;
dm                640 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	const struct dc_context *ctx = pp->dm;
dm                653 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	const struct dc_context *ctx = pp->dm;
dm                667 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	const struct dc_context *ctx = pp->dm;
dm                727 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	const struct dc_context *ctx = pp->dm;
dm                743 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	const struct dc_context *ctx = pp->dm;
dm                759 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	const struct dc_context *ctx = pp->dm;
dm                776 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	const struct dc_context *ctx = pp->dm;
dm                798 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	const struct dc_context *ctx = pp->dm;
dm                821 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	const struct dc_context *ctx = pp->dm;
dm                834 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	const struct dc_context *ctx = pp->dm;
dm                869 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	const struct dc_context *ctx = pp->dm;
dm                888 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	const struct dc_context *ctx = pp->dm;
dm                913 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 		funcs->rv_funcs.pp_smu.dm = ctx;
dm                928 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 		funcs->nv_funcs.pp_smu.dm = ctx;
dm                 63 drivers/gpu/drm/amd/display/dc/dm_pp_smu.h 	const void *dm;
dm                 51 drivers/gpu/drm/panel/panel-truly-nt35597.c 	const struct drm_display_mode *dm;
dm                474 drivers/gpu/drm/panel/panel-truly-nt35597.c 	drm_mode_copy(mode, config->dm);
dm                548 drivers/gpu/drm/panel/panel-truly-nt35597.c 	.dm = &qcom_sdm845_mtp_2k_mode,
dm                569 drivers/hv/hv_balloon.c static void post_status(struct hv_dynmem_device *dm);
dm                992 drivers/hv/hv_balloon.c 	struct hv_dynmem_device *dm = &dm_device;
dm                999 drivers/hv/hv_balloon.c 	pg_start = dm->ha_wrk.ha_page_range.finfo.start_page;
dm               1000 drivers/hv/hv_balloon.c 	pfn_cnt = dm->ha_wrk.ha_page_range.finfo.page_cnt;
dm               1002 drivers/hv/hv_balloon.c 	rg_start = dm->ha_wrk.ha_region_range.finfo.start_page;
dm               1003 drivers/hv/hv_balloon.c 	rg_sz = dm->ha_wrk.ha_region_range.finfo.page_cnt;
dm               1005 drivers/hv/hv_balloon.c 	if ((rg_start == 0) && (!dm->host_specified_ha_region)) {
dm               1031 drivers/hv/hv_balloon.c 	dm->num_pages_added += resp.page_count;
dm               1059 drivers/hv/hv_balloon.c 	dm->state = DM_INITIALIZED;
dm               1061 drivers/hv/hv_balloon.c 	vmbus_sendpacket(dm->dev->channel, &resp,
dm               1067 drivers/hv/hv_balloon.c static void process_info(struct hv_dynmem_device *dm, struct dm_info_msg *msg)
dm               1128 drivers/hv/hv_balloon.c static void post_status(struct hv_dynmem_device *dm)
dm               1159 drivers/hv/hv_balloon.c 		dm->num_pages_ballooned +
dm               1160 drivers/hv/hv_balloon.c 		(dm->num_pages_added > dm->num_pages_onlined ?
dm               1161 drivers/hv/hv_balloon.c 		 dm->num_pages_added - dm->num_pages_onlined : 0) +
dm               1165 drivers/hv/hv_balloon.c 			     vm_memory_committed(), dm->num_pages_ballooned,
dm               1166 drivers/hv/hv_balloon.c 			     dm->num_pages_added, dm->num_pages_onlined);
dm               1183 drivers/hv/hv_balloon.c 	vmbus_sendpacket(dm->dev->channel, &status,
dm               1190 drivers/hv/hv_balloon.c static void free_balloon_pages(struct hv_dynmem_device *dm,
dm               1202 drivers/hv/hv_balloon.c 		dm->num_pages_ballooned--;
dm               1208 drivers/hv/hv_balloon.c static unsigned int alloc_balloon_pages(struct hv_dynmem_device *dm,
dm               1232 drivers/hv/hv_balloon.c 		dm->num_pages_ballooned += alloc_unit;
dm               1347 drivers/hv/hv_balloon.c static void balloon_down(struct hv_dynmem_device *dm,
dm               1354 drivers/hv/hv_balloon.c 	unsigned int prev_pages_ballooned = dm->num_pages_ballooned;
dm               1357 drivers/hv/hv_balloon.c 		free_balloon_pages(dm, &range_array[i]);
dm               1362 drivers/hv/hv_balloon.c 		prev_pages_ballooned - dm->num_pages_ballooned);
dm               1377 drivers/hv/hv_balloon.c 	dm->state = DM_INITIALIZED;
dm               1384 drivers/hv/hv_balloon.c 	struct hv_dynmem_device *dm = dm_dev;
dm               1394 drivers/hv/hv_balloon.c 		post_status(dm);
dm               1401 drivers/hv/hv_balloon.c static void version_resp(struct hv_dynmem_device *dm,
dm               1413 drivers/hv/hv_balloon.c 		complete(&dm->host_event);
dm               1423 drivers/hv/hv_balloon.c 	if (dm->next_version == 0)
dm               1430 drivers/hv/hv_balloon.c 	version_req.version.version = dm->next_version;
dm               1431 drivers/hv/hv_balloon.c 	dm->version = version_req.version.version;
dm               1439 drivers/hv/hv_balloon.c 		dm->next_version = DYNMEM_PROTOCOL_VERSION_WIN7;
dm               1443 drivers/hv/hv_balloon.c 		dm->next_version = 0;
dm               1447 drivers/hv/hv_balloon.c 	ret = vmbus_sendpacket(dm->dev->channel, &version_req,
dm               1458 drivers/hv/hv_balloon.c 	dm->state = DM_INIT_ERROR;
dm               1459 drivers/hv/hv_balloon.c 	complete(&dm->host_event);
dm               1462 drivers/hv/hv_balloon.c static void cap_resp(struct hv_dynmem_device *dm,
dm               1467 drivers/hv/hv_balloon.c 		dm->state = DM_INIT_ERROR;
dm               1469 drivers/hv/hv_balloon.c 	complete(&dm->host_event);
dm               1479 drivers/hv/hv_balloon.c 	struct hv_dynmem_device *dm = hv_get_drvdata(dev);
dm               1495 drivers/hv/hv_balloon.c 			version_resp(dm,
dm               1500 drivers/hv/hv_balloon.c 			cap_resp(dm,
dm               1505 drivers/hv/hv_balloon.c 			if (dm->state == DM_BALLOON_UP)
dm               1508 drivers/hv/hv_balloon.c 			dm->state = DM_BALLOON_UP;
dm               1514 drivers/hv/hv_balloon.c 			dm->state = DM_BALLOON_DOWN;
dm               1515 drivers/hv/hv_balloon.c 			balloon_down(dm,
dm               1520 drivers/hv/hv_balloon.c 			if (dm->state == DM_HOT_ADD)
dm               1522 drivers/hv/hv_balloon.c 			dm->state = DM_HOT_ADD;
dm               1529 drivers/hv/hv_balloon.c 				dm->host_specified_ha_region = false;
dm               1531 drivers/hv/hv_balloon.c 				dm->ha_wrk.ha_page_range = *ha_pg_range;
dm               1532 drivers/hv/hv_balloon.c 				dm->ha_wrk.ha_region_range.page_range = 0;
dm               1539 drivers/hv/hv_balloon.c 				dm->host_specified_ha_region = true;
dm               1542 drivers/hv/hv_balloon.c 				dm->ha_wrk.ha_page_range = *ha_pg_range;
dm               1543 drivers/hv/hv_balloon.c 				dm->ha_wrk.ha_region_range = *ha_region;
dm               1549 drivers/hv/hv_balloon.c 			process_info(dm, (struct dm_info_msg *)dm_msg);
dm               1717 drivers/hv/hv_balloon.c 	struct hv_dynmem_device *dm = hv_get_drvdata(dev);
dm               1722 drivers/hv/hv_balloon.c 	if (dm->num_pages_ballooned != 0)
dm               1723 drivers/hv/hv_balloon.c 		pr_warn("Ballooned pages: %d\n", dm->num_pages_ballooned);
dm               1725 drivers/hv/hv_balloon.c 	cancel_work_sync(&dm->balloon_wrk.wrk);
dm               1726 drivers/hv/hv_balloon.c 	cancel_work_sync(&dm->ha_wrk.wrk);
dm               1728 drivers/hv/hv_balloon.c 	kthread_stop(dm->thread);
dm               1735 drivers/hv/hv_balloon.c 	list_for_each_entry_safe(has, tmp, &dm->ha_region_list, list) {
dm               1142 drivers/i2c/busses/i2c-i801.c static void dmi_check_onboard_devices(const struct dmi_header *dm, void *adap)
dm               1146 drivers/i2c/busses/i2c-i801.c 	if (dm->type != 10)
dm               1149 drivers/i2c/busses/i2c-i801.c 	count = (dm->length - sizeof(struct dmi_header)) / 2;
dm               1151 drivers/i2c/busses/i2c-i801.c 		const u8 *d = (char *)(dm + 1) + (i * 2);
dm               1152 drivers/i2c/busses/i2c-i801.c 		const char *name = ((char *) dm) + dm->length;
dm                755 drivers/infiniband/core/uverbs_cmd.c 	mr->dm	    = NULL;
dm                816 drivers/infiniband/core/uverbs_cmd.c 	if (mr->dm) {
dm                 41 drivers/infiniband/core/uverbs_std_types_dm.c 	struct ib_dm *dm = uobject->object;
dm                 44 drivers/infiniband/core/uverbs_std_types_dm.c 	ret = ib_destroy_usecnt(&dm->usecnt, why, uobject);
dm                 48 drivers/infiniband/core/uverbs_std_types_dm.c 	return dm->device->ops.dealloc_dm(dm, attrs);
dm                 59 drivers/infiniband/core/uverbs_std_types_dm.c 	struct ib_dm *dm;
dm                 75 drivers/infiniband/core/uverbs_std_types_dm.c 	dm = ib_dev->ops.alloc_dm(ib_dev, attrs->context, &attr, attrs);
dm                 76 drivers/infiniband/core/uverbs_std_types_dm.c 	if (IS_ERR(dm))
dm                 77 drivers/infiniband/core/uverbs_std_types_dm.c 		return PTR_ERR(dm);
dm                 79 drivers/infiniband/core/uverbs_std_types_dm.c 	dm->device  = ib_dev;
dm                 80 drivers/infiniband/core/uverbs_std_types_dm.c 	dm->length  = attr.length;
dm                 81 drivers/infiniband/core/uverbs_std_types_dm.c 	dm->uobject = uobj;
dm                 82 drivers/infiniband/core/uverbs_std_types_dm.c 	atomic_set(&dm->usecnt, 0);
dm                 84 drivers/infiniband/core/uverbs_std_types_dm.c 	uobj->object = dm;
dm                 87 drivers/infiniband/core/uverbs_std_types_mr.c 	struct ib_dm *dm =
dm                121 drivers/infiniband/core/uverbs_std_types_mr.c 	if (attr.offset > dm->length || attr.length > dm->length ||
dm                122 drivers/infiniband/core/uverbs_std_types_mr.c 	    attr.length > dm->length - attr.offset)
dm                125 drivers/infiniband/core/uverbs_std_types_mr.c 	mr = pd->device->ops.reg_dm_mr(pd, dm, &attr, attrs);
dm                132 drivers/infiniband/core/uverbs_std_types_mr.c 	mr->dm      = dm;
dm                135 drivers/infiniband/core/uverbs_std_types_mr.c 	atomic_inc(&dm->usecnt);
dm               1984 drivers/infiniband/core/verbs.c 	struct ib_dm *dm = mr->dm;
dm               1992 drivers/infiniband/core/verbs.c 		if (dm)
dm               1993 drivers/infiniband/core/verbs.c 			atomic_dec(&dm->usecnt);
dm               2029 drivers/infiniband/core/verbs.c 		mr->dm      = NULL;
dm               2082 drivers/infiniband/core/verbs.c 	mr->dm = NULL;
dm               3055 drivers/infiniband/hw/mlx4/main.c 	struct mlx4_ib_demux_work **dm = NULL;
dm               3070 drivers/infiniband/hw/mlx4/main.c 	dm = kcalloc(ports, sizeof(*dm), GFP_ATOMIC);
dm               3071 drivers/infiniband/hw/mlx4/main.c 	if (!dm)
dm               3075 drivers/infiniband/hw/mlx4/main.c 		dm[i] = kmalloc(sizeof (struct mlx4_ib_demux_work), GFP_ATOMIC);
dm               3076 drivers/infiniband/hw/mlx4/main.c 		if (!dm[i]) {
dm               3078 drivers/infiniband/hw/mlx4/main.c 				kfree(dm[i]);
dm               3081 drivers/infiniband/hw/mlx4/main.c 		INIT_WORK(&dm[i]->work, mlx4_ib_tunnels_update_work);
dm               3082 drivers/infiniband/hw/mlx4/main.c 		dm[i]->port = first_port + i + 1;
dm               3083 drivers/infiniband/hw/mlx4/main.c 		dm[i]->slave = slave;
dm               3084 drivers/infiniband/hw/mlx4/main.c 		dm[i]->do_init = do_init;
dm               3085 drivers/infiniband/hw/mlx4/main.c 		dm[i]->dev = ibdev;
dm               3091 drivers/infiniband/hw/mlx4/main.c 			queue_work(ibdev->sriov.demux[i].ud_wq, &dm[i]->work);
dm               3096 drivers/infiniband/hw/mlx4/main.c 			kfree(dm[i]);
dm               3099 drivers/infiniband/hw/mlx4/main.c 	kfree(dm);
dm                 85 drivers/infiniband/hw/mlx5/cmd.c int mlx5_cmd_alloc_memic(struct mlx5_dm *dm, phys_addr_t *addr,
dm                 88 drivers/infiniband/hw/mlx5/cmd.c 	struct mlx5_core_dev *dev = dm->dev;
dm                118 drivers/infiniband/hw/mlx5/cmd.c 		spin_lock(&dm->lock);
dm                119 drivers/infiniband/hw/mlx5/cmd.c 		page_idx = bitmap_find_next_zero_area(dm->memic_alloc_pages,
dm                125 drivers/infiniband/hw/mlx5/cmd.c 			bitmap_set(dm->memic_alloc_pages,
dm                128 drivers/infiniband/hw/mlx5/cmd.c 		spin_unlock(&dm->lock);
dm                138 drivers/infiniband/hw/mlx5/cmd.c 			spin_lock(&dm->lock);
dm                139 drivers/infiniband/hw/mlx5/cmd.c 			bitmap_clear(dm->memic_alloc_pages,
dm                141 drivers/infiniband/hw/mlx5/cmd.c 			spin_unlock(&dm->lock);
dm                160 drivers/infiniband/hw/mlx5/cmd.c int mlx5_cmd_dealloc_memic(struct mlx5_dm *dm, phys_addr_t addr, u64 length)
dm                162 drivers/infiniband/hw/mlx5/cmd.c 	struct mlx5_core_dev *dev = dm->dev;
dm                180 drivers/infiniband/hw/mlx5/cmd.c 		spin_lock(&dm->lock);
dm                181 drivers/infiniband/hw/mlx5/cmd.c 		bitmap_clear(dm->memic_alloc_pages,
dm                183 drivers/infiniband/hw/mlx5/cmd.c 		spin_unlock(&dm->lock);
dm                 47 drivers/infiniband/hw/mlx5/cmd.h int mlx5_cmd_alloc_memic(struct mlx5_dm *dm, phys_addr_t *addr,
dm                 49 drivers/infiniband/hw/mlx5/cmd.h int mlx5_cmd_dealloc_memic(struct mlx5_dm *dm, phys_addr_t addr, u64 length);
dm               2286 drivers/infiniband/hw/mlx5/main.c 				 struct mlx5_ib_dm *dm,
dm               2290 drivers/infiniband/hw/mlx5/main.c 	struct mlx5_dm *dm_db = &to_mdev(ctx->device)->dm;
dm               2295 drivers/infiniband/hw/mlx5/main.c 	dm->size = roundup(attr->length, MLX5_MEMIC_BASE_SIZE);
dm               2297 drivers/infiniband/hw/mlx5/main.c 	err = mlx5_cmd_alloc_memic(dm_db, &dm->dev_addr,
dm               2298 drivers/infiniband/hw/mlx5/main.c 				   dm->size, attr->alignment);
dm               2302 drivers/infiniband/hw/mlx5/main.c 	page_idx = (dm->dev_addr - pci_resource_start(dm_db->dev->pdev, 0) -
dm               2312 drivers/infiniband/hw/mlx5/main.c 	start_offset = dm->dev_addr & ~PAGE_MASK;
dm               2320 drivers/infiniband/hw/mlx5/main.c 		   DIV_ROUND_UP(dm->size, PAGE_SIZE));
dm               2325 drivers/infiniband/hw/mlx5/main.c 	mlx5_cmd_dealloc_memic(dm_db, dm->dev_addr, dm->size);
dm               2331 drivers/infiniband/hw/mlx5/main.c 				  struct mlx5_ib_dm *dm,
dm               2346 drivers/infiniband/hw/mlx5/main.c 	dm->size = act_size;
dm               2348 drivers/infiniband/hw/mlx5/main.c 				   to_mucontext(ctx)->devx_uid, &dm->dev_addr,
dm               2349 drivers/infiniband/hw/mlx5/main.c 				   &dm->icm_dm.obj_id);
dm               2355 drivers/infiniband/hw/mlx5/main.c 			     &dm->dev_addr, sizeof(dm->dev_addr));
dm               2357 drivers/infiniband/hw/mlx5/main.c 		mlx5_dm_sw_icm_dealloc(dev, type, dm->size,
dm               2358 drivers/infiniband/hw/mlx5/main.c 				       to_mucontext(ctx)->devx_uid, dm->dev_addr,
dm               2359 drivers/infiniband/hw/mlx5/main.c 				       dm->icm_dm.obj_id);
dm               2369 drivers/infiniband/hw/mlx5/main.c 	struct mlx5_ib_dm *dm;
dm               2386 drivers/infiniband/hw/mlx5/main.c 	dm = kzalloc(sizeof(*dm), GFP_KERNEL);
dm               2387 drivers/infiniband/hw/mlx5/main.c 	if (!dm)
dm               2390 drivers/infiniband/hw/mlx5/main.c 	dm->type = type;
dm               2394 drivers/infiniband/hw/mlx5/main.c 		err = handle_alloc_dm_memic(context, dm,
dm               2399 drivers/infiniband/hw/mlx5/main.c 		err = handle_alloc_dm_sw_icm(context, dm,
dm               2404 drivers/infiniband/hw/mlx5/main.c 		err = handle_alloc_dm_sw_icm(context, dm,
dm               2415 drivers/infiniband/hw/mlx5/main.c 	return &dm->ibdm;
dm               2418 drivers/infiniband/hw/mlx5/main.c 	kfree(dm);
dm               2427 drivers/infiniband/hw/mlx5/main.c 	struct mlx5_dm *dm_db = &to_mdev(ibdm->device)->dm;
dm               2428 drivers/infiniband/hw/mlx5/main.c 	struct mlx5_ib_dm *dm = to_mdm(ibdm);
dm               2432 drivers/infiniband/hw/mlx5/main.c 	switch (dm->type) {
dm               2434 drivers/infiniband/hw/mlx5/main.c 		ret = mlx5_cmd_dealloc_memic(dm_db, dm->dev_addr, dm->size);
dm               2438 drivers/infiniband/hw/mlx5/main.c 		page_idx = (dm->dev_addr - pci_resource_start(dev->pdev, 0) -
dm               2442 drivers/infiniband/hw/mlx5/main.c 			     DIV_ROUND_UP(dm->size, PAGE_SIZE));
dm               2446 drivers/infiniband/hw/mlx5/main.c 					     dm->size, ctx->devx_uid, dm->dev_addr,
dm               2447 drivers/infiniband/hw/mlx5/main.c 					     dm->icm_dm.obj_id);
dm               2453 drivers/infiniband/hw/mlx5/main.c 					     dm->size, ctx->devx_uid, dm->dev_addr,
dm               2454 drivers/infiniband/hw/mlx5/main.c 					     dm->icm_dm.obj_id);
dm               2462 drivers/infiniband/hw/mlx5/main.c 	kfree(dm);
dm               6149 drivers/infiniband/hw/mlx5/main.c 	WARN_ON(!bitmap_empty(dev->dm.memic_alloc_pages, MLX5_MAX_MEMIC_PAGES));
dm               6201 drivers/infiniband/hw/mlx5/main.c 	spin_lock_init(&dev->dm.lock);
dm               6202 drivers/infiniband/hw/mlx5/main.c 	dev->dm.dev = mdev;
dm                998 drivers/infiniband/hw/mlx5/mlx5_ib.h 	struct mlx5_dm		dm;
dm               1245 drivers/infiniband/hw/mlx5/mlx5_ib.h struct ib_mr *mlx5_ib_reg_dm_mr(struct ib_pd *pd, struct ib_dm *dm,
dm               1218 drivers/infiniband/hw/mlx5/mr.c struct ib_mr *mlx5_ib_reg_dm_mr(struct ib_pd *pd, struct ib_dm *dm,
dm               1222 drivers/infiniband/hw/mlx5/mr.c 	struct mlx5_ib_dm *mdm = to_mdm(dm);
dm               1223 drivers/infiniband/hw/mlx5/mr.c 	struct mlx5_core_dev *dev = to_mdev(dm->device)->mdev;
dm                 61 drivers/input/misc/yealink.c #define _SEG(t, a, am, b, bm, c, cm, d, dm, e, em, f, fm, g, gm)	\
dm                 64 drivers/input/misc/yealink.c 		        _LOC(d, dm), _LOC(e, em), _LOC(g, gm),		\
dm               3964 drivers/iommu/amd_iommu.c 	irte->fields.dm          = dest_mode;
dm               3977 drivers/iommu/amd_iommu.c 	irte->lo.fields_remap.dm          = dest_mode;
dm               4442 drivers/iommu/amd_iommu.c 	entry->lo.fields_remap.dm          = apic->irq_dest_mode;
dm               1962 drivers/iommu/amd_iommu_init.c 	bool dm     = (addr_lo >> MSI_ADDR_DEST_MODE_SHIFT) & 0x1;
dm               1969 drivers/iommu/amd_iommu_init.c 	      XT_INT_DEST_MODE(dm) |
dm                808 drivers/iommu/amd_iommu_types.h 		    dm		: 1,
dm                829 drivers/iommu/amd_iommu_types.h 		    dm		: 1,
dm                619 drivers/irqchip/irq-stm32-exti.c static int stm32_exti_h_domain_alloc(struct irq_domain *dm,
dm                623 drivers/irqchip/irq-stm32-exti.c 	struct stm32_exti_host_data *host_data = dm->host_data;
dm                634 drivers/irqchip/irq-stm32-exti.c 	irq_domain_set_hwirq_and_chip(dm, virq, hwirq,
dm                639 drivers/irqchip/irq-stm32-exti.c 		p_fwspec.fwnode = dm->parent->fwnode;
dm                645 drivers/irqchip/irq-stm32-exti.c 		return irq_domain_alloc_irqs_parent(dm, virq, 1, &p_fwspec);
dm                240 drivers/net/can/usb/gs_usb.c 	struct gs_device_mode *dm;
dm                244 drivers/net/can/usb/gs_usb.c 	dm = kzalloc(sizeof(*dm), GFP_KERNEL);
dm                245 drivers/net/can/usb/gs_usb.c 	if (!dm)
dm                248 drivers/net/can/usb/gs_usb.c 	dm->mode = GS_CAN_MODE_RESET;
dm                256 drivers/net/can/usb/gs_usb.c 			     dm,
dm                257 drivers/net/can/usb/gs_usb.c 			     sizeof(*dm),
dm                260 drivers/net/can/usb/gs_usb.c 	kfree(dm);
dm                574 drivers/net/can/usb/gs_usb.c 	struct gs_device_mode *dm;
dm                637 drivers/net/can/usb/gs_usb.c 	dm = kmalloc(sizeof(*dm), GFP_KERNEL);
dm                638 drivers/net/can/usb/gs_usb.c 	if (!dm)
dm                643 drivers/net/can/usb/gs_usb.c 	dm->flags = 0;
dm                646 drivers/net/can/usb/gs_usb.c 		dm->flags |= GS_CAN_MODE_LOOP_BACK;
dm                648 drivers/net/can/usb/gs_usb.c 		dm->flags |= GS_CAN_MODE_LISTEN_ONLY;
dm                654 drivers/net/can/usb/gs_usb.c 		dm->flags |= GS_CAN_MODE_ONE_SHOT;
dm                657 drivers/net/can/usb/gs_usb.c 		dm->flags |= GS_CAN_MODE_TRIPLE_SAMPLE;
dm                660 drivers/net/can/usb/gs_usb.c 	dm->mode = GS_CAN_MODE_START;
dm                668 drivers/net/can/usb/gs_usb.c 			     dm,
dm                669 drivers/net/can/usb/gs_usb.c 			     sizeof(*dm),
dm                674 drivers/net/can/usb/gs_usb.c 		kfree(dm);
dm                678 drivers/net/can/usb/gs_usb.c 	kfree(dm);
dm                413 drivers/net/ethernet/davicom/dm9000.c 	struct board_info *dm = to_dm9000_board(dev);
dm                418 drivers/net/ethernet/davicom/dm9000.c 	return generic_mii_ioctl(&dm->mii, if_mii(req), cmd, NULL);
dm                543 drivers/net/ethernet/davicom/dm9000.c 	struct board_info *dm = to_dm9000_board(dev);
dm                547 drivers/net/ethernet/davicom/dm9000.c 	strlcpy(info->bus_info, to_platform_device(dm->dev)->name,
dm                553 drivers/net/ethernet/davicom/dm9000.c 	struct board_info *dm = to_dm9000_board(dev);
dm                555 drivers/net/ethernet/davicom/dm9000.c 	return dm->msg_enable;
dm                560 drivers/net/ethernet/davicom/dm9000.c 	struct board_info *dm = to_dm9000_board(dev);
dm                562 drivers/net/ethernet/davicom/dm9000.c 	dm->msg_enable = value;
dm                568 drivers/net/ethernet/davicom/dm9000.c 	struct board_info *dm = to_dm9000_board(dev);
dm                570 drivers/net/ethernet/davicom/dm9000.c 	mii_ethtool_get_link_ksettings(&dm->mii, cmd);
dm                577 drivers/net/ethernet/davicom/dm9000.c 	struct board_info *dm = to_dm9000_board(dev);
dm                579 drivers/net/ethernet/davicom/dm9000.c 	return mii_ethtool_set_link_ksettings(&dm->mii, cmd);
dm                584 drivers/net/ethernet/davicom/dm9000.c 	struct board_info *dm = to_dm9000_board(dev);
dm                585 drivers/net/ethernet/davicom/dm9000.c 	return mii_nway_restart(&dm->mii);
dm                591 drivers/net/ethernet/davicom/dm9000.c 	struct board_info *dm = to_dm9000_board(dev);
dm                598 drivers/net/ethernet/davicom/dm9000.c 	spin_lock_irqsave(&dm->lock, flags);
dm                599 drivers/net/ethernet/davicom/dm9000.c 	iow(dm, DM9000_RCSR, (features & NETIF_F_RXCSUM) ? RCSR_CSUM : 0);
dm                600 drivers/net/ethernet/davicom/dm9000.c 	spin_unlock_irqrestore(&dm->lock, flags);
dm                607 drivers/net/ethernet/davicom/dm9000.c 	struct board_info *dm = to_dm9000_board(dev);
dm                610 drivers/net/ethernet/davicom/dm9000.c 	if (dm->flags & DM9000_PLATF_EXT_PHY)
dm                611 drivers/net/ethernet/davicom/dm9000.c 		ret = mii_link_ok(&dm->mii);
dm                613 drivers/net/ethernet/davicom/dm9000.c 		ret = dm9000_read_locked(dm, DM9000_NSR) & NSR_LINKST ? 1 : 0;
dm                628 drivers/net/ethernet/davicom/dm9000.c 	struct board_info *dm = to_dm9000_board(dev);
dm                638 drivers/net/ethernet/davicom/dm9000.c 	if (dm->flags & DM9000_PLATF_NO_EEPROM)
dm                644 drivers/net/ethernet/davicom/dm9000.c 		dm9000_read_eeprom(dm, (offset + i) / 2, data + i);
dm                652 drivers/net/ethernet/davicom/dm9000.c 	struct board_info *dm = to_dm9000_board(dev);
dm                659 drivers/net/ethernet/davicom/dm9000.c 	if (dm->flags & DM9000_PLATF_NO_EEPROM)
dm                670 drivers/net/ethernet/davicom/dm9000.c 			dm9000_read_eeprom(dm, offset / 2, tmp);
dm                672 drivers/net/ethernet/davicom/dm9000.c 			dm9000_write_eeprom(dm, offset / 2, tmp);
dm                676 drivers/net/ethernet/davicom/dm9000.c 			dm9000_write_eeprom(dm, offset / 2, data);
dm                690 drivers/net/ethernet/davicom/dm9000.c 	struct board_info *dm = to_dm9000_board(dev);
dm                695 drivers/net/ethernet/davicom/dm9000.c 	w->supported = dm->wake_supported ? WAKE_MAGIC : 0;
dm                696 drivers/net/ethernet/davicom/dm9000.c 	w->wolopts = dm->wake_state;
dm                701 drivers/net/ethernet/davicom/dm9000.c 	struct board_info *dm = to_dm9000_board(dev);
dm                706 drivers/net/ethernet/davicom/dm9000.c 	if (!dm->wake_supported)
dm                715 drivers/net/ethernet/davicom/dm9000.c 	mutex_lock(&dm->addr_lock);
dm                717 drivers/net/ethernet/davicom/dm9000.c 	spin_lock_irqsave(&dm->lock, flags);
dm                718 drivers/net/ethernet/davicom/dm9000.c 	iow(dm, DM9000_WCR, wcr);
dm                719 drivers/net/ethernet/davicom/dm9000.c 	spin_unlock_irqrestore(&dm->lock, flags);
dm                721 drivers/net/ethernet/davicom/dm9000.c 	mutex_unlock(&dm->addr_lock);
dm                723 drivers/net/ethernet/davicom/dm9000.c 	if (dm->wake_state != opts) {
dm                726 drivers/net/ethernet/davicom/dm9000.c 		if (!dm->wake_state)
dm                727 drivers/net/ethernet/davicom/dm9000.c 			irq_set_irq_wake(dm->irq_wake, 1);
dm                728 drivers/net/ethernet/davicom/dm9000.c 		else if (dm->wake_state && !opts)
dm                729 drivers/net/ethernet/davicom/dm9000.c 			irq_set_irq_wake(dm->irq_wake, 0);
dm                732 drivers/net/ethernet/davicom/dm9000.c 	dm->wake_state = opts;
dm                995 drivers/net/ethernet/davicom/dm9000.c 	struct board_info *dm = to_dm9000_board(dev);
dm                998 drivers/net/ethernet/davicom/dm9000.c 	if (dm->ip_summed != ip_summed) {
dm               1000 drivers/net/ethernet/davicom/dm9000.c 			iow(dm, DM9000_TCCR, 0);
dm               1002 drivers/net/ethernet/davicom/dm9000.c 			iow(dm, DM9000_TCCR, TCCR_IP | TCCR_UDP | TCCR_TCP);
dm               1003 drivers/net/ethernet/davicom/dm9000.c 		dm->ip_summed = ip_summed;
dm               1007 drivers/net/ethernet/davicom/dm9000.c 	iow(dm, DM9000_TXPLL, pkt_len);
dm               1008 drivers/net/ethernet/davicom/dm9000.c 	iow(dm, DM9000_TXPLH, pkt_len >> 8);
dm               1011 drivers/net/ethernet/davicom/dm9000.c 	iow(dm, DM9000_TCR, TCR_TXREQ);	/* Cleared after TX complete */
dm                 21 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 	struct mlx5_dm *dm;
dm                 26 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 	dm = kzalloc(sizeof(*dm), GFP_KERNEL);
dm                 27 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 	if (!dm)
dm                 30 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 	spin_lock_init(&dm->lock);
dm                 37 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 		dm->steering_sw_icm_alloc_blocks =
dm                 40 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 		if (!dm->steering_sw_icm_alloc_blocks)
dm                 49 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 		dm->header_modify_sw_icm_alloc_blocks =
dm                 52 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 		if (!dm->header_modify_sw_icm_alloc_blocks)
dm                 56 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 	return dm;
dm                 59 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 	kfree(dm->steering_sw_icm_alloc_blocks);
dm                 62 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 	kfree(dm);
dm                 69 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 	struct mlx5_dm *dm = dev->dm;
dm                 71 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 	if (!dev->dm)
dm                 74 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 	if (dm->steering_sw_icm_alloc_blocks) {
dm                 75 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 		WARN_ON(!bitmap_empty(dm->steering_sw_icm_alloc_blocks,
dm                 78 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 		kfree(dm->steering_sw_icm_alloc_blocks);
dm                 81 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 	if (dm->header_modify_sw_icm_alloc_blocks) {
dm                 82 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 		WARN_ON(!bitmap_empty(dm->header_modify_sw_icm_alloc_blocks,
dm                 86 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 		kfree(dm->header_modify_sw_icm_alloc_blocks);
dm                 89 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 	kfree(dm);
dm                 98 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 	struct mlx5_dm *dm = dev->dm;
dm                107 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 	if (!dev->dm)
dm                123 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 		block_map = dm->steering_sw_icm_alloc_blocks;
dm                129 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 		block_map = dm->header_modify_sw_icm_alloc_blocks;
dm                139 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 	spin_lock(&dm->lock);
dm                149 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 	spin_unlock(&dm->lock);
dm                162 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 		spin_lock(&dm->lock);
dm                165 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 		spin_unlock(&dm->lock);
dm                183 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 	struct mlx5_dm *dm = dev->dm;
dm                189 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 	if (!dev->dm)
dm                195 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 		block_map = dm->steering_sw_icm_alloc_blocks;
dm                199 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 		block_map = dm->header_modify_sw_icm_alloc_blocks;
dm                216 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 	spin_lock(&dm->lock);
dm                219 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c 	spin_unlock(&dm->lock);
dm                884 drivers/net/ethernet/mellanox/mlx5/core/main.c 	dev->dm = mlx5_dm_create(dev);
dm                885 drivers/net/ethernet/mellanox/mlx5/core/main.c 	if (IS_ERR(dev->dm))
dm                 63 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c 	struct mlx5dr_icm_dm dm;
dm                114 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c 	icm_mr->dm.type = type;
dm                117 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c 	icm_mr->dm.length = mlx5dr_icm_pool_chunk_size_to_byte(pool->max_log_chunk_sz,
dm                120 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c 	err = mlx5_dm_sw_icm_alloc(mdev, icm_mr->dm.type, icm_mr->dm.length, 0,
dm                121 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c 				   &icm_mr->dm.addr, &icm_mr->dm.obj_id);
dm                129 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c 				    icm_mr->dm.length,
dm                130 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c 				    icm_mr->dm.addr,
dm                138 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c 	icm_mr->icm_start_addr = icm_mr->dm.addr;
dm                150 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c 	mlx5_dm_sw_icm_dealloc(mdev, icm_mr->dm.type, icm_mr->dm.length, 0,
dm                151 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c 			       icm_mr->dm.addr, icm_mr->dm.obj_id);
dm                160 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c 	struct mlx5dr_icm_dm *dm = &icm_mr->dm;
dm                164 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c 	mlx5_dm_sw_icm_dealloc(mdev, dm->type, dm->length, 0,
dm                165 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c 			       dm->addr, dm->obj_id);
dm                227 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c 			mr_free_size = icm_mr->dm.length - icm_mr->used_length;
dm               1021 drivers/net/ethernet/tehuti/tehuti.c 	struct rx_map *dm;
dm               1030 drivers/net/ethernet/tehuti/tehuti.c 		dm = bdx_rxdb_addr_elem(db, i);
dm               1031 drivers/net/ethernet/tehuti/tehuti.c 		dm->dma = 0;
dm               1034 drivers/net/ethernet/tehuti/tehuti.c 		dm = bdx_rxdb_addr_elem(db, i);
dm               1035 drivers/net/ethernet/tehuti/tehuti.c 		if (dm->dma) {
dm               1037 drivers/net/ethernet/tehuti/tehuti.c 					 dm->dma, f->m.pktsz,
dm               1039 drivers/net/ethernet/tehuti/tehuti.c 			dev_kfree_skb(dm->skb);
dm               1085 drivers/net/ethernet/tehuti/tehuti.c 	struct rx_map *dm;
dm               1099 drivers/net/ethernet/tehuti/tehuti.c 		dm = bdx_rxdb_addr_elem(db, idx);
dm               1100 drivers/net/ethernet/tehuti/tehuti.c 		dm->dma = pci_map_single(priv->pdev,
dm               1103 drivers/net/ethernet/tehuti/tehuti.c 		dm->skb = skb;
dm               1107 drivers/net/ethernet/tehuti/tehuti.c 		rxfd->pa_lo = CPU_CHIP_SWAP32(L32_64(dm->dma));
dm               1108 drivers/net/ethernet/tehuti/tehuti.c 		rxfd->pa_hi = CPU_CHIP_SWAP32(H32_64(dm->dma));
dm               1147 drivers/net/ethernet/tehuti/tehuti.c 	struct rx_map *dm;
dm               1157 drivers/net/ethernet/tehuti/tehuti.c 	dm = bdx_rxdb_addr_elem(db, rxdd->va_lo);
dm               1158 drivers/net/ethernet/tehuti/tehuti.c 	DBG("dm=%p\n", dm);
dm               1162 drivers/net/ethernet/tehuti/tehuti.c 	rxfd->pa_lo = CPU_CHIP_SWAP32(L32_64(dm->dma));
dm               1163 drivers/net/ethernet/tehuti/tehuti.c 	rxfd->pa_hi = CPU_CHIP_SWAP32(H32_64(dm->dma));
dm               1197 drivers/net/ethernet/tehuti/tehuti.c 	struct rx_map *dm;
dm               1255 drivers/net/ethernet/tehuti/tehuti.c 		dm = bdx_rxdb_addr_elem(db, rxdd->va_lo);
dm               1256 drivers/net/ethernet/tehuti/tehuti.c 		skb = dm->skb;
dm               1263 drivers/net/ethernet/tehuti/tehuti.c 						    dm->dma, rxf_fifo->m.pktsz,
dm               1270 drivers/net/ethernet/tehuti/tehuti.c 					 dm->dma, rxf_fifo->m.pktsz,
dm                187 drivers/net/wireless/realtek/rtlwifi/base.c 	if (rtlpriv->dm.supp_phymode_switch) {
dm                807 drivers/net/wireless/realtek/rtlwifi/base.c 	if (rtlpriv->dm.useramask) {
dm               1320 drivers/net/wireless/realtek/rtlwifi/base.c 	if (rtlpriv->dm.supp_phymode_switch &&
dm                512 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c 	return rtlpriv->dm.undec_sm_pwdb;
dm                663 drivers/net/wireless/realtek/rtlwifi/core.c 		if (rtlpriv->dm.supp_phymode_switch &&
dm               1107 drivers/net/wireless/realtek/rtlwifi/core.c 			if (rtlpriv->dm.supp_phymode_switch) {
dm               1178 drivers/net/wireless/realtek/rtlwifi/core.c 			if (rtlpriv->dm.supp_phymode_switch) {
dm               1445 drivers/net/wireless/realtek/rtlwifi/core.c 	if (rtlpriv->dm.supp_phymode_switch) {
dm               1942 drivers/net/wireless/realtek/rtlwifi/core.c 	rtlpriv->dm.dm_initialgain_enable = true;
dm                486 drivers/net/wireless/realtek/rtlwifi/pci.c 	if (rtlpriv->dm.supp_phymode_switch &&
dm                221 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	u8 ofdm_val = rtlpriv->dm.swing_idx_ofdm[RF90_PATH_A];
dm                331 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		if (rtlpriv->dm.entry_min_undec_sm_pwdb != 0)
dm                333 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 			    (rtlpriv->dm.entry_min_undec_sm_pwdb >
dm                334 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 			     rtlpriv->dm.undec_sm_pwdb) ?
dm                335 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 			    rtlpriv->dm.undec_sm_pwdb :
dm                336 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 			    rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                338 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 			rssi_val_min = rtlpriv->dm.undec_sm_pwdb;
dm                341 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rssi_val_min = rtlpriv->dm.undec_sm_pwdb;
dm                344 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rssi_val_min = rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                477 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	if (rtlpriv->dm.dm_initialgain_enable == false)
dm                604 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	rtlpriv->dm.dynamic_txpower_enable = false;
dm                606 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	rtlpriv->dm.last_dtp_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                607 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                617 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	if (!rtlpriv->dm.dynamic_txpower_enable)
dm                620 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	if (rtlpriv->dm.dm_flag & HAL_DM_HIPWR_DISABLE) {
dm                621 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                626 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	    (rtlpriv->dm.entry_min_undec_sm_pwdb == 0)) {
dm                630 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                632 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.last_dtp_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                639 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 			    rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                645 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 			    rtlpriv->dm.undec_sm_pwdb;
dm                652 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		    rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                660 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_LEVEL1;
dm                667 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_LEVEL1;
dm                672 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                677 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	if ((rtlpriv->dm.dynamic_txhighpower_lvl !=
dm                678 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.last_dtp_lvl)) {
dm                685 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	rtlpriv->dm.last_dtp_lvl = rtlpriv->dm.dynamic_txhighpower_lvl;
dm                747 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.entry_max_undec_sm_pwdb = tmp_entry_max_pwdb;
dm                751 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.entry_max_undec_sm_pwdb = 0;
dm                755 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.entry_min_undec_sm_pwdb = tmp_entry_min_pwdb;
dm                759 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.entry_min_undec_sm_pwdb = 0;
dm                762 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	if (rtlpriv->dm.useramask) {
dm                765 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		h2c_parameter[2] = (u8)(rtlpriv->dm.undec_sm_pwdb & 0xFF);
dm                768 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtl_write_byte(rtlpriv, 0x4fe, rtlpriv->dm.undec_sm_pwdb);
dm                776 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	rtlpriv->dm.current_turbo_edca = false;
dm                777 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	rtlpriv->dm.is_any_nonbepkts = false;
dm                778 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	rtlpriv->dm.is_cur_rdlstate = false;
dm                797 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.current_turbo_edca = false;
dm                813 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.current_turbo_edca = false;
dm                817 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	    ((!rtlpriv->dm.is_any_nonbepkts) &&
dm                818 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	     (!rtlpriv->dm.disable_framebursting))) {
dm                824 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 			if (!rtlpriv->dm.is_cur_rdlstate ||
dm                825 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 			    !rtlpriv->dm.current_turbo_edca) {
dm                829 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 				rtlpriv->dm.is_cur_rdlstate = true;
dm                832 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 			if (rtlpriv->dm.is_cur_rdlstate ||
dm                833 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 			    !rtlpriv->dm.current_turbo_edca) {
dm                837 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 				rtlpriv->dm.is_cur_rdlstate = false;
dm                840 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.current_turbo_edca = true;
dm                842 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		if (rtlpriv->dm.current_turbo_edca) {
dm                848 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 			rtlpriv->dm.current_turbo_edca = false;
dm                852 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	rtlpriv->dm.is_any_nonbepkts = false;
dm                889 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	rtlpriv->dm.txpower_trackinginit = true;
dm                899 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		 thermalvalue, rtlpriv->dm.thermalvalue,
dm                920 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		if (rtlpriv->dm.cck_inch14) {
dm                929 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 					 rtlpriv->dm.cck_inch14);
dm                941 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 					 rtlpriv->dm.cck_inch14);
dm                949 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.thermalvalue = rtlefuse->eeprom_thermalmeter;
dm                950 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.thermalvalue_lck = thermalvalue;
dm                951 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.thermalvalue_iqk = thermalvalue;
dm                953 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 			rtlpriv->dm.ofdm_index[i] = ofdm_index_old[i];
dm                954 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.cck_index = cck_index_old;
dm                979 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.done_txpower = false;
dm                980 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	} else if (rtlpriv->dm.done_txpower) {
dm                981 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		delta = (thermalvalue > rtlpriv->dm.thermalvalue) ?
dm                982 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		    (thermalvalue - rtlpriv->dm.thermalvalue) :
dm                983 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		    (rtlpriv->dm.thermalvalue - thermalvalue);
dm                989 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	delta_lck = (thermalvalue > rtlpriv->dm.thermalvalue_lck) ?
dm                990 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	    (thermalvalue - rtlpriv->dm.thermalvalue_lck) :
dm                991 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	    (rtlpriv->dm.thermalvalue_lck - thermalvalue);
dm                992 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	delta_iqk = (thermalvalue > rtlpriv->dm.thermalvalue_iqk) ?
dm                993 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	    (thermalvalue - rtlpriv->dm.thermalvalue_iqk) :
dm                994 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	    (rtlpriv->dm.thermalvalue_iqk - thermalvalue);
dm                998 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		 thermalvalue, rtlpriv->dm.thermalvalue,
dm               1003 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.thermalvalue_lck = thermalvalue;
dm               1010 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	if (delta > 0 && rtlpriv->dm.txpower_track_control) {
dm               1052 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		if (rtlpriv->dm.txpower_track_control) {
dm               1074 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.thermalvalue_iqk = thermalvalue;
dm               1088 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	rtlpriv->dm.txpower_tracking = true;
dm               1089 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	rtlpriv->dm.txpower_trackinginit = false;
dm               1090 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	rtlpriv->dm.txpowercount = 0;
dm               1091 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	rtlpriv->dm.txpower_track_control = true;
dm               1093 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	rtlpriv->dm.swing_idx_ofdm[RF90_PATH_A] = 12;
dm               1094 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	rtlpriv->dm.swing_idx_ofdm_cur = 12;
dm               1095 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	rtlpriv->dm.swing_flag_ofdm = false;
dm               1098 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		 rtlpriv->dm.txpower_tracking);
dm               1105 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	if (!rtlpriv->dm.txpower_tracking)
dm               1108 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	if (!rtlpriv->dm.tm_trigger) {
dm               1113 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.tm_trigger = 1;
dm               1119 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.tm_trigger = 0;
dm               1131 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	if (rtlpriv->dm.dm_type == DM_TYPE_BYDRIVER)
dm               1132 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.useramask = true;
dm               1134 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		rtlpriv->dm.useramask = false;
dm               1152 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	if (!rtlpriv->dm.useramask) {
dm               1179 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		if (rtlpriv->dm.undec_sm_pwdb >
dm               1182 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 		else if (rtlpriv->dm.undec_sm_pwdb >
dm               1191 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 				  rtlpriv->dm.undec_sm_pwdb);
dm               1751 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	rtlpriv->dm.dm_type = DM_TYPE_BYDRIVER;
dm               1128 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 			rtlpriv->dm.fat_table.rx_idle_ant = MAIN_ANT;
dm               1131 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 			rtlpriv->dm.fat_table.rx_idle_ant = AUX_ANT;
dm               1134 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 			 (rtlpriv->dm.fat_table.rx_idle_ant == MAIN_ANT) ?
dm               1942 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		rtlpriv->dm.rfpath_rxenable[0] = true;
dm               1944 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		rtlpriv->dm.rfpath_rxenable[0] =
dm               1945 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		    rtlpriv->dm.rfpath_rxenable[1] = true;
dm               2192 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	if (rtlpriv->dm.useramask)
dm                314 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c 		if (rtlpriv->dm.dynamic_txhighpower_lvl == TXHIGHPWRLEVEL_BT1)
dm                316 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c 		else if (rtlpriv->dm.dynamic_txhighpower_lvl ==
dm                 71 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c 	rtlpriv->dm.dm_initialgain_enable = 1;
dm                 72 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c 	rtlpriv->dm.dm_flag = 0;
dm                 73 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c 	rtlpriv->dm.disable_framebursting = 0;
dm                 74 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c 	rtlpriv->dm.thermalvalue = 0;
dm                165 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c 		rtlpriv->dm.rfpath_rxenable[0] =
dm                166 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c 		    rtlpriv->dm.rfpath_rxenable[1] = true;
dm                171 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c 			if (rtlpriv->dm.rfpath_rxenable[i])
dm                646 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c 	if (rtlpriv->dm.useramask) {
dm                 22 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	((RTLPRIV(_priv))->dm.entry_min_undec_sm_pwdb) : \
dm                 23 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	((RTLPRIV(_priv))->dm.undec_sm_pwdb)
dm                146 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			       rtlpriv->dm.powerindex_backup[index]);
dm                168 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rtlpriv->dm.powerindex_backup[index] = tmp;
dm                181 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		if (rtlpriv->dm.entry_min_undec_sm_pwdb != 0)
dm                183 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			    (rtlpriv->dm.entry_min_undec_sm_pwdb >
dm                184 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			     rtlpriv->dm.undec_sm_pwdb) ?
dm                185 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			    rtlpriv->dm.undec_sm_pwdb :
dm                186 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			    rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                188 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			rssi_val_min = rtlpriv->dm.undec_sm_pwdb;
dm                191 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rssi_val_min = rtlpriv->dm.undec_sm_pwdb;
dm                193 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rssi_val_min = rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                372 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	long rssi_strength = rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                512 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	if (rtlpriv->dm.dm_initialgain_enable == false)
dm                514 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	if (!(rtlpriv->dm.dm_flag & DYNAMIC_FUNC_DIG))
dm                527 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rtlpriv->dm.dynamic_txpower_enable = true;
dm                529 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rtlpriv->dm.dynamic_txpower_enable = false;
dm                531 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	rtlpriv->dm.last_dtp_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                532 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                586 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rtlpriv->dm.entry_max_undec_sm_pwdb = tmpentry_max_pwdb;
dm                588 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rtlpriv->dm.entry_max_undec_sm_pwdb = 0;
dm                591 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rtlpriv->dm.entry_min_undec_sm_pwdb = tmpentry_min_pwdb;
dm                593 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rtlpriv->dm.entry_min_undec_sm_pwdb = 0;
dm                609 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	rtlpriv->dm.current_turbo_edca = false;
dm                610 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	rtlpriv->dm.is_any_nonbepkts = false;
dm                611 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	rtlpriv->dm.is_cur_rdlstate = false;
dm                632 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rtlpriv->dm.current_turbo_edca = false;
dm                648 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rtlpriv->dm.current_turbo_edca = false;
dm                660 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	if ((bt_change_edca) || ((!rtlpriv->dm.is_any_nonbepkts) &&
dm                661 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	     (!rtlpriv->dm.disable_framebursting))) {
dm                666 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			if (!rtlpriv->dm.is_cur_rdlstate ||
dm                667 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			    !rtlpriv->dm.current_turbo_edca) {
dm                671 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 				rtlpriv->dm.is_cur_rdlstate = true;
dm                674 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			if (rtlpriv->dm.is_cur_rdlstate ||
dm                675 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			    !rtlpriv->dm.current_turbo_edca) {
dm                679 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 				rtlpriv->dm.is_cur_rdlstate = false;
dm                682 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rtlpriv->dm.current_turbo_edca = true;
dm                684 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		if (rtlpriv->dm.current_turbo_edca) {
dm                689 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			rtlpriv->dm.current_turbo_edca = false;
dm                693 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	rtlpriv->dm.is_any_nonbepkts = false;
dm                715 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	rtlpriv->dm.txpower_trackinginit = true;
dm                723 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		 thermalvalue, rtlpriv->dm.thermalvalue,
dm                771 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			if (rtlpriv->dm.cck_inch14) {
dm                782 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 						 rtlpriv->dm.cck_inch14);
dm                797 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 						 rtlpriv->dm.cck_inch14);
dm                803 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		if (!rtlpriv->dm.thermalvalue) {
dm                804 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			rtlpriv->dm.thermalvalue =
dm                806 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			rtlpriv->dm.thermalvalue_lck = thermalvalue;
dm                807 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			rtlpriv->dm.thermalvalue_iqk = thermalvalue;
dm                809 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 				rtlpriv->dm.ofdm_index[i] = ofdm_index_old[i];
dm                810 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			rtlpriv->dm.cck_index = cck_index_old;
dm                814 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		delta = (thermalvalue > rtlpriv->dm.thermalvalue) ?
dm                815 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		    (thermalvalue - rtlpriv->dm.thermalvalue) :
dm                816 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		    (rtlpriv->dm.thermalvalue - thermalvalue);
dm                818 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		delta_lck = (thermalvalue > rtlpriv->dm.thermalvalue_lck) ?
dm                819 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		    (thermalvalue - rtlpriv->dm.thermalvalue_lck) :
dm                820 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		    (rtlpriv->dm.thermalvalue_lck - thermalvalue);
dm                822 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		delta_iqk = (thermalvalue > rtlpriv->dm.thermalvalue_iqk) ?
dm                823 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		    (thermalvalue - rtlpriv->dm.thermalvalue_iqk) :
dm                824 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		    (rtlpriv->dm.thermalvalue_iqk - thermalvalue);
dm                828 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			 thermalvalue, rtlpriv->dm.thermalvalue,
dm                833 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			rtlpriv->dm.thermalvalue_lck = thermalvalue;
dm                837 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		if (delta > 0 && rtlpriv->dm.txpower_track_control) {
dm                838 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			if (thermalvalue > rtlpriv->dm.thermalvalue) {
dm                840 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 					rtlpriv->dm.ofdm_index[i] -= delta;
dm                841 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 				rtlpriv->dm.cck_index -= delta;
dm                844 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 					rtlpriv->dm.ofdm_index[i] += delta;
dm                845 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 				rtlpriv->dm.cck_index += delta;
dm                851 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 					 rtlpriv->dm.ofdm_index[0],
dm                852 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 					 rtlpriv->dm.ofdm_index[1],
dm                853 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 					 rtlpriv->dm.cck_index);
dm                857 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 					 rtlpriv->dm.ofdm_index[0],
dm                858 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 					 rtlpriv->dm.cck_index);
dm                864 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 					    rtlpriv->dm.ofdm_index[i]
dm                866 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 				cck_index = rtlpriv->dm.cck_index + 1;
dm                870 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 					    rtlpriv->dm.ofdm_index[i];
dm                871 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 				cck_index = rtlpriv->dm.cck_index;
dm                960 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		if (rtlpriv->dm.txpower_track_control && delta != 0) {
dm               1003 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			if (!rtlpriv->dm.cck_inch14) {
dm               1106 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			rtlpriv->dm.thermalvalue_iqk = thermalvalue;
dm               1110 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		if (rtlpriv->dm.txpower_track_control)
dm               1111 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			rtlpriv->dm.thermalvalue = thermalvalue;
dm               1123 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	rtlpriv->dm.txpower_tracking = true;
dm               1124 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	rtlpriv->dm.txpower_trackinginit = false;
dm               1128 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		 rtlpriv->dm.txpower_tracking);
dm               1146 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	if (!rtlpriv->dm.txpower_tracking)
dm               1149 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	if (!rtlpriv->dm.tm_trigger) {
dm               1154 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rtlpriv->dm.tm_trigger = 1;
dm               1160 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rtlpriv->dm.tm_trigger = 0;
dm               1178 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	if (rtlpriv->dm.dm_type == DM_TYPE_BYDRIVER)
dm               1179 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rtlpriv->dm.useramask = true;
dm               1181 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rtlpriv->dm.useramask = false;
dm               1277 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	    (rtlpriv->dm.entry_min_undec_sm_pwdb == 0)) {
dm               1285 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			    rtlpriv->dm.entry_min_undec_sm_pwdb;
dm               1290 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			dm_pstable->rssi_val_min = rtlpriv->dm.undec_sm_pwdb;
dm               1297 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		    rtlpriv->dm.entry_min_undec_sm_pwdb;
dm               1315 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	rtlpriv->dm.dm_type = DM_TYPE_BYDRIVER;
dm               1316 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	rtlpriv->dm.dm_flag = DYNAMIC_FUNC_DISABLE | DYNAMIC_FUNC_DIG;
dm               1317 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	rtlpriv->dm.undec_sm_pwdb = -1;
dm               1318 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	rtlpriv->dm.undec_sm_cck = -1;
dm               1319 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	rtlpriv->dm.dm_initialgain_enable = true;
dm               1322 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	rtlpriv->dm.dm_flag |= HAL_DM_HIPWR_DISABLE;
dm               1327 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	rtlpriv->dm.dm_flag |= DYNAMIC_FUNC_SS;
dm               1331 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	rtlpriv->dm.ofdm_pkt_cnt = 0;
dm               1332 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	rtlpriv->dm.dm_rssi_sel = RSSI_DEFAULT;
dm               1343 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	if (!rtlpriv->dm.dynamic_txpower_enable)
dm               1346 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	if (rtlpriv->dm.dm_flag & HAL_DM_HIPWR_DISABLE) {
dm               1347 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm               1352 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	    (rtlpriv->dm.entry_min_undec_sm_pwdb == 0)) {
dm               1356 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm               1358 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rtlpriv->dm.last_dtp_lvl = TXHIGHPWRLEVEL_NORMAL;
dm               1364 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			undec_sm_pwdb = rtlpriv->dm.entry_min_undec_sm_pwdb;
dm               1369 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			undec_sm_pwdb = rtlpriv->dm.undec_sm_pwdb;
dm               1375 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		undec_sm_pwdb = rtlpriv->dm.entry_min_undec_sm_pwdb;
dm               1383 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_LEVEL2;
dm               1389 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_LEVEL1;
dm               1393 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm               1398 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	if ((rtlpriv->dm.dynamic_txhighpower_lvl != rtlpriv->dm.last_dtp_lvl)) {
dm               1403 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		if (rtlpriv->dm.dynamic_txhighpower_lvl ==
dm               1406 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		else if (rtlpriv->dm.dynamic_txhighpower_lvl ==
dm               1409 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		else if (rtlpriv->dm.dynamic_txhighpower_lvl ==
dm               1413 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	rtlpriv->dm.last_dtp_lvl = rtlpriv->dm.dynamic_txhighpower_lvl;
dm               1456 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 		if (rtlpriv->dm.entry_min_undec_sm_pwdb == 0)
dm               1459 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			undec_sm_pwdb = rtlpriv->dm.entry_min_undec_sm_pwdb;
dm               1683 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 	if (!rtlpriv->dm.dynamic_txpower_enable) {
dm               1687 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 				rtlpriv->dm.dynamic_txhighpower_lvl =
dm               1690 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 				rtlpriv->dm.dynamic_txhighpower_lvl =
dm               1694 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c 			rtlpriv->dm.dynamic_txhighpower_lvl =
dm                 21 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/dm.c 	if (!rtlpriv->dm.dynamic_txpower_enable)
dm                 24 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/dm.c 	if (rtlpriv->dm.dm_flag & HAL_DM_HIPWR_DISABLE) {
dm                 25 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                 30 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/dm.c 	    (rtlpriv->dm.entry_min_undec_sm_pwdb == 0)) {
dm                 34 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                 36 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/dm.c 		rtlpriv->dm.last_dtp_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                 42 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/dm.c 			undec_sm_pwdb = rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                 47 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/dm.c 			undec_sm_pwdb = rtlpriv->dm.undec_sm_pwdb;
dm                 53 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/dm.c 		undec_sm_pwdb = rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                 61 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_LEVEL1;
dm                 67 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_LEVEL1;
dm                 71 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                 76 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/dm.c 	if ((rtlpriv->dm.dynamic_txhighpower_lvl != rtlpriv->dm.last_dtp_lvl)) {
dm                 83 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/dm.c 	rtlpriv->dm.last_dtp_lvl = rtlpriv->dm.dynamic_txhighpower_lvl;
dm               1731 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 		rtlpriv->dm.rfpath_rxenable[0] = true;
dm               1733 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 		rtlpriv->dm.rfpath_rxenable[0] =
dm               1734 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 		    rtlpriv->dm.rfpath_rxenable[1] = true;
dm               1981 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 	if (rtlpriv->dm.useramask)
dm                297 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c 		if (rtlpriv->dm.dynamic_txhighpower_lvl == TXHIGHPWRLEVEL_BT1)
dm                299 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c 		else if (rtlpriv->dm.dynamic_txhighpower_lvl ==
dm                 78 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c 	rtlpriv->dm.dm_initialgain_enable = true;
dm                 79 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c 	rtlpriv->dm.dm_flag = 0;
dm                 80 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c 	rtlpriv->dm.disable_framebursting = false;
dm                 81 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c 	rtlpriv->dm.thermalvalue = 0;
dm                186 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c 		rtlpriv->dm.rfpath_rxenable[0] =
dm                187 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c 		    rtlpriv->dm.rfpath_rxenable[1] = true;
dm                191 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c 			if (rtlpriv->dm.rfpath_rxenable[i])
dm                536 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c 	if (rtlpriv->dm.useramask) {
dm                 18 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/dm.c 	if (!rtlpriv->dm.dynamic_txpower_enable)
dm                 21 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/dm.c 	if (rtlpriv->dm.dm_flag & HAL_DM_HIPWR_DISABLE) {
dm                 22 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                 27 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/dm.c 	    (rtlpriv->dm.entry_min_undec_sm_pwdb == 0)) {
dm                 31 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                 33 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/dm.c 		rtlpriv->dm.last_dtp_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                 39 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/dm.c 			undec_sm_pwdb = rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                 44 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/dm.c 			undec_sm_pwdb = rtlpriv->dm.undec_sm_pwdb;
dm                 50 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/dm.c 		undec_sm_pwdb = rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                 58 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_LEVEL1;
dm                 64 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_LEVEL1;
dm                 68 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                 73 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/dm.c 	if ((rtlpriv->dm.dynamic_txhighpower_lvl != rtlpriv->dm.last_dtp_lvl)) {
dm                 78 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/dm.c 		if (rtlpriv->dm.dynamic_txhighpower_lvl ==
dm                 81 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/dm.c 		else if (rtlpriv->dm.dynamic_txhighpower_lvl ==
dm                 84 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/dm.c 		else if (rtlpriv->dm.dynamic_txhighpower_lvl ==
dm                 89 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/dm.c 	rtlpriv->dm.last_dtp_lvl = rtlpriv->dm.dynamic_txhighpower_lvl;
dm               2147 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	if (rtlpriv->dm.useramask)
dm                106 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 		rtlpriv->dm.rfpath_rxenable[0] = true;
dm                108 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 		rtlpriv->dm.rfpath_rxenable[0] =
dm                109 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 		    rtlpriv->dm.rfpath_rxenable[1] = true;
dm                703 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 		rtlpriv->dm.rfpath_rxenable[0] =
dm                704 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 		    rtlpriv->dm.rfpath_rxenable[1] = true;
dm                706 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 			if (rtlpriv->dm.rfpath_rxenable[i])
dm                 60 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c 		if (rtlpriv->dm.dynamic_txhighpower_lvl ==
dm                 64 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c 		} else if (rtlpriv->dm.dynamic_txhighpower_lvl ==
dm                269 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c 		if (rtlpriv->dm.dynamic_txhighpower_lvl ==
dm                272 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c 		else if (rtlpriv->dm.dynamic_txhighpower_lvl ==
dm                275 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c 		if (rtlpriv->dm.dynamic_txhighpower_lvl == TXHIGHPWRLEVEL_BT1)
dm                 38 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c 	rtlpriv->dm.dm_initialgain_enable = true;
dm                 39 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c 	rtlpriv->dm.dm_flag = 0;
dm                 40 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c 	rtlpriv->dm.disable_framebursting = false;
dm                 41 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c 	rtlpriv->dm.thermalvalue = 0;
dm                579 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 	if (rtlpriv->dm.useramask) {
dm                222 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	    (rtlpriv->dm.UNDEC_SM_PWDB == 0)) {
dm                231 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			    rtlpriv->dm.UNDEC_SM_PWDB;
dm                234 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 				 rtlpriv->dm.UNDEC_SM_PWDB);
dm                237 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			    rtlpriv->dm.undec_sm_pwdb;
dm                243 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		de_digtable->min_undec_pwdb_for_dm = rtlpriv->dm.UNDEC_SM_PWDB;
dm                361 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	if (!rtlpriv->dm.dm_initialgain_enable)
dm                460 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	rtlpriv->dm.dynamic_txpower_enable = true;
dm                461 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	rtlpriv->dm.last_dtp_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                462 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                473 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	if ((!rtlpriv->dm.dynamic_txpower_enable)
dm                474 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	    || rtlpriv->dm.dm_flag & HAL_DM_HIPWR_DISABLE) {
dm                475 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                479 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	    (rtlpriv->dm.UNDEC_SM_PWDB == 0)) {
dm                482 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                483 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.last_dtp_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                489 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			    rtlpriv->dm.UNDEC_SM_PWDB;
dm                495 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			    rtlpriv->dm.undec_sm_pwdb;
dm                502 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		    rtlpriv->dm.UNDEC_SM_PWDB;
dm                510 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			rtlpriv->dm.dynamic_txhighpower_lvl =
dm                516 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			rtlpriv->dm.dynamic_txhighpower_lvl =
dm                521 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			rtlpriv->dm.dynamic_txhighpower_lvl =
dm                529 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			rtlpriv->dm.dynamic_txhighpower_lvl =
dm                539 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			rtlpriv->dm.dynamic_txhighpower_lvl =
dm                545 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			rtlpriv->dm.dynamic_txhighpower_lvl =
dm                551 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	if ((rtlpriv->dm.dynamic_txhighpower_lvl != rtlpriv->dm.last_dtp_lvl)) {
dm                557 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	rtlpriv->dm.last_dtp_lvl = rtlpriv->dm.dynamic_txhighpower_lvl;
dm                568 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	if (rtlpriv->dm.useramask) {
dm                569 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		u32 temp = rtlpriv->dm.undec_sm_pwdb;
dm                578 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			       (u8) rtlpriv->dm.undec_sm_pwdb);
dm                586 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	rtlpriv->dm.current_turbo_edca = false;
dm                587 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	rtlpriv->dm.is_any_nonbepkts = false;
dm                588 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	rtlpriv->dm.is_cur_rdlstate = false;
dm                603 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.current_turbo_edca = false;
dm                609 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	if ((!rtlpriv->dm.disable_framebursting) &&
dm                621 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	if ((!rtlpriv->dm.is_any_nonbepkts) &&
dm                622 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	    (!rtlpriv->dm.disable_framebursting)) {
dm                626 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			if (!rtlpriv->dm.is_cur_rdlstate ||
dm                627 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			    !rtlpriv->dm.current_turbo_edca) {
dm                630 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 				rtlpriv->dm.is_cur_rdlstate = true;
dm                633 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			if (rtlpriv->dm.is_cur_rdlstate ||
dm                634 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			    !rtlpriv->dm.current_turbo_edca) {
dm                637 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 				rtlpriv->dm.is_cur_rdlstate = false;
dm                640 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.current_turbo_edca = true;
dm                642 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		if (rtlpriv->dm.current_turbo_edca) {
dm                646 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			rtlpriv->dm.current_turbo_edca = false;
dm                651 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	rtlpriv->dm.is_any_nonbepkts = false;
dm                668 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 				rtlpriv->dm.thermalvalue_rxgain)]) << 12;
dm                691 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		if (rtlpriv->dm.cck_inch14)
dm                702 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 				 rtlpriv->dm.cck_inch14);
dm                758 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 				ofdm_index[i] = rtlpriv->dm.ofdm_index[i] -
dm                823 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	rtlpriv->dm.txpower_trackinginit = true;
dm                829 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		 rtlpriv->dm.thermalvalue, rtlefuse->eeprom_thermalmeter);
dm                841 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	if (rtlpriv->dm.thermalvalue && !rtlhal->reloadtxpowerindex)
dm                879 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	if (!rtlpriv->dm.thermalvalue) {
dm                880 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.thermalvalue = rtlefuse->eeprom_thermalmeter;
dm                881 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.thermalvalue_lck = thermalvalue;
dm                882 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.thermalvalue_iqk = thermalvalue;
dm                883 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.thermalvalue_rxgain = rtlefuse->eeprom_thermalmeter;
dm                885 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			rtlpriv->dm.ofdm_index[i] = ofdm_index_old[i];
dm                886 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.cck_index = cck_index_old;
dm                890 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			rtlpriv->dm.ofdm_index[i] = ofdm_index_old[i];
dm                891 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.cck_index = cck_index_old;
dm                897 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		ofdm_index[i] = rtlpriv->dm.ofdm_index[i];
dm                899 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	rtlpriv->dm.thermalvalue_avg
dm                900 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		    [rtlpriv->dm.thermalvalue_avg_index] = thermalvalue;
dm                901 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	rtlpriv->dm.thermalvalue_avg_index++;
dm                902 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	if (rtlpriv->dm.thermalvalue_avg_index == AVG_THERMAL_NUM)
dm                903 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.thermalvalue_avg_index = 0;
dm                905 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		if (rtlpriv->dm.thermalvalue_avg[i]) {
dm                906 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			thermalvalue_avg += rtlpriv->dm.thermalvalue_avg[i];
dm                917 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.done_txpower = false;
dm                918 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	} else if (rtlpriv->dm.done_txpower) {
dm                919 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		delta = (thermalvalue > rtlpriv->dm.thermalvalue) ?
dm                920 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		    (thermalvalue - rtlpriv->dm.thermalvalue) :
dm                921 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		    (rtlpriv->dm.thermalvalue - thermalvalue);
dm                927 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	delta_lck = (thermalvalue > rtlpriv->dm.thermalvalue_lck) ?
dm                928 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	    (thermalvalue - rtlpriv->dm.thermalvalue_lck) :
dm                929 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	    (rtlpriv->dm.thermalvalue_lck - thermalvalue);
dm                930 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	delta_iqk = (thermalvalue > rtlpriv->dm.thermalvalue_iqk) ?
dm                931 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	    (thermalvalue - rtlpriv->dm.thermalvalue_iqk) :
dm                932 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	    (rtlpriv->dm.thermalvalue_iqk - thermalvalue);
dm                934 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		(thermalvalue > rtlpriv->dm.thermalvalue_rxgain) ?
dm                935 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		(thermalvalue - rtlpriv->dm.thermalvalue_rxgain) :
dm                936 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		(rtlpriv->dm.thermalvalue_rxgain - thermalvalue);
dm                939 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		 thermalvalue, rtlpriv->dm.thermalvalue,
dm                943 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.thermalvalue_lck = thermalvalue;
dm                947 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	if (delta == 0 || !rtlpriv->dm.txpower_track_control)
dm                950 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	rtlpriv->dm.done_txpower = true;
dm                960 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		if (thermalvalue > rtlpriv->dm.thermalvalue) {
dm                979 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			 rtlpriv->dm.ofdm_index[0],
dm                980 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			 rtlpriv->dm.ofdm_index[1],
dm                981 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			 rtlpriv->dm.cck_index);
dm                985 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			 rtlpriv->dm.ofdm_index[0],
dm                986 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 			 rtlpriv->dm.cck_index);
dm               1065 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		if (!rtlpriv->dm.cck_inch14) {
dm               1152 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.thermalvalue_iqk = thermalvalue;
dm               1157 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.thermalvalue_rxgain = thermalvalue;
dm               1160 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	if (rtlpriv->dm.txpower_track_control)
dm               1161 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.thermalvalue = thermalvalue;
dm               1171 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	rtlpriv->dm.txpower_tracking = true;
dm               1172 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	rtlpriv->dm.txpower_trackinginit = false;
dm               1173 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	rtlpriv->dm.txpower_track_control = true;
dm               1176 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		 rtlpriv->dm.txpower_tracking);
dm               1183 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	if (!rtlpriv->dm.txpower_tracking)
dm               1186 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	if (!rtlpriv->dm.tm_trigger) {
dm               1191 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.tm_trigger = 1;
dm               1197 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.tm_trigger = 0;
dm               1208 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	if (rtlpriv->dm.dm_type == DM_TYPE_BYDRIVER)
dm               1209 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.useramask = true;
dm               1211 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 		rtlpriv->dm.useramask = false;
dm               1218 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	rtlpriv->dm.dm_type = DM_TYPE_BYDRIVER;
dm                136 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 		*((bool *)(val)) = rtlpriv->dm.interrupt_migration;
dm                139 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 		*((bool *)(val)) = rtlpriv->dm.disable_tx_int;
dm                449 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 			rtlpriv->dm.interrupt_migration = int_migration;
dm                453 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 			rtlpriv->dm.interrupt_migration = int_migration;
dm                469 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 			rtlpriv->dm.disable_tx_int = disable_ac_int;
dm                474 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 			rtlpriv->dm.disable_tx_int = disable_ac_int;
dm               2014 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 	if (rtlpriv->dm.useramask)
dm                 72 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c 	rtlpriv->dm.dm_initialgain_enable = true;
dm                 73 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c 	rtlpriv->dm.dm_flag = 0;
dm                 74 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c 	rtlpriv->dm.disable_framebursting = false;
dm                 75 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c 	rtlpriv->dm.thermalvalue = 0;
dm                 76 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c 	rtlpriv->dm.useramask = true;
dm                179 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c 		rtlpriv->dm.rfpath_rxenable[0] = true;
dm                180 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c 		rtlpriv->dm.rfpath_rxenable[1] = true;
dm                182 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c 			if (rtlpriv->dm.rfpath_rxenable[i])
dm                314 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c 		undec_sm_pwdb = rtlpriv->dm.undec_sm_pwdb;
dm                329 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c 		rtlpriv->dm.undec_sm_pwdb = undec_sm_pwdb;
dm                673 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c 	if (rtlpriv->dm.useramask) {
dm                279 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		if (rtlpriv->dm.one_entry_only) {
dm                336 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	if (rtlpriv->dm.dbginfo.num_qry_beacon_pkt < 5)
dm                358 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 			if (rtlpriv->dm.dbginfo.num_qry_beacon_pkt < 5 &&
dm                453 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	    (rtlpriv->dm.entry_min_undec_sm_pwdb == 0)) {
dm                462 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 				rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                465 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 				 rtlpriv->dm.entry_min_undec_sm_pwdb);
dm                468 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 			    rtlpriv->dm.undec_sm_pwdb;
dm                475 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 			rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                490 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	struct rtl_dm *dm = rtl_dm(rtlpriv);
dm                510 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 			h2c[2] = (u8)(dm->undec_sm_pwdb & 0xFF);
dm                519 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 			dm->entry_max_undec_sm_pwdb = max;
dm                523 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 			dm->entry_max_undec_sm_pwdb = 0;
dm                527 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 			dm->entry_min_undec_sm_pwdb = min;
dm                531 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 			dm->entry_min_undec_sm_pwdb = 0;
dm                536 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	if (dm->useramask) {
dm                538 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		h2c[2] = (u8)(dm->undec_sm_pwdb & 0xFF);
dm                543 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		rtl_write_byte(rtlpriv, 0x4fe, dm->undec_sm_pwdb);
dm                579 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	rtlpriv->dm.current_turbo_edca = false;
dm                580 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	rtlpriv->dm.is_cur_rdlstate = false;
dm                581 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	rtlpriv->dm.is_any_nonbepkts = false;
dm                598 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	if (rtlpriv->dm.dbginfo.num_non_be_pkt > 0x100)
dm                599 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		rtlpriv->dm.is_any_nonbepkts = true;
dm                600 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	rtlpriv->dm.dbginfo.num_non_be_pkt = 0;
dm                606 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	b_edca_turbo_on = ((!rtlpriv->dm.is_any_nonbepkts) &&
dm                607 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 			   (!rtlpriv->dm.disable_framebursting)) ?
dm                619 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		rtlpriv->dm.is_cur_rdlstate = is_cur_rdlstate;
dm                620 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		rtlpriv->dm.current_turbo_edca = true;
dm                622 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		if (rtlpriv->dm.current_turbo_edca) {
dm                628 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		rtlpriv->dm.current_turbo_edca = false;
dm                632 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	rtlpriv->dm.is_any_nonbepkts = false;
dm                859 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		else if ((cfo_ave < -rtlpriv->dm.cfo_threshold) &&
dm                860 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 			 rtlpriv->dm.crystal_cap > 0)
dm                897 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	struct rtl_dm *dm = rtl_dm(rtlpriv);
dm                900 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	dm->txpower_tracking = true;
dm                901 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	dm->default_ofdm_index = 30;
dm                902 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	dm->default_cck_index = 20;
dm                904 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	dm->swing_idx_cck_base = dm->default_cck_index;
dm                905 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	dm->cck_index = dm->default_cck_index;
dm                908 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		dm->swing_idx_ofdm_base[path] = dm->default_ofdm_index;
dm                909 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		dm->ofdm_index[path] = dm->default_ofdm_index;
dm                910 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		dm->delta_power_index[path] = 0;
dm                911 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		dm->delta_power_index_last[path] = 0;
dm                912 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		dm->power_index_offset[path] = 0;
dm                924 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	if (rtlpriv->dm.dm_type == DM_TYPE_BYDRIVER)
dm                925 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		rtlpriv->dm.useramask = true;
dm                927 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		rtlpriv->dm.useramask = false;
dm                998 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	if (!rtlpriv->dm.useramask) {
dm               1006 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		if (rtlpriv->dm.undec_sm_pwdb < p_ra->ldpc_thres) {
dm               1009 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		} else if (rtlpriv->dm.undec_sm_pwdb >
dm               1014 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		if (_rtl92ee_dm_ra_state_check(hw, rtlpriv->dm.undec_sm_pwdb,
dm               1033 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	rtlpriv->dm.crystal_cap = rtlpriv->efuse.crystalcap;
dm               1035 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	rtlpriv->dm.atc_status = rtl_get_bbreg(hw, ROFDM1_CFOTRACKING, BIT(11));
dm               1036 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	rtlpriv->dm.cfo_threshold = CFO_THRESHOLD_XTAL;
dm               1044 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	rtlpriv->dm.dm_type = DM_TYPE_BYDRIVER;
dm               1060 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	rtlpriv->dm.one_entry_only = false;
dm               1064 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		rtlpriv->dm.one_entry_only = true;
dm               1078 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 			rtlpriv->dm.one_entry_only = true;
dm               2189 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 		rtlpriv->dm.rfpath_rxenable[0] = true;
dm               2191 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 		rtlpriv->dm.rfpath_rxenable[0] = true;
dm               2192 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 		rtlpriv->dm.rfpath_rxenable[1] = true;
dm               2390 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	if (rtlpriv->dm.useramask)
dm                 79 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/sw.c 	rtlpriv->dm.dm_initialgain_enable = 1;
dm                 80 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/sw.c 	rtlpriv->dm.dm_flag = 0;
dm                 81 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/sw.c 	rtlpriv->dm.disable_framebursting = 0;
dm                142 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c 			if (rtlpriv->dm.rfpath_rxenable[i])
dm                193 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c 				rtl_priv(hw)->dm.cfo_tail[i] =
dm                196 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c 			if (rtl_priv(hw)->dm.packet_count == 0xffffffff)
dm                197 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c 				rtl_priv(hw)->dm.packet_count = 0;
dm                199 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c 				rtl_priv(hw)->dm.packet_count++;
dm                256 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c 		rtl_priv(hw)->dm.dbginfo.num_qry_beacon_pkt++;
dm                265 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c 			rtl_priv(hw)->dm.dbginfo.num_non_be_pkt++;
dm                822 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c 	if (rtlpriv->dm.useramask) {
dm                 61 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		rtlpriv->dm.current_turbo_edca = false;
dm                 65 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	if ((!rtlpriv->dm.is_any_nonbepkts) &&
dm                 66 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	    (!rtlpriv->dm.disable_framebursting)) {
dm                 73 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 				if (rtlpriv->dm.is_cur_rdlstate ||
dm                 74 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 					!rtlpriv->dm.current_turbo_edca) {
dm                 77 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 					rtlpriv->dm.is_cur_rdlstate = false;
dm                 80 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 				if (!rtlpriv->dm.is_cur_rdlstate ||
dm                 81 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 					!rtlpriv->dm.current_turbo_edca) {
dm                 91 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 					rtlpriv->dm.is_cur_rdlstate = true;
dm                 94 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 			rtlpriv->dm.current_turbo_edca = true;
dm                 97 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 				if (!rtlpriv->dm.is_cur_rdlstate ||
dm                 98 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 					!rtlpriv->dm.current_turbo_edca) {
dm                108 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 					rtlpriv->dm.is_cur_rdlstate = true;
dm                111 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 				if (rtlpriv->dm.is_cur_rdlstate ||
dm                112 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 					!rtlpriv->dm.current_turbo_edca) {
dm                115 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 					rtlpriv->dm.is_cur_rdlstate = false;
dm                118 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 			rtlpriv->dm.current_turbo_edca = true;
dm                121 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		if (rtlpriv->dm.current_turbo_edca) {
dm                125 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 			rtlpriv->dm.current_turbo_edca = false;
dm                130 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	rtlpriv->dm.is_any_nonbepkts = false;
dm                143 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	rtlpriv->dm.txpower_trackinginit = true;
dm                150 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		 rtlpriv->dm.thermalvalue, rtlefuse->eeprom_thermalmeter);
dm                153 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		rtlpriv->dm.thermalvalue = thermalvalue;
dm                169 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	rtlpriv->dm.txpowercount = 0;
dm                183 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	if (!rtlpriv->dm.txpower_tracking)
dm                186 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	if (rtlpriv->dm.txpowercount <= tx_power_checkcnt) {
dm                187 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		rtlpriv->dm.txpowercount++;
dm                191 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	if (!rtlpriv->dm.tm_trigger) {
dm                194 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		rtlpriv->dm.tm_trigger = 1;
dm                197 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		rtlpriv->dm.tm_trigger = 0;
dm                215 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	if (!rtlpriv->dm.useramask)
dm                219 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	    !rtlpriv->dm.inform_fw_driverctrldm) {
dm                221 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		rtlpriv->dm.inform_fw_driverctrldm = true;
dm                254 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		if (rtlpriv->dm.undec_sm_pwdb > (long)high_rssi_thresh) {
dm                256 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		} else if (rtlpriv->dm.undec_sm_pwdb >
dm                259 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		} else if (rtlpriv->dm.undec_sm_pwdb >
dm                269 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 				 rtlpriv->dm.undec_sm_pwdb, ra->ratr_state,
dm                306 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		if (rtlpriv->dm.undec_sm_pwdb > tmpentry_maxpwdb) {
dm                349 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	rtlpriv->dm.current_turbo_edca = false;
dm                350 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	rtlpriv->dm.is_any_nonbepkts = false;
dm                351 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	rtlpriv->dm.is_cur_rdlstate = false;
dm                362 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	if (rtlpriv->dm.dm_type == DM_TYPE_BYDRIVER &&
dm                364 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		rtlpriv->dm.useramask = true;
dm                366 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		rtlpriv->dm.useramask = false;
dm                368 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	rtlpriv->dm.useramask = false;
dm                369 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	rtlpriv->dm.inform_fw_driverctrldm = false;
dm                377 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	rtlpriv->dm.txpower_tracking = true;
dm                378 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	rtlpriv->dm.txpowercount = 0;
dm                379 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	rtlpriv->dm.txpower_trackinginit = false;
dm                523 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	dig->rssi_val = rtlpriv->dm.undec_sm_pwdb;
dm                550 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	if (!rtlpriv->dm.dm_initialgain_enable)
dm                571 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	if (!rtlpriv->dm.dynamic_txpower_enable ||
dm                572 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	    rtlpriv->dm.dm_flag & HAL_DM_HIPWR_DISABLE) {
dm                573 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TX_HIGHPWR_LEVEL_NORMAL;
dm                578 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	    (rtlpriv->dm.entry_min_undec_sm_pwdb == 0)) {
dm                582 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TX_HIGHPWR_LEVEL_NORMAL;
dm                584 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		rtlpriv->dm.last_dtp_lvl = TX_HIGHPWR_LEVEL_NORMAL;
dm                590 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 			undec_sm_pwdb = rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                595 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 			undec_sm_pwdb = rtlpriv->dm.undec_sm_pwdb;
dm                601 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		undec_sm_pwdb = rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                612 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TX_HIGHPWR_LEVEL_NORMAL;
dm                614 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TX_HIGHPWR_LEVEL_NORMAL2;
dm                617 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TX_HIGHPWR_LEVEL_NORMAL1;
dm                619 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TX_HIGHPWR_LEVEL_NORMAL;
dm                621 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	if ((rtlpriv->dm.dynamic_txhighpower_lvl != rtlpriv->dm.last_dtp_lvl))
dm                624 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	rtlpriv->dm.last_dtp_lvl = rtlpriv->dm.dynamic_txhighpower_lvl;
dm                636 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	if ((rtlpriv->dm.dm_type == DM_TYPE_BYDRIVER) &&
dm                683 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	    (rtlpriv->dm.dm_type == DM_TYPE_BYDRIVER))
dm                684 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		rtlpriv->dm.dynamic_txpower_enable = true;
dm                686 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 		rtlpriv->dm.dynamic_txpower_enable = false;
dm                688 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	rtlpriv->dm.last_dtp_lvl = TX_HIGHPWR_LEVEL_NORMAL;
dm                689 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	rtlpriv->dm.dynamic_txhighpower_lvl = TX_HIGHPWR_LEVEL_NORMAL;
dm                696 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	rtlpriv->dm.dm_type = DM_TYPE_BYDRIVER;
dm                697 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	rtlpriv->dm.undec_sm_pwdb = -1;
dm                 51 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 			*((bool *)(val)) = rtlpriv->dm.current_mrc_switch;
dm                355 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 				rtlpriv->dm.current_mrc_switch = bmrc_toset;
dm                372 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 				rtlpriv->dm.current_mrc_switch = bmrc_toset;
dm               2273 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 	if (rtlpriv->dm.useramask)
dm               1284 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c 		if (rtlpriv->dm.dm_flag & HAL_DM_HIPWR_DISABLE)
dm               1294 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c 		if ((rtlpriv->dm.dm_flag & HAL_DM_HIPWR_DISABLE) ||
dm               1295 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c 			rtlpriv->dm.dynamic_txpower_enable)
dm               1400 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c 			if (!(rtlpriv->dm.dm_flag & HAL_DM_DIG_DISABLE)) {
dm               1420 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c 			thermalval = rtlpriv->dm.thermalvalue;
dm               1487 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c 			if (rtlpriv->dm.dm_flag & HAL_DM_DIG_DISABLE ||
dm               1491 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c 			if ((rtlpriv->dm.dm_flag & HAL_DM_HIPWR_DISABLE) ||
dm               1492 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c 			    rtlpriv->dm.dynamic_txpower_enable)
dm               1517 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c 			if (!(rtlpriv->dm.dm_flag & HAL_DM_HIPWR_DISABLE) &&
dm               1518 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c 			    !rtlpriv->dm.dynamic_txpower_enable) {
dm                276 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c 	if (rtlpriv->dm.dynamic_txhighpower_lvl == TX_HIGH_PWR_LEVEL_LEVEL1)
dm                278 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c 	else if (rtlpriv->dm.dynamic_txhighpower_lvl ==
dm                383 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c 		if (rtlpriv->dm.dynamic_txhighpower_lvl ==
dm                386 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c 		else if (rtlpriv->dm.dynamic_txhighpower_lvl ==
dm                 97 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c 	rtlpriv->dm.dm_initialgain_enable = true;
dm                 98 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c 	rtlpriv->dm.dm_flag = 0;
dm                 99 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c 	rtlpriv->dm.disable_framebursting = false;
dm                100 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c 	rtlpriv->dm.thermalvalue = 0;
dm                101 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c 	rtlpriv->dm.useramask = true;
dm                145 drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c 		rtlpriv->dm.rfpath_rxenable[0] =
dm                146 drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c 		    rtlpriv->dm.rfpath_rxenable[1] = true;
dm                148 drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c 			if (rtlpriv->dm.rfpath_rxenable[i])
dm                360 drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c 		if (rtlpriv->dm.useramask) {
dm                142 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 		if (rtlpriv->dm.entry_min_undec_sm_pwdb != 0)
dm                144 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 			    (rtlpriv->dm.entry_min_undec_sm_pwdb >
dm                145 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 			     rtlpriv->dm.undec_sm_pwdb) ?
dm                146 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 			    rtlpriv->dm.undec_sm_pwdb :
dm                147 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 			    rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                149 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 			rssi_val_min = rtlpriv->dm.undec_sm_pwdb;
dm                152 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 		rssi_val_min = rtlpriv->dm.undec_sm_pwdb;
dm                155 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 		rssi_val_min = rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                278 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 	long rssi_strength = rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                443 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 	if (!rtlpriv->dm.dm_initialgain_enable)
dm                459 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 	if (!rtlpriv->dm.dynamic_txpower_enable)
dm                462 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 	if (rtlpriv->dm.dm_flag & HAL_DM_HIPWR_DISABLE) {
dm                463 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                468 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 	    (rtlpriv->dm.entry_min_undec_sm_pwdb == 0)) {
dm                472 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                474 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 		rtlpriv->dm.last_dtp_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                481 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 			    rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                487 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 			    rtlpriv->dm.undec_sm_pwdb;
dm                494 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 		    rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                502 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_LEVEL1;
dm                509 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_LEVEL1;
dm                514 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 		rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                519 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 	if (rtlpriv->dm.dynamic_txhighpower_lvl != rtlpriv->dm.last_dtp_lvl) {
dm                526 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 	rtlpriv->dm.last_dtp_lvl = rtlpriv->dm.dynamic_txhighpower_lvl;
dm                570 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 		rtlpriv->dm.current_turbo_edca = false;
dm                586 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 		rtlpriv->dm.current_turbo_edca = false;
dm                589 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 	if ((bt_change_edca) || ((!rtlpriv->dm.is_any_nonbepkts) &&
dm                590 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 	     (!rtlpriv->dm.disable_framebursting))) {
dm                596 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 			if (!rtlpriv->dm.is_cur_rdlstate ||
dm                597 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 			    !rtlpriv->dm.current_turbo_edca) {
dm                601 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 				rtlpriv->dm.is_cur_rdlstate = true;
dm                604 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 			if (rtlpriv->dm.is_cur_rdlstate ||
dm                605 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 			    !rtlpriv->dm.current_turbo_edca) {
dm                609 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 				rtlpriv->dm.is_cur_rdlstate = false;
dm                612 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 		rtlpriv->dm.current_turbo_edca = true;
dm                614 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 		if (rtlpriv->dm.current_turbo_edca) {
dm                619 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 			rtlpriv->dm.current_turbo_edca = false;
dm                623 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 	rtlpriv->dm.is_any_nonbepkts = false;
dm                633 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 	rtlpriv->dm.txpower_tracking = true;
dm                634 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 	rtlpriv->dm.txpower_trackinginit = false;
dm                638 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 		  rtlpriv->dm.txpower_tracking);
dm                659 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 	if (rtlpriv->dm.dm_type == DM_TYPE_BYDRIVER)
dm                660 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 		rtlpriv->dm.useramask = true;
dm                662 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 		rtlpriv->dm.useramask = false;
dm                681 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 	if (!rtlpriv->dm.useramask) {
dm                719 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 		else if (rtlpriv->dm.undec_sm_pwdb > high_rssithresh_for_ra)
dm                721 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 		else if (rtlpriv->dm.undec_sm_pwdb > low_rssithresh_for_ra)
dm                729 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 				 rtlpriv->dm.undec_sm_pwdb);
dm                829 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 	    (rtlpriv->dm.entry_min_undec_sm_pwdb == 0)) {
dm                838 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 			    rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                844 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 			    rtlpriv->dm.undec_sm_pwdb;
dm                851 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 		    rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                865 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 	rtlpriv->dm.dm_type = DM_TYPE_BYDRIVER;
dm                 99 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.h 	(((struct rtl_priv *)(_priv))->dm.entry_min_undec_sm_pwdb) :	\
dm                100 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.h 	(((struct rtl_priv *)(_priv))->dm.undec_sm_pwdb)		\
dm                343 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_bt_coexist.c 			= rtlpriv->dm.entry_min_undec_sm_pwdb;
dm               1805 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 		rtlpriv->dm.rfpath_rxenable[0] = true;
dm               1807 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 		rtlpriv->dm.rfpath_rxenable[0] =
dm               1808 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 		    rtlpriv->dm.rfpath_rxenable[1] = true;
dm               2059 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 	if (rtlpriv->dm.useramask)
dm                309 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c 		if (rtlpriv->dm.dynamic_txhighpower_lvl == TXHIGHPWRLEVEL_BT1)
dm                311 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c 		else if (rtlpriv->dm.dynamic_txhighpower_lvl ==
dm                 82 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c 	rtlpriv->dm.dm_initialgain_enable = 1;
dm                 83 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c 	rtlpriv->dm.dm_flag = 0;
dm                 84 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c 	rtlpriv->dm.disable_framebursting = 0;
dm                 85 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c 	rtlpriv->dm.thermalvalue = 0;
dm                147 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c 		rtlpriv->dm.rfpath_rxenable[0] =
dm                148 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c 		    rtlpriv->dm.rfpath_rxenable[1] = true;
dm                154 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c 			if (rtlpriv->dm.rfpath_rxenable[i])
dm                495 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c 	if (rtlpriv->dm.useramask) {
dm                163 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	u8 ofdm_base = rtlpriv->dm.swing_idx_ofdm_base[RF90_PATH_A];
dm                164 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	u8 ofdm_val = rtlpriv->dm.swing_idx_ofdm[RF90_PATH_A];
dm                201 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	if (rtlpriv->dm.dm_type == DM_TYPE_BYDRIVER)
dm                202 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		rtlpriv->dm.useramask = true;
dm                204 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		rtlpriv->dm.useramask = false;
dm                214 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	rtlpriv->dm.txpower_tracking = true;
dm                215 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	rtlpriv->dm.txpower_track_control = true;
dm                216 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	rtlpriv->dm.thermalvalue = 0;
dm                218 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	rtlpriv->dm.ofdm_index[0] = 30;
dm                219 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	rtlpriv->dm.cck_index = 20;
dm                221 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	rtlpriv->dm.swing_idx_cck_base = rtlpriv->dm.cck_index;
dm                223 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	rtlpriv->dm.swing_idx_ofdm_base[0] = rtlpriv->dm.ofdm_index[0];
dm                224 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	rtlpriv->dm.delta_power_index[RF90_PATH_A] = 0;
dm                225 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	rtlpriv->dm.delta_power_index_last[RF90_PATH_A] = 0;
dm                226 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	rtlpriv->dm.power_index_offset[RF90_PATH_A] = 0;
dm                230 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		  rtlpriv->dm.txpower_tracking);
dm                237 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	rtlpriv->dm.crystal_cap = rtlpriv->efuse.crystalcap;
dm                239 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	rtlpriv->dm.atc_status = rtl_get_bbreg(hw, ROFDM1_CFOTRACKING, 0x800);
dm                240 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	rtlpriv->dm.cfo_threshold = CFO_THRESHOLD_XTAL;
dm                248 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	rtlpriv->dm.dm_type = DM_TYPE_BYDRIVER;
dm                266 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	    (rtlpriv->dm.entry_min_undec_sm_pwdb == 0)) {
dm                275 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 			    rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                278 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 			       rtlpriv->dm.entry_min_undec_sm_pwdb);
dm                281 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 			    rtlpriv->dm.undec_sm_pwdb;
dm                288 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 				rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                321 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		rtlpriv->dm.entry_max_undec_sm_pwdb =
dm                327 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		rtlpriv->dm.entry_max_undec_sm_pwdb = 0;
dm                331 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		rtlpriv->dm.entry_min_undec_sm_pwdb =
dm                337 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		rtlpriv->dm.entry_min_undec_sm_pwdb = 0;
dm                340 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	if (rtlpriv->dm.useramask) {
dm                342 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 			(u8)(rtlpriv->dm.undec_sm_pwdb & 0xFF);
dm                348 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 			       rtlpriv->dm.undec_sm_pwdb);
dm                407 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		if (rtlpriv->dm.one_entry_only) {
dm                749 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	rtlpriv->dm.txpower_trackinginit = true;
dm                755 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	if (!rtlpriv->dm.txpower_track_control || thermalvalue == 0 ||
dm                764 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		rtlpriv->dm.thermalvalue_lck = thermalvalue;
dm                765 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		rtlpriv->dm.thermalvalue_iqk = thermalvalue;
dm                785 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	delta = (thermalvalue > rtlpriv->dm.thermalvalue) ?
dm                786 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		(thermalvalue - rtlpriv->dm.thermalvalue) :
dm                787 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		(rtlpriv->dm.thermalvalue - thermalvalue);
dm                788 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	delta_lck = (thermalvalue > rtlpriv->dm.thermalvalue_lck) ?
dm                789 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		    (thermalvalue - rtlpriv->dm.thermalvalue_lck) :
dm                790 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		    (rtlpriv->dm.thermalvalue_lck - thermalvalue);
dm                791 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	delta_iqk = (thermalvalue > rtlpriv->dm.thermalvalue_iqk) ?
dm                792 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		    (thermalvalue - rtlpriv->dm.thermalvalue_iqk) :
dm                793 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		    (rtlpriv->dm.thermalvalue_iqk - thermalvalue);
dm                797 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		 thermalvalue, rtlpriv->dm.thermalvalue,
dm                801 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		rtlpriv->dm.thermalvalue_lck = thermalvalue;
dm                808 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	if (delta > 0 && rtlpriv->dm.txpower_track_control) {
dm                887 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	if (!rtlpriv->dm.txpower_tracking)
dm                890 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	if (!rtlpriv->dm.tm_trigger) {
dm                895 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		rtlpriv->dm.tm_trigger = 1;
dm                901 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		rtlpriv->dm.tm_trigger = 0;
dm                922 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	if (!rtlpriv->dm.useramask) {
dm                942 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		if (rtlpriv->dm.undec_sm_pwdb >
dm                945 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		else if (rtlpriv->dm.undec_sm_pwdb >
dm                954 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 				 rtlpriv->dm.undec_sm_pwdb);
dm               1007 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	b_edca_turbo_on = ((!rtlpriv->dm.is_any_nonbepkts) &&
dm               1008 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 			   (!rtlpriv->dm.disable_framebursting)) ?
dm               1029 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		rtlpriv->dm.is_cur_rdlstate = b_is_cur_rdlstate;
dm               1030 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		rtlpriv->dm.current_turbo_edca = true;
dm               1032 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		if (rtlpriv->dm.current_turbo_edca) {
dm               1037 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		rtlpriv->dm.current_turbo_edca = false;
dm               1041 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	rtlpriv->dm.is_any_nonbepkts = false;
dm               1175 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		else if ((cfo_ave < -rtlpriv->dm.cfo_threshold) &&
dm               1176 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 					rtlpriv->dm.crystal_cap > 0)
dm               1216 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	rtlpriv->dm.one_entry_only = false;
dm               1220 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 		rtlpriv->dm.one_entry_only = true;
dm               1234 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 			rtlpriv->dm.one_entry_only = true;
dm               1271 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	rtlpriv->dm.dbginfo.num_qry_beacon_pkt = 0;
dm                233 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.h 	(((struct rtl_priv *)(_priv))->dm.entry_min_undecoratedsmoothed_pwdb) :\
dm                234 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.h 	(((struct rtl_priv *)(_priv))->dm.undecorated_smoothed_pwdb))
dm               2254 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 		rtlpriv->dm.rfpath_rxenable[0] = true;
dm               2256 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 		rtlpriv->dm.rfpath_rxenable[0] =
dm               2257 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 		    rtlpriv->dm.rfpath_rxenable[1] = true;
dm               2450 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	if (rtlpriv->dm.useramask)
dm                317 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c 		if (rtlpriv->dm.dynamic_txhighpower_lvl == TXHIGHPWRLEVEL_BT1)
dm                319 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c 		else if (rtlpriv->dm.dynamic_txhighpower_lvl ==
dm                 78 drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c 	rtlpriv->dm.dm_initialgain_enable = 1;
dm                 79 drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c 	rtlpriv->dm.dm_flag = 0;
dm                 80 drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c 	rtlpriv->dm.disable_framebursting = 0;
dm                 81 drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c 	rtlpriv->dm.thermalvalue = 0;
dm                117 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c 			if (rtlpriv->dm.rfpath_rxenable[i])
dm                169 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c 				rtl_priv(hw)->dm.cfo_tail[i] =
dm                172 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c 			if (rtl_priv(hw)->dm.packet_count == 0xffffffff)
dm                173 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c 				rtl_priv(hw)->dm.packet_count = 0;
dm                175 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c 				rtl_priv(hw)->dm.packet_count++;
dm                235 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c 		rtl_priv(hw)->dm.dbginfo.num_qry_beacon_pkt++;
dm                 15 drivers/net/wireless/realtek/rtlwifi/rtl8723com/dm_common.c 	rtlpriv->dm.dynamic_txpower_enable = false;
dm                 17 drivers/net/wireless/realtek/rtlwifi/rtl8723com/dm_common.c 	rtlpriv->dm.last_dtp_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                 18 drivers/net/wireless/realtek/rtlwifi/rtl8723com/dm_common.c 	rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL;
dm                 25 drivers/net/wireless/realtek/rtlwifi/rtl8723com/dm_common.c 	rtlpriv->dm.current_turbo_edca = false;
dm                 26 drivers/net/wireless/realtek/rtlwifi/rtl8723com/dm_common.c 	rtlpriv->dm.is_any_nonbepkts = false;
dm                 27 drivers/net/wireless/realtek/rtlwifi/rtl8723com/dm_common.c 	rtlpriv->dm.is_cur_rdlstate = false;
dm                389 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		if (rtlpriv->dm.swing_idx_ofdm[RF90_PATH_A] <=
dm                390 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 			rtlpriv->dm.swing_idx_ofdm_base[RF90_PATH_A]) {
dm                477 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	rtlpriv->dm.txpower_track_control = true;
dm                505 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	rtlpriv->dm.current_turbo_edca = false;
dm                506 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	rtlpriv->dm.is_any_nonbepkts = false;
dm                507 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	rtlpriv->dm.is_cur_rdlstate = false;
dm                518 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	rtlpriv->dm.dm_type = DM_TYPE_BYDRIVER;
dm                519 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	if (rtlpriv->dm.dm_type == DM_TYPE_BYDRIVER)
dm                520 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		rtlpriv->dm.useramask = true;
dm                522 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		rtlpriv->dm.useramask = false;
dm                532 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	rtlpriv->dm.crystal_cap = rtlpriv->efuse.crystalcap;
dm                534 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	rtlpriv->dm.atc_status = rtl_get_bbreg(hw, ROFDM1_CFOTRACKING, BIT(11));
dm                535 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	rtlpriv->dm.cfo_threshold = CFO_THRESHOLD_XTAL;
dm                551 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		rtlpriv->dm.rfpath_rxenable[0] = true;
dm                553 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		rtlpriv->dm.rfpath_rxenable[1] = true;
dm                566 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	rtlpriv->dm.dm_type = DM_TYPE_BYDRIVER;
dm                583 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	    (rtlpriv->dm.entry_min_undec_sm_pwdb == 0)) {
dm                591 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 			    rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                594 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 				 rtlpriv->dm.entry_min_undec_sm_pwdb);
dm                597 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 			    rtlpriv->dm.undec_sm_pwdb;
dm                604 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		    rtlpriv->dm.entry_min_undec_sm_pwdb;
dm                688 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 			rtlpriv->dm.entry_max_undec_sm_pwdb =
dm                694 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 			rtlpriv->dm.entry_max_undec_sm_pwdb = 0;
dm                698 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 			rtlpriv->dm.entry_min_undec_sm_pwdb =
dm                704 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 			rtlpriv->dm.entry_min_undec_sm_pwdb = 0;
dm                708 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	if (rtlpriv->dm.useramask) {
dm                721 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 			(u8)(rtlpriv->dm.undec_sm_pwdb & 0xFF);
dm                731 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		rtl_write_byte(rtlpriv, 0x4fe, rtlpriv->dm.undec_sm_pwdb);
dm                825 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		if (rtlpriv->dm.one_entry_only) {
dm                901 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	if (rtlpriv->dm.dbginfo.num_qry_beacon_pkt < 10)
dm                926 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 			if ((rtlpriv->dm.dbginfo.num_qry_beacon_pkt < 10) &&
dm                986 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	rtlpriv->dm.tx_rate = 0xff;
dm                988 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	rtlpriv->dm.one_entry_only = false;
dm                992 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		rtlpriv->dm.one_entry_only = true;
dm               1005 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 			rtlpriv->dm.one_entry_only = true;
dm               1048 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	if (!rtlpriv->dm.tm_trigger) {
dm               1053 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		rtlpriv->dm.tm_trigger = 1;
dm               2496 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	if (!rtlpriv->dm.tm_trigger) {
dm               2501 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		rtlpriv->dm.tm_trigger = 1;
dm               2508 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		rtlpriv->dm.tm_trigger = 0;
dm               2529 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	if (!rtlpriv->dm.useramask) {
dm               2549 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		if (rtlpriv->dm.undec_sm_pwdb >
dm               2552 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		else if (rtlpriv->dm.undec_sm_pwdb >
dm               2561 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 				  rtlpriv->dm.undec_sm_pwdb);
dm               2665 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	if (rtlpriv->dm.dbginfo.num_non_be_pkt > 0x100)
dm               2666 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		rtlpriv->dm.is_any_nonbepkts = true;
dm               2667 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	rtlpriv->dm.dbginfo.num_non_be_pkt = 0;
dm               2673 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	pb_is_cur_rdl_state = &rtlpriv->dm.is_cur_rdlstate;
dm               2683 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	b_edca_turbo_on = ((!rtlpriv->dm.is_any_nonbepkts) &&
dm               2684 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 			   (!rtlpriv->dm.disable_framebursting)) ?
dm               2697 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		 rtlpriv->dm.is_any_nonbepkts,
dm               2698 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		 rtlpriv->dm.disable_framebursting);
dm               2723 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		rtlpriv->dm.current_turbo_edca = true;
dm               2729 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		if (rtlpriv->dm.current_turbo_edca) {
dm               2734 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		rtlpriv->dm.current_turbo_edca = false;
dm               2737 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	rtlpriv->dm.is_any_nonbepkts = false;
dm               2875 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 		else if ((cfo_ave < -rtlpriv->dm.cfo_threshold) &&
dm               2876 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 			 rtlpriv->dm.crystal_cap > 0)
dm               2947 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	rtlpriv->dm.dbginfo.num_qry_beacon_pkt = 0;
dm                259 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.h 	(((struct rtl_priv *)(_priv))->dm.entry_min_undec_sm_pwdb) : \
dm                260 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.h 	(((struct rtl_priv *)(_priv))->dm.undec_sm_pwdb))
dm               3263 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		rtlpriv->dm.rfpath_rxenable[0] = true;
dm               3265 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		rtlpriv->dm.rfpath_rxenable[0] =
dm               3266 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		    rtlpriv->dm.rfpath_rxenable[1] = true;
dm               3710 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	if (rtlpriv->dm.useramask)
dm                700 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 			 rtlpriv->dm.ofdm_index[RF90_PATH_A]);
dm               2740 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 		txpower += rtlpriv->dm.remnant_ofdm_swing_idx[path];
dm               2742 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 		txpower += rtlpriv->dm.remnant_cck_idx;
dm                294 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c 		if (rtlpriv->dm.dynamic_txhighpower_lvl == TXHIGHPWRLEVEL_BT1)
dm                296 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c 		else if (rtlpriv->dm.dynamic_txhighpower_lvl ==
dm                 80 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c 	rtlpriv->dm.dm_initialgain_enable = 1;
dm                 81 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c 	rtlpriv->dm.dm_flag = 0;
dm                 82 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c 	rtlpriv->dm.disable_framebursting = 0;
dm                 83 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c 	rtlpriv->dm.thermalvalue = 0;
dm                199 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c 			if (rtlpriv->dm.rfpath_rxenable[i])
dm                254 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c 				rtl_priv(hw)->dm.cfo_tail[i] =
dm                257 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c 			rtl_priv(hw)->dm.packet_count++;
dm                315 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c 		rtl_priv(hw)->dm.dbginfo.num_qry_beacon_pkt++;
dm                325 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c 			rtl_priv(hw)->dm.dbginfo.num_non_be_pkt++;
dm                167 drivers/net/wireless/realtek/rtlwifi/stats.c 		undec_sm_pwdb = rtlpriv->dm.undec_sm_pwdb;
dm                186 drivers/net/wireless/realtek/rtlwifi/stats.c 		rtlpriv->dm.undec_sm_pwdb = undec_sm_pwdb;
dm               2761 drivers/net/wireless/realtek/rtlwifi/wifi.h 	struct rtl_dm dm;
dm               3031 drivers/net/wireless/realtek/rtlwifi/wifi.h #define rtl_dm(rtlpriv)		(&((rtlpriv)->dm))
dm                103 drivers/net/wireless/realtek/rtw88/coex.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm                344 drivers/net/wireless/realtek/rtw88/coex.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm                376 drivers/net/wireless/realtek/rtw88/coex.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm                531 drivers/net/wireless/realtek/rtw88/coex.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm                637 drivers/net/wireless/realtek/rtw88/coex.c 	struct rtw_coex_dm *coex_dm = &rtwdev->coex.dm;
dm                679 drivers/net/wireless/realtek/rtw88/coex.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm                692 drivers/net/wireless/realtek/rtw88/coex.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm                780 drivers/net/wireless/realtek/rtw88/coex.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm                848 drivers/net/wireless/realtek/rtw88/coex.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm                885 drivers/net/wireless/realtek/rtw88/coex.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm                945 drivers/net/wireless/realtek/rtw88/coex.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm               1158 drivers/net/wireless/realtek/rtw88/coex.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm               1244 drivers/net/wireless/realtek/rtw88/coex.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm               1473 drivers/net/wireless/realtek/rtw88/coex.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm               1583 drivers/net/wireless/realtek/rtw88/coex.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm               1856 drivers/net/wireless/realtek/rtw88/coex.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm               1908 drivers/net/wireless/realtek/rtw88/coex.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm               1992 drivers/net/wireless/realtek/rtw88/coex.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm               1075 drivers/net/wireless/realtek/rtw88/main.h 	struct rtw_coex_dm dm;
dm               1038 drivers/net/wireless/realtek/rtw88/rtw8822b.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm               1182 drivers/net/wireless/realtek/rtw88/rtw8822b.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm               1204 drivers/net/wireless/realtek/rtw88/rtw8822b.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm               2024 drivers/net/wireless/realtek/rtw88/rtw8822c.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm               2035 drivers/net/wireless/realtek/rtw88/rtw8822c.c 	struct rtw_coex_dm *coex_dm = &coex->dm;
dm                111 drivers/phy/motorola/phy-cpcap-usb.c 	bool dm;
dm                201 drivers/phy/motorola/phy-cpcap-usb.c 	s->dm = val & BIT(1);
dm                157 drivers/phy/renesas/phy-rcar-gen3-usb2.c static void rcar_gen3_set_linectrl(struct rcar_gen3_chan *ch, int dp, int dm)
dm                162 drivers/phy/renesas/phy-rcar-gen3-usb2.c 	dev_vdbg(ch->dev, "%s: %08x, %d, %d\n", __func__, val, dp, dm);
dm                166 drivers/phy/renesas/phy-rcar-gen3-usb2.c 	if (dm)
dm                353 drivers/platform/x86/dell-smbios-base.c static void __init parse_da_table(const struct dmi_header *dm)
dm                356 drivers/platform/x86/dell-smbios-base.c 	int tokens = (dm->length-11)/sizeof(struct calling_interface_token)-1;
dm                359 drivers/platform/x86/dell-smbios-base.c 		container_of(dm, struct calling_interface_structure, header);
dm                366 drivers/platform/x86/dell-smbios-base.c 	if (dm->length < 17)
dm                406 drivers/platform/x86/dell-smbios-base.c static void __init find_tokens(const struct dmi_header *dm, void *dummy)
dm                408 drivers/platform/x86/dell-smbios-base.c 	switch (dm->type) {
dm                414 drivers/platform/x86/dell-smbios-base.c 		parse_da_table(dm);
dm                 58 drivers/platform/x86/dell-smbios-smm.c static void parse_da_table(const struct dmi_header *dm)
dm                 61 drivers/platform/x86/dell-smbios-smm.c 		container_of(dm, struct calling_interface_structure, header);
dm                 66 drivers/platform/x86/dell-smbios-smm.c 	if (dm->length < 17)
dm                 73 drivers/platform/x86/dell-smbios-smm.c static void find_cmd_address(const struct dmi_header *dm, void *dummy)
dm                 75 drivers/platform/x86/dell-smbios-smm.c 	switch (dm->type) {
dm                 77 drivers/platform/x86/dell-smbios-smm.c 		parse_da_table(dm);
dm                229 drivers/platform/x86/dell-smbios-wmi.c static void parse_b1_table(const struct dmi_header *dm)
dm                232 drivers/platform/x86/dell-smbios-wmi.c 	container_of(dm, struct misc_bios_flags_structure, header);
dm                235 drivers/platform/x86/dell-smbios-wmi.c 	if (dm->length < 12)
dm                237 drivers/platform/x86/dell-smbios-wmi.c 	if (dm->handle != 0xb100)
dm                243 drivers/platform/x86/dell-smbios-wmi.c static void find_b1(const struct dmi_header *dm, void *dummy)
dm                245 drivers/platform/x86/dell-smbios-wmi.c 	switch (dm->type) {
dm                247 drivers/platform/x86/dell-smbios-wmi.c 		parse_b1_table(dm);
dm                441 drivers/platform/x86/dell-wmi.c static void handle_dmi_entry(const struct dmi_header *dm, void *opaque)
dm                452 drivers/platform/x86/dell-wmi.c 	if (dm->type != 0xb2)
dm                455 drivers/platform/x86/dell-wmi.c 	table = container_of(dm, struct dell_bios_hotkey_table, header);
dm               10044 drivers/platform/x86/thinkpad_acpi.c static void find_new_ec_fwstr(const struct dmi_header *dm, void *private)
dm               10047 drivers/platform/x86/thinkpad_acpi.c 	const char *dmi_data = (const char *)dm;
dm               10065 drivers/platform/x86/thinkpad_acpi.c 	if (dm->type != 140 || dm->length < 0x0F ||
dm                614 drivers/ps3/ps3av_cmd.c 	info->pb5.dm = mode->audio_downmix;
dm                 35 drivers/soc/zte/zx296718_pm_domains.c 	.dm = {
dm                 44 drivers/soc/zte/zx296718_pm_domains.c 	.dm = {
dm                 53 drivers/soc/zte/zx296718_pm_domains.c 	.dm = {
dm                 62 drivers/soc/zte/zx296718_pm_domains.c 	.dm = {
dm                 71 drivers/soc/zte/zx296718_pm_domains.c 	.dm = {
dm                 80 drivers/soc/zte/zx296718_pm_domains.c 	.dm = {
dm                 89 drivers/soc/zte/zx296718_pm_domains.c 	.dm = {
dm                 98 drivers/soc/zte/zx296718_pm_domains.c 	.dm = {
dm                107 drivers/soc/zte/zx296718_pm_domains.c 	.dm = {
dm                116 drivers/soc/zte/zx296718_pm_domains.c 	.dm = {
dm                125 drivers/soc/zte/zx296718_pm_domains.c 	.dm = {
dm                134 drivers/soc/zte/zx296718_pm_domains.c 	.dm = {
dm                143 drivers/soc/zte/zx296718_pm_domains.c 	[DM_ZX296718_VOU] = &vou_domain.dm,
dm                144 drivers/soc/zte/zx296718_pm_domains.c 	[DM_ZX296718_SAPPU] = &sappu_domain.dm,
dm                145 drivers/soc/zte/zx296718_pm_domains.c 	[DM_ZX296718_VDE] = &vde_domain.dm,
dm                146 drivers/soc/zte/zx296718_pm_domains.c 	[DM_ZX296718_VCE] = &vce_domain.dm,
dm                147 drivers/soc/zte/zx296718_pm_domains.c 	[DM_ZX296718_HDE] = &hde_domain.dm,
dm                148 drivers/soc/zte/zx296718_pm_domains.c 	[DM_ZX296718_VIU] = &viu_domain.dm,
dm                149 drivers/soc/zte/zx296718_pm_domains.c 	[DM_ZX296718_USB20] = &usb20_domain.dm,
dm                150 drivers/soc/zte/zx296718_pm_domains.c 	[DM_ZX296718_USB21] = &usb21_domain.dm,
dm                151 drivers/soc/zte/zx296718_pm_domains.c 	[DM_ZX296718_USB30] = &usb30_domain.dm,
dm                152 drivers/soc/zte/zx296718_pm_domains.c 	[DM_ZX296718_HSIC] = &hsic_domain.dm,
dm                153 drivers/soc/zte/zx296718_pm_domains.c 	[DM_ZX296718_GMAC] = &gmac_domain.dm,
dm                154 drivers/soc/zte/zx296718_pm_domains.c 	[DM_ZX296718_TS] = &ts_domain.dm,
dm                 34 drivers/soc/zte/zx2967_pm_domains.h 	struct generic_pm_domain dm;
dm               2461 drivers/staging/media/ipu3/include/intel-ipu3.h 	struct ipu3_uapi_dm_config dm __attribute__((aligned(32)));
dm               1278 drivers/staging/media/ipu3/ipu3-abi.h 	struct ipu3_uapi_dm_config dm __aligned(32);
dm               2047 drivers/staging/media/ipu3/ipu3-css-params.c 		acc->dm = acc_user->dm;
dm               2050 drivers/staging/media/ipu3/ipu3-css-params.c 		acc->dm = acc_old->dm;
dm               2053 drivers/staging/media/ipu3/ipu3-css-params.c 		acc->dm = imgu_css_dm_defaults;
dm               2056 drivers/staging/media/ipu3/ipu3-css-params.c 	acc->dm.frame_width = tnr_frame_width;
dm               1058 drivers/staging/rtl8723bs/hal/hal_com.c 			struct dm_priv *dm = &hal_data->dmpriv;
dm               1059 drivers/staging/rtl8723bs/hal/hal_com.c 			dm->DMFlag = dm->InitDMFlag;
dm               1060 drivers/staging/rtl8723bs/hal/hal_com.c 			odm->SupportAbility = dm->InitODMFlag;
dm               1157 drivers/staging/rtl8723bs/hal/hal_com.c 		struct dm_priv *dm = &hal_data->dmpriv;
dm               1171 drivers/staging/rtl8723bs/hal/hal_com.c 			dm->DMFlag &= (~DYNAMIC_FUNC_BT);
dm               1179 drivers/staging/rtl8723bs/hal/hal_com.c 			dm->DMFlag |= DYNAMIC_FUNC_BT;
dm                208 fs/adfs/adfs.h struct adfs_discrecord *adfs_map_discrecord(struct adfs_discmap *dm)
dm                210 fs/adfs/adfs.h 	return (void *)(dm[0].dm_bh->b_data + 4);
dm                 66 fs/adfs/map.c  static int lookup_zone(const struct adfs_discmap *dm, const unsigned int idlen,
dm                 69 fs/adfs/map.c  	const unsigned int mapsize = dm->dm_endbit;
dm                 71 fs/adfs/map.c  	unsigned char *map = dm->dm_bh->b_data + 4;
dm                 72 fs/adfs/map.c  	unsigned int start = dm->dm_startbit;
dm                126 fs/adfs/map.c  scan_free_map(struct adfs_sb_info *asb, struct adfs_discmap *dm)
dm                128 fs/adfs/map.c  	const unsigned int mapsize = dm->dm_endbit + 32;
dm                132 fs/adfs/map.c  	unsigned char *map = dm->dm_bh->b_data;
dm                190 fs/adfs/map.c  	struct adfs_discmap *dm, *dm_end;
dm                193 fs/adfs/map.c  	dm	= asb->s_map + zone;
dm                198 fs/adfs/map.c  		result = lookup_zone(dm, idlen, frag_id, &mapoff);
dm                203 fs/adfs/map.c  		dm ++;
dm                204 fs/adfs/map.c  		if (dm == dm_end)
dm                205 fs/adfs/map.c  			dm = asb->s_map;
dm                210 fs/adfs/map.c  	result -= dm->dm_startbit;
dm                211 fs/adfs/map.c  	result += dm->dm_startblk;
dm                227 fs/adfs/map.c  	struct adfs_discmap *dm;
dm                231 fs/adfs/map.c  	dm   = asb->s_map;
dm                235 fs/adfs/map.c  		total += scan_free_map(asb, dm++);
dm                115 fs/adfs/super.c static int adfs_checkmap(struct super_block *sb, struct adfs_discmap *dm)
dm                123 fs/adfs/super.c 		map = dm[i].dm_bh->b_data;
dm                327 fs/adfs/super.c 	struct adfs_discmap *dm;
dm                340 fs/adfs/super.c 	dm = kmalloc_array(nzones, sizeof(*dm), GFP_KERNEL);
dm                341 fs/adfs/super.c 	if (dm == NULL) {
dm                347 fs/adfs/super.c 		dm[zone].dm_startbit = 0;
dm                348 fs/adfs/super.c 		dm[zone].dm_endbit   = zone_size;
dm                349 fs/adfs/super.c 		dm[zone].dm_startblk = zone * zone_size - ADFS_DR_SIZE_BITS;
dm                350 fs/adfs/super.c 		dm[zone].dm_bh       = sb_bread(sb, map_addr);
dm                352 fs/adfs/super.c 		if (!dm[zone].dm_bh) {
dm                360 fs/adfs/super.c 	dm[0].dm_startblk = 0;
dm                361 fs/adfs/super.c 	dm[0].dm_startbit = ADFS_DR_SIZE_BITS;
dm                362 fs/adfs/super.c 	dm[i].dm_endbit   = (adfs_disc_size(dr) >> dr->log2bpmb) +
dm                365 fs/adfs/super.c 	if (adfs_checkmap(sb, dm))
dm                366 fs/adfs/super.c 		return dm;
dm                372 fs/adfs/super.c 		brelse(dm[zone].dm_bh);
dm                374 fs/adfs/super.c 	kfree(dm);
dm               2963 fs/btrfs/send.c 		struct waiting_dir_move *dm;
dm               2983 fs/btrfs/send.c 		dm = get_waiting_dir_move(sctx, loc.objectid);
dm               2984 fs/btrfs/send.c 		if (dm) {
dm               2992 fs/btrfs/send.c 			dm->rmdir_ino = dir;
dm               3031 fs/btrfs/send.c 	struct waiting_dir_move *entry, *dm;
dm               3033 fs/btrfs/send.c 	dm = kmalloc(sizeof(*dm), GFP_KERNEL);
dm               3034 fs/btrfs/send.c 	if (!dm)
dm               3036 fs/btrfs/send.c 	dm->ino = ino;
dm               3037 fs/btrfs/send.c 	dm->rmdir_ino = 0;
dm               3038 fs/btrfs/send.c 	dm->orphanized = orphanized;
dm               3048 fs/btrfs/send.c 			kfree(dm);
dm               3053 fs/btrfs/send.c 	rb_link_node(&dm->node, parent, p);
dm               3054 fs/btrfs/send.c 	rb_insert_color(&dm->node, &sctx->waiting_dir_moves);
dm               3077 fs/btrfs/send.c 				  struct waiting_dir_move *dm)
dm               3079 fs/btrfs/send.c 	if (!dm)
dm               3081 fs/btrfs/send.c 	rb_erase(&dm->node, &sctx->waiting_dir_moves);
dm               3082 fs/btrfs/send.c 	kfree(dm);
dm               3221 fs/btrfs/send.c 	struct waiting_dir_move *dm = NULL;
dm               3234 fs/btrfs/send.c 	dm = get_waiting_dir_move(sctx, pm->ino);
dm               3235 fs/btrfs/send.c 	ASSERT(dm);
dm               3236 fs/btrfs/send.c 	rmdir_ino = dm->rmdir_ino;
dm               3237 fs/btrfs/send.c 	is_orphan = dm->orphanized;
dm               3238 fs/btrfs/send.c 	free_waiting_dir_move(sctx, dm);
dm               3270 fs/btrfs/send.c 			dm = get_waiting_dir_move(sctx, pm->ino);
dm               3271 fs/btrfs/send.c 			ASSERT(dm);
dm               3272 fs/btrfs/send.c 			dm->rmdir_ino = rmdir_ino;
dm               7327 fs/btrfs/send.c 		struct waiting_dir_move *dm;
dm               7330 fs/btrfs/send.c 		dm = rb_entry(n, struct waiting_dir_move, node);
dm               7331 fs/btrfs/send.c 		rb_erase(&dm->node, &sctx->waiting_dir_moves);
dm               7332 fs/btrfs/send.c 		kfree(dm);
dm               2615 fs/quota/dquot.c 	struct mem_dqblk *dm = &dquot->dq_dqb;
dm               2619 fs/quota/dquot.c 	di->d_spc_hardlimit = dm->dqb_bhardlimit;
dm               2620 fs/quota/dquot.c 	di->d_spc_softlimit = dm->dqb_bsoftlimit;
dm               2621 fs/quota/dquot.c 	di->d_ino_hardlimit = dm->dqb_ihardlimit;
dm               2622 fs/quota/dquot.c 	di->d_ino_softlimit = dm->dqb_isoftlimit;
dm               2623 fs/quota/dquot.c 	di->d_space = dm->dqb_curspace + dm->dqb_rsvspace;
dm               2624 fs/quota/dquot.c 	di->d_ino_count = dm->dqb_curinodes;
dm               2625 fs/quota/dquot.c 	di->d_spc_timer = dm->dqb_btime;
dm               2626 fs/quota/dquot.c 	di->d_ino_timer = dm->dqb_itime;
dm               2674 fs/quota/dquot.c 	struct mem_dqblk *dm = &dquot->dq_dqb;
dm               2693 fs/quota/dquot.c 		dm->dqb_curspace = di->d_space - dm->dqb_rsvspace;
dm               2699 fs/quota/dquot.c 		dm->dqb_bsoftlimit = di->d_spc_softlimit;
dm               2701 fs/quota/dquot.c 		dm->dqb_bhardlimit = di->d_spc_hardlimit;
dm               2708 fs/quota/dquot.c 		dm->dqb_curinodes = di->d_ino_count;
dm               2714 fs/quota/dquot.c 		dm->dqb_isoftlimit = di->d_ino_softlimit;
dm               2716 fs/quota/dquot.c 		dm->dqb_ihardlimit = di->d_ino_hardlimit;
dm               2723 fs/quota/dquot.c 		dm->dqb_btime = di->d_spc_timer;
dm               2729 fs/quota/dquot.c 		dm->dqb_itime = di->d_ino_timer;
dm               2735 fs/quota/dquot.c 		if (!dm->dqb_bsoftlimit ||
dm               2736 fs/quota/dquot.c 		    dm->dqb_curspace + dm->dqb_rsvspace <= dm->dqb_bsoftlimit) {
dm               2737 fs/quota/dquot.c 			dm->dqb_btime = 0;
dm               2741 fs/quota/dquot.c 			dm->dqb_btime = ktime_get_real_seconds() + dqi->dqi_bgrace;
dm               2744 fs/quota/dquot.c 		if (!dm->dqb_isoftlimit ||
dm               2745 fs/quota/dquot.c 		    dm->dqb_curinodes <= dm->dqb_isoftlimit) {
dm               2746 fs/quota/dquot.c 			dm->dqb_itime = 0;
dm               2750 fs/quota/dquot.c 			dm->dqb_itime = ktime_get_real_seconds() + dqi->dqi_igrace;
dm               2752 fs/quota/dquot.c 	if (dm->dqb_bhardlimit || dm->dqb_bsoftlimit || dm->dqb_ihardlimit ||
dm               2753 fs/quota/dquot.c 	    dm->dqb_isoftlimit)
dm                707 include/linux/mlx5/driver.h 	struct mlx5_dm          *dm;
dm               1775 include/rdma/ib_verbs.h 	struct ib_dm      *dm;
dm               2467 include/rdma/ib_verbs.h 	int (*dealloc_dm)(struct ib_dm *dm, struct uverbs_attr_bundle *attrs);
dm               2468 include/rdma/ib_verbs.h 	struct ib_mr *(*reg_dm_mr)(struct ib_pd *pd, struct ib_dm *dm,
dm                140 net/ipv4/tcp_illinois.c static u32 alpha(struct illinois *ca, u32 da, u32 dm)
dm                142 net/ipv4/tcp_illinois.c 	u32 d1 = dm / 100;	/* Low threshold */
dm                178 net/ipv4/tcp_illinois.c 	dm -= d1;
dm                180 net/ipv4/tcp_illinois.c 	return (dm * ALPHA_MAX) /
dm                181 net/ipv4/tcp_illinois.c 		(dm + (da  * (ALPHA_MAX - ALPHA_MIN)) / ALPHA_MIN);
dm                192 net/ipv4/tcp_illinois.c static u32 beta(u32 da, u32 dm)
dm                196 net/ipv4/tcp_illinois.c 	d2 = dm / 10;
dm                200 net/ipv4/tcp_illinois.c 	d3 = (8 * dm) / 10;
dm                231 net/ipv4/tcp_illinois.c 		u32 dm = max_delay(ca);
dm                234 net/ipv4/tcp_illinois.c 		ca->alpha = alpha(ca, da, dm);
dm                235 net/ipv4/tcp_illinois.c 		ca->beta = beta(da, dm);
dm               2441 net/netfilter/ipvs/ip_vs_ctl.c 		struct ip_vs_daemon_user *dm = (struct ip_vs_daemon_user *)arg;
dm               2448 net/netfilter/ipvs/ip_vs_ctl.c 			if (strscpy(cfg.mcast_ifn, dm->mcast_ifn,
dm               2451 net/netfilter/ipvs/ip_vs_ctl.c 			cfg.syncid = dm->syncid;
dm               2452 net/netfilter/ipvs/ip_vs_ctl.c 			ret = start_sync_thread(ipvs, &cfg, dm->state);
dm               2454 net/netfilter/ipvs/ip_vs_ctl.c 			ret = stop_sync_thread(ipvs, dm->state);
dm               1751 sound/soc/codecs/wm_adsp.c 		 le32_to_cpu(adsp1_sizes->dm), le32_to_cpu(adsp1_sizes->pm),
dm               2185 sound/soc/codecs/wm_adsp.c 					   adsp1_id.fw.id, adsp1_id.dm);
dm               2203 sound/soc/codecs/wm_adsp.c 			  be32_to_cpu(adsp1_alg[i].dm),
dm               2208 sound/soc/codecs/wm_adsp.c 						   adsp1_alg[i].dm);
dm               2215 sound/soc/codecs/wm_adsp.c 				len = be32_to_cpu(adsp1_alg[i + 1].dm);
dm               2216 sound/soc/codecs/wm_adsp.c 				len -= be32_to_cpu(adsp1_alg[i].dm);
dm                 45 sound/soc/codecs/wmfw.h 	__le32 dm;
dm                 84 sound/soc/codecs/wmfw.h 	__be32 dm;
dm                113 sound/soc/codecs/wmfw.h 	__be32 dm;
dm                107 tools/perf/util/stat-shadow.c 	struct saved_value dm = {
dm                117 tools/perf/util/stat-shadow.c 	nd = rblist__find(rblist, &dm);
dm                121 tools/perf/util/stat-shadow.c 		rblist__add_node(rblist, &dm);
dm                122 tools/perf/util/stat-shadow.c 		nd = rblist__find(rblist, &dm);