/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_pf.c | 251 u32 serial_num; in fm10k_read_mac_addr_pf() local 253 serial_num = fm10k_read_reg(hw, FM10K_SM_AREA(1)); in fm10k_read_mac_addr_pf() 256 if ((~serial_num) << 24) in fm10k_read_mac_addr_pf() 259 perm_addr[0] = (u8)(serial_num >> 24); in fm10k_read_mac_addr_pf() 260 perm_addr[1] = (u8)(serial_num >> 16); in fm10k_read_mac_addr_pf() 261 perm_addr[2] = (u8)(serial_num >> 8); in fm10k_read_mac_addr_pf() 263 serial_num = fm10k_read_reg(hw, FM10K_SM_AREA(0)); in fm10k_read_mac_addr_pf() 266 if ((~serial_num) >> 24) in fm10k_read_mac_addr_pf() 269 perm_addr[3] = (u8)(serial_num >> 16); in fm10k_read_mac_addr_pf() 270 perm_addr[4] = (u8)(serial_num >> 8); in fm10k_read_mac_addr_pf() [all …]
|
/drivers/usb/gadget/legacy/ |
D | printer.c | 86 static char serial_num [40] = "1"; variable 94 [USB_GADGET_SERIAL_IDX].s = serial_num,
|
/drivers/net/ethernet/amd/pds_core/ |
D | dev.c | 251 memcpy_fromio(pdsc->dev_info.serial_num, in pdsc_init_devinfo() 252 pdsc->info_regs->serial_num, in pdsc_init_devinfo() 254 pdsc->dev_info.serial_num[PDS_CORE_DEVINFO_SERIAL_BUFLEN] = 0; in pdsc_init_devinfo()
|
D | devlink.c | 150 return devlink_info_serial_number_put(req, pdsc->dev_info.serial_num); in pdsc_dl_info_get()
|
D | core.h | 46 char serial_num[PDS_CORE_DEVINFO_SERIAL_BUFLEN + 1]; member
|
/drivers/usb/serial/ |
D | garmin_gps.c | 117 __u32 serial_num; member 815 pkt[5] = __cpu_to_le32(garmin_data_p->serial_num); in priv_status_resp() 834 garmin_data_p->serial_num = 0; in process_resetdev_request() 1273 garmin_data_p->serial_num = __le32_to_cpup( in garmin_read_int_callback() 1277 __func__, garmin_data_p->serial_num); in garmin_read_int_callback()
|
/drivers/scsi/qla2xxx/ |
D | qla_mr.h | 289 uint8_t serial_num[32]; member 472 uint8_t serial_num[32]; member
|
D | qla_gs.c | 1632 eiter->a.serial_num, sizeof(eiter->a.serial_num)); in qla2x00_hba_attributes() 1638 eiter->a.serial_num, sizeof(eiter->a.serial_num), in qla2x00_hba_attributes() 1646 "SERIAL NUMBER = %s.\n", eiter->a.serial_num); in qla2x00_hba_attributes()
|
/drivers/net/ethernet/pensando/ionic/ |
D | ionic_devlink.c | 49 err = devlink_info_serial_number_put(req, idev->dev_info.serial_num); in ionic_dl_info_get()
|
D | ionic_dev.c | 79 memcpy_fromio(idev->dev_info.serial_num, in ionic_init_devinfo() 80 idev->dev_info_regs->serial_num, in ionic_init_devinfo() 84 idev->dev_info.serial_num[IONIC_DEVINFO_SERIAL_BUFLEN] = 0; in ionic_init_devinfo()
|
D | ionic_dev.h | 141 char serial_num[IONIC_DEVINFO_SERIAL_BUFLEN + 1]; member
|
/drivers/hid/ |
D | hid-sensor-custom.c | 771 u16 serial_num[HID_CUSTOM_MAX_FEATURE_BYTES]; member 857 if (!hid_sensor_custom_prop_match_str(prop->serial_num, "LUID:", 5) || in hid_sensor_custom_do_match() 858 !hid_sensor_custom_prop_match_str(prop->serial_num + 5, match->luid, in hid_sensor_custom_do_match() 887 prop->serial_num); in hid_sensor_custom_properties_get()
|
/drivers/net/ethernet/brocade/bna/ |
D | bfa_defs.h | 38 char serial_num[BFA_ADAPTER_SERIAL_NUM_LEN]; member
|
D | bfa_ioc.c | 78 char *serial_num); 2758 bfa_ioc_get_adapter_serial_num(ioc, ad_attr->serial_num); in bfa_ioc_get_adapter_attr() 2804 bfa_ioc_get_adapter_serial_num(struct bfa_ioc *ioc, char *serial_num) in bfa_ioc_get_adapter_serial_num() argument 2806 memcpy(serial_num, in bfa_ioc_get_adapter_serial_num()
|
/drivers/crypto/hisilicon/sec/ |
D | sec_drv.h | 385 u64 serial_num; member
|
/drivers/scsi/bfa/ |
D | bfad_attr.c | 711 char serial_num[BFA_ADAPTER_SERIAL_NUM_LEN]; in bfad_im_serial_num_show() local 713 bfa_get_adapter_serial_num(&bfad->bfa, serial_num); in bfad_im_serial_num_show() 714 return sysfs_emit(buf, "%s\n", serial_num); in bfad_im_serial_num_show()
|
D | bfad_drv.h | 167 char serial_num[BFA_ADAPTER_SERIAL_NUM_LEN]; member
|
D | bfa_defs.h | 267 char serial_num[BFA_ADAPTER_SERIAL_NUM_LEN]; member 434 char serial_num[BFA_ADAPTER_SERIAL_NUM_LEN]; member
|
D | bfa_fcs.h | 632 u8 serial_num[64]; member
|
/drivers/soc/qcom/ |
D | socinfo.c | 760 if (offsetof(struct socinfo, serial_num) <= item_size) in qcom_socinfo_probe() 763 le32_to_cpu(info->serial_num)); in qcom_socinfo_probe()
|
/drivers/scsi/esas2r/ |
D | atioctl.h | 236 char serial_num[81]; member 316 char serial_num[40]; member
|
D | esas2r_ioctl.c | 456 memset(gcc->serial_num, 0, sizeof(gcc->serial_num)); in csmi_ioctl_callback()
|
/drivers/scsi/qla4xxx/ |
D | ql4_attr.c | 317 static DEVICE_ATTR(serial_num, S_IRUGO, qla4xxx_serial_num_show, NULL);
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_main.c | 818 char serial_num[32]; in netxen_check_options() local 825 ptr32 = (__le32 *)&serial_num; in netxen_check_options() 860 strcpy(serial_num, "Unknown"); in netxen_check_options() 864 brd_name, serial_num, adapter->ahw.revision_id); in netxen_check_options()
|
/drivers/net/ethernet/neterion/ |
D | s2io.h | 967 u8 serial_num[VPD_STRING_LEN]; member
|