Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/net/core/
H A Dxdp.c118 if (xdp_rxq->reg_state != REG_STATE_REGISTERED) { in xdp_rxq_info_unreg_mem_model()
138 if (xdp_rxq->reg_state == REG_STATE_UNUSED) in xdp_rxq_info_unreg()
141 WARN(!(xdp_rxq->reg_state == REG_STATE_REGISTERED), "Driver BUG"); in xdp_rxq_info_unreg()
145 xdp_rxq->reg_state = REG_STATE_UNREGISTERED; in xdp_rxq_info_unreg()
163 if (xdp_rxq->reg_state == REG_STATE_UNUSED) { in xdp_rxq_info_reg()
168 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()
H A Ddev.c2971 if (dev->reg_state == NETREG_REGISTERED || in netif_set_real_num_tx_queues()
2972 dev->reg_state == NETREG_UNREGISTERING) { in netif_set_real_num_tx_queues()
3018 if (dev->reg_state == NETREG_REGISTERED) { in netif_set_real_num_rx_queues()
5690 if (skb->dev->reg_state == NETREG_UNREGISTERING) { in flush_backlog()
5700 if (skb->dev->reg_state == NETREG_UNREGISTERING) { in flush_backlog()
9928 BUG_ON(dev->reg_state != NETREG_UNINITIALIZED); in register_netdevice()
10021 dev->reg_state = NETREG_UNREGISTERED; in register_netdevice()
10024 dev->reg_state = NETREG_REGISTERED; in register_netdevice()
10102 dev->reg_state = NETREG_DUMMY; in init_dummy_netdev()
10284 if (unlikely(dev->reg_state != NETREG_UNREGISTERING)) { in netdev_run_todo()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/
H A Dintel_lrc_reg.h32 #define ASSIGN_CTX_PDP(ppgtt, reg_state, n) do { \ argument
33 u32 *reg_state__ = (reg_state); \
39 #define ASSIGN_CTX_PML4(ppgtt, reg_state) do { \ argument
40 u32 *reg_state__ = (reg_state); \
/OK3568_Linux_fs/kernel/drivers/infiniband/ulp/ipoib/
H 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_ads.c61 struct guc_mmio_reg_state reg_state; member
122 blob->ads.reg_state_addr = base + ptr_offset(blob, reg_state); in __guc_ads_init()
/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Droce_gid_mgmt.c343 if (ndev->reg_state >= NETREG_UNREGISTERING) in enum_netdev_ipv4_ips()
388 if (ndev->reg_state >= NETREG_UNREGISTERING) in enum_netdev_ipv6_ips()
769 if (ndev->reg_state < NETREG_UNREGISTERED) in netdevice_event()
777 if (ndev->reg_state == NETREG_REGISTERED) { in netdevice_event()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gvt/
H A Dscheduler.c81 u32 *reg_state, bool save) in sr_oa_regs() argument
101 workload->oactxctrl = reg_state[ctx_oactxctrl + 1]; in sr_oa_regs()
106 workload->flex_mmio[i] = reg_state[state_offset + 1]; in sr_oa_regs()
109 reg_state[ctx_oactxctrl] = in sr_oa_regs()
111 reg_state[ctx_oactxctrl + 1] = workload->oactxctrl; in sr_oa_regs()
117 reg_state[state_offset] = mmio; in sr_oa_regs()
118 reg_state[state_offset + 1] = workload->flex_mmio[i]; in sr_oa_regs()
H A Dmmio_context.c458 const u32 *reg_state = ce->lrc_reg_state; in is_inhibit_context() local
463 (reg_state[CTX_CONTEXT_CONTROL_VAL] & inhibit_mask); in is_inhibit_context()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A Dipoib_tx.c101 if (unlikely(dev->reg_state != NETREG_REGISTERED)) in hfi1_ipoib_check_queue_stopped()
628 if (likely(txq->priv->netdev->reg_state == NETREG_REGISTERED)) { in hfi1_ipoib_sdma_sleep()
662 if (likely(txq->priv->netdev->reg_state == NETREG_REGISTERED)) in hfi1_ipoib_sdma_wakeup()
675 if (likely(dev->reg_state == NETREG_REGISTERED) && in hfi1_ipoib_flush_txq()
/OK3568_Linux_fs/kernel/net/phonet/
H A Dpn_dev.c120 if ((dev->reg_state == NETREG_REGISTERED) && in phonet_device_get()
216 if ((pnd->netdev->reg_state != NETREG_REGISTERED) || in phonet_address_lookup()
/OK3568_Linux_fs/kernel/net/openvswitch/
H A Dvport-netdev.c176 if (vport->dev->reg_state == NETREG_REGISTERED) in ovs_netdev_tunnel_destroy()
/OK3568_Linux_fs/kernel/include/net/
H A Dxdp.h60 u32 reg_state; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/
H A Dice_arfs.c585 netdev->reg_state != NETREG_REGISTERED) in ice_free_cpu_rx_rmap()
608 vsi->netdev->reg_state != NETREG_REGISTERED) in ice_set_cpu_rx_rmap()
/OK3568_Linux_fs/kernel/drivers/iio/light/
H A Dstk3310.c111 struct regmap_field *reg_state; member
430 ret = regmap_field_write(data->reg_state, state); in stk3310_set_state()
/OK3568_Linux_fs/kernel/net/ethtool/
H A Dnetlink.h252 if (dev && dev->reg_state == NETREG_UNREGISTERING) in ethnl_ops_begin()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/
H A Daq_pci_func.c356 if (self->ndev->reg_state == NETREG_REGISTERED) in aq_pci_remove()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8712/
H A Dusb_intf.c599 if (pnetdev->reg_state != NETREG_UNINITIALIZED) in r871xu_dev_remove()
/OK3568_Linux_fs/kernel/net/bridge/
H A Dbr_device.c248 if (dev->reg_state != NETREG_REGISTERED) in br_set_mac_address()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlinux/
H A Dmoal_uap_cfg80211.c1431 if (ndev->reg_state == NETREG_REGISTERED) { in woal_cfg80211_add_virt_if()
1601 if (dev->reg_state == NETREG_REGISTERED) in woal_cfg80211_del_virt_if()
1641 if (priv->netdev->reg_state == in woal_remove_virtual_interface()
1652 if (handle->mon_if->mon_ndev->reg_state == NETREG_REGISTERED) in woal_remove_virtual_interface()
/OK3568_Linux_fs/kernel/net/8021q/
H A Dvlan_core.c362 if (err && dev->reg_state != NETREG_UNREGISTERING) in __vlan_vid_del()
H A Dvlan.c474 if (dev->reg_state != NETREG_UNREGISTERING) in vlan_device_event()
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dverifier.c2550 struct bpf_func_state *reg_state, in check_stack_read_fixed_off() argument
2559 stype = reg_state->stack[spi].slot_type; in check_stack_read_fixed_off()
2560 reg = &reg_state->stack[spi].spilled_ptr; in check_stack_read_fixed_off()
2618 mark_reg_stack_read(env, reg_state, off, off + size, dst_regno); in check_stack_read_fixed_off()
2634 static struct bpf_reg_state *reg_state(struct bpf_verifier_env *env, int regno) in reg_state() function
2656 struct bpf_reg_state *reg = reg_state(env, ptr_regno); in check_stack_read_var_off()
2687 struct bpf_reg_state *reg = reg_state(env, ptr_regno); in check_stack_read()
2748 struct bpf_reg_state *reg = reg_state(env, ptr_regno); in check_stack_write()
3097 return __is_pointer_value(env->allow_ptr_leaks, reg_state(env, regno)); in is_pointer_value()
3102 const struct bpf_reg_state *reg = reg_state(env, regno); in is_ctx_reg()
[all …]
/OK3568_Linux_fs/kernel/net/sched/
H A Dsch_generic.c516 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_on()
535 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_off()
/OK3568_Linux_fs/kernel/drivers/net/bonding/
H A Dbond_options.c704 if (!ret && (bond->dev->reg_state == NETREG_REGISTERED)) in __bond_opt_set_notify()
783 if (bond->dev->reg_state == NETREG_REGISTERED) in bond_option_mode_set()
/OK3568_Linux_fs/kernel/drivers/net/wimax/i2400m/
H A Ddriver.c821 if (net_dev->reg_state == NETREG_REGISTERED) { in i2400m_reset()

123