Home
last modified time | relevance | path

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

12345

/Linux-v5.15/arch/mips/alchemy/common/
Ddbdma.c232 p->dev_id, p->dev_flags, p->dev_physaddr); in au1xxx_ddma_add_device()
282 if (!(stp->dev_flags & DEV_FLAGS_INUSE) || in au1xxx_dbdma_chan_alloc()
283 (stp->dev_flags & DEV_FLAGS_ANYUSE)) { in au1xxx_dbdma_chan_alloc()
285 stp->dev_flags |= DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc()
286 if (!(dtp->dev_flags & DEV_FLAGS_INUSE) || in au1xxx_dbdma_chan_alloc()
287 (dtp->dev_flags & DEV_FLAGS_ANYUSE)) { 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()
340 if ((stp->dev_flags & DEV_FLAGS_SYNC) || in au1xxx_dbdma_chan_alloc()
341 (dtp->dev_flags & DEV_FLAGS_SYNC)) in au1xxx_dbdma_chan_alloc()
[all …]
/Linux-v5.15/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-v5.15/drivers/net/wireless/ath/ath11k/
Dwow.c20 clear_bit(ATH11K_FLAG_HTC_SUSPEND_COMPLETE, &ab->dev_flags); in ath11k_wow_enable()
38 if (test_bit(ATH11K_FLAG_HTC_SUSPEND_COMPLETE, &ab->dev_flags)) in ath11k_wow_enable()
Dcore.c623 if (!test_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags)) in ath11k_core_stop()
869 set_bit(ATH11K_FLAG_HW_CRYPTO_DISABLED, &ab->dev_flags); in ath11k_core_qmi_firmware_ready()
870 set_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready()
873 clear_bit(ATH11K_FLAG_HW_CRYPTO_DISABLED, &ab->dev_flags); in ath11k_core_qmi_firmware_ready()
874 clear_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready()
882 set_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready()
933 clear_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath11k_core_reconfigure_on_crash()
939 clear_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags); in ath11k_core_reconfigure_on_crash()
Dahb.c316 if (!test_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags)) in ath11k_ahb_stop()
750 if (test_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags)) { in ath11k_ahb_remove()
759 if (test_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags)) { in ath11k_ahb_remove()
766 set_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags); in ath11k_ahb_remove()
Dqmi.c2710 if (test_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags)) in ath11k_qmi_driver_event_work()
2717 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
2720 set_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath11k_qmi_driver_event_work()
2721 set_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags); in ath11k_qmi_driver_event_work()
2726 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
2731 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
2734 clear_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
2735 if (test_bit(ATH11K_FLAG_REGISTERED, &ab->dev_flags)) { in ath11k_qmi_driver_event_work()
2746 &ab->dev_flags); in ath11k_qmi_driver_event_work()
2747 clear_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags); in ath11k_qmi_driver_event_work()
[all …]
Dthermal.c85 if (test_bit(ATH11K_FLAG_CRASH_FLUSH, &ar->ab->dev_flags)) { in ath11k_thermal_show_temp()
/Linux-v5.15/drivers/net/phy/
Dbroadcom.c76 if (phydev->dev_flags & PHY_BRCM_EN_MASTER_MODE) { in bcm54210e_config_init()
92 if (!(phydev->dev_flags & PHY_BRCM_RX_REFCLK_UNUSED)) { in bcm54612e_config_init()
274 if (phydev->dev_flags & PHY_BRCM_RX_REFCLK_UNUSED) { in bcm54xx_adjust_rxrefclk()
283 if (!clk125en || (phydev->dev_flags & PHY_BRCM_AUTO_PWRDWN_ENABLE)) in bcm54xx_adjust_rxrefclk()
288 if (phydev->dev_flags & PHY_BRCM_DIS_TXCRXC_NOENRGY) { in bcm54xx_adjust_rxrefclk()
306 if (!clk125en || (phydev->dev_flags & PHY_BRCM_AUTO_PWRDWN_ENABLE)) in bcm54xx_adjust_rxrefclk()
339 (phydev->dev_flags & PHY_BRCM_CLEAR_RGMII_MODE)) in bcm54xx_config_init()
429 if (!(phydev->dev_flags & PHY_BRCM_RX_REFCLK_UNUSED)) { in bcm54811_config_init()
602 if (phydev->dev_flags & PHY_BRCM_AUTO_PWRDWN_ENABLE) { in brcm_fet_config_init()
Dbcm7xxx.c146 u8 rev = PHY_BRCM_7XXX_REV(phydev->dev_flags); in bcm7xxx_28nm_config_init()
147 u8 patch = PHY_BRCM_7XXX_PATCH(phydev->dev_flags); in bcm7xxx_28nm_config_init()
/Linux-v5.15/drivers/gpio/
Dgpio-realtek-otto.c253 unsigned int dev_flags; in realtek_gpio_probe() local
263 dev_flags = (unsigned int) device_get_match_data(dev); in realtek_gpio_probe()
293 if (!(dev_flags & GPIO_INTERRUPTS_DISABLED) && irq > 0) { in realtek_gpio_probe()
/Linux-v5.15/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.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-v5.15/drivers/pci/
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()
Dvpd.c395 if (dev->dev_flags & PCI_DEV_FLAGS_VPD_REF_F0) { in pci_read_vpd()
420 if (dev->dev_flags & PCI_DEV_FLAGS_VPD_REF_F0) { in pci_write_vpd()
503 dev->dev_flags |= PCI_DEV_FLAGS_VPD_REF_F0; in quirk_f0_vpd_link()
/Linux-v5.15/drivers/net/wireless/ath/ath10k/
Dcore.c2315 if (test_and_set_bit(ATH10K_FLAG_RESTARTING, &ar->dev_flags)) { in ath10k_core_start_recovery()
2328 if (test_bit(ATH10K_FLAG_NAPI_ENABLED, &ar->dev_flags)) in ath10k_core_napi_enable()
2332 set_bit(ATH10K_FLAG_NAPI_ENABLED, &ar->dev_flags); in ath10k_core_napi_enable()
2340 if (!test_bit(ATH10K_FLAG_NAPI_ENABLED, &ar->dev_flags)) in ath10k_core_napi_sync_disable()
2345 clear_bit(ATH10K_FLAG_NAPI_ENABLED, &ar->dev_flags); in ath10k_core_napi_sync_disable()
2354 set_bit(ATH10K_FLAG_CRASH_FLUSH, &ar->dev_flags); in ath10k_core_restart()
2451 clear_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags); in ath10k_core_init_firmware_features()
2452 clear_bit(ATH10K_FLAG_HW_CRYPTO_DISABLED, &ar->dev_flags); in ath10k_core_init_firmware_features()
2461 set_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags); in ath10k_core_init_firmware_features()
2462 set_bit(ATH10K_FLAG_HW_CRYPTO_DISABLED, &ar->dev_flags); in ath10k_core_init_firmware_features()
[all …]
Ddebug.c104 test_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags), in ath10k_debug_print_boot_info()
105 !test_bit(ATH10K_FLAG_HW_CRYPTO_DISABLED, &ar->dev_flags)); in ath10k_debug_print_boot_info()
1992 if (!(test_bit(ATH10K_FLAG_BTCOEX, &ar->dev_flags) ^ val)) { in ath10k_write_btcoex()
2012 set_bit(ATH10K_FLAG_BTCOEX, &ar->dev_flags); in ath10k_write_btcoex()
2014 clear_bit(ATH10K_FLAG_BTCOEX, &ar->dev_flags); in ath10k_write_btcoex()
2033 test_bit(ATH10K_FLAG_BTCOEX, &ar->dev_flags)); in ath10k_read_btcoex()
2127 if (!(test_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags) ^ val)) { in ath10k_write_peer_stats()
2133 set_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags); in ath10k_write_peer_stats()
2135 clear_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags); in ath10k_write_peer_stats()
2157 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-v5.15/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-v5.15/drivers/net/wireless/marvell/libertas/
Dmain.c364 int dev_flags = 0; in lbs_update_mcast() local
369 dev_flags |= priv->dev->flags; in lbs_update_mcast()
371 dev_flags |= priv->mesh_dev->flags; in lbs_update_mcast()
373 if (dev_flags & IFF_PROMISC) { in lbs_update_mcast()
378 } else if (dev_flags & IFF_ALLMULTI) { in lbs_update_mcast()
/Linux-v5.15/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-v5.15/include/target/
Dtarget_core_backend.h124 return !!(se_dev->dev_flags & DF_CONFIGURED); in target_dev_configured()
/Linux-v5.15/include/uapi/linux/
Duhid.h65 __u64 dev_flags; member
/Linux-v5.15/include/linux/
Drtsx_pci.h1140 u32 dev_flags; member
1167 ((cr)->option.dev_flags |= (flag))
1169 ((cr)->option.dev_flags &= ~(flag))
1171 ((cr)->option.dev_flags & (flag))
/Linux-v5.15/include/net/bluetooth/
Dhci_core.h552 DECLARE_BITMAP(dev_flags, __HCI_NUM_FLAGS);
749 #define hci_dev_set_flag(hdev, nr) set_bit((nr), (hdev)->dev_flags)
750 #define hci_dev_clear_flag(hdev, nr) clear_bit((nr), (hdev)->dev_flags)
751 #define hci_dev_change_flag(hdev, nr) change_bit((nr), (hdev)->dev_flags)
752 #define hci_dev_test_flag(hdev, nr) test_bit((nr), (hdev)->dev_flags)
753 #define hci_dev_test_and_set_flag(hdev, nr) test_and_set_bit((nr), (hdev)->dev_flags)
754 #define hci_dev_test_and_clear_flag(hdev, nr) test_and_clear_bit((nr), (hdev)->dev_flags)
755 #define hci_dev_test_and_change_flag(hdev, nr) test_and_change_bit((nr), (hdev)->dev_flags)
/Linux-v5.15/drivers/target/
Dtarget_core_spc.c156 if (dev->dev_flags & DF_EMULATED_VPD_UNIT_SERIAL) { in spc_emulate_evpd_80()
237 if (!(dev->dev_flags & DF_EMULATED_VPD_UNIT_SERIAL)) in spc_emulate_evpd_83()
269 if (dev->dev_flags & DF_EMULATED_VPD_UNIT_SERIAL) { in spc_emulate_evpd_83()
722 if (cmd->se_dev->dev_flags & DF_EMULATED_VPD_UNIT_SERIAL) { in spc_emulate_evpd_00()

12345