Home
last modified time | relevance | path

Searched refs:kfifo_alloc (Results 1 – 25 of 58) sorted by relevance

123

/OK3568_Linux_fs/kernel/samples/kfifo/
H A Ddma-example.c30 if (kfifo_alloc(&fifo, FIFO_SIZE, GFP_KERNEL)) { in example_init()
H A Dinttype-example.c153 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); in example_init()
H A Drecord-example.c167 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); in example_init()
H A Dbytestream-example.c160 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); in example_init()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_interrupt.c56 r = kfifo_alloc(&kfd->ih_fifo, in kfd_interrupt_init()
H A Dkfd_smi_events.c267 ret = kfifo_alloc(&client->fifo, MAX_KFIFO_SIZE, GFP_KERNEL); in kfd_smi_event_open()
/OK3568_Linux_fs/kernel/drivers/crypto/caam/
H A Dcaamrng.c188 if (kfifo_alloc(&ctx->fifo, CAAM_RNG_MAX_FIFO_STORE_SIZE, in caam_init()
/OK3568_Linux_fs/kernel/drivers/media/rc/
H A Dlirc_dev.c154 if (kfifo_alloc(&fh->rawir, MAX_IR_EVENT_SIZE, GFP_KERNEL)) { in lirc_open()
161 if (kfifo_alloc(&fh->scancodes, 32, GFP_KERNEL)) { in lirc_open()
/OK3568_Linux_fs/kernel/drivers/soc/aspeed/
H A Daspeed-lpc-snoop.c197 rc = kfifo_alloc(&lpc_snoop->chan[channel].fifo, in aspeed_lpc_enable_snoop()
/OK3568_Linux_fs/kernel/drivers/gnss/
H A Dcore.c257 ret = kfifo_alloc(&gdev->read_fifo, GNSS_READ_FIFO_SIZE, GFP_KERNEL); in gnss_allocate_device()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dfhci.h475 return kfifo_alloc(fifo, size * sizeof(void *), GFP_KERNEL); in cq_new()
H A Dxhci-dbgtty.c412 ret = kfifo_alloc(&port->write_fifo, DBC_WRITE_BUF_SIZE, GFP_KERNEL); in xhci_dbc_tty_register_device()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/
H A Disp_stats.c390 ret = kfifo_alloc(&stats_vdev->rd_kfifo, in rkisp_register_stats_vdev()
H A Disp_mipi_luma.c489 ret = kfifo_alloc(&luma_vdev->rd_kfifo, in rkisp_register_luma_vdev()
/OK3568_Linux_fs/kernel/drivers/char/
H A Dsonypi.c1300 error = kfifo_alloc(&sonypi_device.fifo, SONYPI_BUF_SIZE, GFP_KERNEL); in sonypi_probe()
1379 error = kfifo_alloc(&sonypi_device.input_fifo, SONYPI_BUF_SIZE, in sonypi_probe()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Du_serial.c613 status = kfifo_alloc(&port->port_write_buf, in gs_open()
1029 err = kfifo_alloc(&cons->buf, GS_CONSOLE_BUF_SIZE, GFP_KERNEL); in gs_console_init()
/OK3568_Linux_fs/kernel/drivers/most/
H A Dmost_cdev.c449 retval = kfifo_alloc(&c->fifo, cfg->num_buffers, GFP_KERNEL); in comp_probe()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/cif/
H A Dcif-luma.c484 ret = kfifo_alloc(&luma_vdev->rd_kfifo, in rkcif_register_luma_vdev()
/OK3568_Linux_fs/kernel/drivers/mfd/
H A Dsi476x-i2c.c758 rval = kfifo_alloc(&core->rds_fifo, in si476x_core_probe()
/OK3568_Linux_fs/kernel/drivers/media/pci/meye/
H A Dmeye.c1613 if (kfifo_alloc(&meye.grabq, sizeof(int) * MEYE_MAX_BUFNBRS, in meye_probe()
1618 if (kfifo_alloc(&meye.doneq, sizeof(int) * MEYE_MAX_BUFNBRS, in meye_probe()
/OK3568_Linux_fs/kernel/include/linux/
H A Dkfifo.h350 #define kfifo_alloc(fifo, size, gfp_mask) \ macro
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dxgene-hwmon.c631 rc = kfifo_alloc(&ctx->async_msg_fifo, in xgene_hwmon_probe()
/OK3568_Linux_fs/kernel/drivers/dma/qcom/
H A Dhidma_ll.c786 rc = kfifo_alloc(&lldev->handoff_fifo, sz, GFP_KERNEL); in hidma_ll_init()
/OK3568_Linux_fs/kernel/drivers/firmware/
H A Dstratix10-svc.c1015 ret = kfifo_alloc(&controller->svc_fifo, fifo_size, GFP_KERNEL); in stratix10_svc_drv_probe()
/OK3568_Linux_fs/kernel/drivers/hid/
H A Dhid-sensor-custom.c722 ret = kfifo_alloc(&sensor_inst->data_fifo, HID_CUSTOM_FIFO_SIZE, in hid_sensor_custom_dev_if_add()

123