/linux-6.12.1/drivers/net/wireless/ralink/rt2x00/ ! |
D | rt2x00link.c | 40 if (rt2x00dev->link.qual.rx_success) in rt2x00link_antenna_get_link_rssi() 184 struct link_qual *qual = &rt2x00dev->link.qual; in rt2x00link_update_stats() local 198 qual->rx_success++; in rt2x00link_update_stats() 254 struct link_qual *qual = &rt2x00dev->link.qual; in rt2x00link_reset_tuner() local 255 u8 vgc_level = qual->vgc_level_reg; in rt2x00link_reset_tuner() 269 memset(qual, 0, sizeof(*qual)); in rt2x00link_reset_tuner() 277 qual->vgc_level_reg = vgc_level; in rt2x00link_reset_tuner() 282 rt2x00dev->ops->lib->reset_tuner(rt2x00dev, qual); in rt2x00link_reset_tuner() 290 struct link_qual *qual = &rt2x00dev->link.qual; in rt2x00link_reset_qual() local 292 qual->rx_success = 0; in rt2x00link_reset_qual() [all …]
|
D | rt2500pci.c | 610 struct link_qual *qual) in rt2500pci_link_stats() argument 618 qual->rx_failed = rt2x00_get_field32(reg, CNT0_FCS_ERROR); in rt2500pci_link_stats() 624 qual->false_cca = rt2x00_get_field32(reg, CNT3_FALSE_CCA); in rt2500pci_link_stats() 628 struct link_qual *qual, u8 vgc_level) in rt2500pci_set_vgc() argument 630 if (qual->vgc_level_reg != vgc_level) { in rt2500pci_set_vgc() 632 qual->vgc_level = vgc_level; in rt2500pci_set_vgc() 633 qual->vgc_level_reg = vgc_level; in rt2500pci_set_vgc() 638 struct link_qual *qual) in rt2500pci_reset_tuner() argument 640 rt2500pci_set_vgc(rt2x00dev, qual, 0x48); in rt2500pci_reset_tuner() 644 struct link_qual *qual, const u32 count) in rt2500pci_link_tuner() argument [all …]
|
D | rt73usb.c | 876 struct link_qual *qual) in rt73usb_link_stats() argument 884 qual->rx_failed = rt2x00_get_field32(reg, STA_CSR0_FCS_ERROR); in rt73usb_link_stats() 890 qual->false_cca = rt2x00_get_field32(reg, STA_CSR1_FALSE_CCA_ERROR); in rt73usb_link_stats() 894 struct link_qual *qual, u8 vgc_level) in rt73usb_set_vgc() argument 896 if (qual->vgc_level != vgc_level) { in rt73usb_set_vgc() 898 qual->vgc_level = vgc_level; in rt73usb_set_vgc() 899 qual->vgc_level_reg = vgc_level; in rt73usb_set_vgc() 904 struct link_qual *qual) in rt73usb_reset_tuner() argument 906 rt73usb_set_vgc(rt2x00dev, qual, 0x20); in rt73usb_reset_tuner() 910 struct link_qual *qual, const u32 count) in rt73usb_link_tuner() argument [all …]
|
D | rt61pci.c | 916 struct link_qual *qual) in rt61pci_link_stats() argument 924 qual->rx_failed = rt2x00_get_field32(reg, STA_CSR0_FCS_ERROR); in rt61pci_link_stats() 930 qual->false_cca = rt2x00_get_field32(reg, STA_CSR1_FALSE_CCA_ERROR); in rt61pci_link_stats() 934 struct link_qual *qual, u8 vgc_level) in rt61pci_set_vgc() argument 936 if (qual->vgc_level != vgc_level) { in rt61pci_set_vgc() 938 qual->vgc_level = vgc_level; in rt61pci_set_vgc() 939 qual->vgc_level_reg = vgc_level; in rt61pci_set_vgc() 944 struct link_qual *qual) in rt61pci_reset_tuner() argument 946 rt61pci_set_vgc(rt2x00dev, qual, 0x20); in rt61pci_reset_tuner() 950 struct link_qual *qual, const u32 count) in rt61pci_link_tuner() argument [all …]
|
D | rt2400pci.c | 571 struct link_qual *qual) in rt2400pci_link_stats() argument 580 qual->rx_failed = rt2x00_get_field32(reg, CNT0_FCS_ERROR); in rt2400pci_link_stats() 586 qual->false_cca = bbp; in rt2400pci_link_stats() 590 struct link_qual *qual, u8 vgc_level) in rt2400pci_set_vgc() argument 592 if (qual->vgc_level_reg != vgc_level) { in rt2400pci_set_vgc() 594 qual->vgc_level = vgc_level; in rt2400pci_set_vgc() 595 qual->vgc_level_reg = vgc_level; in rt2400pci_set_vgc() 600 struct link_qual *qual) in rt2400pci_reset_tuner() argument 602 rt2400pci_set_vgc(rt2x00dev, qual, 0x08); in rt2400pci_reset_tuner() 606 struct link_qual *qual, const u32 count) in rt2400pci_link_tuner() argument [all …]
|
D | rt2800lib.h | 238 void rt2800_link_stats(struct rt2x00_dev *rt2x00dev, struct link_qual *qual); 239 void rt2800_reset_tuner(struct rt2x00_dev *rt2x00dev, struct link_qual *qual); 240 void rt2800_link_tuner(struct rt2x00_dev *rt2x00dev, struct link_qual *qual,
|
D | rt2x00.h | 310 struct link_qual qual; member 555 struct link_qual *qual); 557 struct link_qual *qual); 559 struct link_qual *qual, const u32 count);
|
D | rt2x00dev.c | 447 rt2x00dev->link.qual.tx_success += success; in rt2x00lib_txdone_nomatch() 448 rt2x00dev->link.qual.tx_failed += !success; in rt2x00lib_txdone_nomatch() 524 rt2x00dev->link.qual.tx_success += success; in rt2x00lib_txdone() 525 rt2x00dev->link.qual.tx_failed += !success; in rt2x00lib_txdone()
|
D | rt2500usb.c | 672 struct link_qual *qual) in rt2500usb_link_stats() argument 680 qual->rx_failed = rt2x00_get_field16(reg, STA_CSR0_FCS_ERROR); in rt2500usb_link_stats() 686 qual->false_cca = rt2x00_get_field16(reg, STA_CSR3_FALSE_CCA_ERROR); in rt2500usb_link_stats() 690 struct link_qual *qual) in rt2500usb_reset_tuner() argument 711 qual->vgc_level = value; in rt2500usb_reset_tuner()
|
/linux-6.12.1/net/wireless/ ! |
D | wext-proc.c | 51 dev->name, stats->status, stats->qual.qual, in wireless_seq_printf_stats() 52 stats->qual.updated & IW_QUAL_QUAL_UPDATED in wireless_seq_printf_stats() 54 ((__s32) stats->qual.level) - in wireless_seq_printf_stats() 55 ((stats->qual.updated & IW_QUAL_DBM) ? 0x100 : 0), in wireless_seq_printf_stats() 56 stats->qual.updated & IW_QUAL_LEVEL_UPDATED in wireless_seq_printf_stats() 58 ((__s32) stats->qual.noise) - in wireless_seq_printf_stats() 59 ((stats->qual.updated & IW_QUAL_DBM) ? 0x100 : 0), in wireless_seq_printf_stats() 60 stats->qual.updated & IW_QUAL_NOISE_UPDATED in wireless_seq_printf_stats() 67 stats->qual.updated &= ~IW_QUAL_ALL_UPDATED; in wireless_seq_printf_stats()
|
D | wext-compat.c | 147 range->max_qual.qual = 70; in cfg80211_wext_giwrange() 148 range->avg_qual.qual = 35; in cfg80211_wext_giwrange() 155 range->max_qual.qual = 100; in cfg80211_wext_giwrange() 156 range->avg_qual.qual = 50; in cfg80211_wext_giwrange() 1388 wstats.qual.updated |= IW_QUAL_LEVEL_UPDATED; in cfg80211_wireless_stats() 1389 wstats.qual.updated |= IW_QUAL_QUAL_UPDATED; in cfg80211_wireless_stats() 1390 wstats.qual.updated |= IW_QUAL_DBM; in cfg80211_wireless_stats() 1391 wstats.qual.level = sig; in cfg80211_wireless_stats() 1396 wstats.qual.qual = sig + 110; in cfg80211_wireless_stats() 1402 wstats.qual.updated |= IW_QUAL_LEVEL_UPDATED; in cfg80211_wireless_stats() [all …]
|
D | wext-spy.c | 176 threshold.qual = *wstats; in iw_send_thrspy_event()
|
/linux-6.12.1/arch/x86/include/asm/ ! |
D | percpu.h | 153 #define __raw_cpu_read(size, qual, pcp) \ argument 155 *(qual __my_cpu_type(pcp) *)__my_cpu_ptr(&(pcp)); \ 158 #define __raw_cpu_write(size, qual, pcp, val) \ argument 160 *(qual __my_cpu_type(pcp) *)__my_cpu_ptr(&(pcp)) = (val); \ 167 #define __raw_cpu_read(size, qual, _var) \ argument 171 asm qual (__pcpu_op2_##size("mov", __percpu_arg([var]), "%[val]") \ 178 #define __raw_cpu_write(size, qual, _var, _val) \ argument 187 asm qual(__pcpu_op2_##size("mov", "%[val]", __percpu_arg([var])) \ 211 #define percpu_unary_op(size, qual, op, _var) \ argument 213 asm qual (__pcpu_op1_##size(op, __percpu_arg([var])) \ [all …]
|
/linux-6.12.1/drivers/net/wireless/intel/ipw2x00/ ! |
D | libipw_wx.c | 143 iwe.u.qual.updated = IW_QUAL_QUAL_UPDATED | IW_QUAL_LEVEL_UPDATED | in libipw_translate_scan() 147 iwe.u.qual.updated |= IW_QUAL_QUAL_INVALID | in libipw_translate_scan() 149 iwe.u.qual.qual = 0; in libipw_translate_scan() 152 iwe.u.qual.qual = 100; in libipw_translate_scan() 154 iwe.u.qual.qual = in libipw_translate_scan() 165 if (iwe.u.qual.qual > 100) in libipw_translate_scan() 166 iwe.u.qual.qual = 100; in libipw_translate_scan() 167 else if (iwe.u.qual.qual < 1) in libipw_translate_scan() 168 iwe.u.qual.qual = 0; in libipw_translate_scan() 172 iwe.u.qual.updated |= IW_QUAL_NOISE_INVALID; in libipw_translate_scan() [all …]
|
/linux-6.12.1/drivers/scsi/qla2xxx/ ! |
D | qla_inline.h | 279 u16 qual; in qla2x00_set_retry_delay_timestamp() local 300 qual = sts_qual & SQ_QUAL_MASK; in qla2x00_set_retry_delay_timestamp() 301 if (qual < 1 || qual > 0x3fef) in qla2x00_set_retry_delay_timestamp() 303 qual = min(qual, (u16)SQ_MAX_WAIT_TIME); in qla2x00_set_retry_delay_timestamp() 306 fcport->retry_delay_timestamp = jiffies + (qual * HZ / 10); in qla2x00_set_retry_delay_timestamp() 310 fcport->port_name, sts_qual, qual * 100); in qla2x00_set_retry_delay_timestamp()
|
/linux-6.12.1/drivers/staging/rtl8192e/rtl8192e/ ! |
D | rtl_wx.c | 176 range->max_qual.qual = 100; in _rtl92e_wx_get_range() 181 range->avg_qual.qual = 70; /* > 8% missed beacons is 'bad' */ in _rtl92e_wx_get_range() 845 wstats->qual.qual = 10; in _rtl92e_get_wireless_stats() 846 wstats->qual.level = 0; in _rtl92e_get_wireless_stats() 847 wstats->qual.noise = 0x100 - 100; /* -100 dBm */ in _rtl92e_get_wireless_stats() 848 wstats->qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM; in _rtl92e_get_wireless_stats() 856 wstats->qual.level = tmp_level; in _rtl92e_get_wireless_stats() 857 wstats->qual.qual = tmp_qual; in _rtl92e_get_wireless_stats() 858 wstats->qual.noise = tmp_noise; in _rtl92e_get_wireless_stats() 859 wstats->qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM; in _rtl92e_get_wireless_stats()
|
/linux-6.12.1/include/media/tpg/ ! |
D | v4l2-tpg.h | 151 enum tpg_quality qual; member 267 enum tpg_quality qual, unsigned qual_offset) in tpg_s_quality() argument 269 if (tpg->qual == qual && tpg->qual_offset == qual_offset) in tpg_s_quality() 271 tpg->qual = qual; in tpg_s_quality() 278 return tpg->qual; in tpg_g_quality()
|
/linux-6.12.1/drivers/staging/rtl8192e/ ! |
D | rtllib_wx.c | 155 iwe.u.qual.qual = network->stats.signal; in rtl819x_translate_scan() 156 iwe.u.qual.level = network->stats.rssi; in rtl819x_translate_scan() 157 iwe.u.qual.noise = network->stats.noise; in rtl819x_translate_scan() 158 iwe.u.qual.updated = network->stats.mask & RTLLIB_STATMASK_WEMASK; in rtl819x_translate_scan() 160 iwe.u.qual.updated |= IW_QUAL_LEVEL_INVALID; in rtl819x_translate_scan() 162 iwe.u.qual.updated |= IW_QUAL_NOISE_INVALID; in rtl819x_translate_scan() 164 iwe.u.qual.updated |= IW_QUAL_QUAL_INVALID; in rtl819x_translate_scan() 165 iwe.u.qual.updated = 7; in rtl819x_translate_scan()
|
/linux-6.12.1/include/uapi/linux/ ! |
D | wireless.h | 717 __u8 qual; /* link quality (%retries, SNR, member 752 struct iw_quality qual; /* Quality of the link */ member 885 struct iw_quality qual; /* Quality of the link member 924 struct iw_quality qual; /* Quality part of statistics */ member
|
/linux-6.12.1/drivers/usb/gadget/legacy/ ! |
D | inode.c | 1286 struct usb_qualifier_descriptor qual; in make_qualifier() local 1289 qual.bLength = sizeof qual; in make_qualifier() 1290 qual.bDescriptorType = USB_DT_DEVICE_QUALIFIER; in make_qualifier() 1291 qual.bcdUSB = cpu_to_le16 (0x0200); in make_qualifier() 1294 qual.bDeviceClass = desc->bDeviceClass; in make_qualifier() 1295 qual.bDeviceSubClass = desc->bDeviceSubClass; in make_qualifier() 1296 qual.bDeviceProtocol = desc->bDeviceProtocol; in make_qualifier() 1299 qual.bMaxPacketSize0 = dev->gadget->ep0->maxpacket; in make_qualifier() 1301 qual.bNumConfigurations = 1; in make_qualifier() 1302 qual.bRESERVED = 0; in make_qualifier() [all …]
|
/linux-6.12.1/drivers/staging/rtl8712/ ! |
D | rtl871x_ioctl_linux.c | 309 iwe.u.qual.updated = (u8)(IW_QUAL_QUAL_INVALID | IW_QUAL_LEVEL_UPDATED | IW_QUAL_NOISE_INVALID); in translate_scan() 310 iwe.u.qual.level = rssi; /* signal strength */ in translate_scan() 311 iwe.u.qual.qual = 0; /* signal quality */ in translate_scan() 312 iwe.u.qual.noise = 0; /* noise level */ in translate_scan() 837 range->max_qual.qual = 100; in r8711_wx_get_range() 841 range->avg_qual.qual = 92; /* > 8% missed beacons is 'bad' */ in r8711_wx_get_range() 2250 piwstats->qual.qual = 0; in r871x_get_wireless_stats() 2251 piwstats->qual.level = 0; in r871x_get_wireless_stats() 2252 piwstats->qual.noise = 0; in r871x_get_wireless_stats() 2258 piwstats->qual.level = tmp_level; in r871x_get_wireless_stats() [all …]
|
/linux-6.12.1/drivers/usb/gadget/ ! |
D | composite.c | 911 struct usb_qualifier_descriptor *qual = cdev->req->buf; in device_qual() local 913 qual->bLength = sizeof(*qual); in device_qual() 914 qual->bDescriptorType = USB_DT_DEVICE_QUALIFIER; in device_qual() 916 qual->bcdUSB = cdev->desc.bcdUSB; in device_qual() 917 qual->bDeviceClass = cdev->desc.bDeviceClass; in device_qual() 918 qual->bDeviceSubClass = cdev->desc.bDeviceSubClass; in device_qual() 919 qual->bDeviceProtocol = cdev->desc.bDeviceProtocol; in device_qual() 921 qual->bMaxPacketSize0 = cdev->gadget->ep0->maxpacket; in device_qual() 922 qual->bNumConfigurations = count_configs(cdev, USB_DT_DEVICE_QUALIFIER); in device_qual() 923 qual->bRESERVED = 0; in device_qual()
|
/linux-6.12.1/drivers/net/ethernet/toshiba/ ! |
D | ps3_gelic_wireless.c | 333 range->max_qual.qual = 100; /* relative value */ in gelic_wl_get_range() 335 range->avg_qual.qual = 50; in gelic_wl_get_range() 647 iwe.u.qual.updated = IW_QUAL_ALL_UPDATED | in gelic_wl_translate_scan() 649 iwe.u.qual.level = be16_to_cpu(scan->rssi); in gelic_wl_translate_scan() 650 iwe.u.qual.qual = be16_to_cpu(scan->rssi); in gelic_wl_translate_scan() 651 iwe.u.qual.noise = 0; in gelic_wl_translate_scan() 1410 is->qual.level = be16_to_cpu(rssi->rssi); in gelic_wl_get_wireless_stats() 1411 is->qual.updated = IW_QUAL_LEVEL_UPDATED | in gelic_wl_get_wireless_stats() 1415 is->qual.updated = IW_QUAL_ALL_INVALID; in gelic_wl_get_wireless_stats()
|
/linux-6.12.1/drivers/media/test-drivers/vivid/ ! |
D | vivid-vid-cap.c | 1291 enum tpg_quality qual; in vivid_video_g_tuner() local 1301 qual = vivid_get_quality(dev, &vt->afc); in vivid_video_g_tuner() 1302 if (qual == TPG_QUAL_COLOR) in vivid_video_g_tuner() 1304 else if (qual == TPG_QUAL_GRAY) in vivid_video_g_tuner() 1308 if (qual == TPG_QUAL_NOISE) { in vivid_video_g_tuner() 1310 } else if (qual == TPG_QUAL_GRAY) { in vivid_video_g_tuner()
|
/linux-6.12.1/scripts/ ! |
D | Makefile.extrawarn | 170 KBUILD_CFLAGS += -Wcast-qual
|