Home
last modified time | relevance | path

Searched refs:flags2 (Results 1 – 25 of 76) 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()
443 if (test_bit(AF2_IRQ_CLAIMED, &a->flags2)) in esas2r_init_adapter()
446 set_bit(AF2_INIT_DONE, &a->flags2); in esas2r_init_adapter()
460 if ((test_bit(AF2_INIT_DONE, &a->flags2)) in esas2r_adapter_power_down()
511 if (test_bit(AF2_IRQ_CLAIMED, &a->flags2)) { in esas2r_adapter_power_down()
518 clear_bit(AF2_IRQ_CLAIMED, &a->flags2); in esas2r_adapter_power_down()
521 if (test_bit(AF2_MSI_ENABLED, &a->flags2)) { in esas2r_adapter_power_down()
523 clear_bit(AF2_MSI_ENABLED, &a->flags2); in esas2r_adapter_power_down()
644 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.c1611 if (unlikely(test_bit(AF2_TIMER_TICK, &a->flags2))) { in esas2r_adapter_tasklet()
1612 clear_bit(AF2_TIMER_TICK, &a->flags2); in esas2r_adapter_tasklet()
1616 if (likely(test_bit(AF2_INT_PENDING, &a->flags2))) { in esas2r_adapter_tasklet()
1617 clear_bit(AF2_INT_PENDING, &a->flags2); in esas2r_adapter_tasklet()
1625 || (test_bit(AF2_INT_PENDING, &a->flags2)) in esas2r_adapter_tasklet()
1626 || (test_bit(AF2_TIMER_TICK, &a->flags2))) { in esas2r_adapter_tasklet()
1652 set_bit(AF2_TIMER_TICK, &a->flags2); in esas2r_timer_callback()
/drivers/net/ethernet/mellanox/mlx4/
Dfw.c487 if (!(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_SYS_EQS) || in mlx4_QUERY_FUNC_CAP_wrapper()
828 dev_cap->flags2 = 0; in mlx4_QUERY_DEV_CAP()
880 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_RSS_XOR; in mlx4_QUERY_DEV_CAP()
882 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_RSS_TOP; in mlx4_QUERY_DEV_CAP()
885 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_RSS; in mlx4_QUERY_DEV_CAP()
899 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_FLOWSTATS_EN; in mlx4_QUERY_DEV_CAP()
902 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_FS_EN; in mlx4_QUERY_DEV_CAP()
905 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_DMFS_UC_MC_SNIFFER; in mlx4_QUERY_DEV_CAP()
908 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_PORT_BEACON; in mlx4_QUERY_DEV_CAP()
911 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_DMFS_IPOIB; in mlx4_QUERY_DEV_CAP()
[all …]
Dmain.c234 if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_SYS_EQS) { in mlx4_query_func()
253 if (!(dev_cap->flags2 & MLX4_DEV_CAP_FLAG2_EQE_STRIDE) || in mlx4_enable_cqe_eqe_stride()
254 !(dev_cap->flags2 & MLX4_DEV_CAP_FLAG2_CQE_STRIDE)) in mlx4_enable_cqe_eqe_stride()
262 dev_cap->flags2 &= ~MLX4_DEV_CAP_FLAG2_CQE_STRIDE; in mlx4_enable_cqe_eqe_stride()
263 dev_cap->flags2 &= ~MLX4_DEV_CAP_FLAG2_EQE_STRIDE; in mlx4_enable_cqe_eqe_stride()
278 dev_cap->flags2 &= ~MLX4_DEV_CAP_FLAG2_CQE_STRIDE; in mlx4_enable_cqe_eqe_stride()
279 dev_cap->flags2 &= ~MLX4_DEV_CAP_FLAG2_EQE_STRIDE; in mlx4_enable_cqe_eqe_stride()
325 if (!(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_IGNORE_FCS)) in mlx4_enable_ignore_fcs()
330 dev->caps.flags2 &= ~MLX4_DEV_CAP_FLAG2_IGNORE_FCS; in mlx4_enable_ignore_fcs()
337 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.c742 if (!(mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_USER_MAC_EN)) in mlx4_en_update_user_mac()
1559 if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_TS) in mlx4_en_service_task()
1994 if (!(mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_REASSIGN_MAC_EN)) in mlx4_en_stop_port()
2342 if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_TS) in mlx4_en_destroy_netdev()
2422 if (!(mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_TS)) in mlx4_en_hwtstamp_set()
2499 !(mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_SKIP_OUTER_VLAN)) in mlx4_en_fix_features()
2773 if (!(priv->mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_QP_RATE_LIMIT)) in mlx4_en_set_tx_maxrate()
3182 (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_FLOWSTATS_EN)) { in mlx4_en_update_pfc_stats_bitmap()
3352 if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_ETS_CFG) { in mlx4_en_init_netdev()
3439 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()
126 dmaobj->flags2 |= 0x00000002; in nv04_dmaobj_new()
/drivers/net/wireless/realtek/rtl818x/rtl8180/
Drtl8180.h57 u8 flags2; member
75 __le32 flags2; member
83 __le32 flags2; member
Ddev.c223 u32 flags, flags2, flags3 = 0; in rtl8180_handle_rx() local
237 flags2 = le32_to_cpu(desc->flags2); in rtl8180_handle_rx()
245 flags2 = le32_to_cpu(desc->flags2); in rtl8180_handle_rx()
279 rx_status.antenna = (flags2 >> 15) & 1; in rtl8180_handle_rx()
281 agc = (flags2 >> 17) & 0x7F; in rtl8180_handle_rx()
291 sq = flags2 & 0xff; in rtl8180_handle_rx()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2318 if (!(adapter->flags2 & IXGBE_FLAG2_RSC_CAPABLE) || in ixgbe_update_rsc()
2325 if (!(adapter->flags2 & IXGBE_FLAG2_RSC_ENABLED)) { in ixgbe_update_rsc()
2326 adapter->flags2 |= IXGBE_FLAG2_RSC_ENABLED; in ixgbe_update_rsc()
2331 } else if (adapter->flags2 & IXGBE_FLAG2_RSC_ENABLED) { in ixgbe_update_rsc()
2332 adapter->flags2 &= ~IXGBE_FLAG2_RSC_ENABLED; in ixgbe_update_rsc()
2526 if (adapter->flags2 & IXGBE_FLAG2_RSS_FIELD_IPV4_UDP) in ixgbe_get_rss_hash_opts()
2540 if (adapter->flags2 & IXGBE_FLAG2_RSS_FIELD_IPV6_UDP) in ixgbe_get_rss_hash_opts()
2835 u32 flags2 = adapter->flags2; in ixgbe_set_rss_hash_opt() local
2860 flags2 &= ~IXGBE_FLAG2_RSS_FIELD_IPV4_UDP; in ixgbe_set_rss_hash_opt()
2863 flags2 |= IXGBE_FLAG2_RSS_FIELD_IPV4_UDP; in ixgbe_set_rss_hash_opt()
[all …]
Dixgbe_main.c2666 if (!(adapter->flags2 & IXGBE_FLAG2_TEMP_SENSOR_EVENT)) in ixgbe_check_overtemp_subtask()
2669 adapter->flags2 &= ~IXGBE_FLAG2_TEMP_SENSOR_EVENT; in ixgbe_check_overtemp_subtask()
2733 if (!(adapter->flags2 & IXGBE_FLAG2_TEMP_SENSOR_CAPABLE)) in ixgbe_check_overtemp_event()
2746 adapter->flags2 |= IXGBE_FLAG2_TEMP_SENSOR_EVENT; in ixgbe_check_overtemp_event()
2754 adapter->flags2 |= IXGBE_FLAG2_TEMP_SENSOR_EVENT; in ixgbe_check_overtemp_event()
2812 adapter->flags2 |= IXGBE_FLAG2_SFP_NEEDS_RESET; in ixgbe_check_sfp_event()
2915 if (adapter->flags2 & IXGBE_FLAG2_TEMP_SENSOR_CAPABLE) in ixgbe_irq_enable()
2954 !(adapter->flags2 & IXGBE_FLAG2_FDIR_REQUIRES_REINIT)) in ixgbe_irq_enable()
3003 adapter->flags2 |= IXGBE_FLAG2_PHY_INTERRUPT; in ixgbe_msix_other()
3027 adapter->flags2 |= IXGBE_FLAG2_FDIR_REQUIRES_REINIT; in ixgbe_msix_other()
[all …]
Dixgbe_ptp.c190 if (!(adapter->flags2 & IXGBE_FLAG2_PTP_PPS_ENABLED)) in ixgbe_ptp_setup_sdp_x540()
544 adapter->flags2 |= IXGBE_FLAG2_PTP_PPS_ENABLED; in ixgbe_ptp_feature_enable()
546 adapter->flags2 &= ~IXGBE_FLAG2_PTP_PPS_ENABLED; in ixgbe_ptp_feature_enable()
1352 adapter->flags2 &= ~IXGBE_FLAG2_PTP_PPS_ENABLED; in ixgbe_ptp_suspend()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dbcdc.c69 ((int)((((hdr)->flags2) & BCDC_FLAG2_IF_MASK) >> BCDC_FLAG2_IF_SHIFT))
71 ((hdr)->flags2 = (((hdr)->flags2 & ~BCDC_FLAG2_IF_MASK) | \
85 u8 flags2; member
278 h->flags2 = 0; in brcmf_proto_bcdc_hdrpush()
Dtracepoint.h98 __field(u8, flags2)
105 __entry->flags2 = *((u8 *)data + 2);
/drivers/net/ethernet/intel/e1000e/
Dparam.c481 adapter->flags2 |= FLAG2_CRC_STRIPPING; in e1000e_check_options()
482 adapter->flags2 |= FLAG2_DFLT_CRC_STRIPPING; in e1000e_check_options()
485 adapter->flags2 |= FLAG2_CRC_STRIPPING; in e1000e_check_options()
486 adapter->flags2 |= FLAG2_DFLT_CRC_STRIPPING; in e1000e_check_options()
Dnetdev.c152 if (hw->adapter->flags2 & FLAG2_PCIM2PCI_ARBITER_WA) in __ew32()
559 adapter->flags2 &= ~FLAG2_CHECK_RX_HWTSTAMP; in e1000e_rx_hwtstamp()
712 if (adapter->flags2 & FLAG2_PCIM2PCI_ARBITER_WA) in e1000_alloc_rx_buffers()
812 if (adapter->flags2 & FLAG2_PCIM2PCI_ARBITER_WA) in e1000_alloc_rx_buffers_ps()
904 if (adapter->flags2 & FLAG2_PCIM2PCI_ARBITER_WA) in e1000_alloc_jumbo_rx_buffers()
981 adapter->flags2 |= FLAG2_IS_DISCARDING; in e1000_clean_rx_irq()
983 if (adapter->flags2 & FLAG2_IS_DISCARDING) { in e1000_clean_rx_irq()
989 adapter->flags2 &= ~FLAG2_IS_DISCARDING; in e1000_clean_rx_irq()
1001 if (!(adapter->flags2 & FLAG2_CRC_STRIPPING)) { in e1000_clean_rx_irq()
1111 if (!adapter->tx_hang_recheck && (adapter->flags2 & FLAG2_DMA_BURST)) { in e1000_print_hw_hang()
[all …]
/drivers/net/ethernet/qlogic/qlge/
Dqlge_dbg.c1881 ob_mac_tso_iocb->flags2 & OB_MAC_TSO_IOCB_LSO ? "LSO" : "", in ql_dump_ob_mac_iocb()
1882 ob_mac_tso_iocb->flags2 & OB_MAC_TSO_IOCB_UC ? "UC" : "", in ql_dump_ob_mac_iocb()
1883 ob_mac_tso_iocb->flags2 & OB_MAC_TSO_IOCB_TC ? "TC" : ""); in ql_dump_ob_mac_iocb()
1921 ob_mac_rsp->flags2 & OB_MAC_IOCB_RSP_B ? "B" : "."); in ql_dump_ob_mac_rsp()
1949 (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_P) ? "P " : "", in ql_dump_ib_mac_rsp()
1950 (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_V) ? "V " : "", in ql_dump_ib_mac_rsp()
1951 (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_U) ? "U " : "", in ql_dump_ib_mac_rsp()
1952 (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_T) ? "T " : "", in ql_dump_ib_mac_rsp()
1953 (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_FO) ? "FO " : ""); in ql_dump_ib_mac_rsp()
1955 if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_ERR_MASK) in ql_dump_ib_mac_rsp()
[all …]
Dqlge_main.c1480 if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_V) { in ql_update_mac_hdr_len()
1503 if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_ERR_MASK) { in ql_process_mac_rx_gro_page()
1504 ql_categorize_rx_err(qdev, ib_mac_rsp->flags2, rx_ring); in ql_process_mac_rx_gro_page()
1563 if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_ERR_MASK) { in ql_process_mac_rx_page()
1564 ql_categorize_rx_err(qdev, ib_mac_rsp->flags2, rx_ring); in ql_process_mac_rx_page()
1599 if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_T) { in ql_process_mac_rx_page()
1603 } else if ((ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_U) && in ql_process_mac_rx_page()
1666 if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_ERR_MASK) { in ql_process_mac_rx_skb()
1667 ql_categorize_rx_err(qdev, ib_mac_rsp->flags2, rx_ring); in ql_process_mac_rx_skb()
1699 if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_P) in ql_process_mac_rx_skb()
[all …]
/drivers/usb/gadget/function/
Du_audio.c91 unsigned long flags, flags2; in u_audio_iso_complete() local
118 snd_pcm_stream_lock_irqsave(substream, flags2); in u_audio_iso_complete()
122 snd_pcm_stream_unlock_irqrestore(substream, flags2); in u_audio_iso_complete()
184 snd_pcm_stream_unlock_irqrestore(substream, flags2); in u_audio_iso_complete()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dscb.h67 u32 flags2; /* various bit flags2 as defined below */ member
/drivers/infiniband/hw/usnic/
Dusnic_uiom_interval_tree.c66 #define FLAGS_EQUAL(flags1, flags2, mask) \ argument
67 (((flags1) & (mask)) == ((flags2) & (mask)))
/drivers/net/ethernet/qlogic/qed/
Dqed_hsi.h142 u8 flags2; member
395 u8 flags2; member
495 u8 flags2; member
4476 u8 flags2; member
4778 u8 flags2; member
4878 u8 flags2; member
5517 u8 flags2; member
5783 u8 flags2; member
6293 u8 flags2; member
6391 u8 flags2; member
[all …]
/drivers/cpufreq/
Dpowernow-k8.c664 pr_debug("flags2: 0x%x\n", psb->flags2); in find_psb_table()
665 data->rvo = psb->flags2 & 3; in find_psb_table()
666 data->irt = ((psb->flags2) >> 2) & 3; in find_psb_table()
667 mvs = ((psb->flags2) >> 4) & 3; in find_psb_table()
669 data->batps = ((psb->flags2) >> 6) & 3; in find_psb_table()
Dpowernow-k8.h168 u8 flags2; member

1234