Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/
Dtx.c537 struct i2400m_msg_hdr *msg_hdr = i2400m->tx_msg; in i2400m_tx_fits()
564 struct i2400m_msg_hdr *tx_msg; in i2400m_tx_new() local
566 BUG_ON(i2400m->tx_msg != NULL); in i2400m_tx_new()
576 tx_msg = i2400m_tx_fifo_push(i2400m, I2400M_TX_PLD_SIZE, in i2400m_tx_new()
578 if (tx_msg == NULL) in i2400m_tx_new()
580 else if (tx_msg == TAIL_FULL) { in i2400m_tx_new()
586 memset(tx_msg, 0, I2400M_TX_PLD_SIZE); in i2400m_tx_new()
587 tx_msg->size = I2400M_TX_PLD_SIZE; in i2400m_tx_new()
589 i2400m->tx_msg = tx_msg; in i2400m_tx_new()
591 tx_msg, (void *) tx_msg - i2400m->tx_buf); in i2400m_tx_new()
[all …]
Dusb-tx.c87 int i2400mu_tx(struct i2400mu *i2400mu, struct i2400m_msg_hdr *tx_msg, in i2400mu_tx() argument
108 tx_msg, tx_msg_size, &sent_size, 200); in i2400mu_tx()
156 (void *) tx_msg - i2400m->tx_buf, in i2400mu_tx()
183 struct i2400m_msg_hdr *tx_msg; in i2400mu_txd() local
196 tx_msg = NULL; in i2400mu_txd()
200 || (tx_msg = i2400m_tx_msg_get(i2400m, &tx_msg_size))) in i2400mu_txd()
204 WARN_ON(tx_msg == NULL); /* should not happen...*/ in i2400mu_txd()
206 d_dump(5, dev, tx_msg, tx_msg_size); in i2400mu_txd()
208 i2400mu_tx(i2400mu, tx_msg, tx_msg_size); in i2400mu_txd()
Di2400m.h602 struct i2400m_msg_hdr *tx_msg; member
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-xiic.c69 struct i2c_msg *tx_msg; member
170 #define xiic_tx_space(i2c) ((i2c)->tx_msg->len - (i2c)->tx_pos)
354 u16 data = i2c->tx_msg->buf[i2c->tx_pos++]; in xiic_fill_tx_fifo()
366 i2c->tx_msg = NULL; in xiic_wakeup()
393 i2c->tx_msg, i2c->nmsgs); in xiic_process()
416 if (i2c->tx_msg) in xiic_process()
448 i2c->tx_msg++; in xiic_process()
463 if (!i2c->tx_msg) in xiic_process()
478 if (!i2c->tx_msg) { in xiic_process()
493 i2c->tx_msg++; in xiic_process()
[all …]
/kernel/linux/linux-5.10/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.h178 struct cec_msg tx_msg; member
Dcec-adap.c1862 struct cec_msg tx_msg = { }; in cec_feature_abort_reason() local
1873 cec_msg_set_reply_to(&tx_msg, msg); in cec_feature_abort_reason()
1874 cec_msg_feature_abort(&tx_msg, msg->msg[1], reason); in cec_feature_abort_reason()
1875 return cec_transmit_msg(adap, &tx_msg, false); in cec_feature_abort_reason()
/kernel/linux/linux-5.10/drivers/media/cec/platform/stm32/
Dstm32-cec.c76 struct cec_msg tx_msg; member
112 if (cec->tx_cnt < cec->tx_msg.len) in stm32_tx_done()
114 cec->tx_msg.msg[cec->tx_cnt++]); in stm32_tx_done()
117 if (cec->tx_cnt == cec->tx_msg.len) in stm32_tx_done()
221 cec->tx_msg = *msg; in stm32_cec_adap_transmit()
228 if (cec->tx_msg.len == 1) in stm32_cec_adap_transmit()
235 regmap_write(cec->regmap, CEC_TXDR, cec->tx_msg.msg[0]); in stm32_cec_adap_transmit()
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c736 struct pucan_tx_msg *tx_msg = (struct pucan_tx_msg *)obuf; in pcan_usb_fd_encode_msg() local
745 tx_msg->size = cpu_to_le16(tx_msg_size); in pcan_usb_fd_encode_msg()
746 tx_msg->type = cpu_to_le16(PUCAN_MSG_CAN_TX); in pcan_usb_fd_encode_msg()
751 tx_msg->can_id = cpu_to_le32(cfd->can_id & CAN_EFF_MASK); in pcan_usb_fd_encode_msg()
753 tx_msg->can_id = cpu_to_le32(cfd->can_id & CAN_SFF_MASK); in pcan_usb_fd_encode_msg()
775 tx_msg->flags = cpu_to_le16(tx_msg_flags); in pcan_usb_fd_encode_msg()
776 tx_msg->channel_dlc = PUCAN_MSG_CHANNEL_DLC(dev->ctrl_idx, can_dlc); in pcan_usb_fd_encode_msg()
777 memcpy(tx_msg->d, cfd->data, cfd->len); in pcan_usb_fd_encode_msg()
781 tx_msg = (struct pucan_tx_msg *)(obuf + tx_msg_size); in pcan_usb_fd_encode_msg()
783 tx_msg->size = 0; in pcan_usb_fd_encode_msg()
Dpcan_usb_pro.h176 struct pcan_usb_pro_txmsg tx_msg; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/wireless/
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,
874 struct tx_msg __iomem *ptx; /* Address of xmit buffer in PC space */ in ray_hw_xmit()
943 static int translate_frame(ray_dev_t *local, struct tx_msg __iomem *ptx, in translate_frame()
977 static void ray_build_header(ray_dev_t *local, struct tx_msg __iomem *ptx, in ray_build_header()
2664 struct tx_msg __iomem *ptx; in build_auth_frame()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/can/usb/
Desd_usb2.c125 struct tx_msg { struct
167 struct tx_msg tx;
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0018_linux_drivers_firmware.patch2687 + err = mbox_send_message(priv->tx_chan, &priv->tx_msg);
2762 + err = plat_fill_cmd_msg_hdr((struct mu_hdr *)&priv->tx_msg.header, SENTNL_READ_FUSE_REQ, 8);
2768 + priv->tx_msg.data[0] = fuse_id;
3848 + struct sentnl_api_msg tx_msg, rx_msg;