Home
last modified time | relevance | path

Searched refs:occupied (Results 1 – 5 of 5) sorted by relevance

/drivers/pci/hotplug/
Dpciehp_core.c167 int occupied; in pciehp_check_presence() local
172 occupied = pciehp_card_present_or_link_active(ctrl); in pciehp_check_presence()
173 if ((occupied > 0 && (ctrl->state == OFF_STATE || in pciehp_check_presence()
175 (!occupied && (ctrl->state == ON_STATE || in pciehp_check_presence()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ring.h322 unsigned occupied, chunk1, chunk2; in amdgpu_ring_write_multiple() local
328 occupied = ring->wptr & ring->buf_mask; in amdgpu_ring_write_multiple()
329 dst = (void *)&ring->ring[occupied]; in amdgpu_ring_write_multiple()
330 chunk1 = ring->buf_mask + 1 - occupied; in amdgpu_ring_write_multiple()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwsignal.c378 u8 occupied; member
705 desc->occupied = 1; in brcmf_fws_macdesc_init()
721 desc->occupied = 0; in brcmf_fws_macdesc_deinit()
738 if (entry->occupied && !memcmp(entry->ea, ea, ETH_ALEN)) in brcmf_fws_macdesc_lookup()
800 if (entry->occupied && (ifidx == -1 || ifidx == entry->interface_id)) { in brcmf_fws_macdesc_cleanup()
802 entry->occupied = !!(entry->psq.len); in brcmf_fws_macdesc_cleanup()
999 if (entry->occupied) { in brcmf_fws_macdesc_indicate()
1013 if (!entry->occupied) { in brcmf_fws_macdesc_indicate()
1055 if (!entry->occupied) { in brcmf_fws_macdesc_state_indicate()
1093 if (!entry->occupied) { in brcmf_fws_interface_state_indicate()
[all …]
/drivers/infiniband/hw/efa/
Defa_com.c39 u8 occupied; member
270 comp_ctx->occupied = 0; in efa_com_put_comp_ctx()
279 if (aq->comp_ctx[ctx_id].occupied && capture) { in efa_com_get_comp_ctx()
288 aq->comp_ctx[ctx_id].occupied = 1; in efa_com_get_comp_ctx()
/drivers/net/ethernet/amazon/ena/
Dena_com.c63 bool occupied; member
173 comp_ctx->occupied = false; in comp_ctxt_release()
191 if (unlikely(admin_queue->comp_ctx[command_id].occupied && capture)) { in get_comp_ctxt()
198 admin_queue->comp_ctx[command_id].occupied = true; in get_comp_ctxt()