Home
last modified time | relevance | path

Searched refs:tx_msg (Results 1 - 25 of 42) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/
H A Dtx.c84 * Open: it is marked as active (i2400m->tx_msg is valid) and we
530 * Assumes a TX message is active (i2400m->tx_msg).
537 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 in i2400m_tx_new()
616 struct i2400m_msg_hdr *tx_msg = i2400m->tx_msg; i2400m_tx_close() local
778 struct i2400m_msg_hdr *tx_msg = i2400m->tx_msg; i2400m_tx() local
841 struct i2400m_msg_hdr *tx_msg, *tx_msg_moved; i2400m_tx_msg_get() local
[all...]
H A 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()
155 "tx_msg @%zu %zu B [%d sent]: %d\n", 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_siz in i2400mu_txd()
[all...]
/kernel/linux/linux-5.10/drivers/acpi/
H A 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 in acpi_ipmi_msg_put()
240 acpi_format_ipmi_request(struct acpi_ipmi_msg *tx_msg, acpi_physical_address address, acpi_integer *value) acpi_format_ipmi_request() argument
326 struct acpi_ipmi_msg *tx_msg; ipmi_flush_tx_msg() local
356 struct acpi_ipmi_msg *tx_msg, *temp; ipmi_cancel_tx_msg() local
378 struct acpi_ipmi_msg *tx_msg, *temp; ipmi_msg_handler() local
527 struct acpi_ipmi_msg *tx_msg; acpi_ipmi_space_handler() local
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A 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 in acpi_ipmi_msg_put()
240 acpi_format_ipmi_request(struct acpi_ipmi_msg *tx_msg, acpi_physical_address address, acpi_integer *value) acpi_format_ipmi_request() argument
326 struct acpi_ipmi_msg *tx_msg; ipmi_flush_tx_msg() local
356 struct acpi_ipmi_msg *tx_msg = NULL, *iter, *temp; ipmi_cancel_tx_msg() local
376 struct acpi_ipmi_msg *tx_msg = NULL, *iter, *temp; ipmi_msg_handler() local
523 struct acpi_ipmi_msg *tx_msg; acpi_ipmi_space_handler() local
[all...]
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-xiic.c53 * @tx_msg: Messages from above to be sent
56 * @nmsgs: Number of messages in tx_msg
69 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()
396 i2c->tx_msg, i2c->nmsgs); in xiic_process()
421 if (i2c->tx_msg) { in xiic_process()
457 i2c->tx_msg++; in xiic_process()
471 if (!i2c->tx_msg) in xiic_process()
[all...]
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-xiic.c61 * @tx_msg: Messages from above to be sent
64 * @nmsgs: Number of messages in tx_msg
83 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()
[all...]
/kernel/linux/linux-5.10/drivers/media/cec/platform/stm32/
H A 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-6.6/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()
/kernel/linux/linux-5.10/drivers/media/cec/core/
H A 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 in cec_pin_tx_states()
[all...]
H A 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()
H A Dcec-pin-priv.h178 struct cec_msg tx_msg; member
/kernel/linux/linux-6.6/drivers/media/cec/core/
H A 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 in cec_pin_tx_states()
[all...]
H A 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()
H A Dcec-pin-priv.h189 struct cec_msg tx_msg; member
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/
H A 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 in pcan_usb_fd_encode_msg()
[all...]
H A Dpcan_usb_pro.h176 struct pcan_usb_pro_txmsg tx_msg; member
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/sound/soc/intel/common/
H A Dsst-ipc.h40 void (*tx_msg)(struct sst_generic_ipc *, struct ipc_message *); member
H A 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-6.6/sound/soc/intel/common/
H A Dsst-ipc.h40 void (*tx_msg)(struct sst_generic_ipc *, struct ipc_message *); member
H A Dsst-ipc.c173 if (ipc->ops.tx_msg != NULL) in ipc_tx_msgs()
174 ipc->ops.tx_msg(ipc, msg); in ipc_tx_msgs()

Completed in 20 milliseconds

12