/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_lrc_reg.h | 33 #define ASSIGN_CTX_PDP(ppgtt, reg_state, n) do { \ 34 u32 *reg_state__ = (reg_state); \ 40 #define ASSIGN_CTX_PML4(ppgtt, reg_state) do { \ 41 u32 *reg_state__ = (reg_state); \
|
/linux-master/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_vlan.c | 90 * If (ndev->reg_state == NETREG_UNINITIALIZED) then it is up to the caller to 113 WARN_ON(ppriv->dev->reg_state != NETREG_REGISTERED); 180 if (pdev->reg_state != NETREG_REGISTERED) { 201 if (result && ndev->reg_state == NETREG_UNINITIALIZED) 234 if (dev->reg_state == NETREG_REGISTERED) { 258 if (pdev->reg_state != NETREG_REGISTERED) {
|
/linux-master/net/core/ |
H A D | xdp.c | 140 if (xdp_rxq->reg_state != REG_STATE_REGISTERED) { 152 if (xdp_rxq->reg_state == REG_STATE_UNUSED) 157 xdp_rxq->reg_state = REG_STATE_UNREGISTERED; 177 if (xdp_rxq->reg_state == REG_STATE_UNUSED) { 182 if (xdp_rxq->reg_state == REG_STATE_REGISTERED) { 194 xdp_rxq->reg_state = REG_STATE_REGISTERED; 201 xdp_rxq->reg_state = REG_STATE_UNUSED; 207 return (xdp_rxq->reg_state == REG_STATE_REGISTERED); 356 if (xdp_rxq->reg_state != REG_STATE_REGISTERED) { 816 if (dev->reg_state [all...] |
H A D | dev.c | 2889 if (dev->reg_state == NETREG_REGISTERED || 2890 dev->reg_state == NETREG_UNREGISTERING) { 2938 if (dev->reg_state == NETREG_REGISTERED) { 5849 if (skb->dev->reg_state == NETREG_UNREGISTERING) { 5858 if (skb->dev->reg_state == NETREG_UNREGISTERING) { 6489 if (dev->reg_state >= NETREG_REGISTERED) 10189 BUG_ON(dev->reg_state != NETREG_UNINITIALIZED); 10285 WRITE_ONCE(dev->reg_state, ret ? NETREG_UNREGISTERED : NETREG_REGISTERED); 10374 dev->reg_state = NETREG_DUMMY; 10569 if (unlikely(dev->reg_state ! [all...] |
H A D | net-sysfs.c | 41 return READ_ONCE(dev->reg_state) <= NETREG_REGISTERED; 1834 WARN(dev->reg_state == NETREG_UNREGISTERING && new_num > old_num, 2025 BUG_ON(dev->reg_state != NETREG_RELEASED);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | reg_bounds.c | 626 struct reg_state { struct 631 static void print_reg_state(struct reg_state *r, const char *sfx) 664 static void reg_state_refine(struct reg_state *r, enum num_t t, struct range x, const char *ctx) 682 /* now see if we can derive anything new from updated reg_state's ranges */ 702 static void reg_state_set_const(struct reg_state *rs, enum num_t t, u64 val) 713 static void reg_state_cond(enum num_t t, struct reg_state *x, struct reg_state *y, enum op op, 714 struct reg_state *newx, struct reg_state *newy, const char *ctx) 718 struct reg_state x [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | soc15.h | 119 enum amdgpu_reg_state reg_state, void *buf,
|
H A D | aqua_vanjaram.c | 983 int reg_state) 997 switch (reg_state) { 1051 enum amdgpu_reg_state reg_state, void *buf, 1056 switch (reg_state) { 981 aqua_vanjaram_read_usr_state(struct amdgpu_device *adev, void *buf, size_t max_size, int reg_state) argument 1050 aqua_vanjaram_get_reg_state(struct amdgpu_device *adev, enum amdgpu_reg_state reg_state, void *buf, size_t max_size) argument
|
/linux-master/drivers/infiniband/core/ |
H A D | roce_gid_mgmt.c | 344 if (ndev->reg_state >= NETREG_UNREGISTERING) 389 if (ndev->reg_state >= NETREG_UNREGISTERING) 770 if (ndev->reg_state < NETREG_UNREGISTERED) 778 if (ndev->reg_state == NETREG_REGISTERED) {
|
/linux-master/net/phonet/ |
H A D | pn_dev.c | 120 if ((dev->reg_state == NETREG_REGISTERED) && 215 if ((pnd->netdev->reg_state != NETREG_REGISTERED) ||
|
/linux-master/net/openvswitch/ |
H A D | vport-netdev.c | 174 if (vport->dev->reg_state == NETREG_REGISTERED)
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | ipoib_tx.c | 94 if (unlikely(dev->reg_state != NETREG_REGISTERED)) 624 if (likely(txq->priv->netdev->reg_state == NETREG_REGISTERED)) { 664 if (likely(txq->priv->netdev->reg_state == NETREG_REGISTERED)) 677 if (likely(dev->reg_state == NETREG_REGISTERED) &&
|
/linux-master/net/caif/ |
H A D | caif_usb.c | 138 if (what == NETDEV_UNREGISTER && dev->reg_state >= NETREG_UNREGISTERED)
|
/linux-master/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_main.c | 50 if (adapter->netdevs[i]->reg_state != NETREG_UNINITIALIZED)
|
/linux-master/drivers/gpu/drm/i915/gvt/ |
H A D | scheduler.c | 85 u32 *reg_state, bool save) 105 workload->oactxctrl = reg_state[ctx_oactxctrl + 1]; 110 workload->flex_mmio[i] = reg_state[state_offset + 1]; 113 reg_state[ctx_oactxctrl] = 115 reg_state[ctx_oactxctrl + 1] = workload->oactxctrl; 121 reg_state[state_offset] = mmio; 122 reg_state[state_offset + 1] = workload->flex_mmio[i]; 84 sr_oa_regs(struct intel_vgpu_workload *workload, u32 *reg_state, bool save) argument
|
H A D | mmio_context.c | 472 const u32 *reg_state = ce->lrc_reg_state; local 477 (reg_state[CTX_CONTEXT_CONTROL_VAL] & inhibit_mask);
|
/linux-master/drivers/iio/light/ |
H A D | stk3310.c | 112 struct regmap_field *reg_state; member in struct:stk3310_data 451 ret = regmap_field_write(data->reg_state, state);
|
/linux-master/net/sched/ |
H A D | sch_generic.c | 580 if (dev->reg_state == NETREG_UNINITIALIZED) 599 if (dev->reg_state == NETREG_UNINITIALIZED) 617 if (dev->reg_state == NETREG_UNINITIALIZED)
|
/linux-master/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_pci_func.c | 350 if (self->ndev->reg_state == NETREG_REGISTERED)
|
/linux-master/net/8021q/ |
H A D | vlan_core.c | 363 if (err && dev->reg_state != NETREG_UNREGISTERING)
|
H A D | vlan.c | 476 if (dev->reg_state != NETREG_UNREGISTERING)
|
/linux-master/include/net/ |
H A D | xdp.h | 63 u32 reg_state; member in struct:xdp_rxq_info
|
/linux-master/net/can/ |
H A D | raw.c | 591 if (dev->reg_state != NETREG_REGISTERED) { 651 if (dev->reg_state != NETREG_REGISTERED) {
|
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | net_driver.h | 906 return efx->net_dev->reg_state == NETREG_REGISTERED;
|
/linux-master/drivers/staging/rtl8712/ |
H A D | usb_intf.c | 595 if (pnetdev->reg_state != NETREG_UNINITIALIZED)
|