Home
last modified time | relevance | path

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

12345

/linux-6.1.9/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-6.1.9/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()
326 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ce_irq_enable()
340 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ce_irq_disable()
351 clear_bit(ATH11K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags); in ath11k_pcic_ce_irqs_disable()
390 if (!test_bit(ATH11K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags)) in ath11k_pcic_ce_interrupt_handler()
411 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ext_grp_disable()
422 clear_bit(ATH11K_FLAG_EXT_IRQ_ENABLED, &sc->dev_flags); in __ath11k_pcic_ext_irq_disable()
445 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ext_grp_enable()
[all …]
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()
604 clear_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags); in ath11k_pci_power_up()
638 clear_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags); in ath11k_pci_power_down()
673 if (test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pci_start()
720 if (test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab_pci->ab->dev_flags)) in ath11k_pci_set_irq_affinity_hint()
758 set_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags); in ath11k_pci_probe()
936 if (test_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags)) { in ath11k_pci_remove()
943 set_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags); in ath11k_pci_remove()
973 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()
2979 test_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags)) { in ath11k_qmi_msg_mem_request_cb()
3153 if (test_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags)) { in ath11k_qmi_driver_event_work()
3162 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3165 set_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3166 set_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3171 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3176 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3184 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
[all …]
Dcore.c1252 if (!test_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags)) in ath11k_core_stop()
1512 set_bit(ATH11K_FLAG_HW_CRYPTO_DISABLED, &ab->dev_flags); in ath11k_core_qmi_firmware_ready()
1513 set_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready()
1516 clear_bit(ATH11K_FLAG_HW_CRYPTO_DISABLED, &ab->dev_flags); in ath11k_core_qmi_firmware_ready()
1517 clear_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready()
1525 set_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready()
1579 clear_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath11k_core_reconfigure_on_crash()
1585 clear_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags); in ath11k_core_reconfigure_on_crash()
1755 if (!(test_bit(ATH11K_FLAG_REGISTERED, &ab->dev_flags))) { in ath11k_core_reset()
1756 ath11k_warn(ab, "ignore reset dev flags 0x%lx\n", ab->dev_flags); in ath11k_core_reset()
Dahb.c380 if (!test_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags)) in ath11k_ahb_stop()
869 set_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags); in ath11k_ahb_setup_msi_resources()
1218 if (test_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags)) { in ath11k_ahb_remove_prepare()
1225 set_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags); in ath11k_ahb_remove_prepare()
1247 if (test_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags)) { in ath11k_ahb_remove()
1273 if (!(test_bit(ATH11K_FLAG_REGISTERED, &ab->dev_flags))) in ath11k_ahb_shutdown()
/linux-6.1.9/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.1.9/drivers/net/phy/
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()
312 if (!clk125en || (phydev->dev_flags & PHY_BRCM_AUTO_PWRDWN_ENABLE)) 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()
[all …]
/linux-6.1.9/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.1.9/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-6.1.9/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.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.1.9/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.1.9/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()
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()
2616 clear_bit(ATH10K_FLAG_HW_CRYPTO_DISABLED, &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()
2626 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-6.1.9/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.1.9/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.1.9/include/target/
Dtarget_core_backend.h125 return !!(se_dev->dev_flags & DF_CONFIGURED); in target_dev_configured()
/linux-6.1.9/include/uapi/linux/
Duhid.h65 __u64 dev_flags; member
/linux-6.1.9/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.1.9/drivers/target/
Dtarget_core_spc.c162 if (dev->dev_flags & DF_EMULATED_VPD_UNIT_SERIAL) { in spc_emulate_evpd_80()
243 if (!(dev->dev_flags & DF_EMULATED_VPD_UNIT_SERIAL)) in spc_emulate_evpd_83()
275 if (dev->dev_flags & DF_EMULATED_VPD_UNIT_SERIAL) { in spc_emulate_evpd_83()
728 if (cmd->se_dev->dev_flags & DF_EMULATED_VPD_UNIT_SERIAL) { in spc_emulate_evpd_00()
/linux-6.1.9/include/net/bluetooth/
Dhci_core.h597 DECLARE_BITMAP(dev_flags, __HCI_NUM_FLAGS);
818 #define hci_dev_set_flag(hdev, nr) set_bit((nr), (hdev)->dev_flags)
819 #define hci_dev_clear_flag(hdev, nr) clear_bit((nr), (hdev)->dev_flags)
820 #define hci_dev_change_flag(hdev, nr) change_bit((nr), (hdev)->dev_flags)
821 #define hci_dev_test_flag(hdev, nr) test_bit((nr), (hdev)->dev_flags)
822 #define hci_dev_test_and_set_flag(hdev, nr) test_and_set_bit((nr), (hdev)->dev_flags)
823 #define hci_dev_test_and_clear_flag(hdev, nr) test_and_clear_bit((nr), (hdev)->dev_flags)
824 #define hci_dev_test_and_change_flag(hdev, nr) test_and_change_bit((nr), (hdev)->dev_flags)

12345