Home
last modified time | relevance | path

Searched refs:model_number (Results 1 – 22 of 22) sorted by relevance

/drivers/media/rc/
Dite-cir.c42 static int model_number = -1; variable
43 module_param(model_number, int, S_IRUGO | S_IWUSR);
44 MODULE_PARM_DESC(model_number, "Use this model number, don't autodetect");
1324 if (model_number >= 0 && model_number < ARRAY_SIZE(ite_dev_descs)) { in ite_probe()
1325 model_no = model_number; in ite_probe()
/drivers/hwmon/
Dacpi_power_meter.c81 acpi_string model_number; member
372 val = resource->model_number; in show_str()
737 str = &resource->model_number; in free_capabilities()
795 str = &resource->model_number; in read_capabilities()
/drivers/infiniband/hw/ocrdma/
Docrdma_main.c132 return sysfs_emit(buf, "%s\n", &dev->model_number[0]); in hca_type_show()
319 port_speed_string(dev), dev->model_number, in ocrdma_add()
Docrdma.h282 char model_number[32]; member
Docrdma_hw.c1366 strlcpy(dev->model_number, in ocrdma_mbx_get_ctrl_attribs()
1368 sizeof(dev->model_number)); in ocrdma_mbx_get_ctrl_attribs()
/drivers/nvme/target/
Ddiscovery.c266 memcpy_and_pad(id->mn, sizeof(id->mn), ctrl->subsys->model_number, in nvmet_execute_disc_identify()
267 strlen(ctrl->subsys->model_number), ' '); in nvmet_execute_disc_identify()
Dconfigfs.c1186 return snprintf(page, PAGE_SIZE, "%s\n", subsys->model_number); in nvmet_subsys_attr_model_show()
1197 subsys->model_number); in nvmet_subsys_attr_model_store_locked()
1219 kfree(subsys->model_number); in nvmet_subsys_attr_model_store_locked()
1220 subsys->model_number = val; in nvmet_subsys_attr_model_store_locked()
Dcore.c1537 subsys->model_number = kstrdup(NVMET_DEFAULT_CTRL_MODEL, GFP_KERNEL); in nvmet_subsys_alloc()
1538 if (!subsys->model_number) { in nvmet_subsys_alloc()
1574 kfree(subsys->model_number); in nvmet_subsys_alloc()
1591 kfree(subsys->model_number); in nvmet_subsys_free()
Dadmin-cmd.c373 memcpy_and_pad(id->mn, sizeof(id->mn), subsys->model_number, in nvmet_execute_identify_ctrl()
374 strlen(subsys->model_number), ' '); in nvmet_execute_identify_ctrl()
Dnvmet.h243 char *model_number; member
/drivers/acpi/
Dbattery.c128 char model_number[32]; member
304 val->strval = battery->model_number; in acpi_battery_get_property()
405 {offsetof(struct acpi_battery, model_number), 1},
428 {offsetof(struct acpi_battery, model_number), 1},
/drivers/platform/chrome/wilco_ec/
Dsysfs.c156 static DEVICE_ATTR_RO(model_number);
/drivers/scsi/qla2xxx/
Dqla_init.c5126 memcpy(ha->model_number, model, len); in qla2x00_set_model_info()
5127 st = en = ha->model_number; in qla2x00_set_model_info()
5147 strlcpy(ha->model_number, in qla2x00_set_model_info()
5149 sizeof(ha->model_number)); in qla2x00_set_model_info()
5154 strlcpy(ha->model_number, def, in qla2x00_set_model_info()
5155 sizeof(ha->model_number)); in qla2x00_set_model_info()
5310 strcpy(ha->model_number, "QLA2310"); in qla2x00_nvram_config()
5312 strcpy(ha->model_number, "QLA2300"); in qla2x00_nvram_config()
5315 qla2x00_set_model_info(vha, nv->model_number, in qla2x00_nvram_config()
5316 sizeof(nv->model_number), "QLA23xx"); in qla2x00_nvram_config()
[all …]
Dqla_mr.c1912 strlcpy(vha->hw->model_number, pinfo->model_num, in qlafx00_fx_disc()
1913 ARRAY_SIZE(vha->hw->model_number)); in qlafx00_fx_disc()
Dqla_gs.c855 ha->model_number, ha->mr.fw_version, qla2x00_version_str); in qla2x00_get_sym_node_name()
858 ha->model_number, ha->fw_major_version, ha->fw_minor_version, in qla2x00_get_sym_node_name()
1651 "%s", ha->model_number); in qla2x00_hba_attributes()
Dqla_def.h1870 uint8_t model_number[16]; member
4575 uint8_t model_number[16+1]; member
Dqla_attr.c1141 return scnprintf(buf, PAGE_SIZE, "%s\n", vha->hw->model_number); in qla2x00_model_name_show()
Dqla_os.c3577 "QLogic %s - %s.\n", ha->model_number, ha->model_desc); in qla2x00_probe_one()
/drivers/scsi/lpfc/
Dlpfc_hw.h1287 uint8_t model_number[16]; member
Dlpfc_hw4.h3738 uint32_t model_number[8]; member
Dlpfc_els.c6575 memcpy(desc->opd_info.model_number, &page_a0[SSF_VENDOR_PN], 16); in lpfc_rdp_res_opd_desc()
/drivers/scsi/elx/libefc_sli/
Dsli4.h2881 u8 model_number[32]; member