Home
last modified time | relevance | path

Searched refs:serial_number (Results 1 – 25 of 138) sorted by relevance

123456

/linux/drivers/misc/ibmasm/
H A Devent.c56 event->serial_number = buffer->next_serial_number; in ibmasm_receive_event()
97 while (event->serial_number < reader->next_serial_number) { in ibmasm_get_next_event()
103 reader->next_serial_number = event->serial_number + 1; in ibmasm_get_next_event()
151 event->serial_number = 0; in ibmasm_event_buffer_init()
/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-eeprom.c123 trace_eeprom("serial_number=%d",tvdata.serial_number); in pvr2_eeprom_analyze()
127 hdw->serial_number = tvdata.serial_number; in pvr2_eeprom_analyze()
/linux/drivers/hwmon/pmbus/
H A Dinspur-ipsps.c37 serial_number, enumerator
48 [serial_number] = IPSPS_REG_SN,
160 static SENSOR_DEVICE_ATTR_RO(serial_number, ipsps_string, serial_number);
/linux/drivers/soc/imx/
H A Dsoc-imx.c189 soc_dev_attr->serial_number = kasprintf(GFP_KERNEL, "%016llX", soc_uid); in imx_soc_device_init()
190 if (!soc_dev_attr->serial_number) { in imx_soc_device_init()
204 kfree(soc_dev_attr->serial_number); in imx_soc_device_init()
/linux/drivers/iio/temperature/
H A Dtsys02d.c130 u64 serial_number; in tsys02d_probe() local
162 ret = ms_sensors_read_serial(client, &serial_number); in tsys02d_probe()
165 dev_info(&client->dev, "Serial number : %llx", serial_number); in tsys02d_probe()
/linux/drivers/firmware/
H A Dturris-mox-rwtm.c99 u64 serial_number; member
135 MOX_ATTR_RO(serial_number, "%016llX\n", board_info);
233 rwtm->serial_number = reply->status[1]; in mox_get_board_info()
234 rwtm->serial_number <<= 32; in mox_get_board_info()
235 rwtm->serial_number |= reply->status[0]; in mox_get_board_info()
245 rwtm->serial_number); in mox_get_board_info()
/linux/drivers/media/pci/mgb4/
H A Dmgb4_sysfs_pci.c52 u32 sn = mgbdev->serial_number; in serial_number_show()
62 static DEVICE_ATTR_RO(serial_number);
/linux/drivers/iio/humidity/
H A Dhtu21.c186 u64 serial_number; in htu21_probe() local
224 ret = ms_sensors_read_serial(client, &serial_number); in htu21_probe()
227 dev_info(&client->dev, "Serial number : %llx", serial_number); in htu21_probe()
/linux/drivers/soc/aspeed/
H A Daspeed-socinfo.c135 attrs->serial_number = kasprintf(GFP_KERNEL, "%08x%08x", in aspeed_socinfo_init()
142 kfree(attrs->serial_number); in aspeed_socinfo_init()
/linux/sound/usb/line6/
H A Dpod.c64 u32 serial_number; member
239 return sysfs_emit(buf, "%u\n", pod->serial_number); in serial_number_show()
285 line6_read_serial_number(&pod->line6, &pod->serial_number); in pod_startup()
300 static DEVICE_ATTR_RO(serial_number);
/linux/drivers/firmware/imx/
H A Dimx-scu-soc.c142 soc_dev_attr->serial_number = devm_kasprintf(dev, GFP_KERNEL, in imx_scu_soc_init()
144 if (!soc_dev_attr->serial_number) in imx_scu_soc_init()
/linux/drivers/base/
H A Dsoc.c38 static DEVICE_ATTR(serial_number, 0444, soc_info_show, NULL);
60 if ((attr == &dev_attr_serial_number.attr) && soc_dev->attr->serial_number) in soc_attribute_mode()
82 output = soc_dev->attr->serial_number; in soc_info_show()
/linux/drivers/memstick/core/
H A Dms_block.h84 unsigned char serial_number[3]; member
117 unsigned char serial_number[20]; member
/linux/drivers/staging/greybus/
H A Dpower_supply.c35 char *serial_number; member
470 if (strlen(gbpsy->serial_number)) in _gb_power_supply_append_props()
495 gbpsy->serial_number = kstrndup(resp.serial_number, PROP_MAX, in gb_power_supply_description_get()
497 if (!gbpsy->serial_number) in gb_power_supply_description_get()
648 val->strval = gbpsy->serial_number; in __gb_power_supply_property_strval_get()
839 kfree(gbpsy->serial_number); in _gb_power_supply_free()
/linux/drivers/soc/fsl/
H A Dguts.c251 soc_dev_attr->serial_number = kasprintf(GFP_KERNEL, "%016llX", in fsl_guts_init()
274 kfree(soc_dev_attr->serial_number); in fsl_guts_init()
/linux/Documentation/gpu/amdgpu/
H A Ddriver-misc.rst23 serial_number section in GPU Product Information
27 :doc: serial_number
/linux/drivers/net/
H A Dsb1000.c150 unsigned int serial_number; in sb1000_probe_one() local
164 serial_number = pdev->card->serial; in sb1000_probe_one()
191 dev->mem_start, serial_number, dev->irq); in sb1000_probe_one()
209 addr[2] = serial_number >> 24 & 0xff; in sb1000_probe_one()
210 addr[3] = serial_number >> 16 & 0xff; in sb1000_probe_one()
211 addr[4] = serial_number >> 8 & 0xff; in sb1000_probe_one()
212 addr[5] = serial_number >> 0 & 0xff; in sb1000_probe_one()
/linux/drivers/usb/misc/
H A Dadutux.c75 char serial_number[8]; member
720 if (!usb_string(udev, udev->descriptor.iSerialNumber, dev->serial_number, in adu_probe()
721 sizeof(dev->serial_number))) { in adu_probe()
726 dev_dbg(&interface->dev, "serial_number=%s", dev->serial_number); in adu_probe()
744 le16_to_cpu(udev->descriptor.idProduct), dev->serial_number, in adu_probe()
/linux/include/linux/
H A Dsys_soc.h15 const char *serial_number; member
H A Ddtlk.h67 unsigned short serial_number; /* 0-7Fh:0-7Fh */ member
/linux/drivers/message/fusion/
H A Dmptctl.h390 u8 serial_number[24]; /* string */ member
413 u8 serial_number[24]; /* string */ member
/linux/drivers/accessibility/speakup/
H A Dspeakup_dtlk.h42 u_short serial_number; /* 0-7Fh:0-7Fh */ member
/linux/include/media/
H A Dtveeprom.h88 u32 serial_number; member
/linux/drivers/media/common/
H A Dtveeprom.c518 tvee->serial_number = in tveeprom_hauppauge_analog()
540 tvee->serial_number = in tveeprom_hauppauge_analog()
692 tvee->model, tvee->rev_str, tvee->serial_number); in tveeprom_hauppauge_analog()
/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb.c371 static int pcan_usb_get_serial(struct peak_usb_device *dev, u32 *serial_number) in pcan_usb_get_serial() argument
379 *serial_number = le32_to_cpup((__le32 *)args); in pcan_usb_get_serial()
888 u32 serial_number; in pcan_usb_init() local
899 err = pcan_usb_get_serial(dev, &serial_number); in pcan_usb_init()
909 pcan_usb.name, dev->device_rev, serial_number, in pcan_usb_init()

123456