| /linux-6.15/arch/mips/alchemy/common/ |
| H A D | dbdma.c | 286 stp->dev_flags |= DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc() 290 dtp->dev_flags |= DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc() 293 stp->dev_flags &= ~DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc() 342 (dtp->dev_flags & DEV_FLAGS_SYNC)) in au1xxx_dbdma_chan_alloc() 355 stp->dev_flags &= ~DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc() 356 dtp->dev_flags &= ~DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc() 491 if (stp->dev_flags & DEV_FLAGS_IN) in au1xxx_dbdma_ring_alloc() 493 if (dtp->dev_flags & DEV_FLAGS_OUT) in au1xxx_dbdma_ring_alloc() 517 if (stp->dev_flags & DEV_FLAGS_IN) { in au1xxx_dbdma_ring_alloc() 857 stp->dev_flags &= ~DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_free() [all …]
|
| /linux-6.15/drivers/net/wireless/ath/ath11k/ |
| H A D | pcic.c | 356 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ce_irq_enable() 370 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ce_irq_disable() 381 clear_bit(ATH11K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags); in ath11k_pcic_ce_irqs_disable() 420 if (!test_bit(ATH11K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags)) in ath11k_pcic_ce_interrupt_handler() 441 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ext_grp_disable() 452 clear_bit(ATH11K_FLAG_EXT_IRQ_ENABLED, &ab->dev_flags); in __ath11k_pcic_ext_irq_disable() 475 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ext_grp_enable() 496 set_bit(ATH11K_FLAG_EXT_IRQ_ENABLED, &ab->dev_flags); in ath11k_pcic_ext_irq_enable() 549 if (!test_bit(ATH11K_FLAG_EXT_IRQ_ENABLED, &ab->dev_flags)) in ath11k_pcic_ext_interrupt_handler() 721 set_bit(ATH11K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags); in ath11k_pcic_ce_irqs_enable() [all …]
|
| H A D | pci.c | 430 set_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags); in ath11k_pci_alloc_msi() 440 clear_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags); in ath11k_pci_alloc_msi() 802 clear_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags); in ath11k_pci_power_up() 836 clear_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags); in ath11k_pci_power_down() 871 if (test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pci_start() 921 if (test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab_pci->ab->dev_flags)) in ath11k_pci_set_irq_affinity_hint() 960 set_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags); in ath11k_pci_probe() 1163 if (test_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags)) { in ath11k_pci_remove() 1170 set_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags); in ath11k_pci_remove() 1203 if (test_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags)) { in ath11k_pci_pm_suspend() [all …]
|
| H A D | mhi.c | 221 if (test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_mhi_get_msi() 289 if (!(test_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags))) in ath11k_mhi_op_status_cb() 371 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_mhi_register() 374 if (test_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags)) { in ath11k_mhi_register()
|
| H A D | qmi.c | 3230 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work() 3234 set_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags); in ath11k_qmi_driver_event_work() 3242 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work() 3247 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work() 3255 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work() 3260 clear_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work() 3273 &ab->dev_flags); in ath11k_qmi_driver_event_work() 3277 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work() 3294 &ab->dev_flags); in ath11k_qmi_driver_event_work() 3295 clear_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags); in ath11k_qmi_driver_event_work() [all …]
|
| H A D | thermal.c | 86 if (test_bit(ATH11K_FLAG_CRASH_FLUSH, &ar->ab->dev_flags)) { in ath11k_thermal_show_temp() 166 if (test_bit(ATH11K_FLAG_REGISTERED, &ab->dev_flags)) in ath11k_thermal_register()
|
| H A D | core.c | 1668 if (!test_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags)) in ath11k_core_stop() 1969 set_bit(ATH11K_FLAG_HW_CRYPTO_DISABLED, &ab->dev_flags); in ath11k_core_qmi_firmware_ready() 1970 set_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready() 1973 clear_bit(ATH11K_FLAG_HW_CRYPTO_DISABLED, &ab->dev_flags); in ath11k_core_qmi_firmware_ready() 1974 clear_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready() 1982 set_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready() 2035 clear_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath11k_core_reconfigure_on_crash() 2041 clear_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags); in ath11k_core_reconfigure_on_crash() 2216 if (!(test_bit(ATH11K_FLAG_REGISTERED, &ab->dev_flags))) { in ath11k_core_reset() 2217 ath11k_warn(ab, "ignore reset dev flags 0x%lx\n", ab->dev_flags); in ath11k_core_reset()
|
| H A D | ahb.c | 396 if (!test_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags)) in ath11k_ahb_stop() 864 set_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags); in ath11k_ahb_setup_msi_resources() 1251 if (test_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags)) { in ath11k_ahb_remove_prepare() 1258 set_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags); in ath11k_ahb_remove_prepare() 1282 if (test_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags)) { in ath11k_ahb_remove() 1307 if (!(test_bit(ATH11K_FLAG_REGISTERED, &ab->dev_flags))) in ath11k_ahb_shutdown()
|
| /linux-6.15/drivers/video/fbdev/i810/ |
| H A D | i810_accel.c | 77 par->dev_flags |= LOCKUP; in wait_for_space() 105 par->dev_flags |= LOCKUP; in wait_for_engine_idle() 122 if (par->dev_flags & ALWAYS_SYNC) in begin_iring() 303 if (!info->var.accel_flags || par->dev_flags & LOCKUP || in i810fb_fillrect() 331 if (!info->var.accel_flags || par->dev_flags & LOCKUP || in i810fb_copyarea() 372 if (!info->var.accel_flags || par->dev_flags & LOCKUP || in i810fb_imageblit() 409 if (!info->var.accel_flags || par->dev_flags & LOCKUP) in i810fb_sync() 420 if (!info->var.accel_flags || par->dev_flags & LOCKUP) in i810fb_load_front()
|
| /linux-6.15/drivers/pci/ |
| H A D | vpd.c | 281 if (dev->dev_flags & PCI_DEV_FLAGS_VPD_REF_F0) { in vpd_read() 291 if (dev->dev_flags & PCI_DEV_FLAGS_VPD_REF_F0) in vpd_read() 305 if (dev->dev_flags & PCI_DEV_FLAGS_VPD_REF_F0) { in vpd_write() 315 if (dev->dev_flags & PCI_DEV_FLAGS_VPD_REF_F0) in vpd_write() 422 if (dev->dev_flags & PCI_DEV_FLAGS_VPD_REF_F0) { in __pci_read_vpd() 460 if (dev->dev_flags & PCI_DEV_FLAGS_VPD_REF_F0) { in __pci_write_vpd() 562 dev->dev_flags |= PCI_DEV_FLAGS_VPD_REF_F0; in quirk_f0_vpd_link()
|
| H A D | search.c | 70 if (tmp->dev_flags & PCI_DEV_FLAGS_BRIDGE_XLATE_ROOT) in pci_for_each_dma_alias() 102 if (tmp->dev_flags & PCI_DEV_FLAG_PCIE_BRIDGE_ALIAS) in pci_for_each_dma_alias()
|
| H A D | devres.c | 118 unsigned long dev_flags = pci_resource_flags(pdev, bar); in __pcim_request_region_range() local 131 if (dev_flags & IORESOURCE_IO) { in __pcim_request_region_range() 134 } else if (dev_flags & IORESOURCE_MEM) { in __pcim_request_region_range()
|
| /linux-6.15/drivers/gpio/ |
| H A D | gpio-realtek-otto.c | 361 unsigned int dev_flags; in realtek_gpio_probe() local 373 dev_flags = (unsigned int) device_get_match_data(dev); in realtek_gpio_probe() 390 if (dev_flags & GPIO_PORTS_REVERSED) { in realtek_gpio_probe() 415 if (!(dev_flags & GPIO_INTERRUPTS_DISABLED) && irq > 0) { in realtek_gpio_probe() 432 if ((dev_flags & GPIO_INTERRUPTS_PER_CPU) && irq > 0) { in realtek_gpio_probe()
|
| /linux-6.15/drivers/net/phy/ |
| H A D | broadcom.c | 120 if (phydev->dev_flags & PHY_BRCM_EN_MASTER_MODE) { in bcm54210e_config_init() 136 if (!(phydev->dev_flags & PHY_BRCM_RX_REFCLK_UNUSED)) { in bcm54612e_config_init() 318 if (phydev->dev_flags & PHY_BRCM_RX_REFCLK_UNUSED) { in bcm54xx_adjust_rxrefclk() 327 if (!clk125en || (phydev->dev_flags & PHY_BRCM_AUTO_PWRDWN_ENABLE)) in bcm54xx_adjust_rxrefclk() 332 if (phydev->dev_flags & PHY_BRCM_DIS_TXCRXC_NOENRGY) { in bcm54xx_adjust_rxrefclk() 413 if (!(phydev->dev_flags & PHY_BRCM_RX_REFCLK_UNUSED)) { in bcm54811_config_init() 454 (phydev->dev_flags & PHY_BRCM_CLEAR_RGMII_MODE)) in bcm54xx_config_init() 529 if (!(phydev->dev_flags & PHY_BRCM_IDDQ_SUSPEND)) in bcm54xx_iddq_set() 619 if (phydev->dev_flags & PHY_BRCM_IDDQ_SUSPEND) { in bcm54xx_resume() 912 if (phydev->dev_flags & PHY_BRCM_AUTO_PWRDWN_ENABLE) { in brcm_fet_config_init() [all …]
|
| /linux-6.15/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2x00crypto.c | 189 if (rxdesc->dev_flags & RXDONE_L2PAD) { in rt2x00crypto_rx_insert_iv() 217 if (!(rxdesc->dev_flags & RXDONE_L2PAD)) { in rt2x00crypto_rx_insert_iv()
|
| /linux-6.15/drivers/net/wireless/marvell/libertas/ |
| H A D | main.c | 342 int dev_flags = 0; in lbs_update_mcast() local 347 dev_flags |= priv->dev->flags; in lbs_update_mcast() 349 dev_flags |= priv->mesh_dev->flags; in lbs_update_mcast() 351 if (dev_flags & IFF_PROMISC) { in lbs_update_mcast() 356 } else if (dev_flags & IFF_ALLMULTI) { in lbs_update_mcast()
|
| /linux-6.15/sound/pci/ac97/ |
| H A D | ac97_patch.c | 2652 ac97->spec.dev_flags = (ac97->id == 0x414c4722 || in patch_alc650() 2662 if (ac97->spec.dev_flags && in patch_alc650() 2724 if (ac97->spec.dev_flags) in alc655_iec958_route_info() 2737 if (ac97->spec.dev_flags && val == 3) in alc655_iec958_route_get() 2790 ac97->spec.dev_flags = 1; /* ALC658 */ in patch_alc655() 2793 ac97->spec.dev_flags = 2; in patch_alc655() 2804 if (ac97->spec.dev_flags) /* ALC658 */ in patch_alc655() 3177 val |= clfe_on[ac97->spec.dev_flags][is_clfe_on(ac97)]; in cm9761_update_jacks() 3279 ac97->spec.dev_flags = tmp & 1; /* revision B? */ in patch_cm9761() 3282 ac97->spec.dev_flags = 2; in patch_cm9761() [all …]
|
| /linux-6.15/drivers/net/wireless/ath/ath10k/ |
| H A D | core.c | 2509 if (test_bit(ATH10K_FLAG_NAPI_ENABLED, &ar->dev_flags)) in ath10k_core_napi_enable() 2513 set_bit(ATH10K_FLAG_NAPI_ENABLED, &ar->dev_flags); in ath10k_core_napi_enable() 2526 clear_bit(ATH10K_FLAG_NAPI_ENABLED, &ar->dev_flags); in ath10k_core_napi_sync_disable() 2535 set_bit(ATH10K_FLAG_CRASH_FLUSH, &ar->dev_flags); in ath10k_core_restart() 2632 clear_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags); in ath10k_core_init_firmware_features() 2642 set_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags); in ath10k_core_init_firmware_features() 2660 set_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags); in ath10k_core_init_firmware_features() 2663 if (test_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags)) { in ath10k_core_init_firmware_features() 2949 clear_bit(ATH10K_FLAG_CRASH_FLUSH, &ar->dev_flags); in ath10k_core_start() 3474 set_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags); in ath10k_core_register_work() [all …]
|
| H A D | debug.c | 106 test_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags), in ath10k_debug_print_boot_info() 107 !test_bit(ATH10K_FLAG_HW_CRYPTO_DISABLED, &ar->dev_flags)); in ath10k_debug_print_boot_info() 1987 if (!(test_bit(ATH10K_FLAG_BTCOEX, &ar->dev_flags) ^ val)) { in ath10k_write_btcoex() 2007 set_bit(ATH10K_FLAG_BTCOEX, &ar->dev_flags); in ath10k_write_btcoex() 2009 clear_bit(ATH10K_FLAG_BTCOEX, &ar->dev_flags); in ath10k_write_btcoex() 2028 test_bit(ATH10K_FLAG_BTCOEX, &ar->dev_flags)); in ath10k_read_btcoex() 2115 if (!(test_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags) ^ val)) { in ath10k_write_peer_stats() 2121 set_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags); in ath10k_write_peer_stats() 2123 clear_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags); in ath10k_write_peer_stats() 2145 test_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags)); in ath10k_read_peer_stats()
|
| /linux-6.15/drivers/net/wireless/ath/ath12k/ |
| H A D | pci.c | 407 clear_bit(ATH12K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags); in ath12k_pci_ce_irqs_disable() 446 if (!test_bit(ATH12K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags)) in ath12k_pci_ce_interrupt_handler() 478 if (!test_and_clear_bit(ATH12K_FLAG_EXT_IRQ_ENABLED, &ab->dev_flags)) in __ath12k_pci_ext_irq_disable() 551 if (!test_bit(ATH12K_FLAG_EXT_IRQ_ENABLED, &ab->dev_flags)) in ath12k_pci_ext_interrupt_handler() 733 set_bit(ATH12K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags); in ath12k_pci_ce_irqs_enable() 1128 set_bit(ATH12K_FLAG_EXT_IRQ_ENABLED, &ab->dev_flags); in ath12k_pci_ext_irq_enable() 1133 if (!test_bit(ATH12K_FLAG_EXT_IRQ_ENABLED, &ab->dev_flags)) in ath12k_pci_ext_irq_disable() 1735 if (test_bit(ATH12K_FLAG_QMI_FAIL, &ab->dev_flags)) { in ath12k_pci_remove() 1742 set_bit(ATH12K_FLAG_UNREGISTERING, &ab->dev_flags); in ath12k_pci_remove()
|
| H A D | core.c | 619 if (!test_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags)) in ath12k_core_stop() 854 if (!test_bit(ATH12K_FLAG_RECOVERY, &ab->dev_flags)) in ath12k_core_start() 1200 clear_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath12k_core_reconfigure_on_crash() 1206 clear_bit(ATH12K_FLAG_RECOVERY, &ab->dev_flags); in ath12k_core_reconfigure_on_crash() 1280 set_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath12k_core_pre_reconfigure_recovery() 1381 if (!test_bit(ATH12K_FLAG_REGISTERED, &ab->dev_flags)) { in ath12k_core_restart() 1404 if (!(test_bit(ATH12K_FLAG_QMI_FW_READY_COMPLETE, &ab->dev_flags))) { in ath12k_core_reset() 1405 ath12k_warn(ab, "ignore reset dev flags 0x%lx\n", ab->dev_flags); in ath12k_core_reset()
|
| /linux-6.15/drivers/hid/intel-ish-hid/ishtp/ |
| H A D | client.c | 597 unsigned long dev_flags; in ishtp_cl_read_start() local 641 spin_lock_irqsave(&dev->read_list_spinlock, dev_flags); in ishtp_cl_read_start() 643 spin_unlock_irqrestore(&dev->read_list_spinlock, dev_flags); in ishtp_cl_read_start() 651 spin_lock_irqsave(&dev->read_list_spinlock, dev_flags); in ishtp_cl_read_start() 653 spin_unlock_irqrestore(&dev->read_list_spinlock, dev_flags); in ishtp_cl_read_start()
|
| /linux-6.15/drivers/iommu/iommufd/ |
| H A D | iommufd_test.h | 93 __u32 dev_flags; member
|
| /linux-6.15/include/uapi/linux/ |
| H A D | uhid.h | 65 __u64 dev_flags; member
|
| /linux-6.15/include/linux/ |
| H A D | rtsx_pci.h | 1149 u32 dev_flags; member 1176 ((cr)->option.dev_flags |= (flag)) 1178 ((cr)->option.dev_flags &= ~(flag)) 1180 ((cr)->option.dev_flags & (flag))
|