Home
last modified time | relevance | path

Searched refs:local_buf (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/drivers/s390/block/
H A Ddcssblk.c565 char *local_buf; in dcssblk_add_store() local
580 if (local_buf == NULL) { in dcssblk_add_store()
596 local_buf[j-i] = '\0'; in dcssblk_add_store()
632 strscpy(local_buf, buf, i + 1); in dcssblk_add_store()
744 kfree(local_buf); in dcssblk_add_store()
758 char *local_buf; in dcssblk_remove_store() local
764 if (local_buf == NULL) { in dcssblk_remove_store()
773 local_buf[i] = '\0'; in dcssblk_remove_store()
784 local_buf); in dcssblk_remove_store()
791 local_buf); in dcssblk_remove_store()
[all …]
/linux-6.15/drivers/media/dvb-frontends/
H A Dmxl692.c216 __be32 *local_buf = NULL; in mxl692_validate_fw_header() local
227 local_buf = (__be32 *)(buffer + 8); in mxl692_validate_fw_header()
228 temp = be32_to_cpu(*local_buf); in mxl692_validate_fw_header()
265 plocal_buf = local_buf; in mxl692_write_fw_block()
312 plocal_buf = local_buf; in mxl692_memwrite()
324 if (mxl692_i2c_write(dev, local_buf, in mxl692_memwrite()
342 plocal_buf = local_buf; in mxl692_memread()
392 plocal_buf = local_buf; in mxl692_opwrite()
400 if (mxl692_i2c_write(dev, local_buf, in mxl692_opwrite()
419 local_buf[0] = 0xFD; in mxl692_opread()
[all …]
/linux-6.15/arch/s390/pci/
H A Dpci_mmio.c126 u8 local_buf[64]; in SYSCALL_DEFINE3() local
158 buf = local_buf; in SYSCALL_DEFINE3()
197 if (buf != local_buf) in SYSCALL_DEFINE3()
279 u8 local_buf[64]; in SYSCALL_DEFINE3() local
311 buf = local_buf; in SYSCALL_DEFINE3()
352 if (buf != local_buf) in SYSCALL_DEFINE3()
/linux-6.15/drivers/usb/gadget/udc/
H A Dmax3420_udc.c276 u8 local_buf[MAX3420_EP_MAX_PACKET + 1] = {}; in spi_rd_buf() local
282 local_buf[0] = MAX3420_SPI_CMD_RD(reg); in spi_rd_buf()
283 transfer.tx_buf = &local_buf[0]; in spi_rd_buf()
284 transfer.rx_buf = &local_buf[0]; in spi_rd_buf()
290 memcpy(buf, &local_buf[1], len); in spi_rd_buf()
298 u8 local_buf[MAX3420_EP_MAX_PACKET + 1] = {}; in spi_wr_buf() local
304 local_buf[0] = MAX3420_SPI_CMD_WR(reg); in spi_wr_buf()
305 memcpy(&local_buf[1], buf, len); in spi_wr_buf()
307 transfer.tx_buf = local_buf; in spi_wr_buf()
/linux-6.15/drivers/spi/
H A Dspi.c4711 u8 *local_buf; in spi_write_then_read() local
4720 local_buf = kmalloc(max((unsigned)SPI_BUFSIZ, n_tx + n_rx), in spi_write_then_read()
4722 if (!local_buf) in spi_write_then_read()
4725 local_buf = buf; in spi_write_then_read()
4739 memcpy(local_buf, txbuf, n_tx); in spi_write_then_read()
4740 x[0].tx_buf = local_buf; in spi_write_then_read()
4741 x[1].rx_buf = local_buf + n_tx; in spi_write_then_read()
4751 kfree(local_buf); in spi_write_then_read()