/linux-6.6.21/drivers/accel/ivpu/ |
D | ivpu_ipc.c | 162 struct ivpu_ipc_rx_msg *rx_msg, *r; in ivpu_ipc_consumer_del() local 169 list_for_each_entry_safe(rx_msg, r, &cons->rx_msg_list, link) { in ivpu_ipc_consumer_del() 170 list_del(&rx_msg->link); in ivpu_ipc_consumer_del() 171 ivpu_ipc_rx_mark_free(vdev, rx_msg->ipc_hdr, rx_msg->jsm_msg); in ivpu_ipc_consumer_del() 173 kfree(rx_msg); in ivpu_ipc_consumer_del() 209 struct ivpu_ipc_rx_msg *rx_msg; in ivpu_ipc_receive() local 224 rx_msg = list_first_entry_or_null(&cons->rx_msg_list, struct ivpu_ipc_rx_msg, link); in ivpu_ipc_receive() 225 if (!rx_msg) { in ivpu_ipc_receive() 229 list_del(&rx_msg->link); in ivpu_ipc_receive() 233 memcpy(ipc_buf, rx_msg->ipc_hdr, sizeof(*ipc_buf)); in ivpu_ipc_receive() [all …]
|
/linux-6.6.21/drivers/i2c/busses/ |
D | i2c-xiic.c | 87 struct i2c_msg *rx_msg; member 236 #define xiic_rx_space(i2c) ((i2c)->rx_msg->len - (i2c)->rx_pos) 496 i2c->rx_msg->flags &= ~I2C_M_RECV_LEN; in xiic_smbus_block_read_setup() 504 i2c->rx_msg->buf[i2c->rx_pos++] = rxmsg_len; in xiic_smbus_block_read_setup() 515 i2c->rx_msg->len = rxmsg_len + 1; in xiic_smbus_block_read_setup() 524 i2c->rx_msg->len = SMBUS_BLOCK_READ_MIN_LEN; in xiic_smbus_block_read_setup() 531 i2c->rx_msg->len = rxmsg_len + 1; in xiic_smbus_block_read_setup() 567 if (i2c->rx_msg->flags & I2C_M_RECV_LEN) { in xiic_read_rx() 601 i2c->rx_msg->buf[i2c->rx_pos++] = in xiic_read_rx() 661 i2c->rx_msg = NULL; in xiic_wakeup() [all …]
|
/linux-6.6.21/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_fd.c | 529 struct pucan_msg *rx_msg) in pcan_usb_fd_decode_canmsg() argument 531 struct pucan_rx_msg *rm = (struct pucan_rx_msg *)rx_msg; in pcan_usb_fd_decode_canmsg() 589 struct pucan_msg *rx_msg) in pcan_usb_fd_decode_status() argument 591 struct pucan_status_msg *sm = (struct pucan_status_msg *)rx_msg; in pcan_usb_fd_decode_status() 651 struct pucan_msg *rx_msg) in pcan_usb_fd_decode_error() argument 653 struct pucan_error_msg *er = (struct pucan_error_msg *)rx_msg; in pcan_usb_fd_decode_error() 672 struct pucan_msg *rx_msg) in pcan_usb_fd_decode_overrun() argument 674 struct pcan_ufd_ovr_msg *ov = (struct pcan_ufd_ovr_msg *)rx_msg; in pcan_usb_fd_decode_overrun() 705 struct pucan_msg *rx_msg) in pcan_usb_fd_decode_ts() argument 707 struct pcan_ufd_ts_msg *ts = (struct pcan_ufd_ts_msg *)rx_msg; in pcan_usb_fd_decode_ts() [all …]
|
D | pcan_usb_pro.h | 180 struct pcan_usb_pro_rxmsg rx_msg; member
|
/linux-6.6.21/drivers/mailbox/ |
D | mailbox-xgene-slimpro.c | 48 u32 rx_msg[3]; member 77 mb_chan->rx_msg[1] = readl(mb_chan->reg + REG_DB_DIN0); in mb_chan_recv_msg() 78 mb_chan->rx_msg[2] = readl(mb_chan->reg + REG_DB_DIN1); in mb_chan_recv_msg() 79 mb_chan->rx_msg[0] = readl(mb_chan->reg + REG_DB_IN); in mb_chan_recv_msg() 113 mbox_chan_received_data(mb_chan->chan, mb_chan->rx_msg); in slimpro_mbox_irq()
|
D | armada-37xx-rwtm-mailbox.c | 46 struct armada_37xx_rwtm_rx_msg rx_msg; in a37xx_mbox_receive() local 49 rx_msg.retval = readl(mbox->base + RWTM_MBOX_RETURN_STATUS); in a37xx_mbox_receive() 51 rx_msg.status[i] = readl(mbox->base + RWTM_MBOX_STATUS(i)); in a37xx_mbox_receive() 53 mbox_chan_received_data(chan, &rx_msg); in a37xx_mbox_receive()
|
/linux-6.6.21/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi-cec.c | 59 struct cec_msg rx_msg; member 154 if (len > sizeof(cec->rx_msg.msg)) in dw_hdmi_cec_hardirq() 155 len = sizeof(cec->rx_msg.msg); in dw_hdmi_cec_hardirq() 158 cec->rx_msg.msg[i] = in dw_hdmi_cec_hardirq() 163 cec->rx_msg.len = len; in dw_hdmi_cec_hardirq() 185 cec_received_msg(adap, &cec->rx_msg); in dw_hdmi_cec_thread()
|
/linux-6.6.21/drivers/gpu/drm/i2c/ |
D | tda9950.c | 68 struct cec_msg rx_msg; member 198 priv->rx_msg.len = buf[0] - 2; in tda9950_irq() 199 if (priv->rx_msg.len > CEC_MAX_MSG_SIZE) in tda9950_irq() 200 priv->rx_msg.len = CEC_MAX_MSG_SIZE; in tda9950_irq() 202 memcpy(priv->rx_msg.msg, buf + 2, priv->rx_msg.len); in tda9950_irq() 203 cec_received_msg(priv->adap, &priv->rx_msg); in tda9950_irq()
|
/linux-6.6.21/drivers/media/cec/platform/stm32/ |
D | stm32-cec.c | 74 struct cec_msg rx_msg; member 127 cec->rx_msg.len = 0; in stm32_rx_done() 135 cec->rx_msg.msg[cec->rx_msg.len++] = val & 0xFF; in stm32_rx_done() 139 cec_received_msg(cec->adap, &cec->rx_msg); in stm32_rx_done() 140 cec->rx_msg.len = 0; in stm32_rx_done()
|
/linux-6.6.21/drivers/net/ethernet/asix/ |
D | ax88796c_spi.c | 57 spi_message_add_tail(xfer, &ax_spi->rx_msg); in axspi_read_rxq() 64 spi_message_add_tail(xfer, &ax_spi->rx_msg); in axspi_read_rxq() 65 ret = spi_sync(ax_spi->spi, &ax_spi->rx_msg); in axspi_read_rxq()
|
D | ax88796c_spi.h | 29 struct spi_message rx_msg; member
|
/linux-6.6.21/drivers/media/cec/platform/meson/ |
D | ao-cec.c | 225 struct cec_msg rx_msg; member 441 ao_cec->rx_msg.len = reg + 1; in meson_ao_cec_irq_rx() 442 if (ao_cec->rx_msg.len > CEC_MAX_MSG_SIZE) in meson_ao_cec_irq_rx() 443 ao_cec->rx_msg.len = CEC_MAX_MSG_SIZE; in meson_ao_cec_irq_rx() 445 for (i = 0; i < ao_cec->rx_msg.len; i++) { in meson_ao_cec_irq_rx() 450 ao_cec->rx_msg.msg[i] = byte; in meson_ao_cec_irq_rx() 456 cec_received_msg(ao_cec->adap, &ao_cec->rx_msg); in meson_ao_cec_irq_rx()
|
D | ao-cec-g12a.c | 183 struct cec_msg rx_msg; member 434 ao_cec->rx_msg.len = val; in meson_ao_cec_g12a_irq_rx() 435 if (ao_cec->rx_msg.len > CEC_MAX_MSG_SIZE) in meson_ao_cec_g12a_irq_rx() 436 ao_cec->rx_msg.len = CEC_MAX_MSG_SIZE; in meson_ao_cec_g12a_irq_rx() 438 for (i = 0; i < ao_cec->rx_msg.len; i++) { in meson_ao_cec_g12a_irq_rx() 442 ao_cec->rx_msg.msg[i] = val & 0xff; in meson_ao_cec_g12a_irq_rx() 449 cec_received_msg(ao_cec->adap, &ao_cec->rx_msg); in meson_ao_cec_g12a_irq_rx()
|
/linux-6.6.21/drivers/media/cec/core/ |
D | cec-pin.c | 330 pin->rx_msg.len = 0; in cec_pin_to_idle() 331 memset(pin->rx_msg.msg, 0, sizeof(pin->rx_msg.msg)); in cec_pin_to_idle() 583 memset(pin->rx_msg.msg, 0, sizeof(pin->rx_msg.msg)); in cec_pin_tx_states() 584 pin->rx_msg.msg[0] = pin->tx_msg.msg[0]; in cec_pin_tx_states() 585 pin->rx_msg.msg[0] &= (0xff << (8 - pin->rx_bit)); in cec_pin_tx_states() 586 pin->rx_msg.len = 0; in cec_pin_tx_states() 728 pin->rx_msg.msg[pin->rx_bit / 10] |= in cec_pin_rx_states() 733 pin->rx_msg.len = pin->rx_bit / 10 + 1; in cec_pin_rx_states() 788 dest = cec_msg_destination(&pin->rx_msg); in cec_pin_rx_states() 818 pin->work_rx_msg = pin->rx_msg; in cec_pin_rx_states()
|
D | cec-pin-priv.h | 194 struct cec_msg rx_msg; member
|
D | cec-pin-error-inj.c | 56 cmd = pin->rx_msg.msg[1]; in cec_pin_rx_error_inj()
|
/linux-6.6.21/drivers/media/cec/platform/cros-ec/ |
D | cros-ec-cec.c | 38 struct cec_msg rx_msg; member 49 cros_ec_cec->rx_msg.len = len; in handle_cec_message() 50 memcpy(cros_ec_cec->rx_msg.msg, cec_message, len); in handle_cec_message() 52 cec_received_msg(cros_ec_cec->adap, &cros_ec_cec->rx_msg); in handle_cec_message()
|
/linux-6.6.21/drivers/misc/mei/ |
D | bus.c | 897 struct mei_ext_hdr_gsc_f2h rx_msg; in mei_cldev_send_gsc_command() local 965 ret = __mei_cl_recv(cl, (u8 *)&rx_msg, sizeof(rx_msg), NULL, MEI_CL_IO_SGL, 0); in mei_cldev_send_gsc_command() 967 if (ret != sizeof(rx_msg)) { in mei_cldev_send_gsc_command() 969 ret, sizeof(rx_msg)); in mei_cldev_send_gsc_command() 976 if (rx_msg.client_id != client_id || rx_msg.fence_id != fence_id) { in mei_cldev_send_gsc_command() 978 rx_msg.client_id, rx_msg.fence_id, client_id, fence_id); in mei_cldev_send_gsc_command() 983 dev_dbg(bus->dev, "gsc command: successfully written %u bytes\n", rx_msg.written); in mei_cldev_send_gsc_command() 984 ret = rx_msg.written; in mei_cldev_send_gsc_command()
|
/linux-6.6.21/drivers/net/ieee802154/ |
D | mrf24j40.c | 219 struct spi_message rx_msg; member 744 devrec->rx_msg.complete = NULL; in mrf24j40_handle_rx_read_buf_unlock() 747 ret = spi_async(devrec->spi, &devrec->rx_msg); in mrf24j40_handle_rx_read_buf_unlock() 807 devrec->rx_msg.complete = mrf24j40_handle_rx_read_buf; in mrf24j40_handle_rx_read_len() 813 ret = spi_async(devrec->spi, &devrec->rx_msg); in mrf24j40_handle_rx_read_len() 825 devrec->rx_msg.complete = mrf24j40_handle_rx_read_len; in mrf24j40_handle_rx() 830 return spi_async(devrec->spi, &devrec->rx_msg); in mrf24j40_handle_rx() 1204 spi_message_init(&devrec->rx_msg); in mrf24j40_setup_rx_spi_messages() 1205 devrec->rx_msg.context = devrec; in mrf24j40_setup_rx_spi_messages() 1209 spi_message_add_tail(&devrec->rx_trx, &devrec->rx_msg); in mrf24j40_setup_rx_spi_messages()
|
/linux-6.6.21/drivers/media/cec/usb/pulse8/ |
D | pulse8-cec.c | 182 struct cec_msg rx_msg[NUM_MSGS]; member 342 pulse8->rx_msg[pulse8->rx_msg_cur_idx].len, in pulse8_irq_work_handler() 343 pulse8->rx_msg[pulse8->rx_msg_cur_idx].msg); in pulse8_irq_work_handler() 345 &pulse8->rx_msg[pulse8->rx_msg_cur_idx]); in pulse8_irq_work_handler() 418 memcpy(pulse8->rx_msg[idx].msg, pulse8->new_rx_msg, in pulse8_interrupt() 420 pulse8->rx_msg[idx].len = pulse8->new_rx_msg_len; in pulse8_interrupt()
|
/linux-6.6.21/drivers/net/can/peak_canfd/ |
D | peak_canfd_user.h | 45 struct pucan_rx_msg *rx_msg, int rx_count);
|
/linux-6.6.21/sound/soc/sof/ |
D | ipc.c | 184 if (!ops->tx_msg || !ops->rx_msg || !ops->set_get_data || !ops->get_reply) { in snd_sof_ipc_init()
|
D | sof-priv.h | 502 void (*rx_msg)(struct snd_sof_dev *sdev); member 713 sdev->ipc->ops->rx_msg(sdev); in snd_sof_ipc_msgs_rx()
|
D | ipc4.c | 741 .rx_msg = sof_ipc4_rx_msg,
|
/linux-6.6.21/drivers/tty/ipwireless/ |
D | hardware.c | 1534 const union ipw_setup_rx_msg *rx_msg = (const union ipw_setup_rx_msg *) data; in handle_received_SETUP_packet() local 1542 switch (rx_msg->sig_no) { in handle_received_SETUP_packet() 1546 rx_msg->version_rsp_msg.version); in handle_received_SETUP_packet() 1551 unsigned int channel_idx = rx_msg->open_msg.port_no - 1; in handle_received_SETUP_packet() 1594 (unsigned int) rx_msg->sig_no); in handle_received_SETUP_packet()
|