/drivers/hid/ |
D | hid-roccat-common.c | 132 size_t real_size, uint command) in roccat_common2_sysfs_read() argument 139 if (off >= real_size) in roccat_common2_sysfs_read() 142 if (off != 0 || count != real_size) in roccat_common2_sysfs_read() 146 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in roccat_common2_sysfs_read() 149 return retval ? retval : real_size; in roccat_common2_sysfs_read() 155 size_t real_size, uint command) in roccat_common2_sysfs_write() argument 162 if (off != 0 || count != real_size) in roccat_common2_sysfs_write() 166 retval = roccat_common2_send_with_status(usb_dev, command, buf, real_size); in roccat_common2_sysfs_write() 169 return retval ? retval : real_size; in roccat_common2_sysfs_write()
|
D | hid-roccat-lua.c | 28 size_t real_size, uint command) in lua_sysfs_read() argument 35 if (off >= real_size) in lua_sysfs_read() 38 if (off != 0 || count != real_size) in lua_sysfs_read() 42 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in lua_sysfs_read() 45 return retval ? retval : real_size; in lua_sysfs_read() 50 size_t real_size, uint command) in lua_sysfs_write() argument 57 if (off != 0 || count != real_size) in lua_sysfs_write() 61 retval = roccat_common2_send(usb_dev, command, buf, real_size); in lua_sysfs_write() 64 return retval ? retval : real_size; in lua_sysfs_write()
|
D | hid-roccat-arvo.c | 189 loff_t off, size_t count, size_t real_size, uint command) in arvo_sysfs_write() argument 196 if (off != 0 || count != real_size) in arvo_sysfs_write() 200 retval = roccat_common2_send(usb_dev, command, buf, real_size); in arvo_sysfs_write() 203 return (retval ? retval : real_size); in arvo_sysfs_write() 208 size_t count, size_t real_size, uint command) in arvo_sysfs_read() argument 215 if (off >= real_size) in arvo_sysfs_read() 218 if (off != 0 || count != real_size) in arvo_sysfs_read() 222 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in arvo_sysfs_read() 225 return (retval ? retval : real_size); in arvo_sysfs_read()
|
D | hid-roccat-koneplus.c | 85 size_t real_size, uint command) in koneplus_sysfs_read() argument 92 if (off >= real_size) in koneplus_sysfs_read() 95 if (off != 0 || count != real_size) in koneplus_sysfs_read() 99 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in koneplus_sysfs_read() 105 return real_size; in koneplus_sysfs_read() 110 size_t real_size, uint command) in koneplus_sysfs_write() argument 117 if (off != 0 || count != real_size) in koneplus_sysfs_write() 122 buf, real_size); in koneplus_sysfs_write() 128 return real_size; in koneplus_sysfs_write()
|
D | hid-roccat-pyra.c | 88 size_t real_size, uint command) in pyra_sysfs_read() argument 95 if (off >= real_size) in pyra_sysfs_read() 98 if (off != 0 || count != real_size) in pyra_sysfs_read() 102 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in pyra_sysfs_read() 108 return real_size; in pyra_sysfs_read() 113 size_t real_size, uint command) in pyra_sysfs_write() argument 120 if (off != 0 || count != real_size) in pyra_sysfs_write() 124 retval = roccat_common2_send_with_status(usb_dev, command, (void *)buf, real_size); in pyra_sysfs_write() 130 return real_size; in pyra_sysfs_write()
|
D | hid-roccat-kovaplus.c | 128 size_t real_size, uint command) in kovaplus_sysfs_read() argument 135 if (off >= real_size) in kovaplus_sysfs_read() 138 if (off != 0 || count != real_size) in kovaplus_sysfs_read() 142 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in kovaplus_sysfs_read() 148 return real_size; in kovaplus_sysfs_read() 153 size_t real_size, uint command) in kovaplus_sysfs_write() argument 160 if (off != 0 || count != real_size) in kovaplus_sysfs_write() 165 buf, real_size); in kovaplus_sysfs_write() 171 return real_size; in kovaplus_sysfs_write()
|
D | hid-roccat-isku.c | 119 size_t real_size, uint command) in isku_sysfs_read() argument 126 if (off >= real_size) in isku_sysfs_read() 129 if (off != 0 || count > real_size) in isku_sysfs_read() 141 size_t real_size, uint command) in isku_sysfs_write() argument 148 if (off != 0 || count > real_size) in isku_sysfs_write()
|
D | hid-roccat-common.h | 42 size_t real_size, uint command); 45 size_t real_size, uint command);
|
/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_ads.c | 357 u32 total_size = 0, alloc_size, real_size; in guc_prep_golden_context() local 392 real_size = intel_engine_context_size(gt, engine_class); in guc_prep_golden_context() 393 alloc_size = PAGE_ALIGN(real_size); in guc_prep_golden_context() 399 blob->ads.eng_state_size[guc_class] = real_size; in guc_prep_golden_context() 435 u32 total_size = 0, alloc_size, real_size; in guc_init_golden_context() local 466 real_size = intel_engine_context_size(gt, engine_class); in guc_init_golden_context() 467 alloc_size = PAGE_ALIGN(real_size); in guc_init_golden_context() 479 GEM_BUG_ON(blob->ads.eng_state_size[guc_class] != real_size); in guc_init_golden_context() 484 real_size - skip_size); in guc_init_golden_context()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 640 int real_size; in get_real_size() local 648 real_size = CTRL_SIZE + shinfo->nr_frags * DS_SIZE + in get_real_size() 654 real_size += DS_SIZE; in get_real_size() 667 real_size = inline_size(skb); in get_real_size() 669 real_size = CTRL_SIZE + in get_real_size() 673 return real_size; in get_real_size() 875 int real_size; in mlx4_en_xmit() local 893 real_size = get_real_size(skb, shinfo, dev, &lso_header_size, in mlx4_en_xmit() 895 if (unlikely(!real_size)) in mlx4_en_xmit() 899 desc_size = ALIGN(real_size, TXBB_SIZE); in mlx4_en_xmit() [all …]
|
/drivers/video/fbdev/ |
D | s3c-fb.c | 1084 unsigned int real_size, virt_size, size; in s3c_fb_alloc_memory() local 1090 real_size = windata->xres * windata->yres; in s3c_fb_alloc_memory() 1094 real_size, windata->xres, windata->yres, in s3c_fb_alloc_memory() 1097 size = (real_size > virt_size) ? real_size : virt_size; in s3c_fb_alloc_memory()
|
/drivers/net/wireless/realtek/rtw88/ |
D | mac.c | 369 u32 real_size; in check_firmware_size() local 379 real_size = FW_HDR_SIZE + dmem_size + imem_size + emem_size; in check_firmware_size() 380 if (real_size != size) in check_firmware_size()
|