Home
last modified time | relevance | path

Searched refs:c_struct (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/include/linux/soc/qcom/
H A Dqmi.h252 struct qmi_elem_info *ei, const void *c_struct);
255 struct qmi_elem_info *ei, const void *c_struct);
258 const void *c_struct);
262 const void *c_struct);
265 struct qmi_elem_info *ei, void *c_struct);
268 struct qmi_elem_info *ei, void *c_struct);
/kernel/linux/linux-6.6/include/linux/soc/qcom/
H A Dqmi.h252 const struct qmi_elem_info *ei, const void *c_struct);
255 const struct qmi_elem_info *ei, const void *c_struct);
258 const void *c_struct);
262 const void *c_struct);
265 const struct qmi_elem_info *ei, void *c_struct);
268 const struct qmi_elem_info *ei, void *c_struct);
/kernel/linux/linux-5.10/drivers/soc/qcom/
H A Dqmi_interface.c296 * @c_struct: pointer to the object to decode the response into (optional)
298 * This allocates a transaction id within the QMI handle. If @ei and @c_struct
300 * by @ei into @c_struct.
308 struct qmi_elem_info *ei, void *c_struct) in qmi_txn_init()
318 txn->dest = c_struct; in qmi_txn_init()
337 * If the transaction is decoded by the means of @ei and @c_struct the return
728 * @c_struct: object to be encoded
730 * This function encodes @c_struct using @ei into a message of type @type,
739 struct qmi_elem_info *ei, const void *c_struct) in qmi_send_message()
749 c_struct); in qmi_send_message()
307 qmi_txn_init(struct qmi_handle *qmi, struct qmi_txn *txn, struct qmi_elem_info *ei, void *c_struct) qmi_txn_init() argument
736 qmi_send_message(struct qmi_handle *qmi, struct sockaddr_qrtr *sq, struct qmi_txn *txn, int type, int msg_id, size_t len, struct qmi_elem_info *ei, const void *c_struct) qmi_send_message() argument
788 qmi_send_request(struct qmi_handle *qmi, struct sockaddr_qrtr *sq, struct qmi_txn *txn, int msg_id, size_t len, struct qmi_elem_info *ei, const void *c_struct) qmi_send_request() argument
809 qmi_send_response(struct qmi_handle *qmi, struct sockaddr_qrtr *sq, struct qmi_txn *txn, int msg_id, size_t len, struct qmi_elem_info *ei, const void *c_struct) qmi_send_response() argument
829 qmi_send_indication(struct qmi_handle *qmi, struct sockaddr_qrtr *sq, int msg_id, size_t len, struct qmi_elem_info *ei, const void *c_struct) qmi_send_indication() argument
[all...]
H A Dqmi_encdec.c711 * @c_struct: Reference to structure to encode
717 const void *c_struct) in qmi_encode_message()
725 if (!c_struct) { in qmi_encode_message()
728 pr_err("%s: Calc. len %d != 0, but NULL c_struct\n", in qmi_encode_message()
739 if (c_struct) { in qmi_encode_message()
740 msglen = qmi_encode(ei, msg + sizeof(*hdr), c_struct, *len, 1); in qmi_encode_message()
764 * @c_struct: Reference to structure to decode into
770 struct qmi_elem_info *ei, void *c_struct) in qmi_decode_message()
775 if (!c_struct || !buf || !len) in qmi_decode_message()
778 return qmi_decode(ei, c_struct, bu in qmi_decode_message()
715 qmi_encode_message(int type, unsigned int msg_id, size_t *len, unsigned int txn_id, struct qmi_elem_info *ei, const void *c_struct) qmi_encode_message() argument
769 qmi_decode_message(const void *buf, size_t len, struct qmi_elem_info *ei, void *c_struct) qmi_decode_message() argument
[all...]
/kernel/linux/linux-6.6/drivers/soc/qcom/
H A Dqmi_interface.c297 * @c_struct: pointer to the object to decode the response into (optional)
299 * This allocates a transaction id within the QMI handle. If @ei and @c_struct
301 * by @ei into @c_struct.
309 const struct qmi_elem_info *ei, void *c_struct) in qmi_txn_init()
319 txn->dest = c_struct; in qmi_txn_init()
338 * If the transaction is decoded by the means of @ei and @c_struct the return
731 * @c_struct: object to be encoded
733 * This function encodes @c_struct using @ei into a message of type @type,
743 const void *c_struct) in qmi_send_message()
753 c_struct); in qmi_send_message()
308 qmi_txn_init(struct qmi_handle *qmi, struct qmi_txn *txn, const struct qmi_elem_info *ei, void *c_struct) qmi_txn_init() argument
739 qmi_send_message(struct qmi_handle *qmi, struct sockaddr_qrtr *sq, struct qmi_txn *txn, int type, int msg_id, size_t len, const struct qmi_elem_info *ei, const void *c_struct) qmi_send_message() argument
792 qmi_send_request(struct qmi_handle *qmi, struct sockaddr_qrtr *sq, struct qmi_txn *txn, int msg_id, size_t len, const struct qmi_elem_info *ei, const void *c_struct) qmi_send_request() argument
813 qmi_send_response(struct qmi_handle *qmi, struct sockaddr_qrtr *sq, struct qmi_txn *txn, int msg_id, size_t len, const struct qmi_elem_info *ei, const void *c_struct) qmi_send_response() argument
833 qmi_send_indication(struct qmi_handle *qmi, struct sockaddr_qrtr *sq, int msg_id, size_t len, const struct qmi_elem_info *ei, const void *c_struct) qmi_send_indication() argument
[all...]
H A Dqmi_encdec.c711 * @c_struct: Reference to structure to encode
717 const void *c_struct) in qmi_encode_message()
725 if (!c_struct) { in qmi_encode_message()
728 pr_err("%s: Calc. len %d != 0, but NULL c_struct\n", in qmi_encode_message()
739 if (c_struct) { in qmi_encode_message()
740 msglen = qmi_encode(ei, msg + sizeof(*hdr), c_struct, *len, 1); in qmi_encode_message()
764 * @c_struct: Reference to structure to decode into
770 const struct qmi_elem_info *ei, void *c_struct) in qmi_decode_message()
775 if (!c_struct || !buf || !len) in qmi_decode_message()
778 return qmi_decode(ei, c_struct, bu in qmi_decode_message()
715 qmi_encode_message(int type, unsigned int msg_id, size_t *len, unsigned int txn_id, const struct qmi_elem_info *ei, const void *c_struct) qmi_encode_message() argument
769 qmi_decode_message(const void *buf, size_t len, const struct qmi_elem_info *ei, void *c_struct) qmi_decode_message() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/
H A Dipw2100.c765 packet->info.c_struct.cmd->host_command_reg = cmd->host_command; in ipw2100_hw_send_command()
766 packet->info.c_struct.cmd->host_command_reg1 = cmd->host_command1; in ipw2100_hw_send_command()
767 packet->info.c_struct.cmd->host_command_len_reg = in ipw2100_hw_send_command()
769 packet->info.c_struct.cmd->sequence = cmd->host_command_sequence; in ipw2100_hw_send_command()
771 memcpy(packet->info.c_struct.cmd->host_command_params_reg, in ipw2100_hw_send_command()
773 sizeof(packet->info.c_struct.cmd->host_command_params_reg)); in ipw2100_hw_send_command()
2954 if (packet->info.c_struct.cmd->host_command_reg < in __ipw2100_tx_process()
2957 command_types[packet->info.c_struct.cmd-> in __ipw2100_tx_process()
2959 packet->info.c_struct.cmd-> in __ipw2100_tx_process()
2961 packet->info.c_struct in __ipw2100_tx_process()
[all...]
H A Dipw2100.h319 } c_struct; member
/kernel/linux/linux-6.6/drivers/net/wireless/intel/ipw2x00/
H A Dipw2100.c754 packet->info.c_struct.cmd->host_command_reg = cmd->host_command; in ipw2100_hw_send_command()
755 packet->info.c_struct.cmd->host_command_reg1 = cmd->host_command1; in ipw2100_hw_send_command()
756 packet->info.c_struct.cmd->host_command_len_reg = in ipw2100_hw_send_command()
758 packet->info.c_struct.cmd->sequence = cmd->host_command_sequence; in ipw2100_hw_send_command()
760 memcpy(packet->info.c_struct.cmd->host_command_params_reg, in ipw2100_hw_send_command()
762 sizeof(packet->info.c_struct.cmd->host_command_params_reg)); in ipw2100_hw_send_command()
2943 if (packet->info.c_struct.cmd->host_command_reg < in __ipw2100_tx_process()
2946 command_types[packet->info.c_struct.cmd-> in __ipw2100_tx_process()
2948 packet->info.c_struct.cmd-> in __ipw2100_tx_process()
2950 packet->info.c_struct in __ipw2100_tx_process()
[all...]
H A Dipw2100.h319 } c_struct; member

Completed in 24 milliseconds