Searched defs:sn (Results 1 - 17 of 17) sorted by relevance

/drivers/staging/cxt1e1/
H A Dhwprobe.c59 char sn[6]; local
69 memcpy (sn, (FLD_TYPE1 *) (hi->mfg_info.pft1.Serial), 6);
72 memcpy (sn, (FLD_TYPE2 *) (hi->mfg_info.pft2.Serial), 6);
75 memset (sn, 0, 6);
81 ((sn[3] << 16) & 0xff0000) |
82 ((sn[4] << 8) & 0x00ff00) |
83 (sn[5] & 0x0000ff),
134 pr_info("sn: %x %x %x %x %x %x\n",
H A Dpmcc4_drv.c1482 u_int32_t sn = 0; local
1526 sn = (sn << 8) | *bsn++;
1533 bip->brd_sn = sn;
/drivers/block/drbd/
H A Ddrbd_proc.c198 const char *sn; local
241 sn = drbd_conn_str(mdev->state.conn);
252 i, sn,
/drivers/scsi/qla2xxx/
H A Dqla_gs.c1279 uint32_t size, sn; local
1338 sn = ((ha->serial0 & 0x1f) << 16) | (ha->serial2 << 8) | ha->serial1;
1339 sprintf(eiter->a.serial_num, "%c%05d", 'A' + sn / 100000, sn % 100000);
H A Dqla_attr.c828 uint32_t sn; local
835 sn = ((ha->serial0 & 0x1f) << 16) | (ha->serial2 << 8) | ha->serial1;
836 return snprintf(buf, PAGE_SIZE, "%c%05d\n", 'A' + sn / 100000,
837 sn % 100000);
/drivers/net/wimax/i2400m/
H A Drx.c468 unsigned sn; /* Serial number for the skb */ member in struct:i2400m_roq_data
485 * store the sequence number (sn) and the cs (packet type) coming from
515 * nsn = (sn - ws) % 2048
517 * Note that if @sn < @roq->ws, we still need a positive number; %'s
522 unsigned __i2400m_roq_nsn(struct i2400m_roq *roq, unsigned sn) argument
525 r = ((int) sn - (int) roq->ws) % 2048;
545 unsigned ws, count, sn, nsn, new_ws; member in struct:i2400m_roq_log::i2400m_roq_log_entry
561 dev_err(dev, "q#%d reset ws %u cnt %u sn %u/%u"
563 index, e->ws, e->count, e->sn, e->nsn, e->new_ws);
566 dev_err(dev, "q#%d queue ws %u cnt %u sn
588 i2400m_roq_log_add(struct i2400m *i2400m, struct i2400m_roq *roq, enum i2400m_ro_type type, unsigned ws, unsigned count, unsigned sn, unsigned nsn, unsigned new_ws) argument
657 __i2400m_roq_queue(struct i2400m *i2400m, struct i2400m_roq *roq, struct sk_buff *skb, unsigned sn, unsigned nsn) argument
741 __i2400m_roq_update_ws(struct i2400m *i2400m, struct i2400m_roq *roq, unsigned sn) argument
855 i2400m_roq_update_ws(struct i2400m *i2400m, struct i2400m_roq *roq, unsigned sn) argument
884 i2400m_roq_queue_update_ws(struct i2400m *i2400m, struct i2400m_roq *roq, struct sk_buff * skb, unsigned sn) argument
[all...]
/drivers/infiniband/hw/mthca/
H A Dmthca_cq.c749 u32 sn = cq->arm_sn & 3; local
752 db_rec[1] = cpu_to_be32((cq->cqn << 8) | (2 << 5) | (sn << 3) |
764 dbhi = (sn << 28) |
/drivers/message/fusion/
H A Dmptfc.c994 char *sn; local
1003 sn = fc_host_symbolic_name(sh);
1004 snprintf(sn, FC_SYMBOLIC_NAME_SIZE, "%s %s%08xh",
/drivers/usb/host/
H A Dehci-sched.c2271 struct ehci_sitd *sitd, *sn; local
2280 list_for_each_entry_safe(sitd, sn, &ehci->cached_sitd_list, sitd_list) {
/drivers/misc/sgi-xp/
H A Dxpc.h102 } sn; member in struct:xpc_rsvd_page
584 } sn; member in struct:xpc_channel
779 } sn; member in struct:xpc_partition
/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c361 int ec, sn; local
411 FIND_VPD_KW(sn, "SN");
418 i = pci_vpd_info_field_size(vpd + sn - PCI_VPD_INFO_FLD_HDR_SIZE);
419 memcpy(p->sn, vpd + sn, min(i, SERNUM_LEN));
420 strim(p->sn);
H A Dcxgb4.h208 u8 sn[SERNUM_LEN + 1]; member in struct:vpd_params
/drivers/staging/speakup/
H A Dmain.c1380 int indcount, sentcount, rv, sn; local
1395 sn = 0;
1397 sn = 1;
1398 reset_index_count(sn);
1401 if (!say_sentence_num(sn, 0)) {
/drivers/block/
H A Dcciss.c663 __u8 sn[16]; local
671 memcpy(sn, drv->serial_no, sizeof(sn));
680 sn[0], sn[1], sn[2], sn[3],
681 sn[4], sn[5], sn[
[all...]
/drivers/net/ethernet/chelsio/cxgb3/
H A Dcommon.h362 u8 sn[SERNUM_LEN + 1]; member in struct:vpd_params
/drivers/scsi/
H A Dhpsa.c440 unsigned char sn[16]; local
450 memcpy(sn, hdev->device_id, sizeof(sn));
455 sn[0], sn[1], sn[2], sn[3],
456 sn[4], sn[5], sn[
[all...]
H A Dipr.h322 u8 sn[IPR_SERIAL_NUM_LEN]; member in struct:ipr_vpd

Completed in 637 milliseconds