Searched refs:serial_len (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/usb/core/ |
D | hub.c | 5105 unsigned serial_len = 0; in descriptors_changed() local 5132 serial_len = strlen(udev->serial) + 1; in descriptors_changed() 5134 len = serial_len; in descriptors_changed() 5166 if (!changed && serial_len) { in descriptors_changed() 5168 buf, serial_len); in descriptors_changed() 5169 if (length + 1 != serial_len) { in descriptors_changed()
|
/linux-6.1.9/drivers/nvme/host/ |
D | core.c | 3381 int serial_len = sizeof(subsys->serial); in wwid_show() local 3393 while (serial_len > 0 && (subsys->serial[serial_len - 1] == ' ' || in wwid_show() 3394 subsys->serial[serial_len - 1] == '\0')) in wwid_show() 3395 serial_len--; in wwid_show() 3401 serial_len, subsys->serial, model_len, subsys->model, in wwid_show()
|