/drivers/acpi/ |
D | acpi_ipmi.c | 212 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/ |
D | i2c-xiic.c | 69 struct i2c_msg *tx_msg; member 172 #define xiic_tx_space(i2c) ((i2c)->tx_msg->len - (i2c)->tx_pos) 359 u16 data = i2c->tx_msg->buf[i2c->tx_pos++]; in xiic_fill_tx_fifo() 372 i2c->tx_msg = NULL; in xiic_wakeup() 403 i2c->tx_msg, i2c->nmsgs); in xiic_process() 430 if (i2c->tx_msg) { in xiic_process() 466 i2c->tx_msg++; in xiic_process() 479 if (!i2c->tx_msg) { in xiic_process() 494 i2c->tx_msg++; in xiic_process() 517 if (!i2c->tx_msg) in xiic_process() [all …]
|
/drivers/media/cec/core/ |
D | cec-pin.c | 213 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 …]
|
D | cec-pin-error-inj.c | 66 pin->tx_msg.len > 1) in cec_pin_tx_error_inj() 67 cmd = pin->tx_msg.msg[1]; in cec_pin_tx_error_inj()
|
D | cec-pin-priv.h | 188 struct cec_msg tx_msg; member
|
D | cec-adap.c | 1933 struct cec_msg tx_msg = { }; in cec_feature_abort_reason() local 1944 cec_msg_set_reply_to(&tx_msg, msg); in cec_feature_abort_reason() 1945 cec_msg_feature_abort(&tx_msg, msg->msg[1], reason); in cec_feature_abort_reason() 1946 return cec_transmit_msg(adap, &tx_msg, false); in cec_feature_abort_reason()
|
/drivers/media/cec/platform/stm32/ |
D | stm32-cec.c | 76 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/ |
D | pcan_usb_fd.c | 752 struct pucan_tx_msg *tx_msg = (struct pucan_tx_msg *)obuf; in pcan_usb_fd_encode_msg() local 761 tx_msg->size = cpu_to_le16(tx_msg_size); in pcan_usb_fd_encode_msg() 762 tx_msg->type = cpu_to_le16(PUCAN_MSG_CAN_TX); in pcan_usb_fd_encode_msg() 767 tx_msg->can_id = cpu_to_le32(cfd->can_id & CAN_EFF_MASK); in pcan_usb_fd_encode_msg() 769 tx_msg->can_id = cpu_to_le32(cfd->can_id & CAN_SFF_MASK); in pcan_usb_fd_encode_msg() 796 tx_msg->flags = cpu_to_le16(tx_msg_flags); in pcan_usb_fd_encode_msg() 797 tx_msg->channel_dlc = PUCAN_MSG_CHANNEL_DLC(dev->ctrl_idx, dlc); in pcan_usb_fd_encode_msg() 798 memcpy(tx_msg->d, cfd->data, cfd->len); in pcan_usb_fd_encode_msg() 802 tx_msg = (struct pucan_tx_msg *)(obuf + tx_msg_size); in pcan_usb_fd_encode_msg() 804 tx_msg->size = 0; in pcan_usb_fd_encode_msg()
|
D | pcan_usb_pro.h | 182 struct pcan_usb_pro_txmsg tx_msg; member
|
/drivers/net/ieee802154/ |
D | mrf24j40.c | 205 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/ |
D | rayctl.h | 256 #define TX_BUF_SIZE (2048 - sizeof(struct tx_msg)) 576 struct tx_msg { struct
|
D | ray_cs.c | 72 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, 880 struct tx_msg __iomem *ptx; /* Address of xmit buffer in PC space */ in ray_hw_xmit() 949 static int translate_frame(ray_dev_t *local, struct tx_msg __iomem *ptx, in translate_frame() 983 static void ray_build_header(ray_dev_t *local, struct tx_msg __iomem *ptx, in ray_build_header() 2666 struct tx_msg __iomem *ptx; in build_auth_frame()
|
/drivers/media/cec/usb/pulse8/ |
D | pulse8-cec.c | 192 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()
|
/drivers/net/can/usb/ |
D | esd_usb.c | 133 struct tx_msg { struct 175 struct tx_msg tx;
|