Home
last modified time | relevance | path

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

12

/drivers/hwmon/pmbus/
Dadm1266.c62 u8 write_buf[ADM1266_PMBUS_BLOCK_MAX + 1] ____cacheline_aligned; member
90 .buf = data->write_buf, in adm1266_pmbus_block_xfer()
434 char write_buf[6]; in adm1266_set_rtc() local
439 memset(write_buf, 0, sizeof(write_buf)); in adm1266_set_rtc()
442 write_buf[2 + i] = (kt >> (i * 8)) & 0xFF; in adm1266_set_rtc()
444 return i2c_smbus_write_block_data(data->client, ADM1266_SET_RTC, sizeof(write_buf), in adm1266_set_rtc()
445 write_buf); in adm1266_set_rtc()
/drivers/gnss/
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()
/drivers/mtd/lpddr/
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()
/drivers/mtd/nand/raw/
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()
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()
Dplat_nand.c81 data->chip.legacy.write_buf = pdata->ctrl.write_buf; in plat_nand_probe()
Domap2.c1536 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()
Doxnas_nand.c135 chip->legacy.write_buf = oxnas_nand_write_buf; in oxnas_nand_probe()
Dpasemi_nand.c151 chip->legacy.write_buf = pasemi_write_buf; in pasemi_nand_probe()
Dsocrates_nand.c170 nand_chip->legacy.write_buf = socrates_nand_write_buf; in socrates_nand_probe()
Dlpc32xx_slc.c698 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()
Dxway_nand.c192 data->chip.legacy.write_buf = xway_write_buf; in xway_nand_probe()
Dndfc.c148 chip->legacy.write_buf = ndfc_write_buf; in ndfc_chip_init()
Dhisi504_nand.c575 chip->legacy.write_buf(chip, chip->oob_poi, mtd->oobsize); in hisi_nand_write_page_hwecc()
777 chip->legacy.write_buf = hisi_nfc_write_buf; in hisi_nfc_probe()
/drivers/platform/x86/
Dintel_telemetry_pltdrv.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()
/drivers/tty/serdev/
Dcore.c263 if (!ctrl || !ctrl->ops->write_buf) in serdev_device_write_buf()
266 return ctrl->ops->write_buf(ctrl, buf, count); in serdev_device_write_buf()
300 if (!ctrl || !ctrl->ops->write_buf || !serdev->ops->write_wakeup) in serdev_device_write()
310 ret = ctrl->ops->write_buf(ctrl, buf, count); in serdev_device_write()
Dserdev-ttyport.c257 .write_buf = ttyport_write_buf,
/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_ddc.c493 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()
/drivers/gpu/drm/amd/display/dc/inc/
Ddc_link_ddc.h93 uint8_t *write_buf,
/drivers/media/radio/
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()
/drivers/mtd/spi-nor/controllers/
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()
Dintel-spi.c708 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()
Daspeed-smc.c391 size_t len, const u_char *write_buf) in aspeed_smc_write_user() argument
397 aspeed_smc_write_to_ahb(chip->ahb_base, write_buf, len); in aspeed_smc_write_user()
/drivers/gpu/drm/i915/display/
Dintel_hdmi.c1315 u8 *write_buf; in intel_hdmi_hdcp_write() local
1318 write_buf = kzalloc(size + 1, GFP_KERNEL); in intel_hdmi_hdcp_write()
1319 if (!write_buf) in intel_hdmi_hdcp_write()
1322 write_buf[0] = offset & 0xff; in intel_hdmi_hdcp_write()
1323 memcpy(&write_buf[1], buffer, size); in intel_hdmi_hdcp_write()
1328 msg.buf = write_buf; in intel_hdmi_hdcp_write()
1336 kfree(write_buf); in intel_hdmi_hdcp_write()
/drivers/tty/
Dtty_io.c173 kfree(tty->write_buf); in free_tty_struct()
1014 kfree(tty->write_buf); in do_tty_write()
1016 tty->write_buf = buf_chunk; in do_tty_write()
1026 if (copy_from_iter(tty->write_buf, size, from) != size) in do_tty_write()
1029 ret = write(tty, file, tty->write_buf, size); in do_tty_write()
/drivers/mtd/nand/raw/bcm47xxnflash/
Dops_bcm4706.c388 b47n->nand_chip.legacy.write_buf = bcm47xxnflash_ops_bcm4706_write_buf; in bcm47xxnflash_ops_bcm4706_init()

12