Home
last modified time | relevance | path

Searched refs:wbuf (Results 1 - 10 of 10) sorted by relevance

/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_debugfs_helper.c148 char *const wbuf = kstrdup(buf, GFP_KERNEL); in kbase_debugfs_helper_set_attr_from_string() local
151 if (!wbuf) in kbase_debugfs_helper_set_attr_from_string()
155 err = kbase_debugfs_string_validator(wbuf); in kbase_debugfs_helper_set_attr_from_string()
157 kfree(wbuf); in kbase_debugfs_helper_set_attr_from_string()
161 err = set_attr_from_string(wbuf, array, nelems, in kbase_debugfs_helper_set_attr_from_string()
164 kfree(wbuf); in kbase_debugfs_helper_set_attr_from_string()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_debugfs_helper.c97 char *const wbuf = kstrdup(buf, GFP_KERNEL); in kbase_debugfs_helper_set_attr_from_string() local
100 if (!wbuf) { in kbase_debugfs_helper_set_attr_from_string()
104 err = set_attr_from_string(wbuf, array, nelems, set_attr_fn); in kbase_debugfs_helper_set_attr_from_string()
106 kfree(wbuf); in kbase_debugfs_helper_set_attr_from_string()
/device/soc/rockchip/common/sdk_linux/fs/ubifs/
H A Drecovery.c433 * the last wbuf written. After that should be empty space. in is_last_write()
1214 struct ubifs_wbuf *wbuf = &c->jheads[GCHD].wbuf; in ubifs_rcvry_gc_commit() local
1218 dbg_rcvry("GC head LEB %d, offs %d", wbuf->lnum, wbuf->offs); in ubifs_rcvry_gc_commit()
1221 if (wbuf->lnum == -1 || wbuf->offs == c->leb_size) { in ubifs_rcvry_gc_commit()
1225 err = ubifs_find_dirty_leb(c, &lp, wbuf->offs, RECOVERY_TWO); in ubifs_rcvry_gc_commit()
1236 ubifs_assert(c, lp.free + lp.dirty >= wbuf->offs); in ubifs_rcvry_gc_commit()
1249 mutex_lock_nested(&wbuf in ubifs_rcvry_gc_commit()
[all...]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/fm11nt081d/
H A Dfm11nt081d.c75 hi_u8 wbuf[5] = {0x05, 0x78, 0xF7, 0x90, 0x02}; variable
125 static hi_void Fm11nt081dWriteEeprom(hi_u16 baseAddr, hi_u32 len, hi_u8 *wbuf) in Fm11nt081dWriteEeprom() argument
128 hi_u8 *writeBuff = wbuf; in Fm11nt081dWriteEeprom()
291 Fm11nt081dWriteEeprom(0x3B1, 1, &wbuf[1]); in nfc_write_ep()
292 Fm11nt081dWriteEeprom(0x3B5, 1, &wbuf[3]); // 3 for index in nfc_write_ep()
/device/soc/rockchip/rk2206/hdf_driver/spi/
H A Dspi_driver.c562 if ((msg->wbuf != NULL) && (msg->rbuf != NULL)) { in spidrv_transfer()
563 ret = LzSpiWriteAndRead(bus_id, 0, msg->wbuf, msg->rbuf, msg->len); in spidrv_transfer()
568 } else if ((msg->wbuf != NULL) && (msg->rbuf == NULL)) { in spidrv_transfer()
569 ret = LzSpiWrite(bus_id, 0, msg->wbuf, msg->len); in spidrv_transfer()
574 } else if ((msg->wbuf == NULL) && (msg->rbuf != NULL)) { in spidrv_transfer()
581 PRINT_ERR("%s: i = %d, msg->wbuf or msg->rbuf is null\n", __func__, i); in spidrv_transfer()
/device/soc/hisilicon/common/platform/i2s/
H A Di2s_aiao_hi35xx.c634 ret = LOS_CopyToKernel(i2sCfg->txVirData + txWptr, msgs->len, msgs->wbuf, msgs->len); in WriteTxBuffData()
644 ret = LOS_CopyToKernel(i2sCfg->txVirData + txWptr, buffFirstSize, msgs->wbuf, buffFirstSize); in WriteTxBuffData()
651 ret = LOS_CopyToKernel(i2sCfg->txVirData, buffSecordSize, msgs->wbuf + buffFirstSize, buffSecordSize); in WriteTxBuffData()
664 if (i2sCfg == NULL || msgs == NULL || msgs->wbuf == NULL || pOffset == NULL) { in UpdateTxBuffData()
695 int ret = LOS_CopyToKernel(i2sCfg->txVirData + txWptr, msgs->len, msgs->wbuf, msgs->len); in UpdateTxBuffData()
H A Di2s_hi35xx.c510 } else if (msgs->wbuf != NULL) { in Hi35xxI2sTransfer()
/device/soc/hisilicon/common/platform/spi/
H A Dspi_hi35xx.c398 const uint8_t *tx = msg->wbuf; in Pl022TxRx()
582 if (msg->rbuf == NULL || msg->wbuf == NULL) { in Pl022TxRxDma()
596 dmaMsgTx.srcAddr = (msg->wbuf == NULL) ? tmpBuf : (uintptr_t)(LOS_PaddrQuery(msg->wbuf)); in Pl022TxRxDma()
665 if (msg == NULL || (msg->rbuf == NULL && msg->wbuf == NULL) || count == 0) { in Pl022Transfer()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
H A Dbcmutils.h303 extern ulong wchar2ascii(char *abuf, ushort *wbuf, ushort wbuflen, ulong abuflen);
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dbcmutils.c2053 wchar2ascii(char *abuf, ushort *wbuf, ushort wbuflen, ulong abuflen) in wchar2ascii() argument
2067 *abuf++ = (char) *wbuf++; in wchar2ascii()

Completed in 16 milliseconds