| /linux/drivers/gpu/drm/amd/display/dc/hubp/dcn30/ |
| H A D | dcn30_hubp.c | 479 void hubp3_read_reg_state(struct hubp *hubp, struct dcn_hubp_reg_state *reg_state) in hubp3_read_reg_state() argument 483 reg_state->hubp_cntl = REG_READ(DCHUBP_CNTL); in hubp3_read_reg_state() 484 reg_state->mall_config = REG_READ(DCHUBP_MALL_CONFIG); in hubp3_read_reg_state() 485 reg_state->mall_sub_vp = REG_READ(DCHUBP_MALL_SUB_VP); in hubp3_read_reg_state() 486 reg_state->hubp_req_size_config = REG_READ(DCHUBP_REQ_SIZE_CONFIG); in hubp3_read_reg_state() 487 reg_state->hubp_req_size_config_c = REG_READ(DCHUBP_REQ_SIZE_CONFIG_C); in hubp3_read_reg_state() 488 reg_state->vmpg_config = REG_READ(DCHUBP_VMPG_CONFIG); in hubp3_read_reg_state() 489 reg_state->addr_config = REG_READ(DCSURF_ADDR_CONFIG); in hubp3_read_reg_state() 490 reg_state->pri_viewport_dimension = REG_READ(DCSURF_PRI_VIEWPORT_DIMENSION); in hubp3_read_reg_state() 491 reg_state->pri_viewport_dimension_c = REG_READ(DCSURF_PRI_VIEWPORT_DIMENSION_C); in hubp3_read_reg_state() [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A 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/include/net/ |
| H A D | netdev_lock.h | 23 if (dev->reg_state == NETREG_REGISTERED || in netdev_assert_locked_or_invisible() 24 dev->reg_state == NETREG_UNREGISTERING) in netdev_assert_locked_or_invisible() 78 if (dev->reg_state == NETREG_REGISTERED || in netdev_ops_assert_locked_or_invisible() 79 dev->reg_state == NETREG_UNREGISTERING) in netdev_ops_assert_locked_or_invisible()
|
| /linux/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib_vlan.c | 114 WARN_ON(ppriv->dev->reg_state != NETREG_REGISTERED); in __ipoib_vlan_add() 181 if (pdev->reg_state != NETREG_REGISTERED) { in ipoib_vlan_add() 206 if (result && ndev->reg_state == NETREG_UNINITIALIZED) in ipoib_vlan_add() 239 if (dev->reg_state == NETREG_REGISTERED) { in ipoib_vlan_delete_task() 263 if (pdev->reg_state != NETREG_REGISTERED) { in ipoib_vlan_delete()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | reg_bounds.c | 653 struct reg_state { struct 658 static void print_reg_state(struct reg_state *r, const char *sfx) in print_reg_state() argument 691 static void reg_state_refine(struct reg_state *r, enum num_t t, struct range x, const char *ctx) in reg_state_refine() 709 /* now see if we can derive anything new from updated reg_state's ranges */ in reg_state_refine() 729 static void reg_state_set_const(struct reg_state *rs, enum num_t t, u64 val) in reg_state_set_const() 740 static void reg_state_cond(enum num_t t, struct reg_state *x, struct reg_state *y, enum op op, in reg_state_cond() 741 struct reg_state *newx, struct reg_state *newy, const char *ctx) in reg_state_cond() 745 struct reg_state x in reg_state_cond() [all...] |
| /linux/net/core/ |
| H A 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() 192 xdp_rxq->reg_state = REG_STATE_REGISTERED; in __xdp_rxq_info_reg() 199 xdp_rxq->reg_state = REG_STATE_UNUSED; in xdp_rxq_info_unused() 205 return (xdp_rxq->reg_state == REG_STATE_REGISTERED); in xdp_rxq_info_is_reg() 352 if (xdp_rxq->reg_state != REG_STATE_REGISTERED) { in xdp_rxq_info_reg_mem_model() 1008 if (dev->reg_state == NETREG_REGISTERED) in xdp_set_features_flag_locked()
|
| H A D | link_watch.c | 51 if (dev->reg_state <= NETREG_REGISTERED) in default_operstate()
|
| H A D | dev.c | 843 if (!napi || READ_ONCE(napi->dev->reg_state) != NETREG_REGISTERED) { in netdev_napi_by_id_lock() 1066 if (dev->reg_state > NETREG_REGISTERED || in __netdev_put_lock() 1080 if (dev->reg_state > NETREG_REGISTERED || in __netdev_put_lock_ops_compat() 3199 if (dev->reg_state == NETREG_REGISTERED || in netif_set_real_num_tx_queues() 3200 dev->reg_state == NETREG_UNREGISTERING) { in netif_set_real_num_tx_queues() 3249 if (dev->reg_state == NETREG_REGISTERED) { in netif_set_real_num_rx_queues() 6459 if (READ_ONCE(skb->dev->reg_state) == NETREG_UNREGISTERING) { in flush_backlog() 6469 if (READ_ONCE(skb->dev->reg_state) == NETREG_UNREGISTERING) { in flush_backlog() 11310 BUG_ON(dev->reg_state != NETREG_UNINITIALIZED); in register_netdevice() 11414 WRITE_ONCE(dev->reg_state, ret ? NETREG_UNREGISTERED : NETREG_REGISTERED); in register_netdevice() [all …]
|
| /linux/drivers/infiniband/core/ |
| H A 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() 790 if (ndev->reg_state < NETREG_UNREGISTERED) in netdevice_event() 798 if (ndev->reg_state == NETREG_REGISTERED) { in netdevice_event()
|
| /linux/net/phonet/ |
| H A D | pn_dev.c | 126 if ((dev->reg_state == NETREG_REGISTERED) && in phonet_device_get() 226 if ((pnd->netdev->reg_state != NETREG_REGISTERED) || in phonet_address_lookup()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A 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/net/openvswitch/ |
| H A D | vport-netdev.c | 190 if (vport->dev->reg_state == NETREG_REGISTERED) in ovs_netdev_tunnel_destroy()
|
| /linux/net/caif/ |
| H A D | caif_usb.c | 138 if (what == NETDEV_UNREGISTER && dev->reg_state >= NETREG_UNREGISTERED) in cfusbl_device_notify()
|
| /linux/drivers/net/netdevsim/ |
| H A D | udp_tunnels.c | 110 if (dev->reg_state == NETREG_REGISTERED) { in nsim_udp_tunnels_info_reset_write()
|
| /linux/Documentation/networking/net_cachelines/ |
| H A D | net_device.rst | 134 enum:8 reg_state
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_main.c | 130 if (adapter->netdevs[i]->reg_state != NETREG_UNINITIALIZED) in idpf_remove()
|
| /linux/net/sched/ |
| H A D | sch_generic.c | 588 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_on() 607 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_off() 625 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_event()
|
| /linux/net/can/ |
| H A D | raw.c | 596 if (dev->reg_state != NETREG_REGISTERED) { in raw_setsockopt() 656 if (dev->reg_state != NETREG_REGISTERED) { in raw_setsockopt()
|
| /linux/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_pci_func.c | 347 if (self->ndev->reg_state == NETREG_REGISTERED) in aq_pci_remove()
|
| /linux/kernel/bpf/ |
| H A D | verifier.c | 5478 struct bpf_func_state *reg_state, in check_stack_read_fixed_off() argument 5486 int insn_flags = insn_stack_access_flags(reg_state->frameno, spi); in check_stack_read_fixed_off() 5489 stype = reg_state->stack[spi].slot_type; in check_stack_read_fixed_off() 5490 reg = ®_state->stack[spi].spilled_ptr; in check_stack_read_fixed_off() 5494 err = bpf_mark_stack_read(env, reg_state->frameno, env->insn_idx, BIT(spi)); in check_stack_read_fixed_off() 5498 if (is_spilled_reg(®_state->stack[spi])) { in check_stack_read_fixed_off() 5607 mark_reg_stack_read(env, reg_state, off, off + size, dst_regno); in check_stack_read_fixed_off() 5626 static struct bpf_reg_state *reg_state(struct bpf_verifier_env *env, int regno) in reg_state() function 5648 struct bpf_reg_state *reg = reg_state(env, ptr_regno); in check_stack_read_var_off() 5680 struct bpf_reg_state *reg = reg_state(env, ptr_regno); in check_stack_read() [all …]
|
| /linux/include/linux/ |
| H A D | netdevice.h | 2391 u8 reg_state; member 2593 WARN_ON((dev)->reg_state != NETREG_UNINITIALIZED); \ 5565 u8 reg_state = READ_ONCE(dev->reg_state); in netdev_reg_state() local 5567 switch (reg_state) { in netdev_reg_state() 5576 WARN_ONCE(1, "%s: unknown reg_state %d\n", dev->name, reg_state); in netdev_reg_state()
|
| /linux/net/bridge/ |
| H A D | br_device.c | 232 if (dev->reg_state != NETREG_REGISTERED) in br_set_mac_address()
|
| /linux/net/8021q/ |
| H A D | vlan_core.c | 363 if (err && dev->reg_state != NETREG_UNREGISTERING) in __vlan_vid_del()
|
| H A D | vlan.c | 502 if (dev->reg_state != NETREG_UNREGISTERING) in vlan_device_event()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_devlink.c | 446 if (bp->dev->reg_state == NETREG_UNREGISTERED) { in bnxt_dl_reload_down() 482 if (bp->dev->reg_state == NETREG_UNREGISTERED) { in bnxt_dl_reload_down()
|