Home
last modified time | relevance | path

Searched refs:template_size (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/hid/
H A Dhid-uclogic-rdesc-test.c17 size_t template_size; member
104 .template_size = sizeof(template_empty),
112 .template_size = sizeof(template_small),
120 .template_size = sizeof(template_no_ph),
128 .template_size = sizeof(template_pen_ph_end),
136 .template_size = sizeof(template_btn_ph_end),
144 .template_size = sizeof(template_pen_all_params),
152 .template_size = sizeof(template_frame_all_params),
160 .template_size = sizeof(template_pen_some_params),
168 .template_size = sizeof(template_pen_some_params),
[all …]
H A Dhid-uclogic-rdesc.c1213 size_t template_size, in uclogic_rdesc_template_apply() argument
1223 rdesc_ptr = kmemdup(template_ptr, template_size, GFP_KERNEL); in uclogic_rdesc_template_apply()
1227 for (p = rdesc_ptr; p + sizeof(btn_head) < rdesc_ptr + template_size;) { in uclogic_rdesc_template_apply()
1228 if (p + sizeof(pen_head) < rdesc_ptr + template_size && in uclogic_rdesc_template_apply()
H A Dhid-uclogic-rdesc.h89 size_t template_size,
/linux/drivers/scsi/qla2xxx/
H A Dqla_tmpl.h15 __le32 template_size; member
H A Dqla_tmpl.c937 le32_to_cpu(tmp->template_size)) == 0; in qla27xx_verify_template_checksum()
953 len = le32_to_cpu(tmp->template_size); in qla27xx_execute_fwdt_template()
969 len = le32_to_cpu(tmp->template_size); in qla27xx_fwdt_calculate_dump_size()
981 return le32_to_cpu(tmp->template_size); in qla27xx_fwdt_template_size()
/linux/drivers/hwmon/
H A Dhwmon.c804 int template_size; in hwmon_genattrs() local
811 template_size = __templates_size[info->type]; in hwmon_genattrs()
822 if (attr >= template_size || !templates[attr]) in hwmon_genattrs()