Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_lrc.c193 #define ASSIGN_CTX_PDP(ppgtt, reg_state, n) { \ argument
195 reg_state[CTX_PDP ## n ## _UDW+1] = upper_32_bits(_addr); \
196 reg_state[CTX_PDP ## n ## _LDW+1] = lower_32_bits(_addr); \
199 #define ASSIGN_CTX_PML4(ppgtt, reg_state) { \ argument
200 reg_state[CTX_PDP0_UDW + 1] = upper_32_bits(px_dma(&ppgtt->pml4)); \
201 reg_state[CTX_PDP0_LDW + 1] = lower_32_bits(px_dma(&ppgtt->pml4)); \
364 uint32_t *reg_state; in execlists_update_context() local
371 reg_state = kmap_atomic(page); in execlists_update_context()
373 reg_state[CTX_RING_TAIL+1] = rq->tail; in execlists_update_context()
374 reg_state[CTX_RING_BUFFER_START+1] = i915_gem_obj_ggtt_offset(rb_obj); in execlists_update_context()
[all …]
Di915_guc_submission.c574 uint32_t *reg_state; in lr_context_update() local
581 reg_state = kmap_atomic(page); in lr_context_update()
583 reg_state[CTX_RING_BUFFER_START+1] = i915_gem_obj_ggtt_offset(rb_obj); in lr_context_update()
585 kunmap_atomic(reg_state); in lr_context_update()
Di915_debugfs.c1976 uint32_t *reg_state; in i915_dump_lrc_obj() local
2001 reg_state = kmap_atomic(page); in i915_dump_lrc_obj()
2006 reg_state[j], reg_state[j + 1], in i915_dump_lrc_obj()
2007 reg_state[j + 2], reg_state[j + 3]); in i915_dump_lrc_obj()
2009 kunmap_atomic(reg_state); in i915_dump_lrc_obj()
/linux-4.4.14/kernel/bpf/
Dverifier.c141 struct reg_state { struct
166 struct reg_state regs[MAX_BPF_REG]; argument
168 struct reg_state spilled_regs[MAX_BPF_STACK / BPF_REG_SIZE];
463 static void init_reg_state(struct reg_state *regs) in init_reg_state()
480 static void mark_reg_unknown_value(struct reg_state *regs, u32 regno) in mark_reg_unknown_value()
494 static int check_reg_arg(struct reg_state *regs, u32 regno, in check_reg_arg()
578 (struct reg_state) {}; in check_stack_write()
738 struct reg_state *regs = env->cur_state.regs; in check_xadd()
776 struct reg_state *regs = state->regs; in check_stack_boundary()
803 struct reg_state *reg = env->cur_state.regs + regno; in check_func_arg()
[all …]
/linux-4.4.14/drivers/infiniband/core/
Ddevice.c244 WARN_ON(device->reg_state != IB_DEV_UNREGISTERED && in ib_dealloc_device()
245 device->reg_state != IB_DEV_UNINITIALIZED); in ib_dealloc_device()
363 device->reg_state = IB_DEV_REGISTERED; in ib_register_device()
418 device->reg_state = IB_DEV_UNREGISTERED; in ib_unregister_device()
723 idev->reg_state >= NETREG_UNREGISTERED) { in ib_enum_roce_netdev()
Droce_gid_mgmt.c261 if (ndev->reg_state >= NETREG_UNREGISTERING) in enum_netdev_ipv4_ips()
307 if (ndev->reg_state >= NETREG_UNREGISTERING) in enum_netdev_ipv6_ips()
597 if (ndev->reg_state < NETREG_UNREGISTERED) in netdevice_event()
/linux-4.4.14/net/phonet/
Dpn_dev.c135 if ((dev->reg_state == NETREG_REGISTERED) && in phonet_device_get()
231 if ((pnd->netdev->reg_state != NETREG_REGISTERED) || in phonet_address_lookup()
/linux-4.4.14/net/openvswitch/
Dvport-netdev.c187 if (vport->dev->reg_state == NETREG_REGISTERED) in ovs_netdev_tunnel_destroy()
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_rma.c167 window->reg_state = OP_IDLE; in scif_create_window()
971 window->reg_state = OP_IN_PROGRESS; in scif_send_scif_register()
978 window->reg_state != in scif_send_scif_register()
984 if (window->reg_state == OP_FAILED) in scif_send_scif_register()
1262 window->reg_state = OP_COMPLETED; in scif_recv_reg_ack()
1281 window->reg_state = OP_FAILED; in scif_recv_reg_nack()
Dscif_rma.h265 enum scif_msg_state reg_state; member
/linux-4.4.14/net/core/
Ddev.c2167 if (dev->reg_state == NETREG_REGISTERED || in netif_set_real_num_tx_queues()
2168 dev->reg_state == NETREG_UNREGISTERING) { in netif_set_real_num_tx_queues()
2210 if (dev->reg_state == NETREG_REGISTERED) { in netif_set_real_num_rx_queues()
6220 if (dev->reg_state == NETREG_UNINITIALIZED) { in rollback_registered_many()
6229 BUG_ON(dev->reg_state != NETREG_REGISTERED); in rollback_registered_many()
6241 dev->reg_state = NETREG_UNREGISTERING; in rollback_registered_many()
6629 BUG_ON(dev->reg_state != NETREG_UNINITIALIZED); in register_netdevice()
6695 dev->reg_state = NETREG_REGISTERED; in register_netdevice()
6725 dev->reg_state = NETREG_UNREGISTERED; in register_netdevice()
6767 dev->reg_state = NETREG_DUMMY; in init_dummy_netdev()
[all …]
Dnet-sysfs.c39 return dev->reg_state <= NETREG_REGISTERED; in dev_isalive()
1447 BUG_ON(dev->reg_state != NETREG_RELEASED); in netdev_release()
Drtnetlink.c2373 if (dev->reg_state == NETREG_UNINITIALIZED) in rtnl_newlink()
2556 if (dev->reg_state != NETREG_REGISTERED) in rtmsg_ifinfo()
/linux-4.4.14/drivers/iio/light/
Dstk3310.c113 struct regmap_field *reg_state; member
433 ret = regmap_field_write(data->reg_state, state); in stk3310_set_state()
/linux-4.4.14/net/sched/
Dsch_generic.c353 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_on()
372 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_off()
/linux-4.4.14/drivers/net/hyperv/
Dnetvsc_drv.c671 if (!net || net->reg_state != NETREG_REGISTERED) in netvsc_linkstatus_callback()
697 if (!net || net->reg_state != NETREG_REGISTERED) { in netvsc_recv_callback()
/linux-4.4.14/drivers/net/wimax/i2400m/
Ddriver.c839 if (net_dev->reg_state == NETREG_REGISTERED) { in i2400m_reset()
/linux-4.4.14/net/8021q/
Dvlan.c459 if (dev->reg_state != NETREG_UNREGISTERING) in vlan_device_event()
/linux-4.4.14/drivers/net/ipvlan/
Dipvlan_main.c577 if (dev->reg_state != NETREG_UNREGISTERING) in ipvlan_device_event()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dnet_driver.h1067 return efx->net_dev->reg_state == NETREG_REGISTERED; in efx_dev_registered()
/linux-4.4.14/include/linux/
Dnetdevice.h1745 } reg_state:8; member
3910 switch (dev->reg_state) { in netdev_reg_state()
3919 WARN_ONCE(1, "%s: unknown reg_state %d\n", dev->name, dev->reg_state); in netdev_reg_state()
/linux-4.4.14/drivers/net/wireless/libertas/
Dmain.c1149 if (dev->reg_state != NETREG_REGISTERED) in lbs_stop_card()
/linux-4.4.14/drivers/net/
Dtun.c547 tun->dev->reg_state == NETREG_REGISTERED) in __tun_detach()
1049 if (tun->dev->reg_state != NETREG_REGISTERED) in tun_chr_poll()
Dmacvlan.c1557 if (dev->reg_state != NETREG_UNREGISTERING) in macvlan_device_event()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dcore.c732 if (ndev->reg_state == NETREG_REGISTERED) in brcmf_net_detach()
/linux-4.4.14/drivers/net/bonding/
Dbond_options.c675 else if (bond->dev->reg_state == NETREG_REGISTERED) in __bond_opt_set()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c1911 if (interface->netdev->reg_state != NETREG_UNINITIALIZED) { in fm10k_init_reta()
Dfm10k_pci.c2004 if (netdev->reg_state == NETREG_REGISTERED) in fm10k_remove()
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
Dnicvf_main.c1596 if (pnetdev && (pnetdev->reg_state == NETREG_REGISTERED)) in nicvf_remove()
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c1595 if (ndev->reg_state != NETREG_UNINITIALIZED) in hns_nic_dev_remove()
/linux-4.4.14/include/rdma/
Dib_verbs.h1814 } reg_state; member
/linux-4.4.14/drivers/s390/net/
Dlcs.c2098 if (card->dev->reg_state != NETREG_UNINITIALIZED) in lcs_register_netdev()
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dcfg80211.c2847 if (wdev->netdev->reg_state == NETREG_REGISTERED) in mwifiex_del_virtual_intf()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c4122 if (netdev->reg_state == NETREG_REGISTERED) in ixgbevf_remove()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c6784 (adapter->netdev->reg_state == NETREG_REGISTERED)) { in ixgbe_sfp_detection_subtask()
9074 if (netdev->reg_state == NETREG_REGISTERED) in ixgbe_remove()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c5002 if (adapter->port[i]->reg_state == NETREG_REGISTERED) in remove_one()