Searched refs:template_size (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/hid/ |
| H A D | hid-uclogic-rdesc-test.c | 17 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 …]
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_tmpl.h | 15 __le32 template_size; member
|
| H A D | qla_init.c | 9635 uint32_t template_size; in qla29xx_load_fw_template() local 9673 template_size = le32_to_cpu(((__le32 *)fw_dump_tmplt)[2]); in qla29xx_load_fw_template() 9677 j, fw_dump_tmplt, template_size); in qla29xx_load_fw_template() 9679 if (!template_size || !~template_size || in qla29xx_load_fw_template() 9680 template_size > ha->fw_dump_tmplt_len) { in qla29xx_load_fw_template() 9686 fwdt->template = vmalloc(template_size); in qla29xx_load_fw_template() 9694 memcpy((char *)dcode, (char *)fw_dump_tmplt, template_size); in qla29xx_load_fw_template() 9704 if (len > template_size) { in qla29xx_load_fw_template() 9707 j, len - template_size); in qla29xx_load_fw_template()
|
| /linux/drivers/hwmon/ |
| H A D | hwmon.c | 839 int template_size; in hwmon_genattrs() local 846 template_size = __templates_size[info->type]; in hwmon_genattrs() 857 if (attr >= template_size || !templates[attr]) in hwmon_genattrs()
|