Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/intel/fm10k/
H A 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 …]
/linux/drivers/usb/gadget/legacy/
H A Dprinter.c86 static char serial_num [40] = "1"; variable
94 [USB_GADGET_SERIAL_IDX].s = serial_num,
/linux/drivers/net/ethernet/amd/pds_core/
H A Ddev.c261 memcpy_fromio(pdsc->dev_info.serial_num, in pdsc_init_devinfo()
262 pdsc->info_regs->serial_num, in pdsc_init_devinfo()
264 pdsc->dev_info.serial_num[PDS_CORE_DEVINFO_SERIAL_BUFLEN] = 0; in pdsc_init_devinfo()
H A Ddevlink.c153 return devlink_info_serial_number_put(req, pdsc->dev_info.serial_num); in pdsc_dl_info_get()
H A Dcore.h46 char serial_num[PDS_CORE_DEVINFO_SERIAL_BUFLEN + 1]; member
/linux/fs/ocfs2/
H A Docfs1_fs_compat.h35 /*108*/ __u64 serial_num; member
/linux/include/linux/soc/qcom/
H A Dsocinfo.h53 __le32 serial_num; member
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_devlink.c49 err = devlink_info_serial_number_put(req, idev->dev_info.serial_num); in ionic_dl_info_get()
H A Dionic_dev.c192 memcpy_fromio(idev->dev_info.serial_num, in ionic_init_devinfo()
193 idev->dev_info_regs->serial_num, in ionic_init_devinfo()
197 idev->dev_info.serial_num[IONIC_DEVINFO_SERIAL_BUFLEN] = 0; in ionic_init_devinfo()
H A Dionic_dev.h146 char serial_num[IONIC_DEVINFO_SERIAL_BUFLEN + 1]; member
/linux/drivers/usb/serial/
H A Dgarmin_gps.c117 __u32 serial_num; member
814 pkt[5] = __cpu_to_le32(garmin_data_p->serial_num); in priv_status_resp()
833 garmin_data_p->serial_num = 0; in process_resetdev_request()
1272 garmin_data_p->serial_num = __le32_to_cpup( in garmin_read_int_callback()
1276 __func__, garmin_data_p->serial_num); in garmin_read_int_callback()
/linux/drivers/scsi/qla2xxx/
H A Dqla_mr.h289 uint8_t serial_num[32]; member
472 uint8_t serial_num[32]; member
/linux/drivers/hid/
H A Dhid-sensor-custom.c770 u16 serial_num[HID_CUSTOM_MAX_FEATURE_BYTES]; member
856 if (!hid_sensor_custom_prop_match_str(prop->serial_num, "LUID:", 5) || in hid_sensor_custom_do_match()
857 !hid_sensor_custom_prop_match_str(prop->serial_num + 5, match->luid, in hid_sensor_custom_do_match()
886 prop->serial_num); in hid_sensor_custom_properties_get()
/linux/drivers/net/ethernet/brocade/bna/
H A Dbfa_defs.h38 char serial_num[BFA_ADAPTER_SERIAL_NUM_LEN]; member
H A 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()
/linux/drivers/crypto/hisilicon/sec/
H A Dsec_drv.h385 u64 serial_num; member
/linux/include/linux/pds/
H A Dpds_core_if.h525 char serial_num[PDS_CORE_DEVINFO_SERIAL_BUFLEN]; member
/linux/drivers/scsi/bfa/
H A Dbfad_drv.h167 char serial_num[BFA_ADAPTER_SERIAL_NUM_LEN]; member
H A Dbfa_defs.h267 char serial_num[BFA_ADAPTER_SERIAL_NUM_LEN]; member
434 char serial_num[BFA_ADAPTER_SERIAL_NUM_LEN]; member
H A Dbfa_fcs.h818 u8 serial_num[64]; member
/linux/drivers/scsi/esas2r/
H A Datioctl.h236 char serial_num[81]; member
316 char serial_num[40]; member
/linux/drivers/soc/qcom/
H A Dsocinfo.c792 if (offsetof(struct socinfo, serial_num) <= item_size) { in qcom_socinfo_probe()
795 le32_to_cpu(info->serial_num)); in qcom_socinfo_probe()
/linux/drivers/scsi/qla4xxx/
H A Dql4_attr.c317 static DEVICE_ATTR(serial_num, S_IRUGO, qla4xxx_serial_num_show, NULL);
/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_main.c816 char serial_num[32]; in netxen_check_options() local
823 ptr32 = (__le32 *)&serial_num; in netxen_check_options()
858 strcpy(serial_num, "Unknown"); in netxen_check_options()
862 brd_name, serial_num, adapter->ahw.revision_id); in netxen_check_options()
/linux/drivers/net/ethernet/neterion/
H A Ds2io.h967 u8 serial_num[VPD_STRING_LEN]; member

12