Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/intel/fm10k/
Dfm10k_pf.c250 u32 serial_num; in fm10k_read_mac_addr_pf() local
252 serial_num = fm10k_read_reg(hw, FM10K_SM_AREA(1)); in fm10k_read_mac_addr_pf()
255 if ((~serial_num) << 24) in fm10k_read_mac_addr_pf()
258 perm_addr[0] = (u8)(serial_num >> 24); in fm10k_read_mac_addr_pf()
259 perm_addr[1] = (u8)(serial_num >> 16); in fm10k_read_mac_addr_pf()
260 perm_addr[2] = (u8)(serial_num >> 8); in fm10k_read_mac_addr_pf()
262 serial_num = fm10k_read_reg(hw, FM10K_SM_AREA(0)); in fm10k_read_mac_addr_pf()
265 if ((~serial_num) >> 24) in fm10k_read_mac_addr_pf()
268 perm_addr[3] = (u8)(serial_num >> 16); in fm10k_read_mac_addr_pf()
269 perm_addr[4] = (u8)(serial_num >> 8); in fm10k_read_mac_addr_pf()
[all …]
/drivers/usb/gadget/legacy/
Dprinter.c85 static char serial_num [40] = "1"; variable
93 [USB_GADGET_SERIAL_IDX].s = serial_num,
/drivers/soc/qcom/
Dsocinfo.c117 __le32 serial_num; member
510 if (offsetof(struct socinfo, serial_num) <= item_size) in qcom_socinfo_probe()
513 le32_to_cpu(info->serial_num)); in qcom_socinfo_probe()
/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()
1275 garmin_data_p->serial_num = __le32_to_cpup( in garmin_read_int_callback()
1279 __func__, garmin_data_p->serial_num); in garmin_read_int_callback()
/drivers/scsi/qla2xxx/
Dqla_mr.h285 uint8_t serial_num[32]; member
468 uint8_t serial_num[32]; member
Dqla_gs.c1630 eiter->a.serial_num, sizeof(eiter->a.serial_num)); in qla2x00_hba_attributes()
1636 eiter->a.serial_num, sizeof(eiter->a.serial_num), in qla2x00_hba_attributes()
1644 "SERIAL NUMBER = %s.\n", eiter->a.serial_num); in qla2x00_hba_attributes()
/drivers/net/ethernet/pensando/ionic/
Dionic_devlink.c53 err = devlink_info_serial_number_put(req, idev->dev_info.serial_num); in ionic_dl_info_get()
Dionic_dev.c42 memcpy_fromio(idev->dev_info.serial_num, in ionic_init_devinfo()
43 idev->dev_info_regs->serial_num, in ionic_init_devinfo()
47 idev->dev_info.serial_num[IONIC_DEVINFO_SERIAL_BUFLEN] = 0; in ionic_init_devinfo()
Dionic_dev.h129 char serial_num[IONIC_DEVINFO_SERIAL_BUFLEN + 1]; member
/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.h115 __le32 serial_num; member
Dpcan_usb_pro.c443 *device_id = le32_to_cpu(pdn->serial_num); in pcan_usb_pro_get_device_id()
/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.h168 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.h635 u8 serial_num[64]; member
/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.h968 u8 serial_num[VPD_STRING_LEN]; member
/drivers/net/ethernet/emulex/benet/
Dbe.h669 u16 serial_num[CNTL_SERIAL_NUM_WORDS]; member
/drivers/net/wireless/ath/wil6210/
Dwmi.h3063 u8 serial_num; member
3085 u8 serial_num; member

12