Home
last modified time | relevance | path

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

123

/linux-6.12.1/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()
477 in_be32(&td->buf_ptr); in fhci_flush_bds()
484 else if (in_be32(&td->buf_ptr) == DUMMY_BD_BUFFER) in fhci_flush_bds()
485 out_be32(&td->buf_ptr, DUMMY2_BD_BUFFER); in fhci_flush_bds()
499 out_be32(&td->buf_ptr, 0); in fhci_flush_bds()
[all …]
/linux-6.12.1/security/integrity/ima/
Dima_template_lib.c49 u8 *buf, *buf_ptr; in ima_write_template_field_data() local
69 for (buf_ptr = buf; buf_ptr - buf < datalen; buf_ptr++) in ima_write_template_field_data()
70 if (*buf_ptr == ' ') in ima_write_template_field_data()
71 *buf_ptr = '_'; in ima_write_template_field_data()
84 u8 *buf_ptr = field_data->data; in ima_show_template_data_ascii() local
90 buf_ptr = strrchr(field_data->data, ':'); in ima_show_template_data_ascii()
91 if (buf_ptr != field_data->data) in ima_show_template_data_ascii()
95 buf_ptr += 2; in ima_show_template_data_ascii()
96 buflen -= buf_ptr - field_data->data; in ima_show_template_data_ascii()
102 ima_print_digest(m, buf_ptr, buflen); in ima_show_template_data_ascii()
[all …]
/linux-6.12.1/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-6.12.1/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()
295 config.s.buf_ptr = 0; in cvmx_pko_shutdown()
423 uint64_t *buf_ptr = NULL; in cvmx_pko_config_port() local
518 buf_ptr = in cvmx_pko_config_port()
522 config.s.buf_ptr = cvmx_ptr_to_phys(buf_ptr); in cvmx_pko_config_port()
524 config.s.buf_ptr = 0; in cvmx_pko_config_port()
/linux-6.12.1/drivers/rtc/
Dsysfs.c160 const char *buf_ptr; in wakealarm_store() local
171 buf_ptr = buf; in wakealarm_store()
172 if (*buf_ptr == '+') { in wakealarm_store()
173 buf_ptr++; in wakealarm_store()
174 if (*buf_ptr == '=') { in wakealarm_store()
175 buf_ptr++; in wakealarm_store()
181 retval = kstrtos64(buf_ptr, 0, &alarm); in wakealarm_store()
/linux-6.12.1/drivers/hwtracing/coresight/
Dcoresight-etb10.c286 u8 *buf_ptr; in etb_dump_hw() local
317 buf_ptr = drvdata->buf; in etb_dump_hw()
321 *(u32 *)buf_ptr = read_data; in etb_dump_hw()
322 buf_ptr += 4; in etb_dump_hw()
329 buf_ptr -= (frame_endoff * 4); 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()
334 *buf_ptr++ = 0x0; in etb_dump_hw()
433 u8 *buf_ptr; in etb_update_buffer() local
[all …]
Dcoresight-tmc-etf.c477 u32 *buf_ptr; in tmc_update_etf_buffer() local
556 buf_ptr = buf->data_pages[cur] + offset; in tmc_update_etf_buffer()
557 *buf_ptr = readl_relaxed(drvdata->base + TMC_RRD); in tmc_update_etf_buffer()
560 *buf_ptr = *barrier; in tmc_update_etf_buffer()
/linux-6.12.1/drivers/usb/serial/
Diuu_phoenix.c181 char *buf_ptr = port->write_urb->transfer_buffer; in iuu_reset() local
185 *buf_ptr++ = IUU_RST_SET; in iuu_reset()
186 *buf_ptr++ = IUU_DELAY_MS; in iuu_reset()
187 *buf_ptr++ = wt; in iuu_reset()
188 *buf_ptr = IUU_RST_CLEAR; in iuu_reset()
350 char *buf_ptr = port->write_urb->transfer_buffer; in iuu_led_activity_on() local
353 buf_ptr[0] = IUU_SET_LED; in iuu_led_activity_on()
354 get_random_bytes(buf_ptr + 1, 6); in iuu_led_activity_on()
355 buf_ptr[7] = 1; in iuu_led_activity_on()
357 iuu_rgbf_fill_buffer(buf_ptr, 255, 255, 0, 0, 0, 0, 255); in iuu_led_activity_on()
[all …]
/linux-6.12.1/drivers/crypto/cavium/cpt/
Drequest_manager.h52 struct buf_ptr { struct
67 struct buf_ptr in[MAX_BUF_CNT]; argument
68 struct buf_ptr out[MAX_BUF_CNT];
/linux-6.12.1/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-6.12.1/drivers/acpi/
Dpfr_update.c446 char *buf_ptr; in pfru_write() local
462 buf_ptr = memremap(phy_addr, buf_info.buf_size, MEMREMAP_WB); in pfru_write()
463 if (!buf_ptr) in pfru_write()
466 if (!copy_from_iter_full(buf_ptr, len, &iter)) { in pfru_write()
476 if (!applicable_image(buf_ptr, &cap, pfru_dev)) in pfru_write()
480 memunmap(buf_ptr); in pfru_write()
/linux-6.12.1/arch/mips/fw/cfe/
Dcfe_api.c196 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-6.12.1/drivers/net/ethernet/sfc/falcon/
Dselftest.h44 void ef4_loopback_rx_packet(struct ef4_nic *efx, const char *buf_ptr,
Dselftest.c289 const char *buf_ptr, int pkt_len) in ef4_loopback_rx_packet() argument
295 BUG_ON(!buf_ptr); in ef4_loopback_rx_packet()
303 memcpy(&received.packet, buf_ptr, in ef4_loopback_rx_packet()
371 buf_ptr, pkt_len, 0); in ef4_loopback_rx_packet()
/linux-6.12.1/drivers/net/ethernet/sfc/
Dselftest.h44 void efx_loopback_rx_packet(struct efx_nic *efx, const char *buf_ptr,
Dselftest.c286 const char *buf_ptr, int pkt_len) in efx_loopback_rx_packet() argument
292 BUG_ON(!buf_ptr); in efx_loopback_rx_packet()
300 memcpy(&received.packet, buf_ptr, in efx_loopback_rx_packet()
368 buf_ptr, pkt_len, 0); in efx_loopback_rx_packet()
/linux-6.12.1/drivers/net/ethernet/sfc/siena/
Dselftest.h44 void efx_siena_loopback_rx_packet(struct efx_nic *efx, const char *buf_ptr,
Dselftest.c287 const char *buf_ptr, int pkt_len) in efx_siena_loopback_rx_packet() argument
293 BUG_ON(!buf_ptr); in efx_siena_loopback_rx_packet()
301 memcpy(&received.packet, buf_ptr, in efx_siena_loopback_rx_packet()
369 buf_ptr, pkt_len, 0); in efx_siena_loopback_rx_packet()
/linux-6.12.1/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-6.12.1/samples/bpf/
Dxdp_router_ipv4_user.c65 char *buf_ptr; in recv_msg() local
67 buf_ptr = buf; in recv_msg()
69 len = recv(sock, buf_ptr, sizeof(buf) - nll, 0); in recv_msg()
73 nh = (struct nlmsghdr *)buf_ptr; in recv_msg()
77 buf_ptr += len; in recv_msg()
/linux-6.12.1/drivers/staging/media/atomisp/pci/
Dsh_css_params.c3724 u8 *buf_ptr; in sh_css_store_sp_group_to_ddr() local
3732 buf_ptr = write_buf; in sh_css_store_sp_group_to_ddr()
3734 memcpy(buf_ptr, &sh_css_sp_group.config, 3); in sh_css_store_sp_group_to_ddr()
3735 buf_ptr += 3; in sh_css_store_sp_group_to_ddr()
3736 *buf_ptr++ = sh_css_sp_group.config.enable_isys_event_queue; in sh_css_store_sp_group_to_ddr()
3737 *buf_ptr++ = sh_css_sp_group.config.disable_cont_vf; in sh_css_store_sp_group_to_ddr()
3738 memset(buf_ptr, 0, 3); in sh_css_store_sp_group_to_ddr()
3739 buf_ptr += 3; /* Padding 3 bytes for struct sh_css_sp_config*/ in sh_css_store_sp_group_to_ddr()
3741 memcpy(buf_ptr, &sh_css_sp_group.config, sizeof(sh_css_sp_group.config)); in sh_css_store_sp_group_to_ddr()
3742 buf_ptr += sizeof(sh_css_sp_group.config); in sh_css_store_sp_group_to_ddr()
[all …]
/linux-6.12.1/include/uapi/linux/
Dfsverity.h94 __u64 buf_ptr; member
/linux-6.12.1/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-6.12.1/drivers/net/ethernet/marvell/
Dmv643xx_eth.c195 u32 buf_ptr; /* Descriptor buffer pointer */ member
203 u32 buf_ptr; /* pointer to buffer for this descriptor*/ member
210 u32 buf_ptr; /* Descriptor buffer pointer */ member
218 u32 buf_ptr; /* pointer to buffer for this descriptor*/ member
533 dma_unmap_single(mp->dev->dev.parent, rx_desc->buf_ptr, in rxq_process()
630 rx_desc->buf_ptr = dma_map_single(mp->dev->dev.parent, in rxq_refill()
748 desc->buf_ptr = txq->tso_hdrs_dma in txq_put_data_tso()
753 desc->buf_ptr = dma_map_single(dev->dev.parent, data, in txq_put_data_tso()
756 desc->buf_ptr))) { in txq_put_data_tso()
800 desc->buf_ptr = txq->tso_hdrs_dma + in txq_put_hdr_tso()
[all …]

123