Home
last modified time | relevance | path

Searched refs:tx_msg (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/acpi/
H A Dacpi_ipmi.c215 static void ipmi_msg_release(struct acpi_ipmi_msg *tx_msg) in ipmi_msg_release() argument
217 acpi_ipmi_dev_put(tx_msg->device); in ipmi_msg_release()
218 kfree(tx_msg); in ipmi_msg_release()
223 struct acpi_ipmi_msg *tx_msg = in ipmi_msg_release_kref() local
226 ipmi_msg_release(tx_msg); in ipmi_msg_release_kref()
229 static struct acpi_ipmi_msg *acpi_ipmi_msg_get(struct acpi_ipmi_msg *tx_msg) in acpi_ipmi_msg_get() argument
231 kref_get(&tx_msg->kref); in acpi_ipmi_msg_get()
233 return tx_msg; in acpi_ipmi_msg_get()
236 static void acpi_ipmi_msg_put(struct acpi_ipmi_msg *tx_msg) in acpi_ipmi_msg_put() argument
238 kref_put(&tx_msg in acpi_ipmi_msg_put()
243 acpi_format_ipmi_request(struct acpi_ipmi_msg * tx_msg,acpi_physical_address address,acpi_integer * value) acpi_format_ipmi_request() argument
329 struct acpi_ipmi_msg *tx_msg; ipmi_flush_tx_msg() local
359 struct acpi_ipmi_msg *tx_msg = NULL, *iter, *temp; ipmi_cancel_tx_msg() local
379 struct acpi_ipmi_msg *tx_msg = NULL, *iter, *temp; ipmi_msg_handler() local
528 struct acpi_ipmi_msg *tx_msg; acpi_ipmi_space_handler() local
[all...]
/linux/drivers/i2c/busses/
H A Di2c-xiic.c63 * @tx_msg: Messages from above to be sent
66 * @nmsgs: Number of messages in tx_msg
88 struct i2c_msg *tx_msg; member
245 #define xiic_tx_space(i2c) ((i2c)->tx_msg->len - (i2c)->tx_pos)
574 i2c->tx_msg->len = 3; in xiic_smbus_block_read_setup()
665 if (i2c->tx_msg || i2c->rx_msg) in xiic_error_check()
689 u16 data = i2c->tx_msg->buf[i2c->tx_pos++]; in xiic_fill_tx_fifo()
721 i2c->tx_msg = NULL; in xiic_wakeup()
752 i2c->tx_msg, i2c->nmsgs); in xiic_process()
781 if (i2c->tx_msg) { in xiic_process()
[all...]
/linux/drivers/media/cec/platform/stm32/
H A Dstm32-cec.c75 struct cec_msg tx_msg; member
111 if (cec->tx_cnt < cec->tx_msg.len) in stm32_tx_done()
113 cec->tx_msg.msg[cec->tx_cnt++]); in stm32_tx_done()
116 if (cec->tx_cnt == cec->tx_msg.len) in stm32_tx_done()
220 cec->tx_msg = *msg; in stm32_cec_adap_transmit()
227 if (cec->tx_msg.len == 1) in stm32_cec_adap_transmit()
234 regmap_write(cec->regmap, CEC_TXDR, cec->tx_msg.msg[0]); in stm32_cec_adap_transmit()
/linux/sound/soc/sof/
H A Dipc.c82 return ipc->ops->tx_msg(ipc->sdev, msg_data, msg_bytes, reply_data, in sof_ipc_tx_message()
107 return ipc->ops->tx_msg(ipc->sdev, msg_data, msg_bytes, reply_data, in sof_ipc_tx_message_no_pm()
184 if (!ops->tx_msg || !ops->rx_msg || !ops->set_get_data || !ops->get_reply) { in snd_sof_ipc_init()
H A Dsof-priv.h489 * @tx_msg: Function pointer for sending a 'short' IPC message
491 * function may split up the 'large' message and use the @tx_msg
498 * Note: both @tx_msg and @set_get_data considered as TX functions and they are
514 int (*tx_msg)(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, member
H A Dipc4.c879 .tx_msg = sof_ipc4_tx_msg,
H A Dipc3.c1153 .tx_msg = sof_ipc3_tx_msg,
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_controlq.c162 cq->bi.tx_msg = kcalloc(qinfo->len, in idpf_ctlq_add()
165 if (!cq->bi.tx_msg) { in idpf_ctlq_add()
319 cq->bi.tx_msg[cq->next_to_use] = msg; in idpf_ctlq_send()
384 msg_status[i] = cq->bi.tx_msg[ntc]; in idpf_ctlq_clean_sq()
387 cq->bi.tx_msg[ntc] = NULL; in idpf_ctlq_clean_sq()
H A Didpf_controlq_api.h115 struct idpf_ctlq_msg **tx_msg; member
H A Didpf_controlq_setup.c121 bi = (void *)cq->bi.tx_msg; in idpf_ctlq_free_bufs()
/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_fd.c798 struct pucan_tx_msg *tx_msg = (struct pucan_tx_msg *)obuf; in pcan_usb_fd_encode_msg() local
807 tx_msg->size = cpu_to_le16(tx_msg_size); in pcan_usb_fd_encode_msg()
808 tx_msg->type = cpu_to_le16(PUCAN_MSG_CAN_TX); in pcan_usb_fd_encode_msg()
813 tx_msg->can_id = cpu_to_le32(cfd->can_id & CAN_EFF_MASK); in pcan_usb_fd_encode_msg()
815 tx_msg->can_id = cpu_to_le32(cfd->can_id & CAN_SFF_MASK); in pcan_usb_fd_encode_msg()
842 tx_msg->flags = cpu_to_le16(tx_msg_flags); in pcan_usb_fd_encode_msg()
843 tx_msg->channel_dlc = PUCAN_MSG_CHANNEL_DLC(dev->ctrl_idx, dlc); in pcan_usb_fd_encode_msg()
844 memcpy(tx_msg->d, cfd->data, cfd->len); in pcan_usb_fd_encode_msg()
848 tx_msg = (struct pucan_tx_msg *)(obuf + tx_msg_size); in pcan_usb_fd_encode_msg()
850 tx_msg in pcan_usb_fd_encode_msg()
[all...]
H A Dpcan_usb_pro.h183 struct pcan_usb_pro_txmsg tx_msg; member
/linux/drivers/net/ieee802154/
H A Dmrf24j40.c205 struct spi_message tx_msg; member
585 ret = spi_async(devrec->spi, &devrec->tx_msg); in write_tx_buf()
1183 spi_message_init(&devrec->tx_msg); in mrf24j40_setup_tx_spi_messages()
1184 devrec->tx_msg.context = devrec; in mrf24j40_setup_tx_spi_messages()
1185 devrec->tx_msg.complete = write_tx_buf_complete; in mrf24j40_setup_tx_spi_messages()
1188 spi_message_add_tail(&devrec->tx_hdr_trx, &devrec->tx_msg); in mrf24j40_setup_tx_spi_messages()
1191 spi_message_add_tail(&devrec->tx_len_trx, &devrec->tx_msg); in mrf24j40_setup_tx_spi_messages()
1192 spi_message_add_tail(&devrec->tx_buf_trx, &devrec->tx_msg); in mrf24j40_setup_tx_spi_messages()
/linux/drivers/media/cec/usb/extron-da-hd-4k-plus/
H A Dcec-splitter.c18 struct cec_msg tx_msg = { }; in cec_feature_abort_reason() local
29 cec_msg_set_reply_to(&tx_msg, msg); in cec_feature_abort_reason()
30 cec_msg_feature_abort(&tx_msg, msg->msg[1], reason); in cec_feature_abort_reason()
31 return cec_transmit_msg(adap, &tx_msg, false); in cec_feature_abort_reason()
/linux/drivers/media/cec/core/
H A Dcec-pin-error-inj.c67 pin->tx_msg.len > 1) in cec_pin_tx_error_inj()
68 cmd = pin->tx_msg.msg[1]; in cec_pin_tx_error_inj()
H A Dcec-pin-priv.h192 struct cec_msg tx_msg; member
H A Dcec-adap.c1993 struct cec_msg tx_msg = { }; in cec_feature_abort_reason() local
2004 cec_msg_set_reply_to(&tx_msg, msg); in cec_feature_abort_reason()
2005 cec_msg_feature_abort(&tx_msg, msg->msg[1], reason); in cec_feature_abort_reason()
2006 return cec_transmit_msg(adap, &tx_msg, false); in cec_feature_abort_reason()
/linux/drivers/media/cec/usb/pulse8/
H A Dpulse8-cec.c192 struct cec_msg tx_msg; member
287 struct cec_msg *msg = &pulse8->tx_msg; in pulse8_tx_work_handler()
628 pulse8->tx_msg = *msg; in pulse8_cec_adap_transmit()