Home
last modified time | relevance | path

Searched refs:rd_size (Results 1 – 17 of 17) sorted by relevance

/linux-6.12.1/drivers/hid/
Duhid.c44 uint rd_size; member
178 return hid_parse_report(hid, uhid->rd_data, uhid->rd_size); in uhid_hid_parse()
410 __u16 rd_size; member
459 event->u.create.rd_size = compat->rd_size; in uhid_event_from_user()
493 size_t rd_size; in uhid_dev_create2() local
500 rd_size = ev->u.create2.rd_size; in uhid_dev_create2()
501 if (rd_size <= 0 || rd_size > HID_MAX_DESCRIPTOR_SIZE) in uhid_dev_create2()
504 rd_data = kmemdup(ev->u.create2.rd_data, rd_size, GFP_KERNEL); in uhid_dev_create2()
508 uhid->rd_size = rd_size; in uhid_dev_create2()
547 uhid->rd_size = 0; in uhid_dev_create2()
[all …]
/linux-6.12.1/drivers/block/
Dbrd.c232 while (size >= PAGE_SIZE && aligned_sector < rd_size * 2) { in brd_do_discard()
291 unsigned long rd_size = CONFIG_BLK_DEV_RAM_SIZE; variable
292 module_param(rd_size, ulong, 0444);
293 MODULE_PARM_DESC(rd_size, "Size of each RAM disk in kbytes.");
308 rd_size = simple_strtol(str, NULL, 0); in ramdisk_size()
370 set_capacity(disk, rd_size * 2); in brd_alloc()
/linux-6.12.1/drivers/target/
Dtarget_core_rd.c426 u32 rd_size; in rd_execute_rw() local
440 rd_size = cmd->data_length; in rd_execute_rw()
451 cmd->t_task_lba, rd_size, rd_page, rd_offset); in rd_execute_rw()
464 while (rd_size) { in rd_execute_rw()
476 if (len > rd_size) { in rd_execute_rw()
479 rd_page, rd_offset, rd_size); in rd_execute_rw()
480 len = rd_size; in rd_execute_rw()
491 rd_size -= len; in rd_execute_rw()
492 if (!rd_size) in rd_execute_rw()
/linux-6.12.1/net/bluetooth/hidp/
Dhidp.h93 __u16 rd_size; member
168 uint rd_size; member
Dsock.c136 __u16 rd_size; member
187 ca.rd_size = ca32.rd_size; in hidp_sock_compat_ioctl()
Dcore.c724 session->rd_size); in hidp_parse()
760 session->rd_data = memdup_user(req->rd_data, req->rd_size); in hidp_setup_hid()
764 session->rd_size = req->rd_size; in hidp_setup_hid()
818 if (req->rd_size > 0) { in hidp_session_dev_init()
/linux-6.12.1/drivers/i2c/busses/
Di2c-npcm7xx.c310 u16 rd_size; member
354 bus->rd_size = 0; in npcm_i2c_init_params()
404 return bus->wr_size == 0 && bus->rd_size == 0; in npcm_i2c_is_quick()
839 if (bus->rd_ind < bus->rd_size) in npcm_i2c_read_fifo()
1320 rcount = bus->rd_size - bus->rd_ind; in npcm_i2c_master_fifo_read()
1342 rcount = bus->rd_size - bus->rd_ind; in npcm_i2c_master_fifo_read()
1366 if (bus->rd_size == 0) { in npcm_i2c_irq_master_handler_write()
1377 npcm_i2c_set_fifo(bus, bus->rd_size, -1); in npcm_i2c_irq_master_handler_write()
1387 if (bus->rd_size == 1) in npcm_i2c_irq_master_handler_write()
1425 bus->rd_size = data + block_extra_bytes_size; in npcm_i2c_irq_master_handler_read()
[all …]
/linux-6.12.1/include/uapi/linux/
Duhid.h49 __u16 rd_size; member
134 __u16 rd_size; member
/linux-6.12.1/include/linux/
Dinitrd.h12 extern unsigned long rd_size;
/linux-6.12.1/drivers/gpu/drm/sti/
Dsti_hqvdp.c905 int rd_size; in sti_hqvdp_start_xp70() member
935 if ((sizeof(*header) + header->rd_size + header->wr_size + in sti_hqvdp_start_xp70()
938 sizeof(*header), header->rd_size, header->wr_size, in sti_hqvdp_start_xp70()
947 data += header->rd_size; in sti_hqvdp_start_xp70()
974 for (i = 0; i < header->rd_size / 4; i++) in sti_hqvdp_start_xp70()
/linux-6.12.1/arch/arm/kernel/
Datags_parse.c96 rd_size = tag->u.ramdisk.size; in parse_tag_ramdisk()
/linux-6.12.1/samples/uhid/
Duhid-example.c184 ev.u.create.rd_size = sizeof(rdesc); in create()
/linux-6.12.1/tools/testing/selftests/hid/
Dhid_common.h136 ev.u.create.rd_size = sizeof(rdesc); in uhid_create()
/linux-6.12.1/Documentation/admin-guide/blockdev/
Dramdisk.rst59 rd_size
/linux-6.12.1/drivers/crypto/inside-secure/
Dsafexcel.c566 priv->config.rd_size, in safexcel_hw_setup_rdesc_rings()
1341 priv->config.rd_size = priv->config.res_offset + in safexcel_configure()
1343 priv->config.rd_offset = (priv->config.rd_size + mask) & ~mask; in safexcel_configure()
Dsafexcel.h683 u32 rd_size; member
/linux-6.12.1/fs/nfs/
Dpnfs.c2849 u64 rd_size; in pnfs_generic_pg_init_read() local
2854 rd_size = i_size_read(pgio->pg_inode) - req_offset(req); in pnfs_generic_pg_init_read()
2856 rd_size = nfs_dreq_bytes_left(pgio->pg_dreq, in pnfs_generic_pg_init_read()
2861 req_offset(req), rd_size, in pnfs_generic_pg_init_read()