Home
last modified time | relevance | path

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

1234

/linux/arch/mips/alchemy/common/
H A 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/drivers/net/wireless/ath/ath11k/
H A Dpcic.c183 wakeup_required = test_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags) && in ath11k_pcic_write32()
216 wakeup_required = test_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags) && in ath11k_pcic_read32()
240 wakeup_required = test_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags) && in ath11k_pcic_read()
358 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ce_irq_enable()
372 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ce_irq_disable()
383 clear_bit(ATH11K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags); in ath11k_pcic_ce_irqs_disable()
422 if (!test_bit(ATH11K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags)) in ath11k_pcic_ce_interrupt_handler()
443 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ext_grp_disable()
454 clear_bit(ATH11K_FLAG_EXT_IRQ_ENABLED, &ab->dev_flags); in __ath11k_pcic_ext_irq_disable()
477 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ext_grp_enable()
[all …]
H A Dmhi.c217 if (test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_mhi_get_msi()
285 if (!(test_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags))) in ath11k_mhi_op_status_cb()
367 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_mhi_register()
370 if (test_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags)) { in ath11k_mhi_register()
H A Dqmi.c1893 test_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags)) && in ath11k_qmi_respond_fw_mem_request()
1966 test_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags)) { in ath11k_qmi_free_target_mem_chunk()
3049 test_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags)) { in ath11k_qmi_msg_mem_request_cb()
3223 if (test_bit(ATH11K_FLAG_UNREGISTERING, &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()
3235 set_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3236 set_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3244 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3249 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
3257 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work()
[all …]
H A Dthermal.c86 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()
/linux/drivers/video/fbdev/i810/
H 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()
H A Di810.h276 u32 dev_flags; member
/linux/drivers/pci/
H A 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()
/linux/drivers/net/phy/
H A Dbroadcom.c117 if (phydev->dev_flags & PHY_BRCM_EN_MASTER_MODE) { in bcm54210e_config_init()
133 if (!(phydev->dev_flags & PHY_BRCM_RX_REFCLK_UNUSED)) { in bcm54612e_config_init()
315 if (phydev->dev_flags & PHY_BRCM_RX_REFCLK_UNUSED) { in bcm54xx_adjust_rxrefclk()
325 if (!clk125en || (phydev->dev_flags & PHY_BRCM_AUTO_PWRDWN_ENABLE)) in bcm54xx_adjust_rxrefclk()
330 if (phydev->dev_flags & PHY_BRCM_DIS_TXCRXC_NOENRGY) { in bcm54xx_adjust_rxrefclk()
348 if (!clk125en || (phydev->dev_flags & PHY_BRCM_AUTO_PWRDWN_ENABLE)) in bcm54xx_adjust_rxrefclk()
411 if (!(phydev->dev_flags & PHY_BRCM_RX_REFCLK_UNUSED)) { in bcm54811_config_init()
482 (phydev->dev_flags & PHY_BRCM_CLEAR_RGMII_MODE)) in bcm54xx_config_init()
557 if (!(phydev->dev_flags & PHY_BRCM_IDDQ_SUSPEND)) in bcm54xx_iddq_set()
652 if (phydev->dev_flags & PHY_BRCM_IDDQ_SUSPEND) { in bcm54xx_resume()
[all …]
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00crypto.c189 if (rxdesc->dev_flags & RXDONE_L2PAD) { in rt2x00crypto_rx_insert_iv()
217 if (!(rxdesc->dev_flags & RXDONE_L2PAD)) { in rt2x00crypto_rx_insert_iv()
H A 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()
H A Drt2x00queue.h174 int dev_flags; member
/linux/drivers/net/wireless/ath/ath12k/
H A Dmhi.c158 if (!(test_bit(ATH12K_FLAG_UNREGISTERING, &ab->dev_flags))) { in ath12k_mhi_op_status_cb()
159 set_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath12k_mhi_op_status_cb()
160 set_bit(ATH12K_FLAG_RECOVERY, &ab->dev_flags); in ath12k_mhi_op_status_cb()
H A Dcore.c711 if (!test_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags)) in ath12k_core_stop()
1027 clear_bit(ATH12K_FLAG_REGISTERED, &ab->dev_flags); in ath12k_core_hw_group_stop()
1170 set_bit(ATH12K_FLAG_REGISTERED, &ab->dev_flags); in ath12k_core_hw_group_start()
1399 clear_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath12k_core_reconfigure_on_crash()
1405 clear_bit(ATH12K_FLAG_RECOVERY, &ab->dev_flags); in ath12k_core_reconfigure_on_crash()
1487 set_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath12k_core_pre_reconfigure_recovery()
1642 if (!test_bit(ATH12K_FLAG_REGISTERED, &ab->dev_flags)) { in ath12k_core_restart()
1676 if (!(test_bit(ATH12K_FLAG_QMI_FW_READY_COMPLETE, &ab->dev_flags))) { in ath12k_core_reset()
1677 ath12k_warn(ab, "ignore reset dev flags 0x%lx\n", ab->dev_flags); in ath12k_core_reset()
/linux/drivers/net/wireless/marvell/libertas/
H A Dmain.c342 int dev_flags = 0; in lbs_update_mcast() local
347 dev_flags |= priv->dev->flags; in lbs_update_mcast()
349 dev_flags |= priv->mesh_dev->flags; in lbs_update_mcast()
351 if (dev_flags & IFF_PROMISC) { in lbs_update_mcast()
356 } else if (dev_flags & IFF_ALLMULTI) { in lbs_update_mcast()
/linux/drivers/hid/intel-ish-hid/ishtp/
H A Dclient.c597 unsigned long dev_flags; in ishtp_cl_read_start() local
641 spin_lock_irqsave(&dev->read_list_spinlock, dev_flags); in ishtp_cl_read_start()
643 spin_unlock_irqrestore(&dev->read_list_spinlock, dev_flags); in ishtp_cl_read_start()
651 spin_lock_irqsave(&dev->read_list_spinlock, dev_flags); in ishtp_cl_read_start()
653 spin_unlock_irqrestore(&dev->read_list_spinlock, dev_flags); in ishtp_cl_read_start()
/linux/drivers/net/wireless/ath/ath10k/
H A Ddebug.c108 test_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags), in ath10k_debug_print_boot_info()
109 !test_bit(ATH10K_FLAG_HW_CRYPTO_DISABLED, &ar->dev_flags)); in ath10k_debug_print_boot_info()
1989 if (!(test_bit(ATH10K_FLAG_BTCOEX, &ar->dev_flags) ^ val)) { in ath10k_write_btcoex()
2009 set_bit(ATH10K_FLAG_BTCOEX, &ar->dev_flags); in ath10k_write_btcoex()
2011 clear_bit(ATH10K_FLAG_BTCOEX, &ar->dev_flags); in ath10k_write_btcoex()
2030 test_bit(ATH10K_FLAG_BTCOEX, &ar->dev_flags)); in ath10k_read_btcoex()
2117 if (!(test_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags) ^ val)) { in ath10k_write_peer_stats()
2123 set_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags); in ath10k_write_peer_stats()
2125 clear_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags); in ath10k_write_peer_stats()
2147 test_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags)); in ath10k_read_peer_stats()
H A Dthermal.c85 if (test_bit(ATH10K_FLAG_CRASH_FLUSH, &ar->dev_flags)) { in ath10k_thermal_show_temp()
/linux/include/uapi/linux/
H A Duhid.h65 __u64 dev_flags; member
/linux/Documentation/translations/zh_CN/scsi/
H A Dscsi-parameters.rst93 scsi_mod.dev_flags=
/linux/include/target/
H A Dtarget_core_backend.h131 return !!(se_dev->dev_flags & DF_CONFIGURED); in target_dev_configured()
/linux/drivers/hid/
H A Duhid.c139 ev->u.start.dev_flags |= UHID_DEV_NUMBERED_FEATURE_REPORTS; in uhid_hid_start()
141 ev->u.start.dev_flags |= UHID_DEV_NUMBERED_OUTPUT_REPORTS; in uhid_hid_start()
143 ev->u.start.dev_flags |= UHID_DEV_NUMBERED_INPUT_REPORTS; in uhid_hid_start()
/linux/include/net/bluetooth/
H A Dhci_core.h590 DECLARE_BITMAP(dev_flags, __HCI_NUM_FLAGS);
837 #define hci_dev_set_flag(hdev, nr) set_bit((nr), (hdev)->dev_flags)
838 #define hci_dev_clear_flag(hdev, nr) clear_bit((nr), (hdev)->dev_flags)
839 #define hci_dev_change_flag(hdev, nr) change_bit((nr), (hdev)->dev_flags)
840 #define hci_dev_test_flag(hdev, nr) test_bit((nr), (hdev)->dev_flags)
841 #define hci_dev_test_and_set_flag(hdev, nr) test_and_set_bit((nr), (hdev)->dev_flags)
842 #define hci_dev_test_and_clear_flag(hdev, nr) test_and_clear_bit((nr), (hdev)->dev_flags)
843 #define hci_dev_test_and_change_flag(hdev, nr) test_and_change_bit((nr), (hdev)->dev_flags)
/linux/drivers/scsi/
H A Dscsi_devinfo.c723 module_param_string(dev_flags, scsi_dev_flags, sizeof(scsi_dev_flags), 0);
724 MODULE_PARM_DESC(dev_flags,
/linux/arch/mips/include/asm/mach-au1x00/
H A Dau1xxx_dbdma.h309 u32 dev_flags; member

1234