Home
last modified time | relevance | path

Searched refs:kfifo_in (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.15/lib/tests/
H A Dkfifo_kunit.c49 kfifo_in(&my_fifo, buffer1, N_ELEMENTS); in kfifo_test_len_should_ret_n_of_stored_elements()
52 kfifo_in(&my_fifo, buffer1, N_ELEMENTS); in kfifo_test_len_should_ret_n_of_stored_elements()
90 kfifo_in(&my_fifo, in_buffer, 3); in kfifo_test_in_should_insert_multiple_elements()
/linux-6.15/samples/kfifo/
H A Drecord-example.c78 kfifo_in(&test, &hello, sizeof(hello)); in testfunc()
86 kfifo_in(&test, buf, i + 1); in testfunc()
H A Dbytestream-example.c61 kfifo_in(&test, "hello", 5); in testfunc()
78 ret = kfifo_in(&test, buf, ret); in testfunc()
H A Ddma-example.c39 kfifo_in(&fifo, "test", 4); in example_init()
H A Dinttype-example.c71 ret = kfifo_in(&test, buf, ret); in testfunc()
/linux-6.15/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_interrupt.c116 kfifo_in(&node->ih_fifo, ih_ring_entry, node->kfd->device_info.ih_ring_entry_size); in enqueue_ih_ring_entry()
H A Dkfd_smi_events.c187 kfifo_in(&client->fifo, event_msg, len); in add_event_to_kfifo()
/linux-6.15/include/linux/
H A Dkfifo.h530 #define kfifo_in(fifo, buf, n) \ macro
557 __ret = kfifo_in(fifo, buf, n); \
577 __ret = kfifo_in(fifo, buf, n); \
/linux-6.15/drivers/memstick/host/
H A Dr592.c330 int copy_len = kfifo_in(&dev->pio_fifo, buffer, len); in r592_write_fifo_pio()
353 kfifo_in(&dev->pio_fifo, buffer, len); in r592_write_fifo_pio()
401 kfifo_in(&dev->pio_fifo, tmp, 4); in r592_read_fifo_pio()
/linux-6.15/drivers/scsi/
H A Dlibiscsi_tcp.c455 kfifo_in(&tcp_task->r2tpool.queue, (void*)&r2t, in iscsi_tcp_cleanup_task()
462 kfifo_in(&tcp_task->r2tpool.queue, (void*)&r2t, in iscsi_tcp_cleanup_task()
630 kfifo_in(&tcp_task->r2tqueue, (void*)&r2t, sizeof(void*)); in iscsi_tcp_r2t_rsp()
1029 kfifo_in(&tcp_task->r2tpool.queue, in iscsi_tcp_get_curr_r2t()
/linux-6.15/drivers/tty/hvc/
H A Dhvc_dcc.c193 len = kfifo_in(&outbuf, buf, count); in hvc_dcc0_put_chars()
/linux-6.15/drivers/media/platform/amphion/
H A Dvpu_msgs.c293 ret = kfifo_in(&inst->msg_fifo, pkt, bytes); in vpu_inst_handle_msg()
416 if (kfifo_in(&core->msg_fifo, &irq, sizeof(irq)) != sizeof(irq)) in vpu_isr()
/linux-6.15/drivers/most/
H A Dmost_cdev.c60 kfifo_in(&c->fifo, mbo, 1); in ch_get_mbo()
367 kfifo_in(&c->fifo, &mbo, 1); in comp_rx_completion()
/linux-6.15/drivers/hid/
H A Dhid-logitech-dj.c877 kfifo_in(&djrcv_dev->notif_fifo, &workitem, sizeof(workitem)); in logi_dj_recv_queue_unknown_work()
915 kfifo_in(&djrcv_dev->notif_fifo, &workitem, sizeof(workitem)); in logi_dj_recv_queue_notification()
1094 kfifo_in(&djrcv_dev->notif_fifo, &workitem, sizeof(workitem)); in logi_hidpp_recv_queue_notif()
1650 kfifo_in(&djrcv_dev->notif_fifo, &workitem, sizeof(workitem)); in logi_dj_hidpp_event()
H A Dhid-sensor-custom.c443 kfifo_in(&sensor_inst->data_fifo, in hid_sensor_capture_sample()
450 kfifo_in(&sensor_inst->data_fifo, (unsigned char *)raw_data, in hid_sensor_capture_sample()
/linux-6.15/drivers/iio/buffer/
H A Dkfifo_buf.c95 ret = kfifo_in(&kf->kf, data, 1); in iio_store_to_kfifo()
/linux-6.15/drivers/mtd/
H A Dsm_ftl.c491 kfifo_in(&zone->free_sectors, in sm_erase_block()
795 kfifo_in(&zone->free_sectors, in sm_init_zone()
874 kfifo_in(&zone->free_sectors, (const unsigned char *)&block, 2); in sm_init_zone()
/linux-6.15/drivers/platform/surface/
H A Dsurface_aggregator_cdev.c119 kfifo_in(&client->buffer, (const u8 *)&event, struct_size(&event, data, 0)); in ssam_cdev_notifier()
120 kfifo_in(&client->buffer, &in->data[0], in->length); in ssam_cdev_notifier()
/linux-6.15/drivers/gnss/
H A Dcore.c324 ret = kfifo_in(&gdev->read_fifo, buf, count); in gnss_insert_raw()
/linux-6.15/drivers/usb/gadget/function/
H A Du_serial.c755 count = kfifo_in(&port->port_write_buf, buf, count); in gs_write()
944 kfifo_in(&cons->buf, buf, len); in __gs_console_push()
976 n = kfifo_in(&cons->buf, buf, count); in gs_console_write()
/linux-6.15/drivers/usb/host/
H A Dfhci.h490 return kfifo_in(kfifo, (void *)&p, sizeof(p)); in cq_put()
H A Dxhci-dbgtty.c300 written = kfifo_in(&port->port.xmit_fifo, buf, count); in dbc_tty_write()
/linux-6.15/drivers/scsi/ibmvscsi_tgt/
H A Dlibsrp.c41 kfifo_in(&q->queue, (void *)&iue, sizeof(void *)); in srp_iu_pool_alloc()
/linux-6.15/drivers/firmware/arm_scmi/
H A Dnotify.c613 kfifo_in(&r_evt->proto->equeue.kfifo, &eh, sizeof(eh)); in scmi_notify()
614 kfifo_in(&r_evt->proto->equeue.kfifo, buf, len); in scmi_notify()
/linux-6.15/drivers/mfd/
H A Dsi476x-i2c.c380 kfifo_in(&core->rds_fifo, report.rds, in si476x_core_drain_rds_fifo()

12