Home
last modified time | relevance | path

Searched refs:buf_ptr (Results 1 – 25 of 47) 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/rtc/
Drtc-sysfs.c164 const char *buf_ptr; in wakealarm_store() local
175 buf_ptr = buf; in wakealarm_store()
176 if (*buf_ptr == '+') { in wakealarm_store()
177 buf_ptr++; in wakealarm_store()
178 if (*buf_ptr == '=') { in wakealarm_store()
179 buf_ptr++; in wakealarm_store()
184 retval = kstrtoul(buf_ptr, 0, &alarm); in wakealarm_store()
/drivers/media/usb/pvrusb2/
Dpvrusb2-debugifc.h26 char *buf_ptr, unsigned int buf_size);
32 char *buf_ptr,unsigned int buf_size);
36 const char *buf_ptr,unsigned int buf_size);
/drivers/hwtracing/coresight/
Dcoresight-etb10.c209 u8 *buf_ptr; in etb_dump_hw() local
240 buf_ptr = drvdata->buf; in etb_dump_hw()
250 *(u32 *)buf_ptr = read_data; in etb_dump_hw()
251 buf_ptr += 4; in etb_dump_hw()
255 buf_ptr -= (frame_endoff * 4); in etb_dump_hw()
257 *buf_ptr++ = 0x0; in etb_dump_hw()
258 *buf_ptr++ = 0x0; in etb_dump_hw()
259 *buf_ptr++ = 0x0; in etb_dump_hw()
260 *buf_ptr++ = 0x0; in etb_dump_hw()
368 u8 *buf_ptr; in etb_update_buffer() local
[all …]
Dcoresight-tmc-etf.c390 u32 *buf_ptr; in tmc_update_etf_buffer() local
474 buf_ptr = buf->data_pages[cur] + offset; in tmc_update_etf_buffer()
475 *buf_ptr = readl_relaxed(drvdata->base + TMC_RRD); in tmc_update_etf_buffer()
478 *buf_ptr = *barrier; in tmc_update_etf_buffer()
/drivers/staging/mt29f_spinand/
Dmt29f_spinand.c691 data = state->buf[state->buf_ptr]; in spinand_read_byte()
692 state->buf_ptr++; in spinand_read_byte()
729 memcpy(state->buf + state->buf_ptr, buf, len); in spinand_write_buf()
730 state->buf_ptr += len; in spinand_write_buf()
737 memcpy(buf, state->buf + state->buf_ptr, len); in spinand_read_buf()
738 state->buf_ptr += len; in spinand_read_buf()
773 state->buf_ptr = 0; in spinand_cmdfunc()
778 state->buf_ptr = 0; in spinand_cmdfunc()
782 state->buf_ptr = column; in spinand_cmdfunc()
785 state->buf_ptr = 0; in spinand_cmdfunc()
[all …]
Dmt29f_spinand.h88 int buf_ptr; member
/drivers/usb/serial/
Diuu_phoenix.c190 char *buf_ptr = port->write_urb->transfer_buffer; in iuu_reset() local
194 *buf_ptr++ = IUU_RST_SET; in iuu_reset()
195 *buf_ptr++ = IUU_DELAY_MS; in iuu_reset()
196 *buf_ptr++ = wt; in iuu_reset()
197 *buf_ptr = IUU_RST_CLEAR; in iuu_reset()
361 char *buf_ptr = port->write_urb->transfer_buffer; in iuu_led_activity_on() local
362 *buf_ptr++ = IUU_SET_LED; in iuu_led_activity_on()
364 get_random_bytes(buf_ptr, 6); in iuu_led_activity_on()
365 *(buf_ptr+7) = 1; in iuu_led_activity_on()
367 iuu_rgbf_fill_buffer(buf_ptr, 255, 255, 0, 0, 0, 0, 255); in iuu_led_activity_on()
[all …]
/drivers/crypto/cavium/cpt/
Drequest_manager.h55 struct buf_ptr { struct
68 struct buf_ptr in[MAX_BUF_CNT]; argument
69 struct buf_ptr out[MAX_BUF_CNT];
/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/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/sfc/falcon/
Dselftest.h47 void ef4_loopback_rx_packet(struct ef4_nic *efx, const char *buf_ptr,
Dselftest.c287 const char *buf_ptr, int pkt_len) in ef4_loopback_rx_packet() argument
293 BUG_ON(!buf_ptr); in ef4_loopback_rx_packet()
301 received = (struct ef4_loopback_payload *) buf_ptr; in ef4_loopback_rx_packet()
368 buf_ptr, pkt_len, 0); in ef4_loopback_rx_packet()
/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/marvell/
Dmv643xx_eth.c206 u32 buf_ptr; /* Descriptor buffer pointer */ member
214 u32 buf_ptr; /* pointer to buffer for this descriptor*/ member
221 u32 buf_ptr; /* Descriptor buffer pointer */ member
229 u32 buf_ptr; /* pointer to buffer for this descriptor*/ member
544 dma_unmap_single(mp->dev->dev.parent, rx_desc->buf_ptr, in rxq_process()
641 rx_desc->buf_ptr = dma_map_single(mp->dev->dev.parent, in rxq_refill()
763 desc->buf_ptr = txq->tso_hdrs_dma in txq_put_data_tso()
768 desc->buf_ptr = dma_map_single(dev->dev.parent, data, in txq_put_data_tso()
771 desc->buf_ptr))) { in txq_put_data_tso()
814 desc->buf_ptr = txq->tso_hdrs_dma + in txq_put_hdr_tso()
[all …]
/drivers/net/ethernet/ti/
Dnetcp_core.c598 void *buf_ptr; in netcp_free_rx_desc_chain() local
613 buf_ptr = (void *)GET_SW_DATA0(ndesc); in netcp_free_rx_desc_chain()
616 __free_page(buf_ptr); in netcp_free_rx_desc_chain()
622 buf_ptr = (void *)GET_SW_DATA0(desc); in netcp_free_rx_desc_chain()
625 if (buf_ptr) in netcp_free_rx_desc_chain()
626 netcp_frag_free(buf_len <= PAGE_SIZE, buf_ptr); in netcp_free_rx_desc_chain()
808 void *buf_ptr; in netcp_free_rx_buf() local
822 buf_ptr = (void *)GET_SW_DATA0(desc); in netcp_free_rx_buf()
830 if (unlikely(!buf_ptr)) { in netcp_free_rx_buf()
839 netcp_frag_free((buf_len <= PAGE_SIZE), buf_ptr); in netcp_free_rx_buf()
[all …]
/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/ntb/test/
Dntb_tool.c312 char *buf, *buf_ptr; in tool_spadfn_write() local
332 buf_ptr = buf; in tool_spadfn_write()
333 n = sscanf(buf_ptr, "%d %i%n", &spad_idx, &spad_val, &pos); in tool_spadfn_write()
335 buf_ptr += pos; in tool_spadfn_write()
340 n = sscanf(buf_ptr, "%d %i%n", &spad_idx, &spad_val, &pos); in tool_spadfn_write()
/drivers/tee/optee/
Doptee_msg.h111 u64 buf_ptr; member
Dcore.c87 p->u.memref.shm_offs = mp->u.tmem.buf_ptr - pa; in optee_from_msg_param()
148 mp->u.tmem.buf_ptr = 0; in optee_to_msg_param()
155 mp->u.tmem.buf_ptr = pa; in optee_to_msg_param()
/drivers/atm/
Dhorizon.c726 u16 buf_ptr = RX_CHANNEL_IDLE; in hrz_open_rx() local
744 buf_ptr = dev->spare_buffers[--dev->noof_spare_buffers]; in hrz_open_rx()
745 PRINTD (DBG_VCC, "using a spare buffer: %u", buf_ptr); in hrz_open_rx()
747 if (buf_ptr == RX_CHANNEL_DISABLED || buf_ptr == RX_CHANNEL_IDLE) { in hrz_open_rx()
750 buf_ptr = RX_CHANNEL_IDLE; in hrz_open_rx()
762 buf_ptr | CHANNEL_TYPE_AAL5 | FIRST_CELL_OF_AAL5_FRAME); in hrz_open_rx()
763 if (buf_ptr != RX_CHANNEL_IDLE) in hrz_open_rx()
764 wr_mem (dev, &rx_desc->rd_buf_type, buf_ptr); in hrz_open_rx()

12