Home
last modified time | relevance | path

Searched refs:rx_data (Results 1 – 25 of 66) sorted by relevance

123

/Linux-v5.4/drivers/power/supply/
Dipaq_micro_battery.c75 mb->ac = msg_battery.rx_data[0]; in micro_battery_work()
76 mb->chemistry = msg_battery.rx_data[1]; in micro_battery_work()
77 mb->voltage = ((((unsigned short)msg_battery.rx_data[3] << 8) + in micro_battery_work()
78 msg_battery.rx_data[2]) * 5000L) * 1000 / 1024; in micro_battery_work()
79 mb->flag = msg_battery.rx_data[4]; in micro_battery_work()
86 mb->temperature = msg_sensor.rx_data[1] << 8 | msg_sensor.rx_data[0]; in micro_battery_work()
/Linux-v5.4/drivers/staging/rtl8712/
Drtl871x_recv.h151 return precvframe->u.hdr.rx_data; in get_recvframe_data()
161 precvframe->u.hdr.rx_data += sz; in recvframe_pull()
162 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
163 precvframe->u.hdr.rx_data -= sz; in recvframe_pull()
167 return precvframe->u.hdr.rx_data; in recvframe_pull()
197 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
Drtl871x_recv.c155 iv = precvframe->u.hdr.rx_data + in r8712_recvframe_chkmic()
168 pframe = precvframe->u.hdr.rx_data; in r8712_recvframe_chkmic()
299 u8 *ptr = precv_frame->u.hdr.rx_data; in sta2sta_data_frame()
369 u8 *ptr = precv_frame->u.hdr.rx_data; in ap2sta_data_frame()
469 u8 *ptr = precv_frame->u.hdr.rx_data; in validate_recv_data_frame()
555 u8 *ptr = precv_frame->u.hdr.rx_data; in r8712_validate_recv_frame()
668 precvframe->u.hdr.rx_data); in r8712_recv_entry()
/Linux-v5.4/drivers/staging/rtl8723bs/include/
Drtw_recv.h357 u8 *rx_data; member
424 return precvframe->u.hdr.rx_data; in get_recvframe_data()
439 precvframe->u.hdr.rx_data += sz; in recvframe_pull()
441 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) in recvframe_pull()
443 precvframe->u.hdr.rx_data -= sz; in recvframe_pull()
449 return precvframe->u.hdr.rx_data; in recvframe_pull()
494 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) in recvframe_pull_tail()
/Linux-v5.4/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_spi_device.c44 u8 *rx_data, in cxd2880_spi_device_write_read() argument
51 !tx_size || !rx_data || !rx_size) in cxd2880_spi_device_write_read()
57 tx_size, rx_data, rx_size); in cxd2880_spi_device_write_read()
Dcxd2880_spi.h29 u8 *rx_data, u32 rx_size);
/Linux-v5.4/drivers/net/ethernet/qualcomm/
Dqca_7k.c46 __be16 rx_data; in qcaspi_read_register() local
61 transfer[1].rx_buf = &rx_data; in qcaspi_read_register()
79 *result = be16_to_cpu(rx_data); in qcaspi_read_register()
/Linux-v5.4/drivers/net/caif/
Dcaif_serial.c77 u8 rx_data[128]; member
113 ser->rx_blob.data = ser->rx_data; in debugfs_init()
124 if (size > sizeof(ser->rx_data)) in debugfs_rx()
125 size = sizeof(ser->rx_data); in debugfs_rx()
126 memcpy(ser->rx_data, data, size); in debugfs_rx()
127 ser->rx_blob.data = ser->rx_data; in debugfs_rx()
/Linux-v5.4/drivers/staging/rtl8723bs/core/
Drtw_recv.c360 pframe = precvframe->u.hdr.rx_data; in recvframe_chkmic()
392 *(precvframe->u.hdr.rx_data+i), *(precvframe->u.hdr.rx_data+i+1), in recvframe_chkmic()
393 *(precvframe->u.hdr.rx_data+i+2), *(precvframe->u.hdr.rx_data+i+3), in recvframe_chkmic()
394 *(precvframe->u.hdr.rx_data+i+4), *(precvframe->u.hdr.rx_data+i+5), in recvframe_chkmic()
395 *(precvframe->u.hdr.rx_data+i+6), *(precvframe->u.hdr.rx_data+i+7))); in recvframe_chkmic()
456 u8 *iv = precv_frame->u.hdr.rx_data+prxattrib->hdrlen; in decryptor()
653 u8 *ptr = precv_frame->u.hdr.rx_data; in process_pwrbit_data()
782 u8 *ptr = precv_frame->u.hdr.rx_data; in sta2sta_data_frame()
881 u8 *ptr = precv_frame->u.hdr.rx_data; in ap2sta_data_frame()
1030 u8 *ptr = precv_frame->u.hdr.rx_data; in sta2ap_data_frame()
[all …]
/Linux-v5.4/drivers/net/wireless/intersil/orinoco/
Dmain.c837 struct orinoco_rx_data *rx_data; in __orinoco_ev_rx() local
924 rx_data = kzalloc(sizeof(*rx_data), GFP_ATOMIC); in __orinoco_ev_rx()
925 if (!rx_data) in __orinoco_ev_rx()
928 rx_data->desc = desc; in __orinoco_ev_rx()
929 rx_data->skb = skb; in __orinoco_ev_rx()
930 list_add_tail(&rx_data->list, &priv->rx_list); in __orinoco_ev_rx()
1069 struct orinoco_rx_data *rx_data, *temp; in orinoco_rx_isr_tasklet() local
1084 list_for_each_entry_safe(rx_data, temp, &priv->rx_list, list) { in orinoco_rx_isr_tasklet()
1085 desc = rx_data->desc; in orinoco_rx_isr_tasklet()
1086 skb = rx_data->skb; in orinoco_rx_isr_tasklet()
[all …]
/Linux-v5.4/drivers/spi/
Dspi-fsl-lib.h47 void (*get_rx) (u32 rx_data, struct mpc8xxx_spi *);
75 void (*get_rx) (u32 rx_data, struct mpc8xxx_spi *);
Dspi-dln2.c489 u8 *rx_data, u16 data_len, u8 attr) in dln2_spi_read_write_one() argument
536 dln2_spi_copy_from_buf(rx_data, rx->buf, data_len, dln2->bpw); in dln2_spi_read_write_one()
546 u8 *rx_data, u16 data_len, u8 attr) { in dln2_spi_rdwr() argument
564 if (tx_data && rx_data) { in dln2_spi_rdwr()
567 rx_data + offset, in dln2_spi_rdwr()
573 } else if (rx_data) { in dln2_spi_rdwr()
575 rx_data + offset, in dln2_spi_rdwr()
Dspi-xlp.c183 u32 rx_data, rxfifo_cnt; in xlp_spi_read_rxfifo() local
189 rx_data = xlp_spi_reg_read(xspi, xspi->cs, XLP_SPI_RXDATA_FIFO); in xlp_spi_read_rxfifo()
193 xspi->rx_buf[i] = (rx_data >> (j * 8)) & 0xff; in xlp_spi_read_rxfifo()
/Linux-v5.4/drivers/gpu/drm/gma500/
Dtc35876x-dsi-lvds.c279 u8 rx_data[4]; in tc35876x_regr() local
290 .buf = rx_data, in tc35876x_regr()
291 .len = ARRAY_SIZE(rx_data), in tc35876x_regr()
308 *value = rx_data[0] << 24 | rx_data[1] << 16 | in tc35876x_regr()
309 rx_data[2] << 8 | rx_data[3]; in tc35876x_regr()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.c4865 struct client_init_rx_data *rx_data) in bnx2x_q_fill_init_pause_data() argument
4868 rx_data->cqe_pause_thr_low = cpu_to_le16(params->rcq_th_lo); in bnx2x_q_fill_init_pause_data()
4869 rx_data->cqe_pause_thr_high = cpu_to_le16(params->rcq_th_hi); in bnx2x_q_fill_init_pause_data()
4870 rx_data->bd_pause_thr_low = cpu_to_le16(params->bd_th_lo); in bnx2x_q_fill_init_pause_data()
4871 rx_data->bd_pause_thr_high = cpu_to_le16(params->bd_th_hi); in bnx2x_q_fill_init_pause_data()
4872 rx_data->sge_pause_thr_low = cpu_to_le16(params->sge_th_lo); in bnx2x_q_fill_init_pause_data()
4873 rx_data->sge_pause_thr_high = cpu_to_le16(params->sge_th_hi); in bnx2x_q_fill_init_pause_data()
4874 rx_data->rx_cos_mask = cpu_to_le16(params->pri_map); in bnx2x_q_fill_init_pause_data()
4879 struct client_init_rx_data *rx_data, in bnx2x_q_fill_init_rx_data() argument
4882 rx_data->tpa_en = test_bit(BNX2X_Q_FLG_TPA, flags) * in bnx2x_q_fill_init_rx_data()
[all …]
/Linux-v5.4/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_leaf.c930 const u8 *rx_data = NULL; /* GCC */ in kvaser_usb_leaf_rx_can_msg() local
960 rx_data = cmd->u.leaf.rx_can.data; in kvaser_usb_leaf_rx_can_msg()
963 rx_data = cmd->u.usbcan.rx_can.data; in kvaser_usb_leaf_rx_can_msg()
989 cf->can_id = ((rx_data[0] & 0x1f) << 6) | (rx_data[1] & 0x3f); in kvaser_usb_leaf_rx_can_msg()
993 cf->can_id |= ((rx_data[2] & 0x0f) << 14) | in kvaser_usb_leaf_rx_can_msg()
994 ((rx_data[3] & 0xff) << 6) | in kvaser_usb_leaf_rx_can_msg()
995 (rx_data[4] & 0x3f); in kvaser_usb_leaf_rx_can_msg()
999 cf->can_dlc = get_can_dlc(rx_data[5]); in kvaser_usb_leaf_rx_can_msg()
1004 memcpy(cf->data, &rx_data[6], cf->can_dlc); in kvaser_usb_leaf_rx_can_msg()
/Linux-v5.4/drivers/mfd/
Dipaq-micro.c98 memcpy(msg->rx_data, data, len); in micro_rx_msg()
196 memcpy(micro->version, msg.rx_data, 4); in ipaq_micro_get_version()
199 memcpy(micro->version, msg.rx_data, 4); in ipaq_micro_get_version()
221 memcpy(data + (i * 2), msg.rx_data, 2); in ipaq_micro_eeprom_read()
/Linux-v5.4/drivers/net/wireless/intersil/p54/
Dp54pci.c294 p54p_check_rx_ring(dev, &priv->rx_idx_data, 0, ring_control->rx_data, in p54p_tasklet()
295 ARRAY_SIZE(ring_control->rx_data), priv->rx_buf_data); in p54p_tasklet()
379 desc = &ring_control->rx_data[i]; in p54p_stop()
450 p54p_refill_rx_ring(dev, 0, priv->ring_control->rx_data, in p54p_open()
451 ARRAY_SIZE(priv->ring_control->rx_data), priv->rx_buf_data, 0); in p54p_open()
Dp54pci.h80 struct p54p_desc rx_data[8]; member
/Linux-v5.4/drivers/staging/rtl8723bs/hal/
Drtl8723bs_recv.c324 precvframe->u.hdr.rx_data = precvframe->u.hdr.rx_tail = pkt_copy->data; in rtl8723bs_recv_tasklet()
339 precvframe->u.hdr.rx_head = precvframe->u.hdr.rx_data = precvframe->u.hdr.rx_tail in rtl8723bs_recv_tasklet()
375 u8 *pbuf_c2h = precvframe->u.hdr.rx_data; in rtl8723bs_recv_tasklet()
386 rtl8723bs_c2h_packet_handler(padapter, precvframe->u.hdr.rx_data, pattrib->pkt_len); in rtl8723bs_recv_tasklet()
/Linux-v5.4/drivers/infiniband/sw/siw/
Dsiw_qp.c40 .rx_data = siw_proc_write },
47 .rx_data = siw_proc_rreq },
55 .rx_data = siw_proc_rresp },
62 .rx_data = siw_proc_send },
69 .rx_data = siw_proc_send },
76 .rx_data = siw_proc_send },
83 .rx_data = siw_proc_send },
90 .rx_data = siw_proc_terminate }
/Linux-v5.4/drivers/staging/nvec/
Dnvec.h142 struct list_head rx_data, tx_data; member
Dnvec.c444 while (!list_empty(&nvec->rx_data)) { in nvec_dispatch()
445 msg = list_first_entry(&nvec->rx_data, struct nvec_msg, node); in nvec_dispatch()
511 list_add_tail(&nvec->rx->node, &nvec->rx_data); in nvec_rx_completed()
823 INIT_LIST_HEAD(&nvec->rx_data); in tegra_nvec_probe()
/Linux-v5.4/include/linux/mfd/
Dipaq-micro.h88 u8 rx_data[RX_BUF_SIZE]; member
/Linux-v5.4/drivers/net/wireless/ti/wlcore/
Dhw_ops.h64 wlcore_hw_get_rx_packet_len(struct wl1271 *wl, void *rx_data, u32 data_len) in wlcore_hw_get_rx_packet_len() argument
69 return wl->ops->get_rx_packet_len(wl, rx_data, data_len); in wlcore_hw_get_rx_packet_len()

123