Home
last modified time | relevance | path

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

123

/linux/drivers/gpu/drm/i915/gt/
A 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); \
/linux/drivers/infiniband/ulp/ipoib/
A 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()
/linux/net/core/
A Dxdp.c123 if (xdp_rxq->reg_state != REG_STATE_REGISTERED) { in xdp_rxq_info_unreg_mem_model()
143 if (xdp_rxq->reg_state == REG_STATE_UNUSED) in xdp_rxq_info_unreg()
148 xdp_rxq->reg_state = REG_STATE_UNREGISTERED; in xdp_rxq_info_unreg()
162 if (xdp_rxq->reg_state == REG_STATE_UNUSED) { in xdp_rxq_info_reg()
167 if (xdp_rxq->reg_state == REG_STATE_REGISTERED) { in xdp_rxq_info_reg()
183 xdp_rxq->reg_state = REG_STATE_REGISTERED; in xdp_rxq_info_reg()
190 xdp_rxq->reg_state = REG_STATE_UNUSED; in xdp_rxq_info_unused()
196 return (xdp_rxq->reg_state == REG_STATE_REGISTERED); in xdp_rxq_info_is_reg()
270 if (xdp_rxq->reg_state != REG_STATE_REGISTERED) { in xdp_rxq_info_reg_mem_model()
A Ddev.c2918 if (dev->reg_state == NETREG_REGISTERED || in netif_set_real_num_tx_queues()
2919 dev->reg_state == NETREG_UNREGISTERING) { in netif_set_real_num_tx_queues()
2967 if (dev->reg_state == NETREG_REGISTERED) { in netif_set_real_num_rx_queues()
10338 dev->reg_state = NETREG_UNREGISTERED; in register_netdevice()
10341 dev->reg_state = NETREG_REGISTERED; in register_netdevice()
10419 dev->reg_state = NETREG_DUMMY; in init_dummy_netdev()
10611 dev->name, dev->reg_state); in netdev_run_todo()
10616 dev->reg_state = NETREG_UNREGISTERED; in netdev_run_todo()
10968 dev->reg_state = NETREG_RELEASED; in free_netdev()
11063 dev->reg_state = NETREG_UNREGISTERING; in unregister_netdevice_many()
[all …]
A Dnet-sysfs.c37 return dev->reg_state <= NETREG_REGISTERED; in dev_isalive()
1893 BUG_ON(dev->reg_state != NETREG_RELEASED); in netdev_release()
/linux/drivers/infiniband/core/
A 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()
/linux/drivers/gpu/drm/i915/gvt/
A 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()
A 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()
/linux/net/phonet/
A Dpn_dev.c120 if ((dev->reg_state == NETREG_REGISTERED) && in phonet_device_get()
215 if ((pnd->netdev->reg_state != NETREG_REGISTERED) || in phonet_address_lookup()
/linux/drivers/infiniband/hw/hfi1/
A Dipoib_tx.c94 if (unlikely(dev->reg_state != NETREG_REGISTERED)) in hfi1_ipoib_check_queue_stopped()
623 if (likely(txq->priv->netdev->reg_state == NETREG_REGISTERED)) { in hfi1_ipoib_sdma_sleep()
663 if (likely(txq->priv->netdev->reg_state == NETREG_REGISTERED)) in hfi1_ipoib_sdma_wakeup()
676 if (likely(dev->reg_state == NETREG_REGISTERED) && in hfi1_ipoib_flush_txq()
/linux/net/openvswitch/
A Dvport-netdev.c175 if (vport->dev->reg_state == NETREG_REGISTERED) in ovs_netdev_tunnel_destroy()
/linux/drivers/iio/light/
A Dstk3310.c111 struct regmap_field *reg_state; member
430 ret = regmap_field_write(data->reg_state, state); in stk3310_set_state()
/linux/include/net/
A Dxdp.h60 u32 reg_state; member
/linux/net/sched/
A Dsch_generic.c526 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_on()
545 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_off()
563 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_event()
/linux/drivers/net/bonding/
A Dbond_options.c731 if (!ret && (bond->dev->reg_state == NETREG_REGISTERED)) in __bond_opt_set_notify()
827 if (bond->dev->reg_state == NETREG_REGISTERED) { in bond_option_mode_set()
1268 if (bond->dev->reg_state == NETREG_REGISTERED) in bond_option_xmit_hash_policy_set()
/linux/drivers/staging/rtl8712/
A Dusb_intf.c598 if (pnetdev->reg_state != NETREG_UNINITIALIZED) in r871xu_dev_remove()
/linux/drivers/net/ethernet/aquantia/atlantic/
A Daq_pci_func.c350 if (self->ndev->reg_state == NETREG_REGISTERED) in aq_pci_remove()
/linux/net/8021q/
A Dvlan_core.c363 if (err && dev->reg_state != NETREG_UNREGISTERING) in __vlan_vid_del()
A Dvlan.c477 if (dev->reg_state != NETREG_UNREGISTERING) in vlan_device_event()
/linux/net/bridge/
A Dbr_device.c239 if (dev->reg_state != NETREG_REGISTERED) in br_set_mac_address()
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_devlink.c451 if (bp->dev->reg_state == NETREG_UNREGISTERED) { in bnxt_dl_reload_down()
493 if (bp->dev->reg_state == NETREG_UNREGISTERED) { in bnxt_dl_reload_down()
/linux/drivers/net/ethernet/sfc/falcon/
A Dnet_driver.h906 return efx->net_dev->reg_state == NETREG_REGISTERED; in ef4_dev_registered()
/linux/kernel/bpf/
A Dverifier.c3069 struct bpf_func_state *reg_state, in check_stack_read_fixed_off() argument
3078 stype = reg_state->stack[spi].slot_type; in check_stack_read_fixed_off()
3079 reg = &reg_state->stack[spi].spilled_ptr; in check_stack_read_fixed_off()
3081 if (is_spilled_reg(&reg_state->stack[spi])) { in check_stack_read_fixed_off()
3194 struct bpf_reg_state *reg = reg_state(env, ptr_regno); in check_stack_read_var_off()
3225 struct bpf_reg_state *reg = reg_state(env, ptr_regno); in check_stack_read()
3286 struct bpf_reg_state *reg = reg_state(env, ptr_regno); in check_stack_write()
3655 const struct bpf_reg_state *reg = reg_state(env, regno); in is_ctx_reg()
3662 const struct bpf_reg_state *reg = reg_state(env, regno); in is_sk_reg()
4579 reg_type_str[reg_state(env, insn->dst_reg)->type]); in check_atomic()
[all …]
/linux/include/linux/
A Dnetdevice.h2193 } reg_state:8; member
5263 return dev->reg_state == NETREG_UNREGISTERING; in netdev_unregistering()
5268 switch (dev->reg_state) { in netdev_reg_state()
5277 WARN_ONCE(1, "%s: unknown reg_state %d\n", dev->name, dev->reg_state); in netdev_reg_state()
/linux/drivers/net/ethernet/sfc/
A Dnet_driver.h1133 return efx->net_dev->reg_state == NETREG_REGISTERED; in efx_dev_registered()

Completed in 163 milliseconds

123