/linux-6.12.1/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 …]
|
/linux-6.12.1/tools/testing/selftests/arm64/fp/ |
D | sve-ptrace.c | 330 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() 360 fill_buf(write_buf + SVE_PT_SVE_PREG_OFFSET(vq, i), in ptrace_set_sve_get_sve_data() 363 fill_buf(write_buf + SVE_PT_SVE_FPSR_OFFSET(vq), SVE_PT_SVE_FPSR_SIZE); in ptrace_set_sve_get_sve_data() 364 fill_buf(write_buf + SVE_PT_SVE_FPCR_OFFSET(vq), SVE_PT_SVE_FPCR_SIZE); in ptrace_set_sve_get_sve_data() 392 if (memcmp(write_buf + SVE_PT_SVE_ZREG_OFFSET(vq, i), in ptrace_set_sve_get_sve_data() 401 if (memcmp(write_buf + SVE_PT_SVE_PREG_OFFSET(vq, i), in ptrace_set_sve_get_sve_data() [all …]
|
D | za-ptrace.c | 192 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.12.1/drivers/input/joystick/ |
D | adafruit-seesaw.c | 117 u8 write_buf[sizeof(reg) + sizeof(value)]; in seesaw_register_write_u8() local 120 put_unaligned_be16(reg, write_buf); in seesaw_register_write_u8() 121 write_buf[sizeof(reg)] = value; in seesaw_register_write_u8() 123 ret = i2c_master_send(client, write_buf, sizeof(write_buf)); in seesaw_register_write_u8() 133 u8 write_buf[sizeof(reg) + sizeof(value)]; in seesaw_register_write_u32() local 136 put_unaligned_be16(reg, write_buf); in seesaw_register_write_u32() 137 put_unaligned_be32(value, write_buf + sizeof(reg)); in seesaw_register_write_u32() 138 ret = i2c_master_send(client, write_buf, sizeof(write_buf)); in seesaw_register_write_u32()
|
/linux-6.12.1/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() 432 char write_buf[6]; in adm1266_set_rtc() local 437 memset(write_buf, 0, sizeof(write_buf)); in adm1266_set_rtc() 440 write_buf[2 + i] = (kt >> (i * 8)) & 0xFF; in adm1266_set_rtc() 442 return i2c_smbus_write_block_data(data->client, ADM1266_SET_RTC, sizeof(write_buf), in adm1266_set_rtc() 443 write_buf); in adm1266_set_rtc()
|
D | tda38640.c | 90 u8 write_buf[] = {0xd0, 0x44, 0x00}; in svid_mode() local 99 .buf = write_buf, in svid_mode() 100 .len = sizeof(write_buf), in svid_mode()
|
/linux-6.12.1/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()
|
/linux-6.12.1/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() 217 kfree(gdev->write_buf); in gnss_device_release() 260 gdev->write_buf = kzalloc(GNSS_WRITE_BUF_SIZE, GFP_KERNEL); in gnss_allocate_device() 261 if (!gdev->write_buf) in gnss_allocate_device()
|
/linux-6.12.1/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()
|
/linux-6.12.1/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() 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()
|
D | plat_nand.c | 79 data->chip.legacy.write_buf = pdata->ctrl.write_buf; in plat_nand_probe()
|
D | socrates_nand.c | 171 nand_chip->legacy.write_buf = socrates_nand_write_buf; in socrates_nand_probe()
|
/linux-6.12.1/drivers/misc/ |
D | pci_endpoint_test.c | 269 void *write_buf, void *read_buf, in pci_endpoint_test_bar_memcmp() argument 272 memset(write_buf, bar_test_pattern[barno], size); in pci_endpoint_test_bar_memcmp() 273 memcpy_toio(test->bar[barno] + offset, write_buf, size); in pci_endpoint_test_bar_memcmp() 277 return memcmp(write_buf, read_buf, size); in pci_endpoint_test_bar_memcmp() 284 void *write_buf __free(kfree) = NULL; in pci_endpoint_test_bar() 302 write_buf = kmalloc(buf_size, GFP_KERNEL); in pci_endpoint_test_bar() 303 if (!write_buf) in pci_endpoint_test_bar() 313 write_buf, read_buf, buf_size)) in pci_endpoint_test_bar() 319 write_buf, read_buf, remain)) in pci_endpoint_test_bar()
|
/linux-6.12.1/drivers/platform/x86/intel/telemetry/ |
D | 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()
|
/linux-6.12.1/drivers/hid/ |
D | hid-steelseries.c | 382 u8 *write_buf; in steelseries_headset_arctis_1_fetch_battery() local 386 write_buf = kmemdup(arctis_1_battery_request, sizeof(arctis_1_battery_request), GFP_KERNEL); in steelseries_headset_arctis_1_fetch_battery() 387 if (!write_buf) in steelseries_headset_arctis_1_fetch_battery() 391 write_buf, sizeof(arctis_1_battery_request), in steelseries_headset_arctis_1_fetch_battery() 397 kfree(write_buf); in steelseries_headset_arctis_1_fetch_battery()
|
/linux-6.12.1/include/linux/mtd/ |
D | platnand.h | 59 void (*write_buf)(struct nand_chip *chip, const uint8_t *buf, int len); member
|
/linux-6.12.1/drivers/media/i2c/ |
D | thp7312.c | 1449 const u8 *write_buf, u16 write_size) in thp7312_write_buf() argument 1454 ret = i2c_master_send(client, write_buf, write_size); in thp7312_write_buf() 1459 const u8 *write_buf, u16 write_size) in __thp7312_flash_reg_write() argument 1481 memcpy((temp_write_buf + 2), write_buf, write_size); in __thp7312_flash_reg_write() 1493 const u8 *write_buf, u16 write_size, in __thp7312_flash_reg_read() argument 1500 ret = __thp7312_flash_reg_write(thp7312, write_buf, write_size); in __thp7312_flash_reg_read() 1634 u8 *write_buf = thp7312->fw_write_buf; in thp7312_write_download_data_by_unit() local 1640 write_buf[0] = (addr >> 8) & 0xff; in thp7312_write_download_data_by_unit() 1641 write_buf[1] = (addr >> 0) & 0xff; in thp7312_write_download_data_by_unit() 1642 memcpy(&write_buf[2], data, size); in thp7312_write_download_data_by_unit() [all …]
|
/linux-6.12.1/include/linux/ |
D | gnss.h | 55 char *write_buf; member
|
/linux-6.12.1/security/tomoyo/ |
D | common.c | 668 char *data = head->write_buf; in tomoyo_write_profile() 887 char *data = head->write_buf; in tomoyo_write_manager() 1166 char *data = head->write_buf; in tomoyo_write_domain() 1690 char *buf = head->write_buf; in tomoyo_read_pid() 1754 .data = head->write_buf, in tomoyo_write_exception() 2257 char *data = head->write_buf; in tomoyo_write_answer() 2388 char *data = head->write_buf; in tomoyo_write_stat() 2487 head->write_buf = kzalloc(head->writebuf_size, GFP_NOFS); in tomoyo_open_control() 2488 if (!head->write_buf) { in tomoyo_open_control() 2659 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()
|
/linux-6.12.1/drivers/tty/serdev/ |
D | core.c | 232 if (!ctrl || !ctrl->ops->write_buf) in serdev_device_write_buf() 235 return ctrl->ops->write_buf(ctrl, buf, count); in serdev_device_write_buf() 268 if (!ctrl || !ctrl->ops->write_buf || !serdev->ops->write_wakeup) in serdev_device_write() 278 ret = ctrl->ops->write_buf(ctrl, buf, count); in serdev_device_write()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/protocols/ |
D | link_ddc.h | 59 uint8_t *write_buf,
|
D | link_ddc.c | 316 uint8_t *write_buf, in link_query_ddc_data() argument 353 payload.data = write_buf; in link_query_ddc_data() 382 &payloads, address, write_size, write_buf, true); in link_query_ddc_data()
|
/linux-6.12.1/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() 2071 radio->write_buf = devm_kzalloc(&pdev->dev, 256, GFP_KERNEL); in wl1273_fm_radio_probe() 2072 if (!radio->write_buf) { in wl1273_fm_radio_probe()
|
/linux-6.12.1/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()
|