Home
last modified time | relevance | path

Searched refs:write_buf (Results 1 – 25 of 55) sorted by relevance

123

/linux-6.3-rc2/sound/soc/codecs/
A Drt5514-spi.c324 u8 write_buf[8]; in rt5514_spi_burst_read() local
336 write_buf[0] = spi_cmd; in rt5514_spi_burst_read()
346 x[0].tx_buf = write_buf; in rt5514_spi_burst_read()
350 x[1].tx_buf = write_buf; in rt5514_spi_burst_read()
366 write_buf[0] = rxbuf[i + 0]; in rt5514_spi_burst_read()
367 write_buf[1] = rxbuf[i + 1]; in rt5514_spi_burst_read()
368 write_buf[2] = rxbuf[i + 2]; in rt5514_spi_burst_read()
401 u8 *write_buf; in rt5514_spi_burst_write() local
406 if (write_buf == NULL) in rt5514_spi_burst_write()
415 write_buf[0] = spi_cmd; in rt5514_spi_burst_write()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_gnss.c95 struct gnss_write_buf *write_buf = NULL; in ice_gnss_write_pending() local
101 bytes = ice_gnss_do_write(pf, write_buf->buf, write_buf->size); in ice_gnss_write_pending()
104 list_del(&write_buf->queue); in ice_gnss_write_pending()
105 kfree(write_buf->buf); in ice_gnss_write_pending()
106 kfree(write_buf); in ice_gnss_write_pending()
307 struct gnss_write_buf *write_buf; in ice_gnss_write() local
331 write_buf = kzalloc(sizeof(*write_buf), GFP_KERNEL); in ice_gnss_write()
332 if (!write_buf) { in ice_gnss_write()
337 write_buf->buf = cmd_buf; in ice_gnss_write()
338 write_buf->size = count; in ice_gnss_write()
[all …]
/linux-6.3-rc2/tools/testing/selftests/arm64/fp/
A Dsve-ptrace.c330 void *write_buf; in ptrace_set_sve_get_sve_data() local
341 write_buf = malloc(data_size); in ptrace_set_sve_get_sve_data()
342 if (!write_buf) { in ptrace_set_sve_get_sve_data()
347 write_sve = write_buf; in ptrace_set_sve_get_sve_data()
356 fill_buf(write_buf + SVE_PT_SVE_ZREG_OFFSET(vq, i), in ptrace_set_sve_get_sve_data()
420 free(write_buf); in ptrace_set_sve_get_sve_data()
428 void *write_buf; in ptrace_set_sve_get_fpsimd_data() local
442 write_buf = malloc(data_size); in ptrace_set_sve_get_fpsimd_data()
443 if (!write_buf) { in ptrace_set_sve_get_fpsimd_data()
448 write_sve = write_buf; in ptrace_set_sve_get_fpsimd_data()
[all …]
A Dza-ptrace.c192 void *write_buf; in ptrace_set_get_data() local
202 write_buf = malloc(data_size); in ptrace_set_get_data()
203 if (!write_buf) { in ptrace_set_get_data()
208 write_za = write_buf; in ptrace_set_get_data()
215 fill_buf(write_buf + ZA_PT_ZA_OFFSET, ZA_PT_ZA_SIZE(vq)); in ptrace_set_get_data()
237 ksft_test_result(memcmp(write_buf + ZA_PT_ZA_OFFSET, in ptrace_set_get_data()
245 free(write_buf); in ptrace_set_get_data()
/linux-6.3-rc2/samples/seccomp/
A Dbpf-fancy.c55 JEQ(STDOUT_FILENO, JUMP(&l, write_buf)), in main()
56 JEQ(STDERR_FILENO, JUMP(&l, write_buf)), in main()
59 LABEL(&l, write_buf), in main()
/linux-6.3-rc2/drivers/hwmon/pmbus/
A Dadm1266.c62 u8 write_buf[ADM1266_PMBUS_BLOCK_MAX + 1] ____cacheline_aligned; member
90 .buf = data->write_buf, in adm1266_pmbus_block_xfer()
433 char write_buf[6]; in adm1266_set_rtc() local
438 memset(write_buf, 0, sizeof(write_buf)); in adm1266_set_rtc()
441 write_buf[2 + i] = (kt >> (i * 8)) & 0xFF; in adm1266_set_rtc()
443 return i2c_smbus_write_block_data(data->client, ADM1266_SET_RTC, sizeof(write_buf), in adm1266_set_rtc()
444 write_buf); in adm1266_set_rtc()
/linux-6.3-rc2/drivers/gnss/
A Dcore.c151 if (copy_from_user(gdev->write_buf, buf, n)) { in gnss_write()
164 ret = gdev->ops->write_raw(gdev, gdev->write_buf, n); in gnss_write()
218 kfree(gdev->write_buf); in gnss_device_release()
261 gdev->write_buf = kzalloc(GNSS_WRITE_BUF_SIZE, GFP_KERNEL); in gnss_allocate_device()
262 if (!gdev->write_buf) in gnss_allocate_device()
/linux-6.3-rc2/drivers/mtd/lpddr/
A Dlpddr2_nvm.c322 u_char *write_buf = (u_char *)buf; in lpddr2_nvm_write() local
336 my_data = write_buf[tot_len]; in lpddr2_nvm_write()
337 my_data += (write_buf[tot_len+1]) << 8; in lpddr2_nvm_write()
339 my_data += (write_buf[tot_len+2]) << 16; in lpddr2_nvm_write()
340 my_data += (write_buf[tot_len+3]) << 24; in lpddr2_nvm_write()
353 0x00, add, current_len, write_buf + tot_len); in lpddr2_nvm_write()
/linux-6.3-rc2/drivers/mtd/nand/raw/
A Dnand_legacy.c76 chip->legacy.write_buf(chip, &byte, 1); in nand_write_byte()
106 chip->legacy.write_buf(chip, (uint8_t *)&word, 2); in nand_write_byte16()
606 if (!chip->legacy.write_buf || chip->legacy.write_buf == nand_write_buf) in nand_legacy_set_defaults()
607 chip->legacy.write_buf = busw ? nand_write_buf16 : nand_write_buf; in nand_legacy_set_defaults()
A Dplat_nand.c79 data->chip.legacy.write_buf = pdata->ctrl.write_buf; in plat_nand_probe()
A Doxnas_nand.c133 chip->legacy.write_buf = oxnas_nand_write_buf; in oxnas_nand_probe()
A Dsocrates_nand.c170 nand_chip->legacy.write_buf = socrates_nand_write_buf; in socrates_nand_probe()
A Dpasemi_nand.c159 chip->legacy.write_buf = pasemi_write_buf; in pasemi_nand_probe()
A Dlpc32xx_slc.c696 chip->legacy.write_buf(chip, chip->oob_poi, mtd->oobsize); in lpc32xx_nand_write_page_syndrome()
714 chip->legacy.write_buf(chip, chip->oob_poi, mtd->oobsize); in lpc32xx_nand_write_page_raw_syndrome()
900 chip->legacy.write_buf = lpc32xx_nand_write_buf; in lpc32xx_nand_probe()
A Dxway_nand.c190 data->chip.legacy.write_buf = xway_write_buf; in xway_nand_probe()
/linux-6.3-rc2/drivers/platform/x86/intel/telemetry/
A Dpltdrv.c249 u32 write_buf; in telemetry_plt_config_ioss_event() local
251 write_buf = evt_id | TELEM_EVENT_ENABLE; in telemetry_plt_config_ioss_event()
252 write_buf <<= BITS_PER_BYTE; in telemetry_plt_config_ioss_event()
253 write_buf |= index; in telemetry_plt_config_ioss_event()
256 IOSS_TELEM_EVENT_WRITE, &write_buf, in telemetry_plt_config_ioss_event()
262 u32 write_buf; in telemetry_plt_config_pss_event() local
265 write_buf = evt_id | TELEM_EVENT_ENABLE; in telemetry_plt_config_pss_event()
267 index, 0, &write_buf, NULL); in telemetry_plt_config_pss_event()
/linux-6.3-rc2/include/linux/mtd/
A Dplatnand.h59 void (*write_buf)(struct nand_chip *chip, const uint8_t *buf, int len); member
/linux-6.3-rc2/include/linux/
A Dgnss.h55 char *write_buf; member
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/link/protocols/
A Dlink_ddc.c310 uint8_t *write_buf, in link_query_ddc_data() argument
347 payload.data = write_buf; in link_query_ddc_data()
376 &payloads, address, write_size, write_buf, true); in link_query_ddc_data()
/linux-6.3-rc2/drivers/tty/serdev/
A Dcore.c241 if (!ctrl || !ctrl->ops->write_buf) in serdev_device_write_buf()
244 return ctrl->ops->write_buf(ctrl, buf, count); in serdev_device_write_buf()
278 if (!ctrl || !ctrl->ops->write_buf || !serdev->ops->write_wakeup) in serdev_device_write()
288 ret = ctrl->ops->write_buf(ctrl, buf, count); in serdev_device_write()
/linux-6.3-rc2/security/tomoyo/
A Dcommon.c667 char *data = head->write_buf; in tomoyo_write_profile()
886 char *data = head->write_buf; in tomoyo_write_manager()
1165 char *data = head->write_buf; in tomoyo_write_domain()
1689 char *buf = head->write_buf; in tomoyo_read_pid()
1753 .data = head->write_buf, in tomoyo_write_exception()
2256 char *data = head->write_buf; in tomoyo_write_answer()
2387 char *data = head->write_buf; in tomoyo_write_stat()
2487 if (!head->write_buf) { in tomoyo_open_control()
2651 char *cp0 = head->write_buf; in tomoyo_write_control()
2674 head->write_buf = cp; in tomoyo_write_control()
[all …]
A Dgc.c631 kfree(head->write_buf); in tomoyo_gc_thread()
659 is_write = head->write_buf != NULL; in tomoyo_notify_gc()
663 kfree(head->write_buf); in tomoyo_notify_gc()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/
A Dlink.h77 uint8_t *write_buf,
/linux-6.3-rc2/drivers/media/radio/
A Dradio-wl1273.c79 char *write_buf; member
1066 if (copy_from_user(radio->write_buf + 1, buf, val)) { in wl1273_fm_fops_write()
1072 dev_dbg(radio->dev, "From user: \"%s\"\n", radio->write_buf); in wl1273_fm_fops_write()
1074 radio->write_buf[0] = WL1273_RDS_DATA_SET; in wl1273_fm_fops_write()
1075 core->write_data(core, radio->write_buf, val + 1); in wl1273_fm_fops_write()
2073 radio->write_buf = devm_kzalloc(&pdev->dev, 256, GFP_KERNEL); in wl1273_fm_radio_probe()
2074 if (!radio->write_buf) { in wl1273_fm_radio_probe()
/linux-6.3-rc2/drivers/mtd/spi-nor/controllers/
A Dhisi-sfc.c292 size_t len, const u_char *write_buf) in hisi_spi_nor_write() argument
302 memcpy(host->buffer, write_buf + offset, trans); in hisi_spi_nor_write()

Completed in 55 milliseconds

123