Home
last modified time | relevance | path

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

1234

/drivers/hwmon/
Daquacomputer_d5next.c94 u32 serial_number[2]; member
195 priv->serial_number[0] = get_unaligned_be16(data + D5NEXT_SERIAL_FIRST_PART); in d5next_raw_event()
196 priv->serial_number[1] = get_unaligned_be16(data + D5NEXT_SERIAL_SECOND_PART); in d5next_raw_event()
229 seq_printf(seqf, "%05u-%05u\n", priv->serial_number[0], priv->serial_number[1]); in serial_number_show()
233 DEFINE_SHOW_ATTRIBUTE(serial_number);
/drivers/misc/ibmasm/
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()
/drivers/hwmon/pmbus/
Dinspur-ipsps.c37 serial_number, enumerator
48 [serial_number] = IPSPS_REG_SN,
160 static SENSOR_DEVICE_ATTR_RO(serial_number, ipsps_string, serial_number);
/drivers/media/usb/pvrusb2/
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()
/drivers/soc/imx/
Dsoc-imx.c192 soc_dev_attr->serial_number = kasprintf(GFP_KERNEL, "%016llX", soc_uid); in imx_soc_device_init()
193 if (!soc_dev_attr->serial_number) { in imx_soc_device_init()
207 kfree(soc_dev_attr->serial_number); in imx_soc_device_init()
Dsoc-imx8m.c225 soc_dev_attr->serial_number = kasprintf(GFP_KERNEL, "%016llX", soc_uid); in imx8_soc_init()
226 if (!soc_dev_attr->serial_number) { in imx8_soc_init()
246 kfree(soc_dev_attr->serial_number); in imx8_soc_init()
/drivers/iio/temperature/
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()
/drivers/firmware/
Dturris-mox-rwtm.c66 u64 serial_number; member
141 MOX_ATTR_RO(serial_number, "%016llX\n", board_info);
216 rwtm->serial_number = reply->status[1]; in mox_get_board_info()
217 rwtm->serial_number <<= 32; in mox_get_board_info()
218 rwtm->serial_number |= reply->status[0]; in mox_get_board_info()
228 rwtm->serial_number); in mox_get_board_info()
/drivers/iio/humidity/
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()
/drivers/soc/aspeed/
Daspeed-socinfo.c135 attrs->serial_number = kasprintf(GFP_KERNEL, "%08x%08x", in aspeed_socinfo_init()
142 kfree(attrs->serial_number); in aspeed_socinfo_init()
/drivers/base/
Dsoc.c36 static DEVICE_ATTR(serial_number, 0444, soc_info_show, NULL);
58 if ((attr == &dev_attr_serial_number.attr) && soc_dev->attr->serial_number) in soc_attribute_mode()
80 output = soc_dev->attr->serial_number; in soc_info_show()
/drivers/firmware/imx/
Dimx-scu-soc.c128 soc_dev_attr->serial_number = devm_kasprintf(dev, GFP_KERNEL, in imx_scu_soc_init()
130 if (!soc_dev_attr->serial_number) in imx_scu_soc_init()
/drivers/staging/greybus/
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()
/drivers/memstick/core/
Dms_block.h84 unsigned char serial_number[3]; member
117 unsigned char serial_number[20]; member
/drivers/net/
Dsb1000.c150 unsigned int serial_number; in sb1000_probe_one() local
163 serial_number = pdev->card->serial; in sb1000_probe_one()
190 dev->mem_start, serial_number, dev->irq); in sb1000_probe_one()
206 dev->dev_addr[2] = serial_number >> 24 & 0xff; in sb1000_probe_one()
207 dev->dev_addr[3] = serial_number >> 16 & 0xff; in sb1000_probe_one()
208 dev->dev_addr[4] = serial_number >> 8 & 0xff; in sb1000_probe_one()
209 dev->dev_addr[5] = serial_number >> 0 & 0xff; in sb1000_probe_one()
/drivers/usb/misc/
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()
/drivers/message/fusion/
Dmptctl.h390 u8 serial_number[24]; /* string */ member
413 u8 serial_number[24]; /* string */ member
/drivers/media/common/
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()
/drivers/net/can/usb/peak_usb/
Dpcan_usb.c369 static int pcan_usb_get_serial(struct peak_usb_device *dev, u32 *serial_number) in pcan_usb_get_serial() argument
377 *serial_number = le32_to_cpup((__le32 *)args); in pcan_usb_get_serial()
867 u32 serial_number; in pcan_usb_init() local
878 err = pcan_usb_get_serial(dev, &serial_number); in pcan_usb_init()
901 pcan_usb.name, dev->device_rev, serial_number, in pcan_usb_init()
/drivers/accessibility/speakup/
Dspeakup_dtlk.h42 u_short serial_number; /* 0-7Fh:0-7Fh */ member
Dspeakup_dtlk.c290 status.serial_number = t[0] + t[1] * 256; in synth_interrogate()
363 sp->rom_version, sp->serial_number, synth->version); in synth_probe()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c990 snprintf(info->serial_number, sizeof(info->serial_number), in ixgbe_fcoe_get_hbainfo()
993 snprintf(info->serial_number, sizeof(info->serial_number), in ixgbe_fcoe_get_hbainfo()
/drivers/media/usb/pwc/
Dpwc-if.c783 char serial_number[30], *name; in usb_pwc_probe() local
1024 memset(serial_number, 0, 30); in usb_pwc_probe()
1025 usb_string(udev, udev->descriptor.iSerialNumber, serial_number, 29); in usb_pwc_probe()
1026 PWC_DEBUG_PROBE("Device serial number is %s\n", serial_number); in usb_pwc_probe()
/drivers/char/
Ddtlk.c418 sp->rom_version, sp->serial_number); in dtlk_dev_probe()
533 status.serial_number = t[0] + t[1] * 256; /* serial number is in dtlk_interrogate()
/drivers/input/misc/
Dims-pcu.c62 char serial_number[IMS_PCU_SERIAL_NUMBER_LEN]; member
708 memcpy(pcu->serial_number, in ims_pcu_get_info()
710 sizeof(pcu->serial_number)); in ims_pcu_get_info()
724 pcu->serial_number, sizeof(pcu->serial_number)); in ims_pcu_set_info()
1111 static IMS_PCU_RW_ATTR(serial_number);
1833 pcu->serial_number, in ims_pcu_get_device_info()

1234