Searched refs:serial_len (Results 1 – 5 of 5) sorted by relevance
/drivers/scsi/device_handler/ |
D | scsi_dh_emc.c | 193 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/ |
D | nfp_devlink.c | 334 int serial_len; in nfp_devlink_port_register() local 349 serial_len = nfp_cpp_serial(port->app->cpp, &serial); in nfp_devlink_port_register() 350 memcpy(attrs.switch_id.id, serial, serial_len); in nfp_devlink_port_register() 351 attrs.switch_id.id_len = serial_len; in nfp_devlink_port_register()
|
/drivers/usb/misc/ |
D | usb251xb.c | 135 u8 serial_len; member 331 i2c_wb[USB251XB_ADDR_SERIAL_STRING_LEN] = hub->serial_len; in usb251xb_connect() 567 hub->serial_len = strlen(str) & 0xFF; in usb251xb_get_ofdata()
|
/drivers/usb/core/ |
D | hub.c | 5277 unsigned serial_len = 0; in descriptors_changed() local 5304 serial_len = strlen(udev->serial) + 1; in descriptors_changed() 5306 len = serial_len; in descriptors_changed() 5338 if (!changed && serial_len) { in descriptors_changed() 5340 buf, serial_len); in descriptors_changed() 5341 if (length + 1 != serial_len) { in descriptors_changed()
|
/drivers/nvme/host/ |
D | core.c | 3470 int serial_len = sizeof(subsys->serial); in wwid_show() local 3482 while (serial_len > 0 && (subsys->serial[serial_len - 1] == ' ' || in wwid_show() 3483 subsys->serial[serial_len - 1] == '\0')) in wwid_show() 3484 serial_len--; in wwid_show() 3490 serial_len, subsys->serial, model_len, subsys->model, in wwid_show()
|