Home
last modified time | relevance | path

Searched refs:reg_state (Results 1 – 25 of 43) sorted by relevance

12

/drivers/gpu/drm/i915/gt/
Dintel_lrc_reg.h33 #define ASSIGN_CTX_PDP(ppgtt, reg_state, n) do { \ argument
34 u32 *reg_state__ = (reg_state); \
40 #define ASSIGN_CTX_PML4(ppgtt, reg_state) do { \ argument
41 u32 *reg_state__ = (reg_state); \
/drivers/infiniband/ulp/ipoib/
Dipoib_vlan.c114 WARN_ON(ppriv->dev->reg_state != NETREG_REGISTERED); in __ipoib_vlan_add()
181 if (pdev->reg_state != NETREG_REGISTERED) { in ipoib_vlan_add()
202 if (result && ndev->reg_state == NETREG_UNINITIALIZED) in ipoib_vlan_add()
235 if (dev->reg_state == NETREG_REGISTERED) { in ipoib_vlan_delete_task()
259 if (pdev->reg_state != NETREG_REGISTERED) { in ipoib_vlan_delete()
/drivers/infiniband/core/
Droce_gid_mgmt.c344 if (ndev->reg_state >= NETREG_UNREGISTERING) in enum_netdev_ipv4_ips()
389 if (ndev->reg_state >= NETREG_UNREGISTERING) in enum_netdev_ipv6_ips()
770 if (ndev->reg_state < NETREG_UNREGISTERED) in netdevice_event()
778 if (ndev->reg_state == NETREG_REGISTERED) { in netdevice_event()
/drivers/gpu/drm/i915/gvt/
Dscheduler.c83 u32 *reg_state, bool save) in sr_oa_regs() argument
103 workload->oactxctrl = reg_state[ctx_oactxctrl + 1]; in sr_oa_regs()
108 workload->flex_mmio[i] = reg_state[state_offset + 1]; in sr_oa_regs()
111 reg_state[ctx_oactxctrl] = in sr_oa_regs()
113 reg_state[ctx_oactxctrl + 1] = workload->oactxctrl; in sr_oa_regs()
119 reg_state[state_offset] = mmio; in sr_oa_regs()
120 reg_state[state_offset + 1] = workload->flex_mmio[i]; in sr_oa_regs()
Dmmio_context.c461 const u32 *reg_state = ce->lrc_reg_state; in is_inhibit_context() local
466 (reg_state[CTX_CONTEXT_CONTROL_VAL] & inhibit_mask); in is_inhibit_context()
/drivers/infiniband/hw/hfi1/
Dipoib_tx.c106 if (unlikely(dev->reg_state != NETREG_REGISTERED)) in hfi1_ipoib_check_queue_stopped()
638 if (likely(txq->priv->netdev->reg_state == NETREG_REGISTERED)) { in hfi1_ipoib_sdma_sleep()
678 if (likely(txq->priv->netdev->reg_state == NETREG_REGISTERED)) in hfi1_ipoib_sdma_wakeup()
691 if (likely(dev->reg_state == NETREG_REGISTERED) && in hfi1_ipoib_flush_txq()
/drivers/iio/light/
Dstk3310.c111 struct regmap_field *reg_state; member
430 ret = regmap_field_write(data->reg_state, state); in stk3310_set_state()
/drivers/net/bonding/
Dbond_options.c755 if (!ret && (bond->dev->reg_state == NETREG_REGISTERED)) in __bond_opt_set_notify()
851 if (bond->dev->reg_state == NETREG_REGISTERED) { in bond_option_mode_set()
1302 if (bond->dev->reg_state == NETREG_REGISTERED) in bond_option_xmit_hash_policy_set()
/drivers/net/ethernet/aquantia/atlantic/
Daq_pci_func.c350 if (self->ndev->reg_state == NETREG_REGISTERED) in aq_pci_remove()
/drivers/staging/rtl8712/
Dusb_intf.c595 if (pnetdev->reg_state != NETREG_UNINITIALIZED) in r871xu_dev_remove()
/drivers/net/ethernet/sfc/falcon/
Dnet_driver.h906 return efx->net_dev->reg_state == NETREG_REGISTERED; in ef4_dev_registered()
/drivers/gpu/drm/i915/
Di915_perf.c2128 u32 *reg_state = ce->lrc_reg_state; in gen8_update_reg_state_unlocked() local
2131 reg_state[ctx_oactxctrl + 1] = in gen8_update_reg_state_unlocked()
2137 reg_state[ctx_flexeu0 + i * 2 + 1] = in gen8_update_reg_state_unlocked()
/drivers/net/ethernet/sfc/
Dnet_driver.h1175 return efx->net_dev->reg_state == NETREG_REGISTERED; in efx_dev_registered()
/drivers/net/wireless/marvell/libertas/
Dmain.c1093 if (dev->reg_state != NETREG_REGISTERED) in lbs_stop_card()
/drivers/net/ethernet/netronome/nfp/abm/
Dqdisc.c299 netdev->reg_state == NETREG_UNREGISTERING) in nfp_abm_qdisc_clear_mq()
/drivers/s390/net/
Dqeth_l3_main.c1975 if (card->dev->reg_state == NETREG_REGISTERED) in qeth_l3_remove_device()
2011 if (dev->reg_state != NETREG_REGISTERED) { in qeth_l3_set_online()
Dqeth_l2_main.c2310 if (card->dev->reg_state == NETREG_REGISTERED) { in qeth_l2_remove_device()
2351 if (dev->reg_state != NETREG_REGISTERED) { in qeth_l2_set_online()
/drivers/net/ipvlan/
Dipvlan_main.c756 if (dev->reg_state != NETREG_UNREGISTERING) in ipvlan_device_event()
/drivers/net/
Dxen-netfront.c2473 if (dev->reg_state == NETREG_UNINITIALIZED) { in xennet_connect()
2692 if (info->netdev->reg_state == NETREG_REGISTERED) in xennet_remove()
Dtun.c684 tun->dev->reg_state == NETREG_REGISTERED) in __tun_detach()
1434 if (tun->dev->reg_state != NETREG_REGISTERED) in tun_chr_poll()
/drivers/net/hyperv/
Dnetvsc_drv.c791 if (net->reg_state != NETREG_REGISTERED) in netvsc_linkstatus_callback()
931 if (net->reg_state != NETREG_REGISTERED) in netvsc_recv_callback()
/drivers/net/wireless/quantenna/qtnfmac/
Dcfg80211.c182 if (netdev->reg_state == NETREG_REGISTERED) in qtnf_del_virtual_intf()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c4729 if (netdev->reg_state != NETREG_REGISTERED) in mlx5e_nic_enable()
4747 if (priv->netdev->reg_state == NETREG_REGISTERED) in mlx5e_nic_disable()
4911 if (netdev->reg_state != NETREG_REGISTERED) in mlx5e_update_features()
4926 const bool take_rtnl = priv->netdev->reg_state == NETREG_REGISTERED; in mlx5e_attach_netdev()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcore.c689 if (ndev->reg_state == NETREG_REGISTERED) { in brcmf_net_detach()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c5564 if (adapter->port[i]->reg_state == NETREG_REGISTERED) in eeh_reset_prepare()
5628 if (adapter->port[i]->reg_state == NETREG_REGISTERED) in eeh_reset_done()
7142 if (adapter->port[i]->reg_state == NETREG_REGISTERED) in remove_one()
7221 if (adapter->port[i]->reg_state == NETREG_REGISTERED) in shutdown_one()

12