Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/accel/ivpu/
A Divpu_ipc.c170 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()
230 if (!rx_msg) { in ivpu_ipc_receive()
234 list_del(&rx_msg->link); in ivpu_ipc_receive()
239 if (rx_msg->jsm_msg) { in ivpu_ipc_receive()
251 ivpu_ipc_rx_mark_free(vdev, rx_msg->ipc_hdr, rx_msg->jsm_msg); in ivpu_ipc_receive()
253 kfree(rx_msg); in ivpu_ipc_receive()
345 rx_msg = kzalloc(sizeof(*rx_msg), GFP_ATOMIC); in ivpu_ipc_dispatch()
346 if (!rx_msg) { in ivpu_ipc_dispatch()
[all …]
/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-xiic.c87 struct i2c_msg *rx_msg; member
515 i2c->rx_msg->len = rxmsg_len + 1; in xiic_smbus_block_read_setup()
531 i2c->rx_msg->len = rxmsg_len + 1; in xiic_smbus_block_read_setup()
601 i2c->rx_msg->buf[i2c->rx_pos++] = in xiic_read_rx()
661 i2c->rx_msg = NULL; in xiic_wakeup()
716 if (i2c->rx_msg) { in xiic_process()
729 if (!i2c->rx_msg) { in xiic_process()
739 i2c->rx_msg = NULL; in xiic_process()
850 if (i2c->tx_msg || i2c->rx_msg) in xiic_busy()
1110 i2c->rx_msg = NULL; in xiic_start_xfer()
[all …]
/linux-6.3-rc2/drivers/net/can/usb/peak_usb/
A Dpcan_usb_fd.c529 struct pucan_msg *rx_msg) in pcan_usb_fd_decode_canmsg() argument
589 struct pucan_msg *rx_msg) in pcan_usb_fd_decode_status() argument
651 struct pucan_msg *rx_msg) in pcan_usb_fd_decode_error() argument
672 struct pucan_msg *rx_msg) in pcan_usb_fd_decode_overrun() argument
705 struct pucan_msg *rx_msg) in pcan_usb_fd_decode_ts() argument
721 struct pucan_msg *rx_msg; in pcan_usb_fd_decode_buf() local
731 rx_msg = (struct pucan_msg *)msg_ptr; in pcan_usb_fd_decode_buf()
732 if (!rx_msg->size) { in pcan_usb_fd_decode_buf()
737 rx_msg_size = le16_to_cpu(rx_msg->size); in pcan_usb_fd_decode_buf()
738 rx_msg_type = le16_to_cpu(rx_msg->type); in pcan_usb_fd_decode_buf()
[all …]
A Dpcan_usb_pro.h180 struct pcan_usb_pro_rxmsg rx_msg; member
/linux-6.3-rc2/drivers/mailbox/
A 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()
A 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.3-rc2/drivers/gpu/drm/bridge/synopsys/
A Ddw-hdmi-cec.c59 struct cec_msg rx_msg; member
150 if (len > sizeof(cec->rx_msg.msg)) in dw_hdmi_cec_hardirq()
151 len = sizeof(cec->rx_msg.msg); in dw_hdmi_cec_hardirq()
154 cec->rx_msg.msg[i] = in dw_hdmi_cec_hardirq()
159 cec->rx_msg.len = len; in dw_hdmi_cec_hardirq()
181 cec_received_msg(adap, &cec->rx_msg); in dw_hdmi_cec_thread()
/linux-6.3-rc2/drivers/gpu/drm/i2c/
A 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.3-rc2/drivers/media/cec/platform/stm32/
A Dstm32-cec.c75 struct cec_msg rx_msg; member
128 cec->rx_msg.len = 0; in stm32_rx_done()
136 cec->rx_msg.msg[cec->rx_msg.len++] = val & 0xFF; in stm32_rx_done()
140 cec_received_msg(cec->adap, &cec->rx_msg); in stm32_rx_done()
141 cec->rx_msg.len = 0; in stm32_rx_done()
/linux-6.3-rc2/drivers/net/ethernet/asix/
A 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()
A Dax88796c_spi.h29 struct spi_message rx_msg; member
/linux-6.3-rc2/drivers/media/cec/platform/meson/
A 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()
A 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.3-rc2/drivers/media/cec/core/
A 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()
A Dcec-pin-priv.h193 struct cec_msg rx_msg; member
A Dcec-pin-error-inj.c56 cmd = pin->rx_msg.msg[1]; in cec_pin_rx_error_inj()
/linux-6.3-rc2/drivers/media/cec/platform/cros-ec/
A Dcros-ec-cec.c38 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.3-rc2/drivers/misc/mei/
A Dbus.c897 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.3-rc2/drivers/net/ieee802154/
A 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.3-rc2/drivers/media/cec/usb/pulse8/
A 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.3-rc2/drivers/net/can/peak_canfd/
A Dpeak_canfd_user.h45 struct pucan_rx_msg *rx_msg, int rx_count);
/linux-6.3-rc2/sound/soc/sof/
A Dipc.c184 if (!ops->tx_msg || !ops->rx_msg || !ops->set_get_data || !ops->get_reply) { in snd_sof_ipc_init()
A Dsof-priv.h498 void (*rx_msg)(struct snd_sof_dev *sdev); member
699 sdev->ipc->ops->rx_msg(sdev); in snd_sof_ipc_msgs_rx()
/linux-6.3-rc2/drivers/tty/ipwireless/
A 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.3-rc2/drivers/net/can/usb/
A Desd_usb.c123 struct rx_msg { struct
182 struct rx_msg rx;

Completed in 79 milliseconds

12