Home
last modified time | relevance | path

Searched refs:flags2 (Results 1 – 25 of 84) sorted by relevance

1234

/drivers/scsi/esas2r/
Desas2r_init.c219 set_bit(AF2_MSI_ENABLED, &a->flags2); in esas2r_setup_interrupts()
255 set_bit(AF2_IRQ_CLAIMED, &a->flags2); in esas2r_claim_interrupts()
423 if (test_bit(AF2_IRQ_CLAIMED, &a->flags2)) in esas2r_init_adapter()
426 set_bit(AF2_INIT_DONE, &a->flags2); in esas2r_init_adapter()
440 if ((test_bit(AF2_INIT_DONE, &a->flags2)) in esas2r_adapter_power_down()
491 if (test_bit(AF2_IRQ_CLAIMED, &a->flags2)) { in esas2r_adapter_power_down()
498 clear_bit(AF2_IRQ_CLAIMED, &a->flags2); in esas2r_adapter_power_down()
501 if (test_bit(AF2_MSI_ENABLED, &a->flags2)) { in esas2r_adapter_power_down()
503 clear_bit(AF2_MSI_ENABLED, &a->flags2); in esas2r_adapter_power_down()
624 if (test_bit(AF2_INIT_DONE, &a->flags2)) { in esas2r_kill_adapter()
[all …]
Desas2r_disc.c90 clear_bit(AF2_DEV_SCAN, &a->flags2); in esas2r_disc_initialize()
91 clear_bit(AF2_DEV_CNT_OK, &a->flags2); in esas2r_disc_initialize()
216 && !test_and_set_bit(AF2_DEV_SCAN, &a->flags2)) { in esas2r_disc_check_complete()
230 if (!test_and_set_bit(AF2_DEV_CNT_OK, &a->flags2)) in esas2r_disc_check_complete()
234 if (!test_and_set_bit(AF2_DEV_SCAN, &a->flags2)) { in esas2r_disc_check_complete()
251 if (!test_and_set_bit(AF2_DEV_SCAN, &a->flags2)) { in esas2r_disc_check_complete()
Desas2r_main.c1548 if (unlikely(test_bit(AF2_TIMER_TICK, &a->flags2))) { in esas2r_adapter_tasklet()
1549 clear_bit(AF2_TIMER_TICK, &a->flags2); in esas2r_adapter_tasklet()
1553 if (likely(test_bit(AF2_INT_PENDING, &a->flags2))) { in esas2r_adapter_tasklet()
1554 clear_bit(AF2_INT_PENDING, &a->flags2); in esas2r_adapter_tasklet()
1562 || (test_bit(AF2_INT_PENDING, &a->flags2)) in esas2r_adapter_tasklet()
1563 || (test_bit(AF2_TIMER_TICK, &a->flags2))) { in esas2r_adapter_tasklet()
1587 set_bit(AF2_TIMER_TICK, &a->flags2); in esas2r_timer_callback()
/drivers/net/ethernet/mellanox/mlx4/
Dfw.c490 if (!(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_SYS_EQS) || in mlx4_QUERY_FUNC_CAP_wrapper()
832 dev_cap->flags2 = 0; in mlx4_QUERY_DEV_CAP()
886 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_RSS_XOR; in mlx4_QUERY_DEV_CAP()
888 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_RSS_TOP; in mlx4_QUERY_DEV_CAP()
891 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_RSS; in mlx4_QUERY_DEV_CAP()
905 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_FLOWSTATS_EN; in mlx4_QUERY_DEV_CAP()
908 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_FS_EN; in mlx4_QUERY_DEV_CAP()
911 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_DMFS_UC_MC_SNIFFER; in mlx4_QUERY_DEV_CAP()
914 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_PORT_BEACON; in mlx4_QUERY_DEV_CAP()
917 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_DMFS_IPOIB; in mlx4_QUERY_DEV_CAP()
[all …]
Dmain.c348 if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_SYS_EQS) { in mlx4_query_func()
367 if (!(dev_cap->flags2 & MLX4_DEV_CAP_FLAG2_EQE_STRIDE) || in mlx4_enable_cqe_eqe_stride()
368 !(dev_cap->flags2 & MLX4_DEV_CAP_FLAG2_CQE_STRIDE)) in mlx4_enable_cqe_eqe_stride()
376 dev_cap->flags2 &= ~MLX4_DEV_CAP_FLAG2_CQE_STRIDE; in mlx4_enable_cqe_eqe_stride()
377 dev_cap->flags2 &= ~MLX4_DEV_CAP_FLAG2_EQE_STRIDE; in mlx4_enable_cqe_eqe_stride()
392 dev_cap->flags2 &= ~MLX4_DEV_CAP_FLAG2_CQE_STRIDE; in mlx4_enable_cqe_eqe_stride()
393 dev_cap->flags2 &= ~MLX4_DEV_CAP_FLAG2_EQE_STRIDE; in mlx4_enable_cqe_eqe_stride()
439 if (!(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_IGNORE_FCS)) in mlx4_enable_ignore_fcs()
444 dev->caps.flags2 &= ~MLX4_DEV_CAP_FLAG2_IGNORE_FCS; in mlx4_enable_ignore_fcs()
451 dev->caps.flags2 &= ~MLX4_DEV_CAP_FLAG2_IGNORE_FCS; in mlx4_enable_ignore_fcs()
[all …]
Den_resources.c55 if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_PORT_REMAP) in mlx4_en_fill_qp_context()
75 (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_LB_SRC_CHK) && in mlx4_en_fill_qp_context()
Den_netdev.c754 if (!(mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_USER_MAC_EN)) in mlx4_en_update_user_mac()
1552 if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_TS) in mlx4_en_service_task()
2000 if (!(mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_REASSIGN_MAC_EN)) in mlx4_en_stop_port()
2353 if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_TS) in mlx4_en_destroy_netdev()
2435 if (!(mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_TS)) in mlx4_en_hwtstamp_set()
2512 !(mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_SKIP_OUTER_VLAN)) in mlx4_en_fix_features()
2713 if (!(priv->mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_QP_RATE_LIMIT)) in mlx4_en_set_tx_maxrate()
3080 (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_FLOWSTATS_EN)) { in mlx4_en_update_pfc_stats_bitmap()
3254 if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_ETS_CFG) { in mlx4_en_init_netdev()
3360 if (!(mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_SKIP_OUTER_VLAN)) { in mlx4_en_init_netdev()
[all …]
/drivers/gpu/drm/nouveau/nvkm/engine/dma/
Dusernv04.c37 u32 flags2; member
67 nvkm_wo32(*pgpuobj, 0x08, dmaobj->flags2 | offset); in nv04_dmaobj_bind()
68 nvkm_wo32(*pgpuobj, 0x0c, dmaobj->flags2 | offset); in nv04_dmaobj_bind()
127 dmaobj->flags2 |= 0x00000002; in nv04_dmaobj_new()
/drivers/net/ethernet/intel/e1000e/
Dparam.c290 if (adapter->flags2 & FLAG2_DMA_BURST) in e1000e_check_options()
313 if (adapter->flags2 & FLAG2_DMA_BURST) in e1000e_check_options()
477 adapter->flags2 |= FLAG2_CRC_STRIPPING; in e1000e_check_options()
478 adapter->flags2 |= FLAG2_DFLT_CRC_STRIPPING; in e1000e_check_options()
481 adapter->flags2 |= FLAG2_CRC_STRIPPING; in e1000e_check_options()
482 adapter->flags2 |= FLAG2_DFLT_CRC_STRIPPING; in e1000e_check_options()
Dnetdev.c131 if (hw->adapter->flags2 & FLAG2_PCIM2PCI_ARBITER_WA) in __ew32()
539 adapter->flags2 &= ~FLAG2_CHECK_RX_HWTSTAMP; in e1000e_rx_hwtstamp()
694 if (adapter->flags2 & FLAG2_PCIM2PCI_ARBITER_WA) in e1000_alloc_rx_buffers()
796 if (adapter->flags2 & FLAG2_PCIM2PCI_ARBITER_WA) in e1000_alloc_rx_buffers_ps()
889 if (adapter->flags2 & FLAG2_PCIM2PCI_ARBITER_WA) in e1000_alloc_jumbo_rx_buffers()
968 adapter->flags2 |= FLAG2_IS_DISCARDING; in e1000_clean_rx_irq()
970 if (adapter->flags2 & FLAG2_IS_DISCARDING) { in e1000_clean_rx_irq()
976 adapter->flags2 &= ~FLAG2_IS_DISCARDING; in e1000_clean_rx_irq()
988 if (!(adapter->flags2 & FLAG2_CRC_STRIPPING)) { in e1000_clean_rx_irq()
1102 if (!adapter->tx_hang_recheck && (adapter->flags2 & FLAG2_DMA_BURST)) { in e1000_print_hw_hang()
[all …]
Dethtool.c1264 if (!(adapter->flags2 & FLAG2_NO_DISABLE_RX)) in e1000_setup_desc_rings()
2181 if (!(adapter->flags2 & FLAG2_HAS_EEE)) in e1000e_get_eee()
2332 if (adapter->flags2 & FLAG2_ENABLE_S0IX_FLOWS) in e1000e_get_priv_flags()
2341 unsigned int flags2 = adapter->flags2; in e1000e_set_priv_flags() local
2343 flags2 &= ~FLAG2_ENABLE_S0IX_FLOWS; in e1000e_set_priv_flags()
2349 flags2 |= FLAG2_ENABLE_S0IX_FLOWS; in e1000e_set_priv_flags()
2352 if (flags2 != adapter->flags2) in e1000e_set_priv_flags()
2353 adapter->flags2 = flags2; in e1000e_set_priv_flags()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2395 if (!(adapter->flags2 & IXGBE_FLAG2_RSC_CAPABLE) || in ixgbe_update_rsc()
2402 if (!(adapter->flags2 & IXGBE_FLAG2_RSC_ENABLED)) { in ixgbe_update_rsc()
2403 adapter->flags2 |= IXGBE_FLAG2_RSC_ENABLED; in ixgbe_update_rsc()
2408 } else if (adapter->flags2 & IXGBE_FLAG2_RSC_ENABLED) { in ixgbe_update_rsc()
2409 adapter->flags2 &= ~IXGBE_FLAG2_RSC_ENABLED; in ixgbe_update_rsc()
2605 if (adapter->flags2 & IXGBE_FLAG2_RSS_FIELD_IPV4_UDP) in ixgbe_get_rss_hash_opts()
2619 if (adapter->flags2 & IXGBE_FLAG2_RSS_FIELD_IPV6_UDP) in ixgbe_get_rss_hash_opts()
2923 u32 flags2 = adapter->flags2; in ixgbe_set_rss_hash_opt() local
2948 flags2 &= ~IXGBE_FLAG2_RSS_FIELD_IPV4_UDP; in ixgbe_set_rss_hash_opt()
2951 flags2 |= IXGBE_FLAG2_RSS_FIELD_IPV4_UDP; in ixgbe_set_rss_hash_opt()
[all …]
Dixgbe_main.c2765 if (!(adapter->flags2 & IXGBE_FLAG2_TEMP_SENSOR_EVENT)) in ixgbe_check_overtemp_subtask()
2768 adapter->flags2 &= ~IXGBE_FLAG2_TEMP_SENSOR_EVENT; in ixgbe_check_overtemp_subtask()
2831 if (!(adapter->flags2 & IXGBE_FLAG2_TEMP_SENSOR_CAPABLE)) in ixgbe_check_overtemp_event()
2844 adapter->flags2 |= IXGBE_FLAG2_TEMP_SENSOR_EVENT; in ixgbe_check_overtemp_event()
2852 adapter->flags2 |= IXGBE_FLAG2_TEMP_SENSOR_EVENT; in ixgbe_check_overtemp_event()
2910 adapter->flags2 |= IXGBE_FLAG2_SFP_NEEDS_RESET; in ixgbe_check_sfp_event()
2986 if (adapter->flags2 & IXGBE_FLAG2_TEMP_SENSOR_CAPABLE) in ixgbe_irq_enable()
3025 !(adapter->flags2 & IXGBE_FLAG2_FDIR_REQUIRES_REINIT)) in ixgbe_irq_enable()
3074 adapter->flags2 |= IXGBE_FLAG2_PHY_INTERRUPT; in ixgbe_msix_other()
3098 adapter->flags2 |= IXGBE_FLAG2_FDIR_REQUIRES_REINIT; in ixgbe_msix_other()
[all …]
Dixgbe_ptp.c169 if (!(adapter->flags2 & IXGBE_FLAG2_PTP_PPS_ENABLED)) in ixgbe_ptp_setup_sdp_X540()
249 if (!(adapter->flags2 & IXGBE_FLAG2_PTP_PPS_ENABLED)) in ixgbe_ptp_setup_sdp_X550()
652 adapter->flags2 |= IXGBE_FLAG2_PTP_PPS_ENABLED; in ixgbe_ptp_feature_enable()
654 adapter->flags2 &= ~IXGBE_FLAG2_PTP_PPS_ENABLED; in ixgbe_ptp_feature_enable()
1509 adapter->flags2 &= ~IXGBE_FLAG2_PTP_PPS_ENABLED; in ixgbe_ptp_suspend()
/drivers/net/wireless/realtek/rtl818x/rtl8180/
Drtl8180.h57 u8 flags2; member
75 __le32 flags2; member
83 __le32 flags2; member
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dbcdc.c58 ((int)((((hdr)->flags2) & BCDC_FLAG2_IF_MASK) >> BCDC_FLAG2_IF_SHIFT))
60 ((hdr)->flags2 = (((hdr)->flags2 & ~BCDC_FLAG2_IF_MASK) | \
74 u8 flags2; member
272 h->flags2 = 0; in brcmf_proto_bcdc_hdrpush()
Dtracepoint.h87 __field(u8, flags2)
94 __entry->flags2 = *((u8 *)data + 2);
/drivers/infiniband/hw/usnic/
Dusnic_uiom_interval_tree.c66 #define FLAGS_EQUAL(flags1, flags2, mask) \ argument
67 (((flags1) & (mask)) == ((flags2) & (mask)))
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dscb.h67 u32 flags2; /* various bit flags2 as defined below */ member
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_crc.c444 unsigned long flags1, flags2; in amdgpu_dm_crtc_handle_crc_window_irq() local
519 spin_lock_irqsave(&crc_rd_wrk->crc_rd_work_lock, flags2); in amdgpu_dm_crtc_handle_crc_window_irq()
522 spin_unlock_irqrestore(&crc_rd_wrk->crc_rd_work_lock, flags2); in amdgpu_dm_crtc_handle_crc_window_irq()
/drivers/staging/qlge/
Dqlge_main.c1404 if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_V) { in qlge_update_mac_hdr_len()
1426 if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_ERR_MASK) { in qlge_process_mac_rx_gro_page()
1427 qlge_categorize_rx_err(qdev, ib_mac_rsp->flags2, rx_ring); in qlge_process_mac_rx_gro_page()
1485 if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_ERR_MASK) { in qlge_process_mac_rx_page()
1486 qlge_categorize_rx_err(qdev, ib_mac_rsp->flags2, rx_ring); in qlge_process_mac_rx_page()
1520 if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_T) { in qlge_process_mac_rx_page()
1524 } else if ((ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_U) && in qlge_process_mac_rx_page()
1579 if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_ERR_MASK) { in qlge_process_mac_rx_skb()
1580 qlge_categorize_rx_err(qdev, ib_mac_rsp->flags2, rx_ring); in qlge_process_mac_rx_skb()
1612 if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_P) in qlge_process_mac_rx_skb()
[all …]
/drivers/gpu/drm/amd/display/modules/inc/
Dmod_shared.h96 union lut3d_control_flags flags2; member
/drivers/cpufreq/
Dpowernow-k8.c657 pr_debug("flags2: 0x%x\n", psb->flags2); in find_psb_table()
658 data->rvo = psb->flags2 & 3; in find_psb_table()
659 data->irt = ((psb->flags2) >> 2) & 3; in find_psb_table()
660 mvs = ((psb->flags2) >> 4) & 3; in find_psb_table()
662 data->batps = ((psb->flags2) >> 6) & 3; in find_psb_table()
Dpowernow-k8.h166 u8 flags2; member
/drivers/net/wireless/ath/ath10k/
Dhw.c1108 return (resp->data_tx_completion.flags2 & HTT_TX_CMPL_FLAG_DATA_RSSI); in ath10k_htt_tx_rssi_enable()
1113 return (resp->data_tx_completion.flags2 & in ath10k_htt_tx_rssi_enable_wcn3990()
1122 if (resp->data_tx_completion.flags2 & HTT_TX_DATA_APPEND_RETRIES) in ath10k_get_htt_tx_data_rssi_pad()
1126 if (resp->data_tx_completion.flags2 & HTT_TX_DATA_APPEND_TIMESTAMP) in ath10k_get_htt_tx_data_rssi_pad()

1234