Home
last modified time | relevance | path

Searched refs:tx_msg (Results 1 – 13 of 13) 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->kref, ipmi_msg_release_kref); in acpi_ipmi_msg_put()
[all …]
/linux/drivers/i2c/busses/
H A Di2c-xiic.c88 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()
817 i2c->tx_msg++; in xiic_process()
830 if (!i2c->tx_msg) { in xiic_process()
[all …]
/linux/drivers/media/cec/core/
H A Dcec-pin.c241 return pin->tx_msg.len == 0 && in rx_arb_lost()
440 pin->tx_msg.len = 0; in cec_pin_tx_states()
468 pin->tx_msg.len = 0; in cec_pin_tx_states()
481 pin->tx_msg.len = 0; in cec_pin_tx_states()
499 pin->tx_msg.len = 0; in cec_pin_tx_states()
508 if (pin->tx_bit / 10 >= pin->tx_msg.len + pin->tx_extra_bytes) { in cec_pin_tx_states()
510 pin->tx_msg.len = 0; in cec_pin_tx_states()
530 if (idx < pin->tx_msg.len) in cec_pin_tx_states()
531 val = pin->tx_msg.msg[idx]; in cec_pin_tx_states()
539 unsigned int tot_len = pin->tx_msg.len + in cec_pin_tx_states()
[all …]
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/sound/soc/sof/
H A Dipc.c80 return ipc->ops->tx_msg(ipc->sdev, msg_data, msg_bytes, reply_data, in sof_ipc_tx_message()
105 return ipc->ops->tx_msg(ipc->sdev, msg_data, msg_bytes, reply_data, in sof_ipc_tx_message_no_pm()
182 if (!ops->tx_msg || !ops->rx_msg || !ops->set_get_data || !ops->get_reply) { in snd_sof_ipc_init()
H A Dipc4.c916 .tx_msg = sof_ipc4_tx_msg,
/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_fd.c799 struct pucan_tx_msg *tx_msg = (struct pucan_tx_msg *)obuf; in pcan_usb_fd_encode_msg() local
808 tx_msg->size = cpu_to_le16(tx_msg_size); in pcan_usb_fd_encode_msg()
809 tx_msg->type = cpu_to_le16(PUCAN_MSG_CAN_TX); in pcan_usb_fd_encode_msg()
814 tx_msg->can_id = cpu_to_le32(cfd->can_id & CAN_EFF_MASK); in pcan_usb_fd_encode_msg()
816 tx_msg->can_id = cpu_to_le32(cfd->can_id & CAN_SFF_MASK); in pcan_usb_fd_encode_msg()
843 tx_msg->flags = cpu_to_le16(tx_msg_flags); in pcan_usb_fd_encode_msg()
844 tx_msg->channel_dlc = PUCAN_MSG_CHANNEL_DLC(dev->ctrl_idx, dlc); in pcan_usb_fd_encode_msg()
845 memcpy(tx_msg->d, cfd->data, cfd->len); in pcan_usb_fd_encode_msg()
849 tx_msg = (struct pucan_tx_msg *)(obuf + tx_msg_size); in pcan_usb_fd_encode_msg()
851 tx_msg->size = 0; in pcan_usb_fd_encode_msg()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_controlq.c162 cq->bi.tx_msg = kzalloc_objs(struct idpf_ctlq_msg *, qinfo->len); in idpf_ctlq_add()
163 if (!cq->bi.tx_msg) { in idpf_ctlq_add()
317 cq->bi.tx_msg[cq->next_to_use] = msg; in idpf_ctlq_send()
382 msg_status[i] = cq->bi.tx_msg[ntc]; in idpf_ctlq_clean_sq()
385 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.c119 bi = (void *)cq->bi.tx_msg; in idpf_ctlq_free_bufs()
/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/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()