Home
last modified time | relevance | path

Searched refs:reg_state (Results 1 – 25 of 75) 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.c113 WARN_ON(ppriv->dev->reg_state != NETREG_REGISTERED); in __ipoib_vlan_add()
180 if (pdev->reg_state != NETREG_REGISTERED) { in ipoib_vlan_add()
205 if (result && ndev->reg_state == NETREG_UNINITIALIZED) in ipoib_vlan_add()
238 if (dev->reg_state == NETREG_REGISTERED) { in ipoib_vlan_delete_task()
262 if (pdev->reg_state != NETREG_REGISTERED) { in ipoib_vlan_delete()
/linux/net/core/
A Dxdp.c138 if (xdp_rxq->reg_state != REG_STATE_REGISTERED) { in xdp_rxq_info_unreg_mem_model()
150 if (xdp_rxq->reg_state == REG_STATE_UNUSED) in xdp_rxq_info_unreg()
155 xdp_rxq->reg_state = REG_STATE_UNREGISTERED; in xdp_rxq_info_unreg()
175 if (xdp_rxq->reg_state == REG_STATE_UNUSED) { in __xdp_rxq_info_reg()
180 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()
812 if (dev->reg_state == NETREG_REGISTERED) in xdp_set_features_flag()
A Ddev.c2940 if (dev->reg_state == NETREG_REGISTERED || in netif_set_real_num_tx_queues()
2941 dev->reg_state == NETREG_UNREGISTERING) { in netif_set_real_num_tx_queues()
2989 if (dev->reg_state == NETREG_REGISTERED) { in netif_set_real_num_rx_queues()
6630 if (dev->reg_state >= NETREG_REGISTERED) in netif_queue_set_napi()
10573 dev->reg_state = NETREG_DUMMY; in init_dummy_netdev_core()
11060 WARN_ON(dev->reg_state == NETREG_REGISTERED); in netdev_sw_irq_coalesce_default_on()
11218 if (dev->reg_state == NETREG_UNREGISTERING) { in free_netdev()
11249 if (dev->reg_state == NETREG_UNINITIALIZED || in free_netdev()
11250 dev->reg_state == NETREG_DUMMY) { in free_netdev()
11256 WRITE_ONCE(dev->reg_state, NETREG_RELEASED); in free_netdev()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
A Dreg_bounds.c639 struct reg_state { struct
726 static void reg_state_cond(enum num_t t, struct reg_state *x, struct reg_state *y, enum op op, in reg_state_cond()
727 struct reg_state *newx, struct reg_state *newy, const char *ctx) in reg_state_cond()
770 static int reg_state_branch_taken_op(enum num_t t, struct reg_state *x, struct reg_state *y, in reg_state_branch_taken_op()
1142 struct reg_state *false1_reg, struct reg_state *false2_reg, in parse_range_cmp_log()
1143 struct reg_state *true1_reg, struct reg_state *true2_reg) in parse_range_cmp_log()
1149 struct reg_state *state; in parse_range_cmp_log()
1201 static bool assert_reg_state_eq(struct reg_state *r, struct reg_state *e, const char *ctx) in assert_reg_state_eq()
1249 struct reg_state *fr1, struct reg_state *fr2, in sim_case()
1250 struct reg_state *tr1, struct reg_state *tr2, in sim_case()
[all …]
/linux/drivers/net/can/rockchip/
A Drockchip_canfd-core.c166 u32 reg_state; in rkcanfd_get_berr_counter_corrected() local
196 reg_state = rkcanfd_read(priv, RKCANFD_REG_STATE); in rkcanfd_get_berr_counter_corrected()
201 !!(reg_state & RKCANFD_REG_STATE_BUS_OFF_STATE), in rkcanfd_get_berr_counter_corrected()
202 !!(reg_state & RKCANFD_REG_STATE_ERROR_WARNING_STATE)); in rkcanfd_get_berr_counter_corrected()
404 u32 reg_state, reg_cmd; in rkcanfd_handle_error_int_reg_ec() local
408 reg_state = rkcanfd_read(priv, RKCANFD_REG_STATE); in rkcanfd_handle_error_int_reg_ec()
440 !!(reg_state & RKCANFD_REG_STATE_RX_PERIOD), in rkcanfd_handle_error_int_reg_ec()
441 !!(reg_state & RKCANFD_REG_STATE_TX_PERIOD), in rkcanfd_handle_error_int_reg_ec()
442 !!(reg_state & RKCANFD_REG_STATE_ERROR_WARNING_STATE), in rkcanfd_handle_error_int_reg_ec()
443 !!(reg_state & RKCANFD_REG_STATE_BUS_OFF_STATE)); in rkcanfd_handle_error_int_reg_ec()
/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()
769 if (ndev->reg_state < NETREG_UNREGISTERED) in netdevice_event()
777 if (ndev->reg_state == NETREG_REGISTERED) { in netdevice_event()
/linux/drivers/gpu/drm/i915/gvt/
A Dscheduler.c85 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()
A Dmmio_context.c472 const u32 *reg_state = ce->lrc_reg_state; in is_inhibit_context() local
477 (reg_state[CTX_CONTEXT_CONTROL_VAL] & inhibit_mask); in is_inhibit_context()
/linux/drivers/gpu/drm/amd/amdgpu/
A Dsoc15.h125 enum amdgpu_reg_state reg_state, void *buf,
A Daqua_vanjaram.c1035 int reg_state) in aqua_vanjaram_read_usr_state() argument
1049 switch (reg_state) { in aqua_vanjaram_read_usr_state()
1103 enum amdgpu_reg_state reg_state, void *buf, in aqua_vanjaram_get_reg_state() argument
1108 switch (reg_state) { in aqua_vanjaram_get_reg_state()
/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()
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/
A Dvport-netdev.c181 if (vport->dev->reg_state == NETREG_REGISTERED) in ovs_netdev_tunnel_destroy()
/linux/net/caif/
A Dcaif_usb.c138 if (what == NETDEV_UNREGISTER && dev->reg_state >= NETREG_UNREGISTERED) in cfusbl_device_notify()
/linux/drivers/net/ethernet/intel/idpf/
A Didpf_main.c51 if (adapter->netdevs[i]->reg_state != NETREG_UNINITIALIZED) in idpf_remove()
/linux/drivers/iio/light/
A Dstk3310.c125 struct regmap_field *reg_state; member
474 ret = regmap_field_write(data->reg_state, state); in stk3310_set_state()
/linux/Documentation/networking/net_cachelines/
A Dnet_device.rst131 enum:8 reg_state
/linux/net/sched/
A Dsch_generic.c589 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_on()
608 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_off()
626 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_event()
/linux/net/can/
A Draw.c591 if (dev->reg_state != NETREG_REGISTERED) { in raw_setsockopt()
651 if (dev->reg_state != NETREG_REGISTERED) { in raw_setsockopt()
/linux/drivers/net/ethernet/aquantia/atlantic/
A Daq_pci_func.c347 if (self->ndev->reg_state == NETREG_REGISTERED) in aq_pci_remove()
/linux/include/net/
A Dxdp.h63 u32 reg_state; member
/linux/include/linux/
A Dnetdevice.h2294 u8 reg_state; member
2414 WARN_ON((dev)->reg_state != NETREG_UNINITIALIZED); \
5209 u8 reg_state = READ_ONCE(dev->reg_state); in netdev_reg_state() local
5211 switch (reg_state) { in netdev_reg_state()
5220 WARN_ONCE(1, "%s: unknown reg_state %d\n", dev->name, reg_state); in netdev_reg_state()
/linux/drivers/staging/rtl8712/
A Dusb_intf.c595 if (pnetdev->reg_state != NETREG_UNINITIALIZED) in r871xu_dev_remove()
/linux/net/8021q/
A Dvlan_core.c363 if (err && dev->reg_state != NETREG_UNREGISTERING) in __vlan_vid_del()

Completed in 87 milliseconds

123