Home
last modified time | relevance | path

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

123

/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()
/drivers/staging/rtl8712/
Drtl871x_recv.h149 precvframe->u.hdr.rx_data += sz; in recvframe_pull()
150 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
151 precvframe->u.hdr.rx_data -= sz; in recvframe_pull()
155 return precvframe->u.hdr.rx_data; in recvframe_pull()
185 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
Drtl871x_recv.c153 iv = precvframe->u.hdr.rx_data + in r8712_recvframe_chkmic()
166 pframe = precvframe->u.hdr.rx_data; in r8712_recvframe_chkmic()
239 ptr = precv_frame->u.hdr.rx_data; in r8712_portctrl()
298 u8 *ptr = precv_frame->u.hdr.rx_data; in sta2sta_data_frame()
368 u8 *ptr = precv_frame->u.hdr.rx_data; in ap2sta_data_frame()
467 u8 *ptr = precv_frame->u.hdr.rx_data; in validate_recv_data_frame()
553 u8 *ptr = precv_frame->u.hdr.rx_data; in r8712_validate_recv_frame()
597 u8 *ptr = precvframe->u.hdr.rx_data; /*point to frame_ctrl field*/ in r8712_wlanhdr_to_ethhdr()
666 precvframe->u.hdr.rx_data); in r8712_recv_entry()
/drivers/staging/rtl8723bs/include/
Drtw_recv.h328 u8 *rx_data; member
399 precvframe->u.hdr.rx_data += sz; in recvframe_pull()
401 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
402 precvframe->u.hdr.rx_data -= sz; in recvframe_pull()
408 return precvframe->u.hdr.rx_data; in recvframe_pull()
452 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
/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);
/drivers/phy/mediatek/
Dphy-mtk-pcie.c45 u32 rx_data; member
99 data->rx_data); in mtk_pcie_efuse_set_lane()
152 ret = nvmem_cell_read_variable_le_u32(dev, efuse_id, &efuse->rx_data); in mtk_pcie_efuse_read_for_lane()
156 if (!(efuse->tx_pmos || efuse->tx_nmos || efuse->rx_data)) in mtk_pcie_efuse_read_for_lane()
/drivers/net/caif/
Dcaif_serial.c77 u8 rx_data[128]; member
112 ser->rx_blob.data = ser->rx_data; in debugfs_init()
123 if (size > sizeof(ser->rx_data)) in debugfs_rx()
124 size = sizeof(ser->rx_data); in debugfs_rx()
125 memcpy(ser->rx_data, data, size); in debugfs_rx()
126 ser->rx_blob.data = ser->rx_data; in debugfs_rx()
/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()
/drivers/staging/rtl8723bs/core/
Drtw_recv.c337 pframe = precvframe->u.hdr.rx_data; in recvframe_chkmic()
390 u8 *iv = precv_frame->u.hdr.rx_data+prxattrib->hdrlen; in decryptor()
460 ptr = precv_frame->u.hdr.rx_data; in portctrl()
534 u8 *ptr = precv_frame->u.hdr.rx_data; in process_pwrbit_data()
649 u8 *ptr = precv_frame->u.hdr.rx_data; in sta2sta_data_frame()
737 u8 *ptr = precv_frame->u.hdr.rx_data; in ap2sta_data_frame()
842 u8 *ptr = precv_frame->u.hdr.rx_data; in sta2ap_data_frame()
895 u8 *pframe = precv_frame->u.hdr.rx_data; in validate_recv_ctrl_frame()
1079 memcpy(pfhdr->rx_tail, pnfhdr->rx_data, pnfhdr->len); in recvframe_defrag()
1120 u8 type = GetFrameType(pfhdr->rx_data); in recvframe_chk_defrag()
[all …]
/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 …]
/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.c490 u8 *rx_data, u16 data_len, u8 attr) in dln2_spi_read_write_one() argument
537 dln2_spi_copy_from_buf(rx_data, rx->buf, data_len, dln2->bpw); in dln2_spi_read_write_one()
547 u8 *rx_data, u16 data_len, u8 attr) in dln2_spi_rdwr() argument
566 if (tx_data && rx_data) { in dln2_spi_rdwr()
569 rx_data + offset, in dln2_spi_rdwr()
575 } else if (rx_data) { in dln2_spi_rdwr()
577 rx_data + offset, in dln2_spi_rdwr()
Dspi-xlp.c182 u32 rx_data, rxfifo_cnt; in xlp_spi_read_rxfifo() local
188 rx_data = xlp_spi_reg_read(xspi, xspi->cs, XLP_SPI_RXDATA_FIFO); in xlp_spi_read_rxfifo()
192 xspi->rx_buf[i] = (rx_data >> (j * 8)) & 0xff; in xlp_spi_read_rxfifo()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.c4867 struct client_init_rx_data *rx_data) in bnx2x_q_fill_init_pause_data() argument
4870 rx_data->cqe_pause_thr_low = cpu_to_le16(params->rcq_th_lo); in bnx2x_q_fill_init_pause_data()
4871 rx_data->cqe_pause_thr_high = cpu_to_le16(params->rcq_th_hi); in bnx2x_q_fill_init_pause_data()
4872 rx_data->bd_pause_thr_low = cpu_to_le16(params->bd_th_lo); in bnx2x_q_fill_init_pause_data()
4873 rx_data->bd_pause_thr_high = cpu_to_le16(params->bd_th_hi); in bnx2x_q_fill_init_pause_data()
4874 rx_data->sge_pause_thr_low = cpu_to_le16(params->sge_th_lo); in bnx2x_q_fill_init_pause_data()
4875 rx_data->sge_pause_thr_high = cpu_to_le16(params->sge_th_hi); in bnx2x_q_fill_init_pause_data()
4876 rx_data->rx_cos_mask = cpu_to_le16(params->pri_map); in bnx2x_q_fill_init_pause_data()
4881 struct client_init_rx_data *rx_data, in bnx2x_q_fill_init_rx_data() argument
4884 rx_data->tpa_en = test_bit(BNX2X_Q_FLG_TPA, flags) * in bnx2x_q_fill_init_rx_data()
[all …]
/drivers/mfd/
Dipaq-micro.c96 memcpy(msg->rx_data, data, len); in micro_rx_msg()
191 memcpy(micro->version, msg.rx_data, 4); in ipaq_micro_get_version()
194 memcpy(micro->version, msg.rx_data, 4); in ipaq_micro_get_version()
216 memcpy(data + (i * 2), msg.rx_data, 2); in ipaq_micro_eeprom_read()
/drivers/staging/rtl8723bs/hal/
Drtl8723bs_recv.c84 u8 *wlanhdr = precvframe->u.hdr.rx_data; in update_recvframe_phyinfo()
308 precvframe->u.hdr.rx_data = precvframe->u.hdr.rx_tail = pkt_copy->data; in rtl8723bs_recv_tasklet()
335 u8 *pbuf_c2h = precvframe->u.hdr.rx_data; in rtl8723bs_recv_tasklet()
346 rtl8723bs_c2h_packet_handler(padapter, precvframe->u.hdr.rx_data, pattrib->pkt_len); in rtl8723bs_recv_tasklet()
/drivers/infiniband/sw/siw/
Dsiw_qp.c41 .rx_data = siw_proc_write },
48 .rx_data = siw_proc_rreq },
56 .rx_data = siw_proc_rresp },
63 .rx_data = siw_proc_send },
70 .rx_data = siw_proc_send },
77 .rx_data = siw_proc_send },
84 .rx_data = siw_proc_send },
91 .rx_data = siw_proc_terminate }
/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_leaf.c1301 const u8 *rx_data = NULL; /* GCC */ in kvaser_usb_leaf_rx_can_msg() local
1331 rx_data = cmd->u.leaf.rx_can.data; in kvaser_usb_leaf_rx_can_msg()
1334 rx_data = cmd->u.usbcan.rx_can.data; in kvaser_usb_leaf_rx_can_msg()
1360 cf->can_id = ((rx_data[0] & 0x1f) << 6) | (rx_data[1] & 0x3f); in kvaser_usb_leaf_rx_can_msg()
1364 cf->can_id |= ((rx_data[2] & 0x0f) << 14) | in kvaser_usb_leaf_rx_can_msg()
1365 ((rx_data[3] & 0xff) << 6) | in kvaser_usb_leaf_rx_can_msg()
1366 (rx_data[4] & 0x3f); in kvaser_usb_leaf_rx_can_msg()
1370 can_frame_set_cc_len(cf, rx_data[5] & 0xF, priv->can.ctrlmode); in kvaser_usb_leaf_rx_can_msg()
1375 memcpy(cf->data, &rx_data[6], cf->len); in kvaser_usb_leaf_rx_can_msg()
/drivers/net/wireless/intersil/p54/
Dp54pci.c298 p54p_check_rx_ring(dev, &priv->rx_idx_data, 0, ring_control->rx_data, in p54p_tasklet()
299 ARRAY_SIZE(ring_control->rx_data), priv->rx_buf_data); in p54p_tasklet()
385 desc = &ring_control->rx_data[i]; in p54p_stop()
456 p54p_refill_rx_ring(dev, 0, priv->ring_control->rx_data, in p54p_open()
457 ARRAY_SIZE(priv->ring_control->rx_data), priv->rx_buf_data, 0); in p54p_open()
/drivers/i2c/busses/
Di2c-bcm-iproc.c361 u8 rx_data, rx_status; in bcm_iproc_i2c_slave_read() local
368 rx_data = ((val >> S_RX_DATA_SHIFT) & S_RX_DATA_MASK); in bcm_iproc_i2c_slave_read()
373 I2C_SLAVE_WRITE_REQUESTED, &rx_data); in bcm_iproc_i2c_slave_read()
380 I2C_SLAVE_WRITE_RECEIVED, &rx_data); in bcm_iproc_i2c_slave_read()
387 &rx_data); in bcm_iproc_i2c_slave_read()
390 &rx_data); in bcm_iproc_i2c_slave_read()
/drivers/staging/nvec/
Dnvec.c445 while (!list_empty(&nvec->rx_data)) { in nvec_dispatch()
446 msg = list_first_entry(&nvec->rx_data, struct nvec_msg, node); in nvec_dispatch()
512 list_add_tail(&nvec->rx->node, &nvec->rx_data); in nvec_rx_completed()
824 INIT_LIST_HEAD(&nvec->rx_data); in tegra_nvec_probe()
Dnvec.h142 struct list_head rx_data, tx_data; member
/drivers/staging/greybus/
Dspilib.c302 void *rx_data = response->data; in gb_spi_decode_response() local
315 memcpy(xfer->rx_buf + spi->rx_xfer_offset, rx_data, in gb_spi_decode_response()
317 rx_data += xfer_len; in gb_spi_decode_response()
/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