Home
last modified time | relevance | path

Searched refs:p_ent (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_spq.c138 struct ecore_spq_entry *p_ent, in __ecore_spq_block() argument
145 comp_done = (struct ecore_spq_comp_done *)p_ent->comp_cb.cookie; in __ecore_spq_block()
168 struct ecore_spq_entry *p_ent, in ecore_spq_block() argument
178 rc = __ecore_spq_block(p_hwfn, p_ent, p_fw_ret, false); in ecore_spq_block()
184 rc = __ecore_spq_block(p_hwfn, p_ent, p_fw_ret, true); in ecore_spq_block()
196 rc = __ecore_spq_block(p_hwfn, p_ent, p_fw_ret, true); in ecore_spq_block()
200 comp_done = (struct ecore_spq_comp_done *)p_ent->comp_cb.cookie; in ecore_spq_block()
209 OSAL_LE32_TO_CPU(p_ent->elem.hdr.cid), in ecore_spq_block()
210 p_ent->elem.hdr.cmd_id, p_ent->elem.hdr.protocol_id, in ecore_spq_block()
211 OSAL_LE16_TO_CPU(p_ent->elem.hdr.echo)); in ecore_spq_block()
[all …]
H A Decore_sp_commands.c61 struct ecore_spq_entry *p_ent = OSAL_NULL; in ecore_sp_init_request() local
73 p_ent = *pp_ent; in ecore_sp_init_request()
74 p_ent->elem.hdr.cid = OSAL_CPU_TO_LE32(opaque_cid); in ecore_sp_init_request()
75 p_ent->elem.hdr.cmd_id = cmd; in ecore_sp_init_request()
76 p_ent->elem.hdr.protocol_id = protocol; in ecore_sp_init_request()
77 p_ent->priority = ECORE_SPQ_PRIORITY_NORMAL; in ecore_sp_init_request()
78 p_ent->comp_mode = p_data->comp_mode; in ecore_sp_init_request()
79 p_ent->comp_done.done = 0; in ecore_sp_init_request()
81 switch (p_ent->comp_mode) { in ecore_sp_init_request()
83 p_ent->comp_cb.cookie = &p_ent->comp_done; in ecore_sp_init_request()
[all …]
H A Decore_l2.c369 struct ecore_spq_entry *p_ent = OSAL_NULL; in ecore_sp_eth_vport_start() local
385 rc = ecore_sp_init_request(p_hwfn, &p_ent, in ecore_sp_eth_vport_start()
391 p_ramrod = &p_ent->ramrod.vport_start; in ecore_sp_eth_vport_start()
465 return ecore_spq_post(p_hwfn, p_ent, OSAL_NULL); in ecore_sp_eth_vport_start()
726 struct ecore_spq_entry *p_ent = OSAL_NULL; in ecore_sp_vport_update() local
746 rc = ecore_sp_init_request(p_hwfn, &p_ent, in ecore_sp_vport_update()
753 p_ramrod = &p_ent->ramrod.vport_update; in ecore_sp_vport_update()
799 ecore_spq_return_entry(p_hwfn, p_ent); in ecore_sp_vport_update()
809 return ecore_spq_post(p_hwfn, p_ent, OSAL_NULL); in ecore_sp_vport_update()
818 struct ecore_spq_entry *p_ent; in ecore_sp_vport_stop() local
[all …]
H A Decore_spq.h217 struct ecore_spq_entry *p_ent,
266 struct ecore_spq_entry *p_ent);