/drivers/misc/vmw_vmci/ |
D | vmci_datagram.c | 32 u32 priv_flags; member 52 u32 priv_flags, in dg_create_handle() argument 84 entry->priv_flags = priv_flags; in dg_create_handle() 107 u32 *priv_flags) in vmci_datagram_get_priv_flags() argument 123 *priv_flags = src_entry->priv_flags; in vmci_datagram_get_priv_flags() 126 *priv_flags = VMCI_MAX_PRIVILEGE_FLAGS; in vmci_datagram_get_priv_flags() 128 *priv_flags = vmci_context_get_priv_flags(context_id); in vmci_datagram_get_priv_flags() 206 dst_entry->priv_flags)) { in dg_dispatch_as_host() 405 u32 priv_flags, in vmci_datagram_create_handle_priv() argument 418 if (priv_flags & ~VMCI_PRIVILEGE_ALL_FLAGS) in vmci_datagram_create_handle_priv() [all …]
|
D | vmci_doorbell.c | 40 u32 priv_flags; member 85 int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags) in vmci_dbell_get_priv_flags() argument 87 if (priv_flags == NULL || handle.context == VMCI_INVALID_ID) in vmci_dbell_get_priv_flags() 100 *priv_flags = entry->priv_flags; in vmci_dbell_get_priv_flags() 109 *priv_flags = vmci_context_get_priv_flags(handle.context); in vmci_dbell_get_priv_flags() 264 static int dbell_notify_as_guest(struct vmci_handle handle, u32 priv_flags) in dbell_notify_as_guest() argument 411 u32 priv_flags, in vmci_doorbell_create() argument 419 priv_flags & ~VMCI_PRIVILEGE_ALL_FLAGS) in vmci_doorbell_create() 467 entry->priv_flags = priv_flags; in vmci_doorbell_create() 579 int vmci_doorbell_notify(struct vmci_handle dst, u32 priv_flags) in vmci_doorbell_notify() argument [all …]
|
D | vmci_context.c | 80 struct vmci_ctx *vmci_ctx_create(u32 cid, u32 priv_flags, in vmci_ctx_create() argument 94 if (priv_flags & ~VMCI_PRIVILEGE_ALL_FLAGS) { in vmci_ctx_create() 96 priv_flags); in vmci_ctx_create() 146 context->priv_flags = priv_flags; in vmci_ctx_create() 201 static int ctx_fire_notification(u32 context_id, u32 priv_flags) in ctx_fire_notification() argument 230 if (vmci_deny_interaction(priv_flags, sub_ctx->priv_flags)) in ctx_fire_notification() 435 ctx_fire_notification(context->cid, context->priv_flags); in ctx_free_ctx() 616 if (context->priv_flags & VMCI_PRIVILEGE_FLAG_RESTRICTED) { in vmci_ctx_add_notification() 1187 flags = context->priv_flags; in vmci_context_get_priv_flags()
|
D | vmci_queue_pair.c | 153 u32 priv_flags; member 1098 u32 priv_flags) in qp_alloc_guest_work() argument 1109 if (priv_flags != VMCI_NO_PRIVILEGE_FLAGS) in qp_alloc_guest_work() 1283 u32 priv_flags, in qp_broker_create() argument 1349 !!(context->priv_flags & VMCI_PRIVILEGE_FLAG_RESTRICTED); in qp_broker_create() 1351 !!(priv_flags & VMCI_PRIVILEGE_FLAG_TRUSTED); in qp_broker_create() 1512 u32 priv_flags, in qp_broker_attach() argument 1547 if ((context->priv_flags & VMCI_PRIVILEGE_FLAG_RESTRICTED) && in qp_broker_attach() 1556 (!(priv_flags & VMCI_PRIVILEGE_FLAG_TRUSTED))) in qp_broker_attach() 1697 u32 priv_flags, in qp_broker_alloc() argument [all …]
|
D | vmci_queue_pair.h | 143 u32 flags, u32 priv_flags, 157 u32 peer, u32 flags, u32 priv_flags,
|
D | vmci_doorbell.h | 38 int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags);
|
D | vmci_context.h | 78 u32 priv_flags; member
|
/drivers/pci/pcie/ |
D | dpc.c | 85 if (test_bit(PCI_DPC_RECOVERING, &pdev->priv_flags)) in dpc_completed() 122 return test_and_clear_bit(PCI_DPC_RECOVERED, &pdev->priv_flags); in pci_dpc_recovered() 149 set_bit(PCI_DPC_RECOVERING, &pdev->priv_flags); in dpc_reset_link() 165 clear_bit(PCI_DPC_RECOVERED, &pdev->priv_flags); in dpc_reset_link() 175 clear_bit(PCI_DPC_RECOVERED, &pdev->priv_flags); in dpc_reset_link() 178 set_bit(PCI_DPC_RECOVERED, &pdev->priv_flags); in dpc_reset_link() 182 clear_bit(PCI_DPC_RECOVERING, &pdev->priv_flags); in dpc_reset_link()
|
/drivers/net/ethernet/intel/iavf/ |
D | iavf_ethtool.c | 456 const struct iavf_priv_flags *priv_flags; in iavf_get_priv_flags() local 458 priv_flags = &iavf_gstrings_priv_flags[i]; in iavf_get_priv_flags() 460 if (priv_flags->flag & adapter->flags) in iavf_get_priv_flags() 482 const struct iavf_priv_flags *priv_flags; in iavf_set_priv_flags() local 484 priv_flags = &iavf_gstrings_priv_flags[i]; in iavf_set_priv_flags() 487 new_flags |= priv_flags->flag; in iavf_set_priv_flags() 489 new_flags &= ~(priv_flags->flag); in iavf_set_priv_flags() 491 if (priv_flags->read_only && in iavf_set_priv_flags()
|
/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ethtool.c | 885 return aq_nic->aq_nic_cfg.priv_flags; in aq_ethtool_get_priv_flags() 892 u32 priv_flags; in aq_ethtool_set_priv_flags() local 896 priv_flags = cfg->priv_flags; in aq_ethtool_set_priv_flags() 901 if (hweight32((flags | priv_flags) & AQ_HW_LOOPBACK_MASK) > 1) { in aq_ethtool_set_priv_flags() 906 cfg->priv_flags = flags; in aq_ethtool_set_priv_flags() 908 if ((priv_flags ^ flags) & BIT(AQ_HW_LOOPBACK_DMA_NET)) { in aq_ethtool_set_priv_flags() 914 } else if ((priv_flags ^ flags) & AQ_HW_LOOPBACK_MASK) { in aq_ethtool_set_priv_flags()
|
D | aq_nic.c | 374 self->ndev->priv_flags = aq_hw_caps->hw_priv_flags; in aq_nic_ndev_init() 375 self->ndev->priv_flags |= IFF_LIVE_ADDR_CHANGE; in aq_nic_ndev_init() 740 if (cfg->priv_flags & BIT(AQ_HW_LOOPBACK_DMA_NET)) { in aq_nic_xmit() 1211 !!(cfg->priv_flags & in aq_nic_set_loopback() 1216 !!(cfg->priv_flags & in aq_nic_set_loopback() 1221 !!(cfg->priv_flags & in aq_nic_set_loopback() 1226 !!(cfg->priv_flags & in aq_nic_set_loopback() 1231 !!(cfg->priv_flags & in aq_nic_set_loopback()
|
/drivers/net/ |
D | net_failover.c | 398 dst_release_flag &= primary_dev->priv_flags; in net_failover_compute_features() 414 dst_release_flag &= standby_dev->priv_flags; in net_failover_compute_features() 423 dev->priv_flags &= ~IFF_XMIT_DST_RELEASE; in net_failover_compute_features() 426 dev->priv_flags |= IFF_XMIT_DST_RELEASE; in net_failover_compute_features() 729 failover_dev->priv_flags |= IFF_UNICAST_FLT | IFF_NO_QUEUE; in net_failover_create() 730 failover_dev->priv_flags &= ~(IFF_XMIT_DST_RELEASE | in net_failover_create()
|
D | vrf.c | 1136 port_dev->priv_flags |= IFF_L3MDEV_SLAVE; in do_vrf_add_slave() 1146 port_dev->priv_flags &= ~IFF_L3MDEV_SLAVE; in do_vrf_add_slave() 1169 port_dev->priv_flags &= ~IFF_L3MDEV_SLAVE; in do_vrf_del_slave() 1633 dev->priv_flags |= IFF_NO_QUEUE; in vrf_setup() 1634 dev->priv_flags |= IFF_NO_RX_HANDLER; in vrf_setup() 1635 dev->priv_flags |= IFF_LIVE_ADDR_CHANGE; in vrf_setup() 1697 dev->priv_flags |= IFF_L3MDEV_MASTER; in vrf_newlink()
|
D | vsockmon.c | 102 dev->priv_flags |= IFF_NO_QUEUE; in vsockmon_setup()
|
D | nlmon.c | 85 dev->priv_flags |= IFF_NO_QUEUE; in nlmon_setup()
|
D | macvlan.c | 1181 dev->priv_flags &= ~IFF_TX_SKB_SHARING; in macvlan_common_setup() 1183 dev->priv_flags |= IFF_UNICAST_FLT; in macvlan_common_setup() 1194 dev->priv_flags |= IFF_NO_QUEUE; in macvlan_setup() 1228 dev->priv_flags |= IFF_MACVLAN_PORT; in macvlan_port_create() 1237 dev->priv_flags &= ~IFF_MACVLAN_PORT; in macvlan_port_destroy() 1493 dev->priv_flags |= IFF_MACVLAN; in macvlan_common_newlink()
|
D | dummy.c | 125 dev->priv_flags |= IFF_LIVE_ADDR_CHANGE | IFF_NO_QUEUE; in dummy_setup()
|
/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_device.h | 584 u32 priv_flags; member 900 return !!(octdev->priv_flags & (0x1 << flag)); in lio_get_priv_flag() 907 octdev->priv_flags |= (0x1 << flag); in lio_set_priv_flag() 909 octdev->priv_flags &= ~(0x1 << flag); in lio_set_priv_flag()
|
/drivers/net/wan/ |
D | hdlc.c | 52 if (!(dev->priv_flags & IFF_WAN_HDLC)) { in hdlc_rcv() 107 if (!(dev->priv_flags & IFF_WAN_HDLC)) in hdlc_device_event() 235 dev->priv_flags = IFF_WAN_HDLC; in hdlc_setup_dev()
|
D | hdlc_raw_eth.c | 102 dev->priv_flags &= ~IFF_TX_SKB_SHARING; in raw_eth_ioctl()
|
/drivers/net/ipvlan/ |
D | ipvlan_l3s.c | 213 dev->priv_flags |= IFF_L3MDEV_RX_HANDLER; in ipvlan_l3s_register() 225 dev->priv_flags &= ~IFF_L3MDEV_RX_HANDLER; in ipvlan_l3s_unregister()
|
/drivers/net/ethernet/pensando/ionic/ |
D | ionic_ethtool.c | 666 u32 priv_flags = 0; in ionic_get_priv_flags() local 669 priv_flags |= IONIC_PRIV_F_SW_DBG_STATS; in ionic_get_priv_flags() 671 return priv_flags; in ionic_get_priv_flags() 674 static int ionic_set_priv_flags(struct net_device *netdev, u32 priv_flags) in ionic_set_priv_flags() argument 679 if (priv_flags & IONIC_PRIV_F_SW_DBG_STATS) in ionic_set_priv_flags()
|
/drivers/net/ethernet/intel/ixgbevf/ |
D | ethtool.c | 940 u32 priv_flags = 0; in ixgbevf_get_priv_flags() local 943 priv_flags |= IXGBEVF_PRIV_FLAGS_LEGACY_RX; in ixgbevf_get_priv_flags() 945 return priv_flags; in ixgbevf_get_priv_flags() 948 static int ixgbevf_set_priv_flags(struct net_device *netdev, u32 priv_flags) in ixgbevf_set_priv_flags() argument 954 if (priv_flags & IXGBEVF_PRIV_FLAGS_LEGACY_RX) in ixgbevf_set_priv_flags()
|
/drivers/net/ethernet/sfc/ |
D | mcdi_filters.c | 349 unsigned int priv_flags; in efx_mcdi_filter_insert_locked() local 457 priv_flags = efx_mcdi_filter_entry_flags(table, ins_index); in efx_mcdi_filter_insert_locked() 465 priv_flags = 0; in efx_mcdi_filter_insert_locked() 467 efx_mcdi_filter_set_entry(table, ins_index, saved_spec, priv_flags); in efx_mcdi_filter_insert_locked() 502 efx_mcdi_filter_set_entry(table, ins_index, saved_spec, priv_flags); in efx_mcdi_filter_insert_locked() 519 priv_flags = efx_mcdi_filter_entry_flags(table, i); in efx_mcdi_filter_insert_locked() 534 priv_flags = 0; in efx_mcdi_filter_insert_locked() 537 priv_flags); in efx_mcdi_filter_insert_locked()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 4909 const struct i40e_priv_flags *priv_flags; in i40e_get_priv_flags() local 4911 priv_flags = &i40e_gstrings_priv_flags[i]; in i40e_get_priv_flags() 4913 if (priv_flags->flag & pf->flags) in i40e_get_priv_flags() 4921 const struct i40e_priv_flags *priv_flags; in i40e_get_priv_flags() local 4923 priv_flags = &i40e_gl_gstrings_priv_flags[j]; in i40e_get_priv_flags() 4925 if (priv_flags->flag & pf->flags) in i40e_get_priv_flags() 4952 const struct i40e_priv_flags *priv_flags; in i40e_set_priv_flags() local 4954 priv_flags = &i40e_gstrings_priv_flags[i]; in i40e_set_priv_flags() 4957 new_flags |= priv_flags->flag; in i40e_set_priv_flags() 4959 new_flags &= ~(priv_flags->flag); in i40e_set_priv_flags() [all …]
|