Home
last modified time | relevance | path

Searched refs:serial_num (Results 1 – 25 of 38) sorted by relevance

12

/drivers/net/ethernet/intel/fm10k/
Dfm10k_pf.c251 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/
Dprinter.c86 static char serial_num [40] = "1"; variable
94 [USB_GADGET_SERIAL_IDX].s = serial_num,
/drivers/net/ethernet/amd/pds_core/
Ddev.c251 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()
Ddevlink.c150 return devlink_info_serial_number_put(req, pdsc->dev_info.serial_num); in pdsc_dl_info_get()
Dcore.h46 char serial_num[PDS_CORE_DEVINFO_SERIAL_BUFLEN + 1]; member
/drivers/usb/serial/
Dgarmin_gps.c117 __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/
Dqla_mr.h289 uint8_t serial_num[32]; member
472 uint8_t serial_num[32]; member
Dqla_gs.c1632 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/
Dionic_devlink.c49 err = devlink_info_serial_number_put(req, idev->dev_info.serial_num); in ionic_dl_info_get()
Dionic_dev.c79 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()
Dionic_dev.h141 char serial_num[IONIC_DEVINFO_SERIAL_BUFLEN + 1]; member
/drivers/hid/
Dhid-sensor-custom.c771 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/
Dbfa_defs.h38 char serial_num[BFA_ADAPTER_SERIAL_NUM_LEN]; member
Dbfa_ioc.c78 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/
Dsec_drv.h385 u64 serial_num; member
/drivers/scsi/bfa/
Dbfad_attr.c711 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()
Dbfad_drv.h167 char serial_num[BFA_ADAPTER_SERIAL_NUM_LEN]; member
Dbfa_defs.h267 char serial_num[BFA_ADAPTER_SERIAL_NUM_LEN]; member
434 char serial_num[BFA_ADAPTER_SERIAL_NUM_LEN]; member
Dbfa_fcs.h632 u8 serial_num[64]; member
/drivers/soc/qcom/
Dsocinfo.c760 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/
Datioctl.h236 char serial_num[81]; member
316 char serial_num[40]; member
Desas2r_ioctl.c456 memset(gcc->serial_num, 0, sizeof(gcc->serial_num)); in csmi_ioctl_callback()
/drivers/scsi/qla4xxx/
Dql4_attr.c317 static DEVICE_ATTR(serial_num, S_IRUGO, qla4xxx_serial_num_show, NULL);
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c818 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/
Ds2io.h967 u8 serial_num[VPD_STRING_LEN]; member

12