Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/acpi/
Dacpi_ipmi.c212 static void ipmi_msg_release(struct acpi_ipmi_msg *tx_msg) in ipmi_msg_release() argument
214 acpi_ipmi_dev_put(tx_msg->device); in ipmi_msg_release()
215 kfree(tx_msg); in ipmi_msg_release()
220 struct acpi_ipmi_msg *tx_msg = in ipmi_msg_release_kref() local
223 ipmi_msg_release(tx_msg); in ipmi_msg_release_kref()
226 static struct acpi_ipmi_msg *acpi_ipmi_msg_get(struct acpi_ipmi_msg *tx_msg) in acpi_ipmi_msg_get() argument
228 kref_get(&tx_msg->kref); in acpi_ipmi_msg_get()
230 return tx_msg; in acpi_ipmi_msg_get()
233 static void acpi_ipmi_msg_put(struct acpi_ipmi_msg *tx_msg) in acpi_ipmi_msg_put() argument
235 kref_put(&tx_msg->kref, ipmi_msg_release_kref); in acpi_ipmi_msg_put()
[all …]
/linux-6.6.21/drivers/i2c/busses/
Di2c-xiic.c83 struct i2c_msg *tx_msg; member
235 #define xiic_tx_space(i2c) ((i2c)->tx_msg->len - (i2c)->tx_pos)
539 i2c->tx_msg->len = 3; in xiic_smbus_block_read_setup()
632 u16 data = i2c->tx_msg->buf[i2c->tx_pos++]; in xiic_fill_tx_fifo()
660 i2c->tx_msg = NULL; in xiic_wakeup()
691 i2c->tx_msg, i2c->nmsgs); in xiic_process()
720 if (i2c->tx_msg) { in xiic_process()
756 i2c->tx_msg++; in xiic_process()
769 if (!i2c->tx_msg) { in xiic_process()
784 i2c->tx_msg++; in xiic_process()
[all …]
/linux-6.6.21/drivers/media/cec/core/
Dcec-pin.c213 return pin->tx_msg.len == 0 && in rx_arb_lost()
412 pin->tx_msg.len = 0; in cec_pin_tx_states()
440 pin->tx_msg.len = 0; in cec_pin_tx_states()
453 pin->tx_msg.len = 0; in cec_pin_tx_states()
471 pin->tx_msg.len = 0; in cec_pin_tx_states()
480 if (pin->tx_bit / 10 >= pin->tx_msg.len + pin->tx_extra_bytes) { in cec_pin_tx_states()
482 pin->tx_msg.len = 0; in cec_pin_tx_states()
502 if (idx < pin->tx_msg.len) in cec_pin_tx_states()
503 val = pin->tx_msg.msg[idx]; in cec_pin_tx_states()
511 unsigned int tot_len = pin->tx_msg.len + in cec_pin_tx_states()
[all …]
Dcec-pin-error-inj.c66 pin->tx_msg.len > 1) in cec_pin_tx_error_inj()
67 cmd = pin->tx_msg.msg[1]; in cec_pin_tx_error_inj()
Dcec-pin-priv.h189 struct cec_msg tx_msg; member
Dcec-adap.c1936 struct cec_msg tx_msg = { }; in cec_feature_abort_reason() local
1947 cec_msg_set_reply_to(&tx_msg, msg); in cec_feature_abort_reason()
1948 cec_msg_feature_abort(&tx_msg, msg->msg[1], reason); in cec_feature_abort_reason()
1949 return cec_transmit_msg(adap, &tx_msg, false); in cec_feature_abort_reason()
/linux-6.6.21/drivers/media/cec/platform/stm32/
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-6.6.21/sound/soc/sof/
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()
Dipc4.c740 .tx_msg = sof_ipc4_tx_msg,
Dsof-priv.h497 int (*tx_msg)(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, member
Dipc3.c1157 .tx_msg = sof_ipc3_tx_msg,
/linux-6.6.21/drivers/net/can/usb/peak_usb/
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->size = 0; in pcan_usb_fd_encode_msg()
Dpcan_usb_pro.h183 struct pcan_usb_pro_txmsg tx_msg; member
/linux-6.6.21/drivers/net/ieee802154/
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-6.6.21/sound/soc/intel/common/
Dsst-ipc.h40 void (*tx_msg)(struct sst_generic_ipc *, struct ipc_message *); member
Dsst-ipc.c173 if (ipc->ops.tx_msg != NULL) in ipc_tx_msgs()
174 ipc->ops.tx_msg(ipc, msg); in ipc_tx_msgs()
/linux-6.6.21/drivers/net/wireless/legacy/
Drayctl.h256 #define TX_BUF_SIZE (2048 - sizeof(struct tx_msg))
576 struct tx_msg { struct
Dray_cs.c72 static int translate_frame(ray_dev_t *local, struct tx_msg __iomem *ptx,
74 static void ray_build_header(ray_dev_t *local, struct tx_msg __iomem *ptx,
879 struct tx_msg __iomem *ptx; /* Address of xmit buffer in PC space */ in ray_hw_xmit()
948 static int translate_frame(ray_dev_t *local, struct tx_msg __iomem *ptx, in translate_frame()
982 static void ray_build_header(ray_dev_t *local, struct tx_msg __iomem *ptx, in ray_build_header()
2665 struct tx_msg __iomem *ptx; in build_auth_frame()
/linux-6.6.21/drivers/media/cec/usb/pulse8/
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()
/linux-6.6.21/sound/soc/intel/skylake/
Dcnl-sst.c428 ipc->ops.tx_msg = cnl_ipc_tx_msg; in cnl_ipc_init()
Dskl-sst-ipc.c615 ipc->ops.tx_msg = skl_ipc_tx_msg; in skl_ipc_init()