Home
last modified time | relevance | path

Searched refs:fw_msg (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/infiniband/hw/bnxt_re/
H A Dmain.c532 static void bnxt_re_fill_fw_msg(struct bnxt_fw_msg *fw_msg, void *msg, in bnxt_re_fill_fw_msg() argument
536 fw_msg->msg = msg; in bnxt_re_fill_fw_msg()
537 fw_msg->msg_len = msg_len; in bnxt_re_fill_fw_msg()
538 fw_msg->resp = resp; in bnxt_re_fill_fw_msg()
539 fw_msg->resp_max_len = resp_max_len; in bnxt_re_fill_fw_msg()
540 fw_msg->timeout = timeout; in bnxt_re_fill_fw_msg()
550 struct bnxt_fw_msg fw_msg = {}; in bnxt_re_hwrm_qcfg() local
555 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_hwrm_qcfg()
557 rc = bnxt_send_msg(en_dev, &fw_msg); in bnxt_re_hwrm_qcfg()
572 struct bnxt_fw_msg fw_msg = {}; in bnxt_re_hwrm_qcaps() local
[all …]
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ulp.c193 struct bnxt_fw_msg *fw_msg) in bnxt_send_msg() argument
209 rc = hwrm_req_replace(bp, req, fw_msg->msg, fw_msg->msg_len); in bnxt_send_msg()
213 hwrm_req_timeout(bp, req, fw_msg->timeout); in bnxt_send_msg()
218 if (fw_msg->resp_max_len < resp_len) in bnxt_send_msg()
219 resp_len = fw_msg->resp_max_len; in bnxt_send_msg()
221 memcpy(fw_msg->resp, resp, resp_len); in bnxt_send_msg()
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-isys.c1012 memset(&msg->fw_msg, 0, sizeof(msg->fw_msg)); in ipu6_get_fw_msg_buf()
1038 msg = container_of(ptr, struct isys_fw_msgs, fw_msg.dummy); in ipu6_put_fw_msg_buf()
1191 static const struct fwmsg fw_msg[] = { variable
1214 for (i = 0; i < ARRAY_SIZE(fw_msg); i++) in resp_type_to_index()
1215 if (fw_msg[i].type == type) in resp_type_to_index()
1218 return ARRAY_SIZE(fw_msg) - 1; in resp_type_to_index()
1242 resp->type, fw_msg[index].msg, resp->stream_handle, in isys_isr_one()
1243 fw_msg[index].valid_ts ? ts : 0, resp->pin_id); in isys_isr_one()
/linux/drivers/usb/typec/
H A Danx7411.c266 struct fw_msg { struct
277 struct fw_msg send_msg; argument
278 struct fw_msg recv_msg;
735 struct fw_msg *msg = &ctx->send_msg; in anx7411_send_msg()
764 struct fw_msg *msg = &ctx->recv_msg; in anx7411_process_cmd()
/linux/drivers/media/dvb-frontends/
H A Dtda1004x.c311 struct i2c_msg fw_msg = { .flags = 0, .buf = buf, .len = 0 }; in tda1004x_do_upload() local
317 fw_msg.addr = state->config->demod_address; in tda1004x_do_upload()
329 fw_msg.len = tx_size + 1; in tda1004x_do_upload()
330 if (__i2c_transfer(state->i2c, &fw_msg, 1) != 1) { in tda1004x_do_upload()
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dcxgb4vf_main.c502 const struct cpl_fw6_msg *fw_msg = cpl; in fwevtq_handler() local
503 if (fw_msg->type == FW6_TYPE_CMD_RPL) in fwevtq_handler()
504 t4vf_handle_fw_rpl(adapter, fw_msg->data); in fwevtq_handler()