Home
last modified time | relevance | path

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

/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
/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 …]
/drivers/i2c/busses/
Di2c-xiic.c66 struct i2c_msg *tx_msg; member
164 #define xiic_tx_space(i2c) ((i2c)->tx_msg->len - (i2c)->tx_pos)
332 u16 data = i2c->tx_msg->buf[i2c->tx_pos++]; in xiic_fill_tx_fifo()
344 i2c->tx_msg = NULL; in xiic_wakeup()
371 i2c->tx_msg, i2c->nmsgs); in xiic_process()
394 if (i2c->tx_msg) in xiic_process()
426 i2c->tx_msg++; in xiic_process()
441 if (!i2c->tx_msg) in xiic_process()
456 if (!i2c->tx_msg) { in xiic_process()
471 i2c->tx_msg++; in xiic_process()
[all …]
/drivers/media/cec/
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.c1855 struct cec_msg tx_msg = { }; in cec_feature_abort_reason() local
1866 cec_msg_set_reply_to(&tx_msg, msg); in cec_feature_abort_reason()
1867 cec_msg_feature_abort(&tx_msg, msg->msg[1], reason); in cec_feature_abort_reason()
1868 return cec_transmit_msg(adap, &tx_msg, false); in cec_feature_abort_reason()
/drivers/media/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()
/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c714 struct pucan_tx_msg *tx_msg = (struct pucan_tx_msg *)obuf; in pcan_usb_fd_encode_msg() local
720 tx_msg->size = cpu_to_le16(tx_msg_size); in pcan_usb_fd_encode_msg()
721 tx_msg->type = cpu_to_le16(PUCAN_MSG_CAN_TX); in pcan_usb_fd_encode_msg()
726 tx_msg->can_id = cpu_to_le32(cfd->can_id & CAN_EFF_MASK); in pcan_usb_fd_encode_msg()
728 tx_msg->can_id = cpu_to_le32(cfd->can_id & CAN_SFF_MASK); in pcan_usb_fd_encode_msg()
750 tx_msg->flags = cpu_to_le16(tx_msg_flags); in pcan_usb_fd_encode_msg()
751 tx_msg->channel_dlc = PUCAN_MSG_CHANNEL_DLC(dev->ctrl_idx, can_dlc); in pcan_usb_fd_encode_msg()
752 memcpy(tx_msg->d, cfd->data, cfd->len); in pcan_usb_fd_encode_msg()
756 tx_msg = (struct pucan_tx_msg *)(obuf + tx_msg_size); in pcan_usb_fd_encode_msg()
758 tx_msg->size = 0; in pcan_usb_fd_encode_msg()
Dpcan_usb_pro.h176 struct pcan_usb_pro_txmsg tx_msg; member
/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()
/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,
868 struct tx_msg __iomem *ptx; /* Address of xmit buffer in PC space */ in ray_hw_xmit()
937 static int translate_frame(ray_dev_t *local, struct tx_msg __iomem *ptx, in translate_frame()
971 static void ray_build_header(ray_dev_t *local, struct tx_msg __iomem *ptx, in ray_build_header()
2658 struct tx_msg __iomem *ptx; in build_auth_frame()
/drivers/net/can/usb/
Desd_usb2.c125 struct tx_msg { struct
167 struct tx_msg tx;