Home
last modified time | relevance | path

Searched refs:dev_flags (Results 1 – 25 of 121) sorted by relevance

12345

/linux-6.3-rc2/arch/mips/alchemy/common/
A Ddbdma.c285 stp->dev_flags |= DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc()
289 dtp->dev_flags |= DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc()
292 stp->dev_flags &= ~DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc()
341 (dtp->dev_flags & DEV_FLAGS_SYNC)) in au1xxx_dbdma_chan_alloc()
354 stp->dev_flags &= ~DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc()
355 dtp->dev_flags &= ~DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc()
490 if (stp->dev_flags & DEV_FLAGS_IN) in au1xxx_dbdma_ring_alloc()
492 if (dtp->dev_flags & DEV_FLAGS_OUT) in au1xxx_dbdma_ring_alloc()
516 if (stp->dev_flags & DEV_FLAGS_IN) { in au1xxx_dbdma_ring_alloc()
854 stp->dev_flags &= ~DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_free()
[all …]
/linux-6.3-rc2/drivers/net/wireless/ath/ath11k/
A Dpcic.c333 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ce_irq_enable()
347 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ce_irq_disable()
358 clear_bit(ATH11K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags); in ath11k_pcic_ce_irqs_disable()
397 if (!test_bit(ATH11K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags)) in ath11k_pcic_ce_interrupt_handler()
418 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ext_grp_disable()
429 clear_bit(ATH11K_FLAG_EXT_IRQ_ENABLED, &sc->dev_flags); in __ath11k_pcic_ext_irq_disable()
452 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ext_grp_enable()
463 set_bit(ATH11K_FLAG_EXT_IRQ_ENABLED, &ab->dev_flags); in ath11k_pcic_ext_irq_enable()
527 if (!test_bit(ATH11K_FLAG_EXT_IRQ_ENABLED, &ab->dev_flags)) in ath11k_pcic_ext_interrupt_handler()
678 set_bit(ATH11K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags); in ath11k_pcic_ce_irqs_enable()
[all …]
A Dpci.c424 set_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags); in ath11k_pci_alloc_msi()
434 clear_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags); in ath11k_pci_alloc_msi()
606 clear_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags); in ath11k_pci_power_up()
640 clear_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags); in ath11k_pci_power_down()
675 if (test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pci_start()
722 if (test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab_pci->ab->dev_flags)) in ath11k_pci_set_irq_affinity_hint()
760 set_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags); in ath11k_pci_probe()
938 if (test_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags)) { in ath11k_pci_remove()
945 set_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags); in ath11k_pci_remove()
975 if (test_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags)) { in ath11k_pci_pm_suspend()
[all …]
A Dmhi.c276 if (test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_mhi_get_msi()
336 if (!(test_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags))) in ath11k_mhi_op_status_cb()
408 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_mhi_register()
411 if (test_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags)) { in ath11k_mhi_register()
A Dqmi.c3162 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3166 set_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3174 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3179 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3187 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3192 clear_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3204 &ab->dev_flags); in ath11k_qmi_driver_event_work()
3208 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3225 &ab->dev_flags); in ath11k_qmi_driver_event_work()
3226 clear_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags); in ath11k_qmi_driver_event_work()
[all …]
A Dcore.c1351 if (!test_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags)) in ath11k_core_stop()
1611 set_bit(ATH11K_FLAG_HW_CRYPTO_DISABLED, &ab->dev_flags); in ath11k_core_qmi_firmware_ready()
1612 set_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready()
1615 clear_bit(ATH11K_FLAG_HW_CRYPTO_DISABLED, &ab->dev_flags); in ath11k_core_qmi_firmware_ready()
1616 clear_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready()
1624 set_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready()
1678 clear_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath11k_core_reconfigure_on_crash()
1684 clear_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags); in ath11k_core_reconfigure_on_crash()
1855 if (!(test_bit(ATH11K_FLAG_REGISTERED, &ab->dev_flags))) { in ath11k_core_reset()
1856 ath11k_warn(ab, "ignore reset dev flags 0x%lx\n", ab->dev_flags); in ath11k_core_reset()
A Dahb.c395 if (!test_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags)) in ath11k_ahb_stop()
884 set_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags); in ath11k_ahb_setup_msi_resources()
1249 if (test_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags)) { in ath11k_ahb_remove_prepare()
1256 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()
1308 if (!(test_bit(ATH11K_FLAG_REGISTERED, &ab->dev_flags))) in ath11k_ahb_shutdown()
/linux-6.3-rc2/drivers/video/fbdev/i810/
A Di810_accel.c77 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.3-rc2/drivers/net/phy/
A Dbroadcom.c82 if (phydev->dev_flags & PHY_BRCM_EN_MASTER_MODE) { in bcm54210e_config_init()
98 if (!(phydev->dev_flags & PHY_BRCM_RX_REFCLK_UNUSED)) { in bcm54612e_config_init()
280 if (phydev->dev_flags & PHY_BRCM_RX_REFCLK_UNUSED) { in bcm54xx_adjust_rxrefclk()
289 if (!clk125en || (phydev->dev_flags & PHY_BRCM_AUTO_PWRDWN_ENABLE)) in bcm54xx_adjust_rxrefclk()
294 if (phydev->dev_flags & PHY_BRCM_DIS_TXCRXC_NOENRGY) { in bcm54xx_adjust_rxrefclk()
361 (phydev->dev_flags & PHY_BRCM_CLEAR_RGMII_MODE)) in bcm54xx_config_init()
423 if (!(phydev->dev_flags & PHY_BRCM_IDDQ_SUSPEND)) in bcm54xx_iddq_set()
480 if (phydev->dev_flags & PHY_BRCM_IDDQ_SUSPEND) { in bcm54xx_resume()
504 if (!(phydev->dev_flags & PHY_BRCM_RX_REFCLK_UNUSED)) { in bcm54811_config_init()
697 if (phydev->dev_flags & PHY_BRCM_AUTO_PWRDWN_ENABLE) { in brcm_fet_config_init()
[all …]
/linux-6.3-rc2/drivers/gpio/
A Dgpio-realtek-otto.c361 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.3-rc2/drivers/net/wireless/ralink/rt2x00/
A Drt2x00crypto.c189 if (rxdesc->dev_flags & RXDONE_L2PAD) { in rt2x00crypto_rx_insert_iv()
220 if (!(rxdesc->dev_flags & RXDONE_L2PAD)) { in rt2x00crypto_rx_insert_iv()
A Drt2x00dev.c662 if (!(rxdesc->dev_flags & RXDONE_MY_BSS) || in rt2x00lib_rxdone_check_ps()
697 int type = (rxdesc->dev_flags & RXDONE_SIGNAL_MASK); in rt2x00lib_rxdone_read_signal()
706 if (rxdesc->dev_flags & RXDONE_SIGNAL_MCS) in rt2x00lib_rxdone_read_signal()
795 if ((rxdesc.dev_flags & RXDONE_CRYPTO_IV) && in rt2x00lib_rxdone()
801 (rxdesc.dev_flags & RXDONE_L2PAD)) in rt2x00lib_rxdone()
/linux-6.3-rc2/drivers/pci/
A Dsearch.c70 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()
A Dvpd.c392 if (dev->dev_flags & PCI_DEV_FLAGS_VPD_REF_F0) { in __pci_read_vpd()
430 if (dev->dev_flags & PCI_DEV_FLAGS_VPD_REF_F0) { in __pci_write_vpd()
532 dev->dev_flags |= PCI_DEV_FLAGS_VPD_REF_F0; in quirk_f0_vpd_link()
/linux-6.3-rc2/drivers/net/wireless/ath/ath12k/
A Dcore.c370 if (!test_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags)) in ath12k_core_stop()
643 clear_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath12k_core_reconfigure_on_crash()
649 clear_bit(ATH12K_FLAG_RECOVERY, &ab->dev_flags); in ath12k_core_reconfigure_on_crash()
782 if (!(test_bit(ATH12K_FLAG_REGISTERED, &ab->dev_flags))) { in ath12k_core_reset()
783 ath12k_warn(ab, "ignore reset dev flags 0x%lx\n", ab->dev_flags); in ath12k_core_reset()
A Dqmi.c2993 if (test_bit(ATH12K_FLAG_UNREGISTERING, &ab->dev_flags)) in ath12k_qmi_driver_event_work()
3000 set_bit(ATH12K_FLAG_QMI_FAIL, &ab->dev_flags); in ath12k_qmi_driver_event_work()
3003 set_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath12k_qmi_driver_event_work()
3004 set_bit(ATH12K_FLAG_RECOVERY, &ab->dev_flags); in ath12k_qmi_driver_event_work()
3009 set_bit(ATH12K_FLAG_QMI_FAIL, &ab->dev_flags); in ath12k_qmi_driver_event_work()
3014 set_bit(ATH12K_FLAG_QMI_FAIL, &ab->dev_flags); in ath12k_qmi_driver_event_work()
3017 clear_bit(ATH12K_FLAG_QMI_FAIL, &ab->dev_flags); in ath12k_qmi_driver_event_work()
3018 if (test_bit(ATH12K_FLAG_REGISTERED, &ab->dev_flags)) { in ath12k_qmi_driver_event_work()
3025 &ab->dev_flags); in ath12k_qmi_driver_event_work()
3026 clear_bit(ATH12K_FLAG_RECOVERY, &ab->dev_flags); in ath12k_qmi_driver_event_work()
[all …]
/linux-6.3-rc2/sound/pci/ac97/
A Dac97_patch.c2655 ac97->spec.dev_flags = (ac97->id == 0x414c4722 || in patch_alc650()
2665 if (ac97->spec.dev_flags && in patch_alc650()
2727 if (ac97->spec.dev_flags) in alc655_iec958_route_info()
2740 if (ac97->spec.dev_flags && val == 3) in alc655_iec958_route_get()
2793 ac97->spec.dev_flags = 1; /* ALC658 */ in patch_alc655()
2796 ac97->spec.dev_flags = 2; in patch_alc655()
2807 if (ac97->spec.dev_flags) /* ALC658 */ in patch_alc655()
3180 val |= clfe_on[ac97->spec.dev_flags][is_clfe_on(ac97)]; in cm9761_update_jacks()
3282 ac97->spec.dev_flags = tmp & 1; /* revision B? */ in patch_cm9761()
3285 ac97->spec.dev_flags = 2; in patch_cm9761()
[all …]
/linux-6.3-rc2/drivers/net/wireless/ath/ath10k/
A Dcore.c2483 if (test_bit(ATH10K_FLAG_NAPI_ENABLED, &ar->dev_flags)) in ath10k_core_napi_enable()
2487 set_bit(ATH10K_FLAG_NAPI_ENABLED, &ar->dev_flags); in ath10k_core_napi_enable()
2500 clear_bit(ATH10K_FLAG_NAPI_ENABLED, &ar->dev_flags); in ath10k_core_napi_sync_disable()
2510 set_bit(ATH10K_FLAG_CRASH_FLUSH, &ar->dev_flags); in ath10k_core_restart()
2615 clear_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags); in ath10k_core_init_firmware_features()
2625 set_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags); in ath10k_core_init_firmware_features()
2643 set_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags); in ath10k_core_init_firmware_features()
2646 if (test_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags)) { in ath10k_core_init_firmware_features()
2932 clear_bit(ATH10K_FLAG_CRASH_FLUSH, &ar->dev_flags); in ath10k_core_start()
3453 set_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags); in ath10k_core_register_work()
[all …]
A Ddebug.c105 test_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags), in ath10k_debug_print_boot_info()
106 !test_bit(ATH10K_FLAG_HW_CRYPTO_DISABLED, &ar->dev_flags)); in ath10k_debug_print_boot_info()
1993 if (!(test_bit(ATH10K_FLAG_BTCOEX, &ar->dev_flags) ^ val)) { in ath10k_write_btcoex()
2013 set_bit(ATH10K_FLAG_BTCOEX, &ar->dev_flags); in ath10k_write_btcoex()
2015 clear_bit(ATH10K_FLAG_BTCOEX, &ar->dev_flags); in ath10k_write_btcoex()
2034 test_bit(ATH10K_FLAG_BTCOEX, &ar->dev_flags)); in ath10k_read_btcoex()
2128 if (!(test_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags) ^ val)) { in ath10k_write_peer_stats()
2134 set_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags); in ath10k_write_peer_stats()
2136 clear_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags); in ath10k_write_peer_stats()
2158 test_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags)); in ath10k_read_peer_stats()
A Dthermal.c84 if (test_bit(ATH10K_FLAG_CRASH_FLUSH, &ar->dev_flags)) { in ath10k_thermal_show_temp()
/linux-6.3-rc2/drivers/hid/intel-ish-hid/ishtp/
A Dclient.c451 unsigned long dev_flags; in ishtp_cl_read_start() local
495 spin_lock_irqsave(&dev->read_list_spinlock, dev_flags); in ishtp_cl_read_start()
497 spin_unlock_irqrestore(&dev->read_list_spinlock, dev_flags); in ishtp_cl_read_start()
505 spin_lock_irqsave(&dev->read_list_spinlock, dev_flags); in ishtp_cl_read_start()
507 spin_unlock_irqrestore(&dev->read_list_spinlock, dev_flags); in ishtp_cl_read_start()
/linux-6.3-rc2/drivers/net/wireless/marvell/libertas/
A Dmain.c363 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.3-rc2/include/target/
A Dtarget_core_backend.h125 return !!(se_dev->dev_flags & DF_CONFIGURED); in target_dev_configured()
/linux-6.3-rc2/include/uapi/linux/
A Duhid.h65 __u64 dev_flags; member
/linux-6.3-rc2/include/linux/
A Drtsx_pci.h1143 u32 dev_flags; member
1170 ((cr)->option.dev_flags |= (flag))
1172 ((cr)->option.dev_flags &= ~(flag))
1174 ((cr)->option.dev_flags & (flag))

Completed in 73 milliseconds

12345