Home
last modified time | relevance | path

Searched refs:serial_len (Results 1 – 5 of 5) sorted by relevance

/drivers/scsi/device_handler/
Dscsi_dh_emc.c193 unsigned char sp_len, serial_len; in parse_sp_model() local
210 serial_len = buffer[160]; in parse_sp_model()
211 if (serial_len == 0 || serial_len + 161 > len) { in parse_sp_model()
214 CLARIION_NAME, serial_len); in parse_sp_model()
218 if (sp_len == 0 || serial_len + sp_len + 161 > len) { in parse_sp_model()
224 sp_model = &buffer[serial_len + 161]; in parse_sp_model()
/drivers/net/ethernet/netronome/nfp/
Dnfp_devlink.c356 int serial_len; in nfp_devlink_port_register() local
371 serial_len = nfp_cpp_serial(port->app->cpp, &serial); in nfp_devlink_port_register()
372 memcpy(attrs.switch_id.id, serial, serial_len); in nfp_devlink_port_register()
373 attrs.switch_id.id_len = serial_len; in nfp_devlink_port_register()
/drivers/usb/misc/
Dusb251xb.c135 u8 serial_len; member
331 i2c_wb[USB251XB_ADDR_SERIAL_STRING_LEN] = hub->serial_len; in usb251xb_connect()
568 hub->serial_len = strlen(str) & 0xFF; in usb251xb_get_ofdata()
/drivers/nvme/host/
Dcore.c3234 int serial_len = sizeof(subsys->serial); in wwid_show() local
3246 while (serial_len > 0 && (subsys->serial[serial_len - 1] == ' ' || in wwid_show()
3247 subsys->serial[serial_len - 1] == '\0')) in wwid_show()
3248 serial_len--; in wwid_show()
3254 serial_len, subsys->serial, model_len, subsys->model, in wwid_show()
/drivers/usb/core/
Dhub.c5247 unsigned serial_len = 0; in descriptors_changed() local
5274 serial_len = strlen(udev->serial) + 1; in descriptors_changed()
5276 len = serial_len; in descriptors_changed()
5308 if (!changed && serial_len) { in descriptors_changed()
5310 buf, serial_len); in descriptors_changed()
5311 if (length + 1 != serial_len) { in descriptors_changed()