Searched refs:codebuf (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/isdn/icn/
H A Dicn.c804 u_char *codebuf; icn_loadboot() local
810 if (!(codebuf = kmalloc(ICN_CODE_STAGE1, GFP_KERNEL))) { icn_loadboot()
815 if (copy_from_user(codebuf, buffer, ICN_CODE_STAGE1)) { icn_loadboot()
859 memcpy_toio(dev.shmem, codebuf, ICN_CODE_STAGE1); /* Copy code */ icn_loadboot()
874 memcpy_toio(dev.shmem, codebuf, ICN_CODE_STAGE1); /* Copy code */ icn_loadboot()
900 kfree(codebuf); icn_loadboot()
909 u_char codebuf[256]; icn_loadproto() local
935 if (copy_from_user(codebuf, p, cnt)) { icn_loadproto()
939 memcpy_toio(&sbuf_l, codebuf, cnt); /* copy data */ icn_loadproto()
/linux-4.4.14/drivers/media/platform/coda/
H A Dcoda.h83 struct coda_aux_buf codebuf; member in struct:coda_dev
H A Dcoda-common.c1855 p = (u16 *)dev->codebuf.vaddr; coda_hw_init()
1885 coda_write(dev, dev->codebuf.paddr, coda_hw_init()
1966 ret = coda_alloc_aux_buf(dev, &dev->codebuf, fw->size, "codebuf", coda_fw_callback()
1972 memcpy(dev->codebuf.vaddr, fw->data, fw->size); coda_fw_callback()
2275 coda_free_aux_buf(dev, &dev->codebuf); coda_remove()
2288 if (dev->pm_domain && cdev->codebuf.vaddr) { coda_runtime_resume()

Completed in 105 milliseconds