/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | rt5514-spi.c | 323 u8 write_buf[8]; in rt5514_spi_burst_read() local 335 write_buf[0] = spi_cmd; in rt5514_spi_burst_read() 336 write_buf[1] = ((addr + offset) & 0xff000000) >> 24; in rt5514_spi_burst_read() 337 write_buf[2] = ((addr + offset) & 0x00ff0000) >> 16; in rt5514_spi_burst_read() 338 write_buf[3] = ((addr + offset) & 0x0000ff00) >> 8; in rt5514_spi_burst_read() 339 write_buf[4] = ((addr + offset) & 0x000000ff) >> 0; in rt5514_spi_burst_read() 345 x[0].tx_buf = write_buf; in rt5514_spi_burst_read() 349 x[1].tx_buf = write_buf; in rt5514_spi_burst_read() 365 write_buf[0] = rxbuf[i + 0]; in rt5514_spi_burst_read() 366 write_buf[1] = rxbuf[i + 1]; in rt5514_spi_burst_read() [all …]
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | fault_inject.c | 48 char write_buf[INET6_ADDRSTRLEN]; in fault_inject_write() local 49 size_t size = min(sizeof(write_buf) - 1, len); in fault_inject_write() 56 if (copy_from_user(write_buf, buf, size)) in fault_inject_write() 58 write_buf[size] = '\0'; in fault_inject_write() 61 nl = strchr(write_buf, '\n'); in fault_inject_write() 63 size = nl - write_buf; in fault_inject_write() 67 size = rpc_pton(net, write_buf, size, (struct sockaddr *)&sa, sizeof(sa)); in fault_inject_write() 72 op->file, write_buf, val); in fault_inject_write() 74 val = simple_strtoll(write_buf, NULL, 0); in fault_inject_write()
|
/kernel/linux/linux-5.10/samples/seccomp/ |
D | bpf-fancy.c | 55 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()
|
/kernel/linux/linux-5.10/drivers/hwmon/pmbus/ |
D | adm1266.c | 62 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()
|
/kernel/linux/linux-5.10/drivers/gnss/ |
D | core.c | 151 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()
|
/kernel/linux/linux-5.10/drivers/mtd/lpddr/ |
D | lpddr2_nvm.c | 322 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()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | nand_legacy.c | 76 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() 605 if (!chip->legacy.write_buf || chip->legacy.write_buf == nand_write_buf) in nand_legacy_set_defaults() 606 chip->legacy.write_buf = busw ? nand_write_buf16 : nand_write_buf; in nand_legacy_set_defaults()
|
D | plat_nand.c | 81 data->chip.legacy.write_buf = pdata->ctrl.write_buf; in plat_nand_probe()
|
D | oxnas_nand.c | 135 chip->legacy.write_buf = oxnas_nand_write_buf; in oxnas_nand_probe()
|
D | socrates_nand.c | 170 nand_chip->legacy.write_buf = socrates_nand_write_buf; in socrates_nand_probe()
|
D | pasemi_nand.c | 151 chip->legacy.write_buf = pasemi_write_buf; in pasemi_nand_probe()
|
D | omap2.c | 1536 chip->legacy.write_buf(chip, buf, mtd->writesize); in omap_write_page_bch() 1547 chip->legacy.write_buf(chip, chip->oob_poi, mtd->oobsize); in omap_write_page_bch() 1588 chip->legacy.write_buf(chip, buf, mtd->writesize); in omap_write_subpage_bch() 1613 chip->legacy.write_buf(chip, chip->oob_poi, mtd->oobsize); in omap_write_subpage_bch() 1931 chip->legacy.write_buf = omap_write_buf_pref; in omap_nand_attach_chip() 1964 chip->legacy.write_buf = omap_write_buf_dma_pref; in omap_nand_attach_chip() 1996 chip->legacy.write_buf = omap_write_buf_irq_pref; in omap_nand_attach_chip()
|
D | lpc32xx_slc.c | 698 chip->legacy.write_buf(chip, chip->oob_poi, mtd->oobsize); in lpc32xx_nand_write_page_syndrome() 716 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()
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | intel_telemetry_pltdrv.c | 249 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()
|
/kernel/linux/linux-5.10/include/linux/mtd/ |
D | platnand.h | 59 void (*write_buf)(struct nand_chip *chip, const uint8_t *buf, int len); member
|
/kernel/linux/linux-5.10/include/linux/ |
D | gnss.h | 55 char *write_buf; member
|
D | serdev.h | 83 int (*write_buf)(struct serdev_controller *, const unsigned char *, size_t); member
|
/kernel/linux/linux-5.10/drivers/tty/serdev/ |
D | core.c | 241 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()
|
/kernel/linux/linux-5.10/security/tomoyo/ |
D | common.c | 676 char *data = head->write_buf; in tomoyo_write_profile() 895 char *data = head->write_buf; in tomoyo_write_manager() 1174 char *data = head->write_buf; in tomoyo_write_domain() 1698 char *buf = head->write_buf; in tomoyo_read_pid() 1762 .data = head->write_buf, in tomoyo_write_exception() 2265 char *data = head->write_buf; in tomoyo_write_answer() 2396 char *data = head->write_buf; in tomoyo_write_stat() 2495 head->write_buf = kzalloc(head->writebuf_size, GFP_NOFS); in tomoyo_open_control() 2496 if (!head->write_buf) { in tomoyo_open_control() 2660 char *cp0 = head->write_buf; in tomoyo_write_control() [all …]
|
D | gc.c | 631 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/ |
D | dc_link_ddc.h | 93 uint8_t *write_buf,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_ddc.c | 493 uint8_t *write_buf, in dal_ddc_service_query_ddc_data() argument 535 payload.data = write_buf; in dal_ddc_service_query_ddc_data() 564 &payloads, address, write_size, write_buf, true); in dal_ddc_service_query_ddc_data()
|
/kernel/linux/linux-5.10/drivers/media/radio/ |
D | radio-wl1273.c | 79 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()
|
/kernel/linux/linux-5.10/drivers/mtd/spi-nor/controllers/ |
D | hisi-sfc.c | 292 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()
|
D | intel-spi.c | 708 const u_char *write_buf) in intel_spi_write() argument 733 ret = intel_spi_write_block(ispi, write_buf, block_size); in intel_spi_write() 764 write_buf += block_size; in intel_spi_write()
|