Home
last modified time | relevance | path

Searched refs:buf_ptr (Results 1 – 25 of 44) 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/hwtracing/coresight/
Dcoresight-etb10.c204 u8 *buf_ptr; in etb_dump_hw() local
232 buf_ptr = drvdata->buf; in etb_dump_hw()
236 *buf_ptr++ = read_data >> 0; in etb_dump_hw()
237 *buf_ptr++ = read_data >> 8; in etb_dump_hw()
238 *buf_ptr++ = read_data >> 16; in etb_dump_hw()
239 *buf_ptr++ = read_data >> 24; in etb_dump_hw()
243 buf_ptr -= (frame_endoff * 4); in etb_dump_hw()
245 *buf_ptr++ = 0x0; in etb_dump_hw()
246 *buf_ptr++ = 0x0; in etb_dump_hw()
247 *buf_ptr++ = 0x0; in etb_dump_hw()
[all …]
Dcoresight-tmc-etf.c365 u32 *buf_ptr; in tmc_update_etf_buffer() local
445 buf_ptr = buf->data_pages[cur] + offset; in tmc_update_etf_buffer()
446 *buf_ptr = readl_relaxed(drvdata->base + TMC_RRD); in tmc_update_etf_buffer()
Dcoresight-tmc-etr.c362 u32 *buf_ptr; in tmc_update_etr_buffer() local
445 buf_ptr = buf->data_pages[cur] + offset; in tmc_update_etr_buffer()
446 *buf_ptr = readl_relaxed(drvdata->base + TMC_RRD); in tmc_update_etr_buffer()
/drivers/staging/mt29f_spinand/
Dmt29f_spinand.c687 data = state->buf[state->buf_ptr]; in spinand_read_byte()
688 state->buf_ptr++; in spinand_read_byte()
725 memcpy(state->buf + state->buf_ptr, buf, len); in spinand_write_buf()
726 state->buf_ptr += len; in spinand_write_buf()
733 memcpy(buf, state->buf + state->buf_ptr, len); in spinand_read_buf()
734 state->buf_ptr += len; in spinand_read_buf()
769 state->buf_ptr = 0; in spinand_cmdfunc()
774 state->buf_ptr = 0; in spinand_cmdfunc()
778 state->buf_ptr = column; in spinand_cmdfunc()
781 state->buf_ptr = 0; in spinand_cmdfunc()
[all …]
Dmt29f_spinand.h88 int buf_ptr; member
/drivers/rtc/
Drtc-sysfs.c163 const char *buf_ptr; in wakealarm_store() local
174 buf_ptr = buf; in wakealarm_store()
175 if (*buf_ptr == '+') { in wakealarm_store()
176 buf_ptr++; in wakealarm_store()
177 if (*buf_ptr == '=') { in wakealarm_store()
178 buf_ptr++; in wakealarm_store()
183 retval = kstrtoul(buf_ptr, 0, &alarm); in wakealarm_store()
/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.h250 u64 buf_ptr; member
294 u64 buf_ptr; member
408 u64 buf_ptr; member
529 u64 buf_ptr; member
538 u64 buf_ptr; member
569 u64 buf_ptr; member
673 u64 buf_ptr; member
682 u64 buf_ptr; member
/drivers/staging/rtl8188eu/hal/
Dfw.c88 u8 *buf_ptr = buffer; in _rtl88e_write_fw() local
97 _rtl88e_fw_page_write(adapt, page, (buf_ptr + offset), in _rtl88e_write_fw()
104 _rtl88e_fw_page_write(adapt, page, (buf_ptr + offset), remain); in _rtl88e_write_fw()
/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/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/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.c287 const char *buf_ptr, int pkt_len) in efx_loopback_rx_packet() argument
293 BUG_ON(!buf_ptr); in efx_loopback_rx_packet()
301 received = (struct efx_loopback_payload *) buf_ptr; in efx_loopback_rx_packet()
368 buf_ptr, pkt_len, 0); in efx_loopback_rx_packet()
/drivers/net/ethernet/ti/
Dnetcp_core.c584 void *buf_ptr; in netcp_free_rx_desc_chain() local
599 buf_ptr = (void *)GET_SW_DATA0(ndesc); in netcp_free_rx_desc_chain()
602 __free_page(buf_ptr); in netcp_free_rx_desc_chain()
608 buf_ptr = (void *)GET_SW_DATA0(desc); in netcp_free_rx_desc_chain()
611 if (buf_ptr) in netcp_free_rx_desc_chain()
612 netcp_frag_free(buf_len <= PAGE_SIZE, buf_ptr); in netcp_free_rx_desc_chain()
778 void *buf_ptr; in netcp_free_rx_buf() local
792 buf_ptr = (void *)GET_SW_DATA0(desc); in netcp_free_rx_buf()
800 if (unlikely(!buf_ptr)) { in netcp_free_rx_buf()
809 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
336 p_used_rx_desc->buf_ptr = dma_map_single(NULL, in rxq_refill()
737 addr = desc->buf_ptr; in txq_reclaim()
810 dma_unmap_single(NULL, rx_desc->buf_ptr, in rxq_process()
1287 desc->buf_ptr = dma_map_single(NULL, skb->data, length, DMA_TO_DEVICE); in pxa168_eth_start_xmit()
/drivers/ntb/test/
Dntb_tool.c309 char *buf, *buf_ptr; in tool_spadfn_write() local
329 buf_ptr = buf; in tool_spadfn_write()
330 n = sscanf(buf_ptr, "%d %i%n", &spad_idx, &spad_val, &pos); in tool_spadfn_write()
332 buf_ptr += pos; in tool_spadfn_write()
337 n = sscanf(buf_ptr, "%d %i%n", &spad_idx, &spad_val, &pos); in tool_spadfn_write()
/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/net/ethernet/cavium/liquidio/
Docteon_network.h410 u64 buf_ptr) in lio_unmap_ring() argument
414 buf_ptr, (PAGE_SIZE << 0), in lio_unmap_ring()
/drivers/tee/optee/
Doptee_msg.h137 u64 buf_ptr; member
/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/firewire/
Dnet.c758 __be32 *buf_ptr; in fwnet_receive_broadcast() local
771 buf_ptr = dev->broadcast_rcv_buffer_ptrs[dev->broadcast_rcv_next_ptr++]; in fwnet_receive_broadcast()
778 gasp_specifier_id(buf_ptr) == IANA_SPECIFIER_ID && in fwnet_receive_broadcast()
779 (gasp_version(buf_ptr) == RFC2734_SW_VERSION in fwnet_receive_broadcast()
781 || gasp_version(buf_ptr) == RFC3146_SW_VERSION in fwnet_receive_broadcast()
784 fwnet_incoming_packet(dev, buf_ptr + 2, in fwnet_receive_broadcast()
786 gasp_source_id(buf_ptr), in fwnet_receive_broadcast()

12