Searched refs:mbx (Results 1 - 24 of 24) sorted by relevance

/freebsd-13-stable/sys/dev/ixgbe/
H A Dixgbe_mbx.c48 struct ixgbe_mbx_info *mbx = &hw->mbx; local
49 int countdown = mbx->timeout;
53 if (!countdown || !mbx->ops.check_for_msg)
56 while (countdown && mbx->ops.check_for_msg(hw, mbx_id)) {
60 usec_delay(mbx->usec_delay);
80 struct ixgbe_mbx_info *mbx = &hw->mbx; local
81 int countdown = mbx->timeout;
85 if (!countdown || !mbx
116 struct ixgbe_mbx_info *mbx = &hw->mbx; local
146 struct ixgbe_mbx_info *mbx = &hw->mbx; local
173 struct ixgbe_mbx_info *mbx = &hw->mbx; local
393 struct ixgbe_mbx_info *mbx = &hw->mbx; local
633 struct ixgbe_mbx_info *mbx = &hw->mbx; local
[all...]
H A Dixgbe_vf.c89 hw->mbx.ops.init_params = ixgbe_init_mbx_params_vf;
179 struct ixgbe_mbx_info *mbx = &hw->mbx; local
201 while (!mbx->ops.check_for_rst(hw, 0) && timeout) {
213 mbx->timeout = IXGBE_VF_MBX_INIT_TIMEOUT;
216 mbx->ops.write_posted(hw, msgbuf, 1, 0);
225 ret_val = mbx->ops.read_posted(hw, msgbuf,
331 struct ixgbe_mbx_info *mbx = &hw->mbx; local
332 s32 retval = mbx
387 struct ixgbe_mbx_info *mbx = &hw->mbx; local
584 struct ixgbe_mbx_info *mbx = &hw->mbx; local
[all...]
H A Dif_sriov.c104 adapter->hw.mbx.ops.write(&adapter->hw, &msg, 1, vf->pool);
378 hw->mbx.ops.write(hw, resp, IXGBE_VF_PERMADDR_MSG_LEN, vf->pool);
569 hw->mbx.ops.write(hw, resp, IXGBE_VF_GET_QUEUES_RESP_LEN, vf->pool);
586 error = hw->mbx.ops.read(hw, msg, IXGBE_VFMAILBOX_SIZE, vf->pool);
647 if (hw->mbx.ops.check_for_rst(hw, vf->pool) == 0)
650 if (hw->mbx.ops.check_for_msg(hw, vf->pool) == 0)
653 if (hw->mbx.ops.check_for_ack(hw, vf->pool) == 0)
H A Dixgbe_x540.c149 hw->mbx.ops.init_params = ixgbe_init_mbx_params_pf;
H A Dixgbe_82599.c389 hw->mbx.ops.init_params = ixgbe_init_mbx_params_pf;
H A Dif_ix.c927 if (hw->mbx.ops.init_params)
928 hw->mbx.ops.init_params(hw);
H A Dixgbe_type.h4159 struct ixgbe_mbx_info mbx; member in struct:ixgbe_hw
/freebsd-13-stable/sys/dev/e1000/
H A De1000_mbx.c75 struct e1000_mbx_info *mbx = &hw->mbx; local
81 if (size > mbx->size)
82 size = mbx->size;
84 if (mbx->ops.read)
85 ret_val = mbx->ops.read(hw, msg, size, mbx_id);
101 struct e1000_mbx_info *mbx = &hw->mbx; local
106 if (size > mbx->size)
109 else if (mbx
124 struct e1000_mbx_info *mbx = &hw->mbx; local
144 struct e1000_mbx_info *mbx = &hw->mbx; local
164 struct e1000_mbx_info *mbx = &hw->mbx; local
184 struct e1000_mbx_info *mbx = &hw->mbx; local
215 struct e1000_mbx_info *mbx = &hw->mbx; local
249 struct e1000_mbx_info *mbx = &hw->mbx; local
278 struct e1000_mbx_info *mbx = &hw->mbx; local
305 struct e1000_mbx_info *mbx = &hw->mbx; local
534 struct e1000_mbx_info *mbx = &hw->mbx; local
758 struct e1000_mbx_info *mbx = &hw->mbx; local
[all...]
H A De1000_vf.c152 hw->mbx.ops.init_params = e1000_init_mbx_params_vf;
261 struct e1000_mbx_info *mbx = &hw->mbx; local
274 while (!mbx->ops.check_for_rst(hw, 0) && timeout) {
281 mbx->timeout = E1000_VF_MBX_INIT_TIMEOUT;
284 mbx->ops.write_posted(hw, msgbuf, 1, 0);
289 ret_val = mbx->ops.read_posted(hw, msgbuf, 3, 0);
327 struct e1000_mbx_info *mbx = &hw->mbx; local
335 ret_val = mbx
384 struct e1000_mbx_info *mbx = &hw->mbx; local
481 struct e1000_mbx_info *mbx = &hw->mbx; local
536 struct e1000_mbx_info *mbx = &hw->mbx; local
[all...]
H A De1000_vf.h270 struct e1000_mbx_info mbx; member in struct:e1000_hw
H A De1000_api.c127 if (hw->mbx.ops.init_params) {
128 ret_val = hw->mbx.ops.init_params(hw);
134 DEBUGOUT("mbx.init_mbx_params was NULL\n");
H A De1000_hw.h1032 struct e1000_mbx_info mbx; member in struct:e1000_hw
H A De1000_82575.c535 hw->mbx.ops.init_params = e1000_init_mbx_params_pf;
/freebsd-13-stable/sys/dev/oce/
H A Doce_mbox.c81 struct oce_mbx *mbx; local
99 mbx = &mb->mbx;
100 bzero(mbx, sizeof(struct oce_mbx));
102 fwcmd = (struct ioctl_common_function_reset *)&mbx->payload;
111 mbx->u0.s.embedded = 1;
112 mbx->payload_length =
129 struct oce_bmbx *mbx; local
133 mbx = OCE_DMAPTR(&sc->bsmbx, struct oce_bmbx);
134 ptr = (uint8_t *) &mbx
258 struct oce_bmbx *mbx; local
290 struct oce_mbx mbx; local
334 struct oce_mbx *mbx; local
368 oce_mbox_post(POCE_SOFTC sc, struct oce_mbx *mbx, struct oce_mbx_ctx *mbxctx) argument
440 struct oce_mbx mbx; local
493 struct oce_mbx mbx; local
567 struct oce_mbx mbx; local
625 struct oce_mbx mbx; local
672 struct oce_mbx mbx; local
731 struct oce_mbx mbx; local
819 struct oce_mbx mbx; local
924 struct oce_mbx mbx; local
968 struct oce_mbx mbx; local
1071 struct oce_mbx mbx; local
1124 struct oce_mbx mbx; local
1177 struct oce_mbx mbx; local
1223 struct oce_mbx mbx; local
1247 struct oce_mbx mbx; local
1285 struct oce_mbx mbx; local
1320 struct oce_mbx mbx; local
1364 struct oce_mbx mbx; local
1406 struct oce_mbx mbx; local
1448 struct oce_mbx mbx; local
1497 struct oce_mbx mbx; local
1545 struct oce_mbx mbx; local
1592 struct oce_mbx mbx; local
1646 struct oce_mbx mbx; local
1701 struct oce_mbx mbx; local
1760 struct oce_mbx mbx; local
1805 struct oce_mbx mbx; local
1884 struct oce_mbx mbx; local
1951 struct oce_mbx mbx; local
1995 struct oce_mbx mbx; local
2093 struct oce_mbx mbx; local
2194 struct oce_mbx mbx; local
2233 struct oce_mbx mbx; local
2279 struct oce_mbx mbx; local
[all...]
H A Doce_queue.c71 *mbx, size_t req_size, enum qtype qtype, int version);
357 struct oce_mbx mbx; local
362 bzero(&mbx, sizeof(struct oce_mbx));
364 fwcmd = (struct mbx_delete_nic_wq *)&mbx.payload;
366 (void)oce_destroy_q(sc, &mbx,
524 struct oce_mbx mbx; local
529 bzero(&mbx, sizeof(mbx));
531 fwcmd = (struct mbx_delete_nic_rq *)&mbx.payload;
533 (void)oce_destroy_q(sc, &mbx, sizeo
602 struct oce_mbx mbx; local
633 struct oce_mbx mbx; local
740 struct oce_mbx mbx; local
779 oce_destroy_q(POCE_SOFTC sc, struct oce_mbx *mbx, size_t req_size, enum qtype qtype, int version) argument
888 struct oce_mbx mbx; local
1236 struct oce_mbx mbx; local
[all...]
H A Doce_user.h85 struct oce_mbx *mbx; member in struct:oce_mbx_ctx
97 struct oce_mbx *mbx,
H A Doce_if.h658 struct oce_mbx *mbx; member in struct:oce_mbx_ctx
1048 struct oce_mbx *mbx, struct oce_mbx_ctx *mbxctx);
H A Doce_hw.h205 /* max SGE per mbx */
842 struct oce_mbx mbx; member in struct:oce_bmbx
/freebsd-13-stable/sys/dev/vnic/
H A Dnic_main.c407 * @mbx: Message to be sent
410 nic_send_msg_to_vf(struct nicpf *nic, int vf, union nic_mbx *mbx) argument
413 uint64_t *msg = (uint64_t *)mbx;
437 union nic_mbx mbx = {}; local
441 mbx.nic_cfg.msg = NIC_MBOX_MSG_READY;
442 mbx.nic_cfg.vf_id = vf;
445 mbx.nic_cfg.tns_mode = NIC_TNS_MODE;
447 mbx.nic_cfg.tns_mode = NIC_TNS_BYPASS_MODE;
455 memcpy((uint8_t *)&mbx.nic_cfg.mac_addr, mac,
459 mbx
473 union nic_mbx mbx = {}; local
487 union nic_mbx mbx = {}; local
522 union nic_mbx mbx = {}; local
763 union nic_mbx mbx = {}; local
881 union nic_mbx mbx = {}; local
993 nic_mbx_intr_handler(struct nicpf *nic, int mbx) argument
1192 union nic_mbx mbx = {}; local
[all...]
H A Dnicvf_main.c845 nicvf_write_to_mbx(struct nicvf *nic, union nic_mbx *mbx) argument
847 uint64_t *msg = (uint64_t *)mbx;
854 nicvf_send_msg_to_pf(struct nicvf *nic, union nic_mbx *mbx) argument
864 nicvf_write_to_mbx(nic, mbx);
879 (mbx->msg.msg & 0xFF), nic->vf_id);
894 union nic_mbx mbx = {}; local
896 mbx.msg.msg = NIC_MBOX_MSG_READY;
897 if (nicvf_send_msg_to_pf(nic, &mbx)) {
919 union nic_mbx mbx = {}; local
925 mbx_data = (uint64_t *)&mbx;
983 union nic_mbx mbx = {}; local
995 union nic_mbx mbx = {}; local
1007 union nic_mbx mbx = {}; local
1020 union nic_mbx mbx = {}; local
1030 union nic_mbx mbx = {}; local
1115 union nic_mbx mbx = {}; local
1533 union nic_mbx mbx = {}; local
[all...]
H A Dnicvf_queues.c1217 union nic_mbx mbx = {}; local
1220 mbx.msg.msg = NIC_MBOX_MSG_RQ_SW_SYNC;
1221 nicvf_send_msg_to_pf(nic, &mbx);
1291 union nic_mbx mbx = {}; local
1337 mbx.rq.msg = NIC_MBOX_MSG_RQ_CFG;
1338 mbx.rq.qs_num = qs->vnic_id;
1339 mbx.rq.rq_num = qidx;
1340 mbx.rq.cfg = (rq->caching << 26) | (rq->cq_qs << 19) |
1344 nicvf_send_msg_to_pf(nic, &mbx);
1346 mbx
1409 union nic_mbx mbx = {}; local
1492 union nic_mbx mbx = {}; local
[all...]
H A Dnic.h517 int nicvf_send_msg_to_pf(struct nicvf *vf, union nic_mbx *mbx);
/freebsd-13-stable/sys/dev/qlnx/qlnxe/
H A Decore_sriov.c1425 struct ecore_iov_vf_mbx *mbx = &p_vf->vf_mbx; local
1429 mbx->reply_virt->default_resp.hdr.status = status;
1431 ecore_dp_tlv_list(p_hwfn, mbx->reply_virt);
1434 mbx->sw_mbx.response_size =
1447 ecore_dmae_host2host(p_hwfn, p_ptt, mbx->reply_phys + sizeof(u64),
1448 mbx->req_virt->first_tlv.reply_address +
1462 ecore_dmae_host2host(p_hwfn, p_ptt, mbx->reply_phys,
1463 mbx->req_virt->first_tlv.reply_address,
1542 struct ecore_iov_vf_mbx *mbx = &vf_info->vf_mbx; local
1544 mbx
1752 struct ecore_iov_vf_mbx *mbx = &vf->vf_mbx; local
2130 struct ecore_iov_vf_mbx *mbx = &vf->vf_mbx; local
2273 struct ecore_iov_vf_mbx *mbx = &vf->vf_mbx; local
2347 struct ecore_iov_vf_mbx *mbx = &vf->vf_mbx; local
2493 struct ecore_iov_vf_mbx *mbx = &p_vf->vf_mbx; local
2582 struct ecore_iov_vf_mbx *mbx = &p_vf->vf_mbx; local
2619 struct ecore_iov_vf_mbx *mbx = &vf->vf_mbx; local
2767 struct ecore_iov_vf_mbx *mbx = &vf->vf_mbx; local
2805 struct ecore_iov_vf_mbx *mbx = &vf->vf_mbx; local
2845 struct ecore_iov_vf_mbx *mbx = &vf->vf_mbx; local
3213 struct ecore_iov_vf_mbx *mbx = &vf->vf_mbx; local
3442 struct ecore_iov_vf_mbx *mbx = &vf->vf_mbx; local
3594 struct ecore_iov_vf_mbx *mbx = &p_vf->vf_mbx; local
3664 struct ecore_iov_vf_mbx *mbx = &vf->vf_mbx; local
4118 struct ecore_iov_vf_mbx *mbx; local
[all...]
/freebsd-13-stable/sys/dev/ocs_fc/
H A Dsli4.c379 * @param mbx Pointer to mailbox command to dump.
385 sli_dump_bmbx_command(sli4_t *sli4, void *mbx, const char *prefix) argument
391 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mbx;
443 (uint8_t *)mbx, size);
3101 * Firmware can split mbx completions into two MCQEs: first with only
5958 * if non-embedded mbx command is used, dma buffer must be at least (32 + xri_count*16) in length

Completed in 450 milliseconds