Home
last modified time | relevance | path

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

12345

/linux-6.6.21/arch/mips/alchemy/common/
Ddbdma.c233 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.6.21/drivers/net/wireless/ath/ath11k/
Dpcic.c159 wakeup_required = test_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags) && in ath11k_pcic_write32()
192 wakeup_required = test_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags) && in ath11k_pcic_read32()
216 wakeup_required = test_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags) && in ath11k_pcic_read()
333 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()
[all …]
Dpci.c425 set_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags); in ath11k_pci_alloc_msi()
435 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()
761 set_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags); in ath11k_pci_probe()
940 if (test_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags)) { in ath11k_pci_remove()
947 set_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags); in ath11k_pci_remove()
977 if (test_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags)) { in ath11k_pci_pm_suspend()
[all …]
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()
Dqmi.c1889 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()
3019 test_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags)) { in ath11k_qmi_msg_mem_request_cb()
3193 if (test_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags)) { in ath11k_qmi_driver_event_work()
3202 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3205 set_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3206 set_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3214 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3219 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3227 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
[all …]
Dcore.c1395 if (!test_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags)) in ath11k_core_stop()
1660 set_bit(ATH11K_FLAG_HW_CRYPTO_DISABLED, &ab->dev_flags); in ath11k_core_qmi_firmware_ready()
1661 set_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready()
1664 clear_bit(ATH11K_FLAG_HW_CRYPTO_DISABLED, &ab->dev_flags); in ath11k_core_qmi_firmware_ready()
1665 clear_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready()
1673 set_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready()
1727 clear_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath11k_core_reconfigure_on_crash()
1733 clear_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags); in ath11k_core_reconfigure_on_crash()
1910 if (!(test_bit(ATH11K_FLAG_REGISTERED, &ab->dev_flags))) { in ath11k_core_reset()
1911 ath11k_warn(ab, "ignore reset dev flags 0x%lx\n", ab->dev_flags); in ath11k_core_reset()
Dahb.c395 if (!test_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags)) in ath11k_ahb_stop()
858 set_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags); in ath11k_ahb_setup_msi_resources()
1231 if (test_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags)) { in ath11k_ahb_remove_prepare()
1238 set_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags); in ath11k_ahb_remove_prepare()
1264 if (test_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags)) { in ath11k_ahb_remove()
1290 if (!(test_bit(ATH11K_FLAG_REGISTERED, &ab->dev_flags))) in ath11k_ahb_shutdown()
/linux-6.6.21/drivers/video/fbdev/i810/
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.6.21/drivers/net/phy/
Dbroadcom.c95 if (phydev->dev_flags & PHY_BRCM_EN_MASTER_MODE) { in bcm54210e_config_init()
111 if (!(phydev->dev_flags & PHY_BRCM_RX_REFCLK_UNUSED)) { in bcm54612e_config_init()
293 if (phydev->dev_flags & PHY_BRCM_RX_REFCLK_UNUSED) { in bcm54xx_adjust_rxrefclk()
302 if (!clk125en || (phydev->dev_flags & PHY_BRCM_AUTO_PWRDWN_ENABLE)) in bcm54xx_adjust_rxrefclk()
307 if (phydev->dev_flags & PHY_BRCM_DIS_TXCRXC_NOENRGY) { in bcm54xx_adjust_rxrefclk()
325 if (!clk125en || (phydev->dev_flags & PHY_BRCM_AUTO_PWRDWN_ENABLE)) in bcm54xx_adjust_rxrefclk()
374 (phydev->dev_flags & PHY_BRCM_CLEAR_RGMII_MODE)) in bcm54xx_config_init()
446 if (!(phydev->dev_flags & PHY_BRCM_IDDQ_SUSPEND)) in bcm54xx_iddq_set()
536 if (phydev->dev_flags & PHY_BRCM_IDDQ_SUSPEND) { in bcm54xx_resume()
571 if (!(phydev->dev_flags & PHY_BRCM_RX_REFCLK_UNUSED)) { in bcm54811_config_init()
[all …]
/linux-6.6.21/drivers/pci/
Dvpd.c281 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()
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()
/linux-6.6.21/drivers/gpio/
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.6.21/drivers/net/wireless/ralink/rt2x00/
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()
Drt2x00dev.c663 if (!(rxdesc->dev_flags & RXDONE_MY_BSS) || in rt2x00lib_rxdone_check_ps()
698 int type = (rxdesc->dev_flags & RXDONE_SIGNAL_MASK); in rt2x00lib_rxdone_read_signal()
707 if (rxdesc->dev_flags & RXDONE_SIGNAL_MCS) in rt2x00lib_rxdone_read_signal()
796 if ((rxdesc.dev_flags & RXDONE_CRYPTO_IV) && in rt2x00lib_rxdone()
802 (rxdesc.dev_flags & RXDONE_L2PAD)) in rt2x00lib_rxdone()
/linux-6.6.21/drivers/net/wireless/ath/ath12k/
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()
783 if (!(test_bit(ATH12K_FLAG_REGISTERED, &ab->dev_flags))) { in ath12k_core_reset()
784 ath12k_warn(ab, "ignore reset dev flags 0x%lx\n", ab->dev_flags); in ath12k_core_reset()
Dqmi.c2995 if (test_bit(ATH12K_FLAG_UNREGISTERING, &ab->dev_flags)) in ath12k_qmi_driver_event_work()
3002 set_bit(ATH12K_FLAG_QMI_FAIL, &ab->dev_flags); in ath12k_qmi_driver_event_work()
3005 set_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath12k_qmi_driver_event_work()
3006 set_bit(ATH12K_FLAG_RECOVERY, &ab->dev_flags); in ath12k_qmi_driver_event_work()
3011 set_bit(ATH12K_FLAG_QMI_FAIL, &ab->dev_flags); in ath12k_qmi_driver_event_work()
3016 set_bit(ATH12K_FLAG_QMI_FAIL, &ab->dev_flags); in ath12k_qmi_driver_event_work()
3019 clear_bit(ATH12K_FLAG_QMI_FAIL, &ab->dev_flags); in ath12k_qmi_driver_event_work()
3020 if (test_bit(ATH12K_FLAG_REGISTERED, &ab->dev_flags)) { in ath12k_qmi_driver_event_work()
3027 &ab->dev_flags); in ath12k_qmi_driver_event_work()
3028 clear_bit(ATH12K_FLAG_RECOVERY, &ab->dev_flags); in ath12k_qmi_driver_event_work()
[all …]
/linux-6.6.21/drivers/net/wireless/ath/ath10k/
Dcore.c2470 if (test_and_set_bit(ATH10K_FLAG_RESTARTING, &ar->dev_flags)) { in ath10k_core_start_recovery()
2483 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()
2495 if (!test_bit(ATH10K_FLAG_NAPI_ENABLED, &ar->dev_flags)) in ath10k_core_napi_sync_disable()
2500 clear_bit(ATH10K_FLAG_NAPI_ENABLED, &ar->dev_flags); in ath10k_core_napi_sync_disable()
2509 set_bit(ATH10K_FLAG_CRASH_FLUSH, &ar->dev_flags); in ath10k_core_restart()
2606 clear_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags); in ath10k_core_init_firmware_features()
2607 clear_bit(ATH10K_FLAG_HW_CRYPTO_DISABLED, &ar->dev_flags); in ath10k_core_init_firmware_features()
2616 set_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags); in ath10k_core_init_firmware_features()
2617 set_bit(ATH10K_FLAG_HW_CRYPTO_DISABLED, &ar->dev_flags); in ath10k_core_init_firmware_features()
[all …]
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()
Dthermal.c84 if (test_bit(ATH10K_FLAG_CRASH_FLUSH, &ar->dev_flags)) { in ath10k_thermal_show_temp()
/linux-6.6.21/sound/pci/ac97/
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()
2906 ac97->spec.dev_flags = 0; /* for IEC958 playback route - ALC655 compatible */ in patch_alc850()
3179 val |= surr_on[ac97->spec.dev_flags][is_surround_on(ac97)]; in cm9761_update_jacks()
3180 val |= clfe_on[ac97->spec.dev_flags][is_clfe_on(ac97)]; in cm9761_update_jacks()
[all …]
/linux-6.6.21/drivers/net/wireless/marvell/libertas/
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.6.21/drivers/hid/intel-ish-hid/ishtp/
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.6.21/include/uapi/linux/
Duhid.h65 __u64 dev_flags; member
/linux-6.6.21/include/linux/
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))
/linux-6.6.21/include/target/
Dtarget_core_backend.h129 return !!(se_dev->dev_flags & DF_CONFIGURED); in target_dev_configured()

12345