Home
last modified time | relevance | path

Searched refs:rx_msg (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.12.1/drivers/accel/ivpu/
Divpu_ipc.c140 struct ivpu_ipc_rx_msg *rx_msg; in ivpu_ipc_rx_msg_add() local
145 rx_msg = kzalloc(sizeof(*rx_msg), GFP_ATOMIC); in ivpu_ipc_rx_msg_add()
146 if (!rx_msg) { in ivpu_ipc_rx_msg_add()
153 rx_msg->ipc_hdr = ipc_hdr; in ivpu_ipc_rx_msg_add()
154 rx_msg->jsm_msg = jsm_msg; in ivpu_ipc_rx_msg_add()
155 rx_msg->callback = cons->rx_callback; in ivpu_ipc_rx_msg_add()
157 if (rx_msg->callback) { in ivpu_ipc_rx_msg_add()
158 list_add_tail(&rx_msg->link, &ipc->cb_msg_list); in ivpu_ipc_rx_msg_add()
161 list_add_tail(&rx_msg->link, &cons->rx_msg_list); in ivpu_ipc_rx_msg_add()
168 ivpu_ipc_rx_msg_del(struct ivpu_device *vdev, struct ivpu_ipc_rx_msg *rx_msg) in ivpu_ipc_rx_msg_del() argument
[all …]
/linux-6.12.1/drivers/i2c/busses/
Di2c-xiic.c87 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.12.1/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c529 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 …]
Dpcan_usb_pro.h180 struct pcan_usb_pro_rxmsg rx_msg; member
/linux-6.12.1/drivers/mailbox/
Dmailbox-xgene-slimpro.c48 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()
Darmada-37xx-rwtm-mailbox.c46 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.12.1/drivers/gpu/drm/i2c/
Dtda9950.c68 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.12.1/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-cec.c59 struct cec_msg rx_msg; member
158 if (len > sizeof(cec->rx_msg.msg)) in dw_hdmi_cec_hardirq()
159 len = sizeof(cec->rx_msg.msg); in dw_hdmi_cec_hardirq()
162 cec->rx_msg.msg[i] = in dw_hdmi_cec_hardirq()
167 cec->rx_msg.len = len; in dw_hdmi_cec_hardirq()
189 cec_received_msg(adap, &cec->rx_msg); in dw_hdmi_cec_thread()
/linux-6.12.1/drivers/media/cec/platform/stm32/
Dstm32-cec.c74 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.12.1/drivers/net/ethernet/asix/
Dax88796c_spi.c57 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()
Dax88796c_spi.h29 struct spi_message rx_msg; member
/linux-6.12.1/drivers/media/cec/platform/meson/
Dao-cec.c225 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()
Dao-cec-g12a.c183 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.12.1/drivers/media/cec/core/
Dcec-pin.c330 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()
Dcec-pin-priv.h194 struct cec_msg rx_msg; member
Dcec-pin-error-inj.c56 cmd = pin->rx_msg.msg[1]; in cec_pin_rx_error_inj()
/linux-6.12.1/drivers/misc/mei/
Dbus.c981 struct mei_ext_hdr_gsc_f2h rx_msg; in mei_cldev_send_gsc_command() local
1049 ret = __mei_cl_recv(cl, (u8 *)&rx_msg, sizeof(rx_msg), NULL, MEI_CL_IO_SGL, 0); in mei_cldev_send_gsc_command()
1051 if (ret != sizeof(rx_msg)) { in mei_cldev_send_gsc_command()
1053 ret, sizeof(rx_msg)); in mei_cldev_send_gsc_command()
1060 if (rx_msg.client_id != client_id || rx_msg.fence_id != fence_id) { in mei_cldev_send_gsc_command()
1062 rx_msg.client_id, rx_msg.fence_id, client_id, fence_id); in mei_cldev_send_gsc_command()
1067 dev_dbg(bus->dev, "gsc command: successfully written %u bytes\n", rx_msg.written); in mei_cldev_send_gsc_command()
1068 ret = rx_msg.written; in mei_cldev_send_gsc_command()
/linux-6.12.1/drivers/net/ieee802154/
Dmrf24j40.c219 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.12.1/drivers/media/cec/platform/cros-ec/
Dcros-ec-cec.c38 struct cec_msg rx_msg; member
65 port->rx_msg.len = len; in cros_ec_cec_received_message()
66 memcpy(port->rx_msg.msg, msg, len); in cros_ec_cec_received_message()
68 cec_received_msg(port->adap, &port->rx_msg); in cros_ec_cec_received_message()
/linux-6.12.1/drivers/media/cec/usb/pulse8/
Dpulse8-cec.c182 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.12.1/drivers/net/can/peak_canfd/
Dpeak_canfd_user.h45 struct pucan_rx_msg *rx_msg, int rx_count);
/linux-6.12.1/drivers/media/cec/usb/extron-da-hd-4k-plus/
Dextron-da-hd-4k-plus.h57 struct cec_msg rx_msg[NUM_MSGS]; member
/linux-6.12.1/drivers/tty/ipwireless/
Dhardware.c1534 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()
/linux-6.12.1/sound/soc/sof/
Dipc.c184 if (!ops->tx_msg || !ops->rx_msg || !ops->set_get_data || !ops->get_reply) { in snd_sof_ipc_init()
Dsof-priv.h527 void (*rx_msg)(struct snd_sof_dev *sdev); member
746 sdev->ipc->ops->rx_msg(sdev); in snd_sof_ipc_msgs_rx()

12