Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c468 struct pucan_msg *rx_msg) in pcan_usb_fd_decode_canmsg() argument
470 struct pucan_rx_msg *rm = (struct pucan_rx_msg *)rx_msg; in pcan_usb_fd_decode_canmsg()
525 struct pucan_msg *rx_msg) in pcan_usb_fd_decode_status() argument
527 struct pucan_status_msg *sm = (struct pucan_status_msg *)rx_msg; in pcan_usb_fd_decode_status()
590 struct pucan_msg *rx_msg) in pcan_usb_fd_decode_error() argument
592 struct pucan_error_msg *er = (struct pucan_error_msg *)rx_msg; in pcan_usb_fd_decode_error()
611 struct pucan_msg *rx_msg) in pcan_usb_fd_decode_overrun() argument
613 struct pcan_ufd_ovr_msg *ov = (struct pcan_ufd_ovr_msg *)rx_msg; in pcan_usb_fd_decode_overrun()
643 struct pucan_msg *rx_msg) in pcan_usb_fd_decode_ts() argument
645 struct pcan_ufd_ts_msg *ts = (struct pcan_ufd_ts_msg *)rx_msg; in pcan_usb_fd_decode_ts()
[all …]
Dpcan_usb_pro.h173 struct pcan_usb_pro_rxmsg rx_msg; member
Dpcan_usb_pro.c728 err = pcan_usb_pro_handle_canmsg(usb_if, &pr->rx_msg); in pcan_usb_pro_decode_buf()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/
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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/media/cec/platform/stm32/
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()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-xiic.c73 struct i2c_msg *rx_msg; member
171 #define xiic_rx_space(i2c) ((i2c)->rx_msg->len - (i2c)->rx_pos)
329 i2c->rx_msg->buf[i2c->rx_pos++] = in xiic_read_rx()
367 i2c->rx_msg = NULL; in xiic_wakeup()
414 if (i2c->rx_msg) in xiic_process()
423 if (!i2c->rx_msg) { in xiic_process()
433 i2c->rx_msg = NULL; in xiic_process()
466 if ((i2c->nmsgs == 1) && !i2c->rx_msg && in xiic_process()
556 struct i2c_msg *msg = i2c->rx_msg = i2c->tx_msg; in xiic_start_recv()
732 i2c->rx_msg = NULL; in xiic_xfer()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/media/cec/platform/cros-ec/
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()
/kernel/linux/linux-5.10/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.h183 struct cec_msg rx_msg; member
Dcec-pin-error-inj.c56 cmd = pin->rx_msg.msg[1]; in cec_pin_rx_error_inj()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/can/peak_canfd/
Dpeak_canfd_user.h45 struct pucan_rx_msg *rx_msg, int rx_count);
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0018_linux_drivers_firmware.patch2715 + tag = MSG_TAG(priv->rx_msg.header);
2716 + command = MSG_COMMAND(priv->rx_msg.header);
2717 + size = MSG_SIZE(priv->rx_msg.header);
2718 + ver = MSG_VER(priv->rx_msg.header);
2719 + status = RES_STATUS(priv->rx_msg.data[0]);
2723 + value[0] = priv->rx_msg.data[1];
2724 + value[1] = priv->rx_msg.data[2];
2725 + value[2] = priv->rx_msg.data[3];
2726 + value[3] = priv->rx_msg.data[4];
2737 + tag = MSG_TAG(priv->rx_msg.header);
[all …]
/kernel/linux/linux-5.10/drivers/net/can/usb/
Desd_usb2.c115 struct rx_msg { struct
166 struct rx_msg rx;