Home
last modified time | relevance | path

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

123

/Linux-v5.4/drivers/usb/host/
Dfhci-tds.c67 __be32 buf_ptr; member
87 out_be32(&ep->empty_td->buf_ptr, DUMMY_BD_BUFFER); in fhci_push_dummy_bd()
213 out_be32(&td->buf_ptr, 0); in fhci_create_ep()
296 buf = in_be32(&td->buf_ptr); in fhci_td_transaction_confirm()
309 out_be32(&td->buf_ptr, 0); in fhci_td_transaction_confirm()
405 out_be32(&td->buf_ptr, virt_to_phys(pkt->data)); in fhci_host_transaction()
479 buf = in_be32(&td->buf_ptr); in fhci_flush_bds()
486 else if (in_be32(&td->buf_ptr) == DUMMY_BD_BUFFER) in fhci_flush_bds()
487 out_be32(&td->buf_ptr, DUMMY2_BD_BUFFER); in fhci_flush_bds()
501 out_be32(&td->buf_ptr, 0); in fhci_flush_bds()
[all …]
/Linux-v5.4/security/integrity/ima/
Dima_template_lib.c35 u8 *buf, *buf_ptr; in ima_write_template_field_data() local
55 for (buf_ptr = buf; buf_ptr - buf < datalen; buf_ptr++) in ima_write_template_field_data()
56 if (*buf_ptr == ' ') in ima_write_template_field_data()
57 *buf_ptr = '_'; in ima_write_template_field_data()
70 u8 *buf_ptr = field_data->data; in ima_show_template_data_ascii() local
75 buf_ptr = strnchr(field_data->data, buflen, ':'); in ima_show_template_data_ascii()
76 if (buf_ptr != field_data->data) in ima_show_template_data_ascii()
80 buf_ptr += 2; in ima_show_template_data_ascii()
81 buflen -= buf_ptr - field_data->data; in ima_show_template_data_ascii()
87 ima_print_digest(m, buf_ptr, buflen); in ima_show_template_data_ascii()
[all …]
/Linux-v5.4/drivers/media/usb/pvrusb2/
Dpvrusb2-debugifc.h16 char *buf_ptr, unsigned int buf_size);
22 char *buf_ptr,unsigned int buf_size);
26 const char *buf_ptr,unsigned int buf_size);
/Linux-v5.4/arch/mips/cavium-octeon/executive/
Dcvmx-pko.c79 uint64_t *buf_ptr; in __cvmx_pko_iport_config() local
103 buf_ptr = (uint64_t *)cvmx_cmd_queue_buffer( in __cvmx_pko_iport_config()
105 config.s.buf_ptr = cvmx_ptr_to_phys(buf_ptr) >> 7; in __cvmx_pko_iport_config()
309 config.s.buf_ptr = 0; in cvmx_pko_shutdown()
437 uint64_t *buf_ptr = NULL; in cvmx_pko_config_port() local
532 buf_ptr = in cvmx_pko_config_port()
536 config.s.buf_ptr = cvmx_ptr_to_phys(buf_ptr); in cvmx_pko_config_port()
538 config.s.buf_ptr = 0; in cvmx_pko_config_port()
/Linux-v5.4/drivers/rtc/
Dsysfs.c156 const char *buf_ptr; in wakealarm_store() local
167 buf_ptr = buf; in wakealarm_store()
168 if (*buf_ptr == '+') { in wakealarm_store()
169 buf_ptr++; in wakealarm_store()
170 if (*buf_ptr == '=') { in wakealarm_store()
171 buf_ptr++; in wakealarm_store()
177 retval = kstrtos64(buf_ptr, 0, &alarm); in wakealarm_store()
/Linux-v5.4/drivers/hwtracing/coresight/
Dcoresight-etb10.c285 u8 *buf_ptr; in etb_dump_hw() local
316 buf_ptr = drvdata->buf; in etb_dump_hw()
320 *(u32 *)buf_ptr = read_data; in etb_dump_hw()
321 buf_ptr += 4; in etb_dump_hw()
328 buf_ptr -= (frame_endoff * 4); in etb_dump_hw()
330 *buf_ptr++ = 0x0; in etb_dump_hw()
331 *buf_ptr++ = 0x0; in etb_dump_hw()
332 *buf_ptr++ = 0x0; in etb_dump_hw()
333 *buf_ptr++ = 0x0; in etb_dump_hw()
430 u8 *buf_ptr; in etb_update_buffer() local
[all …]
Dcoresight-tmc-etf.c435 u32 *buf_ptr; in tmc_update_etf_buffer() local
514 buf_ptr = buf->data_pages[cur] + offset; in tmc_update_etf_buffer()
515 *buf_ptr = readl_relaxed(drvdata->base + TMC_RRD); in tmc_update_etf_buffer()
518 *buf_ptr = *barrier; in tmc_update_etf_buffer()
/Linux-v5.4/drivers/usb/serial/
Diuu_phoenix.c184 char *buf_ptr = port->write_urb->transfer_buffer; in iuu_reset() local
188 *buf_ptr++ = IUU_RST_SET; in iuu_reset()
189 *buf_ptr++ = IUU_DELAY_MS; in iuu_reset()
190 *buf_ptr++ = wt; in iuu_reset()
191 *buf_ptr = IUU_RST_CLEAR; in iuu_reset()
355 char *buf_ptr = port->write_urb->transfer_buffer; in iuu_led_activity_on() local
356 *buf_ptr++ = IUU_SET_LED; in iuu_led_activity_on()
358 get_random_bytes(buf_ptr, 6); in iuu_led_activity_on()
359 *(buf_ptr+7) = 1; in iuu_led_activity_on()
361 iuu_rgbf_fill_buffer(buf_ptr, 255, 255, 0, 0, 0, 0, 255); in iuu_led_activity_on()
[all …]
/Linux-v5.4/drivers/crypto/cavium/cpt/
Drequest_manager.h52 struct buf_ptr { struct
65 struct buf_ptr in[MAX_BUF_CNT]; argument
66 struct buf_ptr out[MAX_BUF_CNT];
/Linux-v5.4/drivers/scsi/bfa/
Dbfad_bsg.h242 u64 buf_ptr; member
286 u64 buf_ptr; member
400 u64 buf_ptr; member
521 u64 buf_ptr; member
530 u64 buf_ptr; member
561 u64 buf_ptr; member
665 u64 buf_ptr; member
674 u64 buf_ptr; member
/Linux-v5.4/drivers/staging/rtl8188eu/hal/
Dfw.c77 u8 *buf_ptr = buffer; in _rtl88e_write_fw() local
86 _rtl88e_fw_page_write(adapt, page, (buf_ptr + offset), in _rtl88e_write_fw()
93 _rtl88e_fw_page_write(adapt, page, (buf_ptr + offset), remain); in _rtl88e_write_fw()
/Linux-v5.4/arch/mips/fw/cfe/
Dcfe_api.c191 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); in cfe_getdevinfo()
321 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_ioctl()
341 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); in cfe_open()
366 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_readblk()
411 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_writeblk()
Dcfe_api_int.h47 cfe_xptr_t buf_ptr; /* pointer to a buffer */ member
/Linux-v5.4/drivers/net/dsa/sja1105/
Dsja1105_spi.c148 void *buf_ptr; in sja1105_spi_send_long_packed_buf() member
156 chunk.buf_ptr = packed_buf; in sja1105_spi_send_long_packed_buf()
162 chunk.buf_ptr, chunk.len); in sja1105_spi_send_long_packed_buf()
166 chunk.buf_ptr += chunk.len; in sja1105_spi_send_long_packed_buf()
169 chunk.buf_ptr); in sja1105_spi_send_long_packed_buf()
/Linux-v5.4/drivers/net/ethernet/sfc/falcon/
Dselftest.h44 void ef4_loopback_rx_packet(struct ef4_nic *efx, const char *buf_ptr,
Dselftest.c284 const char *buf_ptr, int pkt_len) in ef4_loopback_rx_packet() argument
290 BUG_ON(!buf_ptr); in ef4_loopback_rx_packet()
298 received = (struct ef4_loopback_payload *) buf_ptr; in ef4_loopback_rx_packet()
365 buf_ptr, pkt_len, 0); in ef4_loopback_rx_packet()
/Linux-v5.4/drivers/net/ethernet/sfc/
Dselftest.h44 void efx_loopback_rx_packet(struct efx_nic *efx, const char *buf_ptr,
Dselftest.c284 const char *buf_ptr, int pkt_len) in efx_loopback_rx_packet() argument
290 BUG_ON(!buf_ptr); in efx_loopback_rx_packet()
298 received = (struct efx_loopback_payload *) buf_ptr; in efx_loopback_rx_packet()
365 buf_ptr, pkt_len, 0); in efx_loopback_rx_packet()
/Linux-v5.4/drivers/staging/wusbcore/host/whci/
Ddebug.c67 (u32)(std->pl_virt[0].buf_ptr) : (u32)std->dma_addr); in qset_print()
71 (u32)(std->pl_virt[0].buf_ptr) : (u32)std->dma_addr); in qset_print()
/Linux-v5.4/drivers/media/i2c/
Dsaa6588.c172 unsigned char __user *buf_ptr = a->buffer; in read_from_buf() local
208 if (copy_to_user(buf_ptr, buf, 3)) { in read_from_buf()
212 buf_ptr += 3; in read_from_buf()
/Linux-v5.4/drivers/media/usb/usbvision/
Dusbvision-i2c.c394 char *buf_ptr = buf; in usbvision_i2c_write() local
402 retval = usbvision_i2c_write_max4(usbvision, addr, buf_ptr, count); in usbvision_i2c_write()
405 buf_ptr += count; in usbvision_i2c_write()
/Linux-v5.4/samples/bpf/
Dxdp_router_ipv4_user.c96 char *buf_ptr; in recv_msg() local
98 buf_ptr = buf; in recv_msg()
100 len = recv(sock, buf_ptr, sizeof(buf) - nll, 0); in recv_msg()
104 nh = (struct nlmsghdr *)buf_ptr; in recv_msg()
108 buf_ptr += len; in recv_msg()
/Linux-v5.4/drivers/tee/optee/
Doptee_msg.h115 u64 buf_ptr; member
/Linux-v5.4/arch/mips/include/asm/octeon/
Dcvmx-pko-defs.h731 uint64_t buf_ptr:33; member
737 uint64_t buf_ptr:33;
748 uint64_t buf_ptr:33; member
754 uint64_t buf_ptr:33;
782 uint64_t buf_ptr:33; member
788 uint64_t buf_ptr:33;
1018 uint64_t buf_ptr:31; member
1030 uint64_t buf_ptr:31;
1172 uint64_t buf_ptr:36; member
1182 uint64_t buf_ptr:36;
/Linux-v5.4/drivers/media/usb/cx231xx/
Dcx231xx-i2c.c82 u8 *buf_ptr = NULL; in cx231xx_i2c_send_bytes() local
134 buf_ptr = (u8 *) (msg->buf + 1); in cx231xx_i2c_send_bytes()
143 req_data.p_buffer = (u8 *) (buf_ptr + loop * 16); in cx231xx_i2c_send_bytes()

123