/linux-6.12.1/arch/mips/alchemy/common/ |
D | dbdma.c | 233 p->dev_id, p->dev_flags, p->dev_physaddr); in au1xxx_ddma_add_device() 283 if (!(stp->dev_flags & DEV_FLAGS_INUSE) || in au1xxx_dbdma_chan_alloc() 284 (stp->dev_flags & DEV_FLAGS_ANYUSE)) { in au1xxx_dbdma_chan_alloc() 286 stp->dev_flags |= DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc() 287 if (!(dtp->dev_flags & DEV_FLAGS_INUSE) || in au1xxx_dbdma_chan_alloc() 288 (dtp->dev_flags & DEV_FLAGS_ANYUSE)) { 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() 341 if ((stp->dev_flags & DEV_FLAGS_SYNC) || in au1xxx_dbdma_chan_alloc() 342 (dtp->dev_flags & DEV_FLAGS_SYNC)) in au1xxx_dbdma_chan_alloc() [all …]
|
/linux-6.12.1/drivers/net/wireless/ath/ath11k/ |
D | pcic.c | 170 wakeup_required = test_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags) && in ath11k_pcic_write32() 203 wakeup_required = test_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags) && in ath11k_pcic_read32() 227 wakeup_required = test_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags) && in ath11k_pcic_read() 345 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ce_irq_enable() 359 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ce_irq_disable() 370 clear_bit(ATH11K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags); in ath11k_pcic_ce_irqs_disable() 409 if (!test_bit(ATH11K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags)) in ath11k_pcic_ce_interrupt_handler() 430 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ext_grp_disable() 441 clear_bit(ATH11K_FLAG_EXT_IRQ_ENABLED, &ab->dev_flags); in __ath11k_pcic_ext_irq_disable() 464 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ext_grp_enable() [all …]
|
D | pci.c | 428 set_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags); in ath11k_pci_alloc_msi() 438 clear_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags); in ath11k_pci_alloc_msi() 619 clear_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags); in ath11k_pci_power_up() 653 clear_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags); in ath11k_pci_power_down() 688 if (test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pci_start() 735 if (test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab_pci->ab->dev_flags)) in ath11k_pci_set_irq_affinity_hint() 774 set_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags); in ath11k_pci_probe() 972 if (test_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags)) { in ath11k_pci_remove() 979 set_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags); in ath11k_pci_remove() 1009 if (test_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags)) { in ath11k_pci_pm_suspend() [all …]
|
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()
|
D | qmi.c | 1889 test_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags)) && in ath11k_qmi_respond_fw_mem_request() 1959 test_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags)) && in ath11k_qmi_free_target_mem_chunk() 3037 test_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags)) { in ath11k_qmi_msg_mem_request_cb() 3211 if (test_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags)) { in ath11k_qmi_driver_event_work() 3220 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work() 3223 set_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath11k_qmi_driver_event_work() 3224 set_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags); in ath11k_qmi_driver_event_work() 3232 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work() 3237 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work() 3245 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work() [all …]
|
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()
|
D | core.c | 1569 if (!test_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags)) in ath11k_core_stop() 1834 set_bit(ATH11K_FLAG_HW_CRYPTO_DISABLED, &ab->dev_flags); in ath11k_core_qmi_firmware_ready() 1835 set_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready() 1838 clear_bit(ATH11K_FLAG_HW_CRYPTO_DISABLED, &ab->dev_flags); in ath11k_core_qmi_firmware_ready() 1839 clear_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready() 1847 set_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready() 1900 clear_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath11k_core_reconfigure_on_crash() 1906 clear_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags); in ath11k_core_reconfigure_on_crash() 2080 if (!(test_bit(ATH11K_FLAG_REGISTERED, &ab->dev_flags))) { in ath11k_core_reset() 2081 ath11k_warn(ab, "ignore reset dev flags 0x%lx\n", ab->dev_flags); in ath11k_core_reset()
|
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() 1306 if (!(test_bit(ATH11K_FLAG_REGISTERED, &ab->dev_flags))) in ath11k_ahb_shutdown()
|
/linux-6.12.1/drivers/video/fbdev/i810/ |
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.12.1/drivers/pci/ |
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()
|
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()
|
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.12.1/drivers/gpio/ |
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.12.1/drivers/net/phy/ |
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() 350 if (!clk125en || (phydev->dev_flags & PHY_BRCM_AUTO_PWRDWN_ENABLE)) 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() [all …]
|
/linux-6.12.1/drivers/net/wireless/ralink/rt2x00/ |
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.12.1/drivers/net/wireless/ath/ath12k/ |
D | pci.c | 405 clear_bit(ATH12K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags); in ath12k_pci_ce_irqs_disable() 444 if (!test_bit(ATH12K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags)) in ath12k_pci_ce_interrupt_handler() 476 if (!test_and_clear_bit(ATH12K_FLAG_EXT_IRQ_ENABLED, &ab->dev_flags)) in __ath12k_pci_ext_irq_disable() 546 if (!test_bit(ATH12K_FLAG_EXT_IRQ_ENABLED, &ab->dev_flags)) in ath12k_pci_ext_interrupt_handler() 728 set_bit(ATH12K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags); in ath12k_pci_ce_irqs_enable() 1119 set_bit(ATH12K_FLAG_EXT_IRQ_ENABLED, &ab->dev_flags); in ath12k_pci_ext_irq_enable() 1532 if (test_bit(ATH12K_FLAG_QMI_FAIL, &ab->dev_flags)) { in ath12k_pci_remove() 1538 set_bit(ATH12K_FLAG_UNREGISTERING, &ab->dev_flags); in ath12k_pci_remove()
|
D | core.c | 596 if (!test_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags)) in ath12k_core_stop() 957 clear_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath12k_core_reconfigure_on_crash() 963 clear_bit(ATH12K_FLAG_RECOVERY, &ab->dev_flags); in ath12k_core_reconfigure_on_crash() 1035 set_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath12k_core_pre_reconfigure_recovery() 1146 if (!(test_bit(ATH12K_FLAG_REGISTERED, &ab->dev_flags))) { in ath12k_core_reset() 1147 ath12k_warn(ab, "ignore reset dev flags 0x%lx\n", ab->dev_flags); in ath12k_core_reset()
|
D | qmi.c | 3298 if (test_bit(ATH12K_FLAG_UNREGISTERING, &ab->dev_flags)) in ath12k_qmi_driver_event_work() 3305 set_bit(ATH12K_FLAG_QMI_FAIL, &ab->dev_flags); in ath12k_qmi_driver_event_work() 3308 set_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath12k_qmi_driver_event_work() 3309 set_bit(ATH12K_FLAG_RECOVERY, &ab->dev_flags); in ath12k_qmi_driver_event_work() 3314 set_bit(ATH12K_FLAG_QMI_FAIL, &ab->dev_flags); in ath12k_qmi_driver_event_work() 3319 set_bit(ATH12K_FLAG_QMI_FAIL, &ab->dev_flags); in ath12k_qmi_driver_event_work() 3322 clear_bit(ATH12K_FLAG_QMI_FAIL, &ab->dev_flags); in ath12k_qmi_driver_event_work() 3323 if (test_bit(ATH12K_FLAG_REGISTERED, &ab->dev_flags)) { in ath12k_qmi_driver_event_work() 3331 &ab->dev_flags); in ath12k_qmi_driver_event_work() 3332 clear_bit(ATH12K_FLAG_RECOVERY, &ab->dev_flags); in ath12k_qmi_driver_event_work() [all …]
|
/linux-6.12.1/sound/pci/ac97/ |
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() 2903 ac97->spec.dev_flags = 0; /* for IEC958 playback route - ALC655 compatible */ in patch_alc850() 3176 val |= surr_on[ac97->spec.dev_flags][is_surround_on(ac97)]; in cm9761_update_jacks() 3177 val |= clfe_on[ac97->spec.dev_flags][is_clfe_on(ac97)]; in cm9761_update_jacks() [all …]
|
/linux-6.12.1/drivers/net/wireless/ath/ath10k/ |
D | core.c | 2489 if (test_and_set_bit(ATH10K_FLAG_RESTARTING, &ar->dev_flags)) { in ath10k_core_start_recovery() 2502 if (test_bit(ATH10K_FLAG_NAPI_ENABLED, &ar->dev_flags)) in ath10k_core_napi_enable() 2506 set_bit(ATH10K_FLAG_NAPI_ENABLED, &ar->dev_flags); in ath10k_core_napi_enable() 2514 if (!test_bit(ATH10K_FLAG_NAPI_ENABLED, &ar->dev_flags)) in ath10k_core_napi_sync_disable() 2519 clear_bit(ATH10K_FLAG_NAPI_ENABLED, &ar->dev_flags); in ath10k_core_napi_sync_disable() 2528 set_bit(ATH10K_FLAG_CRASH_FLUSH, &ar->dev_flags); in ath10k_core_restart() 2625 clear_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags); in ath10k_core_init_firmware_features() 2626 clear_bit(ATH10K_FLAG_HW_CRYPTO_DISABLED, &ar->dev_flags); in ath10k_core_init_firmware_features() 2635 set_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags); in ath10k_core_init_firmware_features() 2636 set_bit(ATH10K_FLAG_HW_CRYPTO_DISABLED, &ar->dev_flags); in ath10k_core_init_firmware_features() [all …]
|
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.12.1/drivers/net/wireless/marvell/libertas/ |
D | main.c | 363 int dev_flags = 0; in lbs_update_mcast() local 368 dev_flags |= priv->dev->flags; in lbs_update_mcast() 370 dev_flags |= priv->mesh_dev->flags; in lbs_update_mcast() 372 if (dev_flags & IFF_PROMISC) { in lbs_update_mcast() 377 } else if (dev_flags & IFF_ALLMULTI) { in lbs_update_mcast()
|
/linux-6.12.1/drivers/hid/intel-ish-hid/ishtp/ |
D | client.c | 616 unsigned long dev_flags; in ishtp_cl_read_start() local 660 spin_lock_irqsave(&dev->read_list_spinlock, dev_flags); in ishtp_cl_read_start() 662 spin_unlock_irqrestore(&dev->read_list_spinlock, dev_flags); in ishtp_cl_read_start() 670 spin_lock_irqsave(&dev->read_list_spinlock, dev_flags); in ishtp_cl_read_start() 672 spin_unlock_irqrestore(&dev->read_list_spinlock, dev_flags); in ishtp_cl_read_start()
|
/linux-6.12.1/drivers/iommu/iommufd/ |
D | iommufd_test.h | 78 __u32 dev_flags; member
|
D | selftest.c | 691 static struct mock_dev *mock_dev_create(unsigned long dev_flags) in mock_dev_create() argument 696 if (dev_flags & in mock_dev_create() 705 mdev->flags = dev_flags; in mock_dev_create() 745 u32 dev_flags = 0; in iommufd_test_mock_domain() local 757 dev_flags = cmd->mock_domain_flags.dev_flags; in iommufd_test_mock_domain() 759 sobj->idev.mock_dev = mock_dev_create(dev_flags); in iommufd_test_mock_domain()
|