/linux-6.6.21/drivers/gpu/drm/i915/gt/ |
D | intel_lrc_reg.h | 33 #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); \
|
/linux-6.6.21/drivers/infiniband/ulp/ipoib/ |
D | ipoib_vlan.c | 113 WARN_ON(ppriv->dev->reg_state != NETREG_REGISTERED); in __ipoib_vlan_add() 180 if (pdev->reg_state != NETREG_REGISTERED) { in ipoib_vlan_add() 201 if (result && ndev->reg_state == NETREG_UNINITIALIZED) in ipoib_vlan_add() 234 if (dev->reg_state == NETREG_REGISTERED) { in ipoib_vlan_delete_task() 258 if (pdev->reg_state != NETREG_REGISTERED) { in ipoib_vlan_delete()
|
/linux-6.6.21/net/core/ |
D | xdp.c | 139 if (xdp_rxq->reg_state != REG_STATE_REGISTERED) { in xdp_rxq_info_unreg_mem_model() 151 if (xdp_rxq->reg_state == REG_STATE_UNUSED) in xdp_rxq_info_unreg() 156 xdp_rxq->reg_state = REG_STATE_UNREGISTERED; in xdp_rxq_info_unreg() 176 if (xdp_rxq->reg_state == REG_STATE_UNUSED) { in __xdp_rxq_info_reg() 181 if (xdp_rxq->reg_state == REG_STATE_REGISTERED) { in __xdp_rxq_info_reg() 193 xdp_rxq->reg_state = REG_STATE_REGISTERED; in __xdp_rxq_info_reg() 200 xdp_rxq->reg_state = REG_STATE_UNUSED; in xdp_rxq_info_unused() 206 return (xdp_rxq->reg_state == REG_STATE_REGISTERED); in xdp_rxq_info_is_reg() 355 if (xdp_rxq->reg_state != REG_STATE_REGISTERED) { in xdp_rxq_info_reg_mem_model() 784 if (dev->reg_state == NETREG_REGISTERED) in xdp_set_features_flag()
|
D | dev.c | 2934 if (dev->reg_state == NETREG_REGISTERED || in netif_set_real_num_tx_queues() 2935 dev->reg_state == NETREG_UNREGISTERING) { in netif_set_real_num_tx_queues() 2983 if (dev->reg_state == NETREG_REGISTERED) { in netif_set_real_num_rx_queues() 5859 if (skb->dev->reg_state == NETREG_UNREGISTERING) { in flush_backlog() 5868 if (skb->dev->reg_state == NETREG_UNREGISTERING) { in flush_backlog() 10126 BUG_ON(dev->reg_state != NETREG_UNINITIALIZED); in register_netdevice() 10222 dev->reg_state = ret ? NETREG_UNREGISTERED : NETREG_REGISTERED; in register_netdevice() 10311 dev->reg_state = NETREG_DUMMY; in init_dummy_netdev() 10507 if (unlikely(dev->reg_state != NETREG_UNREGISTERING)) { in netdev_run_todo() 10514 dev->reg_state = NETREG_UNREGISTERED; in netdev_run_todo() [all …]
|
D | net-sysfs.c | 40 return dev->reg_state <= NETREG_REGISTERED; in dev_isalive() 1743 WARN(dev->reg_state == NETREG_UNREGISTERING && new_num > old_num, in netdev_queue_update_kobjects() 1933 BUG_ON(dev->reg_state != NETREG_RELEASED); in netdev_release()
|
/linux-6.6.21/drivers/infiniband/core/ |
D | roce_gid_mgmt.c | 344 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()
|
/linux-6.6.21/drivers/gpu/drm/i915/gvt/ |
D | scheduler.c | 85 u32 *reg_state, bool save) in sr_oa_regs() argument 105 workload->oactxctrl = reg_state[ctx_oactxctrl + 1]; in sr_oa_regs() 110 workload->flex_mmio[i] = reg_state[state_offset + 1]; in sr_oa_regs() 113 reg_state[ctx_oactxctrl] = in sr_oa_regs() 115 reg_state[ctx_oactxctrl + 1] = workload->oactxctrl; in sr_oa_regs() 121 reg_state[state_offset] = mmio; in sr_oa_regs() 122 reg_state[state_offset + 1] = workload->flex_mmio[i]; in sr_oa_regs()
|
D | mmio_context.c | 464 const u32 *reg_state = ce->lrc_reg_state; in is_inhibit_context() local 469 (reg_state[CTX_CONTEXT_CONTROL_VAL] & inhibit_mask); in is_inhibit_context()
|
/linux-6.6.21/net/phonet/ |
D | pn_dev.c | 120 if ((dev->reg_state == NETREG_REGISTERED) && in phonet_device_get() 215 if ((pnd->netdev->reg_state != NETREG_REGISTERED) || in phonet_address_lookup()
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | ipoib_tx.c | 94 if (unlikely(dev->reg_state != NETREG_REGISTERED)) in hfi1_ipoib_check_queue_stopped() 624 if (likely(txq->priv->netdev->reg_state == NETREG_REGISTERED)) { in hfi1_ipoib_sdma_sleep() 664 if (likely(txq->priv->netdev->reg_state == NETREG_REGISTERED)) in hfi1_ipoib_sdma_wakeup() 677 if (likely(dev->reg_state == NETREG_REGISTERED) && in hfi1_ipoib_flush_txq()
|
/linux-6.6.21/net/openvswitch/ |
D | vport-netdev.c | 174 if (vport->dev->reg_state == NETREG_REGISTERED) in ovs_netdev_tunnel_destroy()
|
/linux-6.6.21/net/caif/ |
D | caif_usb.c | 137 if (what == NETDEV_UNREGISTER && dev->reg_state >= NETREG_UNREGISTERED) in cfusbl_device_notify()
|
/linux-6.6.21/drivers/iio/light/ |
D | stk3310.c | 112 struct regmap_field *reg_state; member 451 ret = regmap_field_write(data->reg_state, state); in stk3310_set_state()
|
/linux-6.6.21/net/sched/ |
D | sch_generic.c | 578 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_on() 597 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_off() 615 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_event()
|
/linux-6.6.21/net/can/ |
D | raw.c | 569 if (dev->reg_state != NETREG_REGISTERED) { in raw_setsockopt() 629 if (dev->reg_state != NETREG_REGISTERED) { in raw_setsockopt()
|
/linux-6.6.21/include/net/ |
D | xdp.h | 63 u32 reg_state; member
|
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_pci_func.c | 350 if (self->ndev->reg_state == NETREG_REGISTERED) in aq_pci_remove()
|
/linux-6.6.21/drivers/staging/rtl8712/ |
D | usb_intf.c | 595 if (pnetdev->reg_state != NETREG_UNINITIALIZED) in r871xu_dev_remove()
|
/linux-6.6.21/net/bridge/ |
D | br_device.c | 240 if (dev->reg_state != NETREG_REGISTERED) in br_set_mac_address()
|
/linux-6.6.21/net/8021q/ |
D | vlan_core.c | 363 if (err && dev->reg_state != NETREG_UNREGISTERING) in __vlan_vid_del()
|
D | vlan.c | 476 if (dev->reg_state != NETREG_UNREGISTERING) in vlan_device_event()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_devlink.c | 476 if (bp->dev->reg_state == NETREG_UNREGISTERED) { in bnxt_dl_reload_down() 511 if (bp->dev->reg_state == NETREG_UNREGISTERED) { in bnxt_dl_reload_down()
|
/linux-6.6.21/drivers/net/ethernet/sfc/falcon/ |
D | net_driver.h | 906 return efx->net_dev->reg_state == NETREG_REGISTERED; in ef4_dev_registered()
|
/linux-6.6.21/drivers/net/bonding/ |
D | bond_options.c | 794 if (!ret && (bond->dev->reg_state == NETREG_REGISTERED)) in __bond_opt_set_notify() 877 if (bond->dev->reg_state == NETREG_REGISTERED) { in bond_option_mode_set()
|
/linux-6.6.21/include/linux/ |
D | netdevice.h | 2320 } reg_state:8; member 2430 WARN_ON((dev)->reg_state != NETREG_UNINITIALIZED); \ 5179 switch (dev->reg_state) { in netdev_reg_state() 5188 WARN_ONCE(1, "%s: unknown reg_state %d\n", dev->name, dev->reg_state); in netdev_reg_state()
|