Home
last modified time | relevance | path

Searched refs:buf_ptr (Results 1 – 25 of 40) sorted by relevance

12

/drivers/usb/host/
Dfhci-tds.c71 __be32 buf_ptr; member
91 out_be32(&ep->empty_td->buf_ptr, DUMMY_BD_BUFFER); in fhci_push_dummy_bd()
217 out_be32(&td->buf_ptr, 0); in fhci_create_ep()
300 buf = in_be32(&td->buf_ptr); in fhci_td_transaction_confirm()
313 out_be32(&td->buf_ptr, 0); in fhci_td_transaction_confirm()
409 out_be32(&td->buf_ptr, virt_to_phys(pkt->data)); in fhci_host_transaction()
483 buf = in_be32(&td->buf_ptr); in fhci_flush_bds()
490 else if (in_be32(&td->buf_ptr) == DUMMY_BD_BUFFER) in fhci_flush_bds()
491 out_be32(&td->buf_ptr, DUMMY2_BD_BUFFER); in fhci_flush_bds()
505 out_be32(&td->buf_ptr, 0); in fhci_flush_bds()
[all …]
/drivers/staging/rtl8188eu/hal/
Dfw.c61 u8 *buf_ptr = (u8 *)buffer; in _rtl88e_fw_block_write() local
76 buf_ptr += offset; in _rtl88e_fw_block_write()
79 offset + i), *(buf_ptr + i)); in _rtl88e_fw_block_write()
114 u8 *buf_ptr = buffer; in _rtl88e_write_fw() local
118 _rtl88e_fill_dummy(buf_ptr, &size); in _rtl88e_write_fw()
125 _rtl88e_fw_page_write(adapt, page, (buf_ptr + offset), in _rtl88e_write_fw()
132 _rtl88e_fw_page_write(adapt, page, (buf_ptr + offset), remain); in _rtl88e_write_fw()
/drivers/rtc/
Drtc-sysfs.c158 char *buf_ptr; in wakealarm_store() local
169 buf_ptr = (char *)buf; in wakealarm_store()
170 if (*buf_ptr == '+') { in wakealarm_store()
171 buf_ptr++; in wakealarm_store()
172 if (*buf_ptr == '=') { in wakealarm_store()
173 buf_ptr++; in wakealarm_store()
178 alarm = simple_strtoul(buf_ptr, NULL, 0); in wakealarm_store()
/drivers/staging/mt29f_spinand/
Dmt29f_spinand.c675 data = state->buf[state->buf_ptr]; in spinand_read_byte()
676 state->buf_ptr++; in spinand_read_byte()
713 memcpy(state->buf + state->buf_ptr, buf, len); in spinand_write_buf()
714 state->buf_ptr += len; in spinand_write_buf()
721 memcpy(buf, state->buf + state->buf_ptr, len); in spinand_read_buf()
722 state->buf_ptr += len; in spinand_read_buf()
757 state->buf_ptr = 0; in spinand_cmdfunc()
762 state->buf_ptr = 0; in spinand_cmdfunc()
766 state->buf_ptr = column; in spinand_cmdfunc()
769 state->buf_ptr = 0; in spinand_cmdfunc()
[all …]
Dmt29f_spinand.h89 int buf_ptr; member
/drivers/hwtracing/coresight/
Dcoresight-etb10.c186 u8 *buf_ptr; in etb_dump_hw() local
214 buf_ptr = drvdata->buf; in etb_dump_hw()
218 *buf_ptr++ = read_data >> 0; in etb_dump_hw()
219 *buf_ptr++ = read_data >> 8; in etb_dump_hw()
220 *buf_ptr++ = read_data >> 16; in etb_dump_hw()
221 *buf_ptr++ = read_data >> 24; in etb_dump_hw()
225 buf_ptr -= (frame_endoff * 4); in etb_dump_hw()
227 *buf_ptr++ = 0x0; in etb_dump_hw()
228 *buf_ptr++ = 0x0; in etb_dump_hw()
229 *buf_ptr++ = 0x0; in etb_dump_hw()
[all …]
/drivers/media/usb/pvrusb2/
Dpvrusb2-debugifc.h30 char *buf_ptr, unsigned int buf_size);
36 char *buf_ptr,unsigned int buf_size);
40 const char *buf_ptr,unsigned int buf_size);
/drivers/usb/serial/
Diuu_phoenix.c200 char *buf_ptr = port->write_urb->transfer_buffer; in iuu_reset() local
204 *buf_ptr++ = IUU_RST_SET; in iuu_reset()
205 *buf_ptr++ = IUU_DELAY_MS; in iuu_reset()
206 *buf_ptr++ = wt; in iuu_reset()
207 *buf_ptr = IUU_RST_CLEAR; in iuu_reset()
371 char *buf_ptr = port->write_urb->transfer_buffer; in iuu_led_activity_on() local
372 *buf_ptr++ = IUU_SET_LED; in iuu_led_activity_on()
374 get_random_bytes(buf_ptr, 6); in iuu_led_activity_on()
375 *(buf_ptr+7) = 1; in iuu_led_activity_on()
377 iuu_rgbf_fill_buffer(buf_ptr, 255, 255, 0, 0, 0, 0, 255); in iuu_led_activity_on()
[all …]
/drivers/scsi/bfa/
Dbfad_bsg.h249 u64 buf_ptr; member
293 u64 buf_ptr; member
407 u64 buf_ptr; member
528 u64 buf_ptr; member
537 u64 buf_ptr; member
568 u64 buf_ptr; member
672 u64 buf_ptr; member
681 u64 buf_ptr; member
/drivers/net/ethernet/cavium/liquidio/
Docteon_network.h201 u64 buf_ptr, u32 size) in lio_unmap_ring() argument
204 buf_ptr, size, in lio_unmap_ring()
/drivers/media/i2c/
Dsaa6588.c184 unsigned char __user *buf_ptr = a->buffer; in read_from_buf() local
220 if (copy_to_user(buf_ptr, buf, 3)) { in read_from_buf()
224 buf_ptr += 3; in read_from_buf()
/drivers/media/usb/usbvision/
Dusbvision-i2c.c403 char *buf_ptr = buf; in usbvision_i2c_write() local
411 retval = usbvision_i2c_write_max4(usbvision, addr, buf_ptr, count); in usbvision_i2c_write()
414 buf_ptr += count; in usbvision_i2c_write()
/drivers/usb/host/whci/
Ddebug.c78 (u32)(std->pl_virt[0].buf_ptr) : (u32)std->dma_addr); in qset_print()
82 (u32)(std->pl_virt[0].buf_ptr) : (u32)std->dma_addr); in qset_print()
/drivers/net/ethernet/sfc/
Dselftest.h47 void efx_loopback_rx_packet(struct efx_nic *efx, const char *buf_ptr,
Dselftest.c279 const char *buf_ptr, int pkt_len) in efx_loopback_rx_packet() argument
285 BUG_ON(!buf_ptr); in efx_loopback_rx_packet()
293 received = (struct efx_loopback_payload *) buf_ptr; in efx_loopback_rx_packet()
360 buf_ptr, pkt_len, 0); in efx_loopback_rx_packet()
/drivers/net/ethernet/ti/
Dnetcp_core.c572 void *buf_ptr; in netcp_free_rx_desc_chain() local
584 get_pad_info((u32 *)&buf_ptr, &tmp, ndesc); in netcp_free_rx_desc_chain()
586 __free_page(buf_ptr); in netcp_free_rx_desc_chain()
590 get_pad_info((u32 *)&buf_ptr, &buf_len, desc); in netcp_free_rx_desc_chain()
591 if (buf_ptr) in netcp_free_rx_desc_chain()
592 netcp_frag_free(buf_len <= PAGE_SIZE, buf_ptr); in netcp_free_rx_desc_chain()
752 void *buf_ptr; in netcp_free_rx_buf() local
764 get_pad_info((u32 *)&buf_ptr, &tmp, desc); in netcp_free_rx_buf()
772 if (unlikely(!buf_ptr)) { in netcp_free_rx_buf()
781 netcp_frag_free((buf_len <= PAGE_SIZE), buf_ptr); in netcp_free_rx_buf()
[all …]
/drivers/net/ethernet/marvell/
Dmv643xx_eth.c208 u32 buf_ptr; /* Descriptor buffer pointer */ member
216 u32 buf_ptr; /* pointer to buffer for this descriptor*/ member
223 u32 buf_ptr; /* Descriptor buffer pointer */ member
231 u32 buf_ptr; /* pointer to buffer for this descriptor*/ member
548 dma_unmap_single(mp->dev->dev.parent, rx_desc->buf_ptr, in rxq_process()
645 rx_desc->buf_ptr = dma_map_single(mp->dev->dev.parent, in rxq_refill()
767 desc->buf_ptr = txq->tso_hdrs_dma in txq_put_data_tso()
772 desc->buf_ptr = dma_map_single(dev->dev.parent, data, in txq_put_data_tso()
775 desc->buf_ptr))) { in txq_put_data_tso()
818 desc->buf_ptr = txq->tso_hdrs_dma + in txq_put_hdr_tso()
[all …]
Dpxa168_eth.c191 u32 buf_ptr; /* Descriptor buffer pointer */ member
199 u32 buf_ptr; /* pointer to buffer for this descriptor */ member
337 p_used_rx_desc->buf_ptr = dma_map_single(NULL, in rxq_refill()
738 addr = desc->buf_ptr; in txq_reclaim()
811 dma_unmap_single(NULL, rx_desc->buf_ptr, in rxq_process()
1286 desc->buf_ptr = dma_map_single(NULL, skb->data, length, DMA_TO_DEVICE); in pxa168_eth_start_xmit()
/drivers/media/usb/cx231xx/
Dcx231xx-i2c.c94 u8 *buf_ptr = NULL; in cx231xx_i2c_send_bytes() local
146 buf_ptr = (u8 *) (msg->buf + 1); in cx231xx_i2c_send_bytes()
155 req_data.p_buffer = (u8 *) (buf_ptr + loop * 16); in cx231xx_i2c_send_bytes()
/drivers/atm/
Dhorizon.c725 u16 buf_ptr = RX_CHANNEL_IDLE; in hrz_open_rx() local
743 buf_ptr = dev->spare_buffers[--dev->noof_spare_buffers]; in hrz_open_rx()
744 PRINTD (DBG_VCC, "using a spare buffer: %u", buf_ptr); in hrz_open_rx()
746 if (buf_ptr == RX_CHANNEL_DISABLED || buf_ptr == RX_CHANNEL_IDLE) { in hrz_open_rx()
749 buf_ptr = RX_CHANNEL_IDLE; in hrz_open_rx()
761 buf_ptr | CHANNEL_TYPE_AAL5 | FIRST_CELL_OF_AAL5_FRAME); in hrz_open_rx()
762 if (buf_ptr != RX_CHANNEL_IDLE) in hrz_open_rx()
763 wr_mem (dev, &rx_desc->rd_buf_type, buf_ptr); in hrz_open_rx()
/drivers/tee/optee/
Doptee_msg.h137 u64 buf_ptr; member
Dcore.c88 p->u.memref.shm_offs = mp->u.tmem.buf_ptr - pa; in optee_from_msg_param()
140 mp->u.tmem.buf_ptr = 0; in to_msg_param_tmp_mem()
148 mp->u.tmem.buf_ptr = pa; in to_msg_param_tmp_mem()
Drpc.c277 arg->params[0].u.tmem.buf_ptr = virt_to_phys(pages_list) | in handle_rpc_func_cmd_shm_alloc()
287 arg->params[0].u.tmem.buf_ptr = pa; in handle_rpc_func_cmd_shm_alloc()
/drivers/firewire/
Dnet.c762 __be32 *buf_ptr; in fwnet_receive_broadcast() local
775 buf_ptr = dev->broadcast_rcv_buffer_ptrs[dev->broadcast_rcv_next_ptr++]; in fwnet_receive_broadcast()
782 gasp_specifier_id(buf_ptr) == IANA_SPECIFIER_ID && in fwnet_receive_broadcast()
783 (gasp_version(buf_ptr) == RFC2734_SW_VERSION in fwnet_receive_broadcast()
785 || gasp_version(buf_ptr) == RFC3146_SW_VERSION in fwnet_receive_broadcast()
788 fwnet_incoming_packet(dev, buf_ptr + 2, in fwnet_receive_broadcast()
790 gasp_source_id(buf_ptr), in fwnet_receive_broadcast()
/drivers/tee/
Dtee_core.c303 uarg = u64_to_user_ptr(buf.buf_ptr); in tee_ioctl_open_session()
374 uarg = u64_to_user_ptr(buf.buf_ptr); in tee_ioctl_invoke()
508 uarg = u64_to_user_ptr(buf.buf_ptr); in tee_ioctl_supp_recv()
606 uarg = u64_to_user_ptr(buf.buf_ptr); in tee_ioctl_supp_send()

12