Home
last modified time | relevance | path

Searched refs:sn (Results 1 – 25 of 33) sorted by relevance

12

/drivers/net/wimax/i2400m/
Drx.c468 unsigned sn; /* Serial number for the skb */ member
522 unsigned __i2400m_roq_nsn(struct i2400m_roq *roq, unsigned sn) in __i2400m_roq_nsn() argument
525 r = ((int) sn - (int) roq->ws) % 2048; in __i2400m_roq_nsn()
545 unsigned ws, count, sn, nsn, new_ws; member
563 index, e->ws, e->count, e->sn, e->nsn, e->new_ws); in i2400m_roq_log_entry_print()
567 index, e->ws, e->count, e->sn, e->nsn); in i2400m_roq_log_entry_print()
572 index, e->ws, e->count, e->sn, e->nsn, e->new_ws); in i2400m_roq_log_entry_print()
577 index, e->ws, e->count, e->sn, e->nsn, e->new_ws); in i2400m_roq_log_entry_print()
590 unsigned ws, unsigned count, unsigned sn, in i2400m_roq_log_add() argument
606 e->sn = sn; in i2400m_roq_log_add()
[all …]
/drivers/misc/sgi-xp/
Dxpc_uv.c76 part_uv = &xpc_partitions[partid].sn.uv; in xpc_setup_partitions_uv()
93 part_uv = &xpc_partitions[partid].sn.uv; in xpc_teardown_partitions_uv()
382 if (part->sn.uv.act_state_req == 0) in xpc_process_activate_IRQ_rcvd_uv()
388 act_state_req = part->sn.uv.act_state_req; in xpc_process_activate_IRQ_rcvd_uv()
389 part->sn.uv.act_state_req = 0; in xpc_process_activate_IRQ_rcvd_uv()
405 XPC_DEACTIVATE_PARTITION(part, part->sn.uv.reason); in xpc_process_activate_IRQ_rcvd_uv()
426 struct xpc_partition_uv *part_uv = &part->sn.uv; in xpc_handle_activate_mq_msg_uv()
676 struct xpc_partition_uv *part_uv = &part->sn.uv; in xpc_send_activate_IRQ_uv()
761 struct xpc_partition_uv *part_uv = &part->sn.uv; in xpc_send_local_activate_IRQ_uv()
815 &xpc_partitions[sn_partition_id].sn.uv.cached_heartbeat; in xpc_setup_rsvd_page_uv()
[all …]
Dxpc_sn2.c273 chctl.all_flags = xpc_receive_IRQ_amo_sn2(part->sn.sn2. in xpc_check_for_sent_chctl_flags_sn2()
328 struct xpc_partition_sn2 *part_sn2 = &part->sn.sn2; in xpc_check_for_dropped_notify_IRQ_sn2()
349 struct xpc_partition_sn2 *part_sn2 = &part->sn.sn2; in xpc_send_notify_IRQ_sn2()
388 FETCHOP_STORE_OP(TO_AMO((u64)&part->sn.sn2.local_chctl_amo_va-> in xpc_send_local_notify_IRQ_sn2()
401 struct xpc_openclose_args *args = ch->sn.sn2.local_openclose_args; in xpc_send_chctl_closerequest_sn2()
416 struct xpc_openclose_args *args = ch->sn.sn2.local_openclose_args; in xpc_send_chctl_openrequest_sn2()
426 struct xpc_openclose_args *args = ch->sn.sn2.local_openclose_args; in xpc_send_chctl_openreply_sn2()
430 args->local_msgqueue_pa = xp_pa(ch->sn.sn2.local_msgqueue); in xpc_send_chctl_openreply_sn2()
457 ch->sn.sn2.remote_msgqueue_pa = msgqueue_pa; in xpc_save_remote_msgqueue_pa_sn2()
470 struct amo *amo = (struct amo *)__va(part->sn.sn2.remote_amos_page_pa + in xpc_indicate_partition_engaged_sn2()
[all …]
Dxpc.h102 } sn; member
584 } sn; member
779 } sn; member
/drivers/block/aoe/
Daoenet.c136 int sn; in aoenet_rcv() local
147 sn = sizeof(*h) + sizeof(*ah); in aoenet_rcv()
148 if (skb->len >= sn) { in aoenet_rcv()
149 sn -= skb_headlen(skb); in aoenet_rcv()
150 if (sn > 0 && !__pskb_pull_tail(skb, sn)) in aoenet_rcv()
/drivers/staging/cxt1e1/
Dhwprobe.c59 char sn[6]; in show_two() local
69 memcpy (sn, (FLD_TYPE1 *) (hi->mfg_info.pft1.Serial), 6); in show_two()
72 memcpy (sn, (FLD_TYPE2 *) (hi->mfg_info.pft2.Serial), 6); in show_two()
75 memset (sn, 0, 6); in show_two()
81 ((sn[3] << 16) & 0xff0000) | in show_two()
82 ((sn[4] << 8) & 0x00ff00) | in show_two()
83 (sn[5] & 0x0000ff), in show_two()
Dpmcc4_drv.c1482 u_int32_t sn = 0; in sbecom_get_brdinfo() local
1526 sn = (sn << 8) | *bsn++; in sbecom_get_brdinfo()
1533 bip->brd_sn = sn; in sbecom_get_brdinfo()
/drivers/staging/csr/
Dnetdev.c2649 …frame_desc.sn = (le16_to_cpu(*((u16*)(bulkdata->d[0].os_data_ptr + IEEE802_11_SEQUENCE_CONTROL_OFF… in process_ma_packet_ind()
3034 u16 sn) in update_expected_sn() argument
3039 gap = (sn - ba_session->expected_sn) & 0xFFF; in update_expected_sn()
3040 …riv, UDBG6, "%s: process the frames up to new_expected_sn = %d gap = %d\n", __FUNCTION__, sn, gap); in update_expected_sn()
3053 ba_session->expected_sn = sn; in update_expected_sn()
3076 u16 sn) in scroll_ba_window() argument
3078 if(((sn - ba_session->expected_sn) & 0xFFF) <= 2048) { in scroll_ba_window()
3079 update_expected_sn(priv, interfacePriv, ba_session, sn); in scroll_ba_window()
3088 u16 sn, in consume_frame_or_get_buffer_index() argument
3093 if(((sn - ba_session->expected_sn) & 0xFFF) <= 2048) { in consume_frame_or_get_buffer_index()
[all …]
Dunifi_priv.h654 u16 sn; member
1027 u16 sn);
Dcsr_wifi_hip_card_sdio.c3386 s16 sn; in card_find_data_slot() local
3389 sn = slot & 0x7FFF; in card_find_data_slot()
3395 bd = &card->to_host_data[sn]; in card_find_data_slot()
3399 bd = &card->from_host_data[sn].bd; in card_find_data_slot()
/drivers/block/drbd/
Ddrbd_proc.c204 const char *sn; in drbd_seq_show() local
244 sn = drbd_conn_str(mdev->state.conn); in drbd_seq_show()
260 i, sn, in drbd_seq_show()
/drivers/input/mouse/
Dsentelic.c306 static int fsp_get_sn(struct psmouse *psmouse, int *sn) in fsp_get_sn() argument
320 *sn = (v0 << 16) | (v1 << 8) | v2; in fsp_get_sn()
1035 int ver, rev, sn = 0; in fsp_init() local
1044 fsp_get_sn(psmouse, &sn); in fsp_init()
1049 ver >> 4, ver & 0x0F, rev, sn, fsp_drv_ver); in fsp_init()
/drivers/usb/host/
Dehci-timer.c270 struct ehci_sitd *sitd, *sn; in end_free_itds() local
283 list_for_each_entry_safe(sitd, sn, &ehci->cached_sitd_list, sitd_list) { in end_free_itds()
/drivers/block/
Dcciss.c667 __u8 sn[16]; in dev_show_unique_id() local
675 memcpy(sn, drv->serial_no, sizeof(sn)); in dev_show_unique_id()
684 sn[0], sn[1], sn[2], sn[3], in dev_show_unique_id()
685 sn[4], sn[5], sn[6], sn[7], in dev_show_unique_id()
686 sn[8], sn[9], sn[10], sn[11], in dev_show_unique_id()
687 sn[12], sn[13], sn[14], sn[15]); in dev_show_unique_id()
/drivers/scsi/
Dhpsa.c470 unsigned char sn[16]; in unique_id_show() local
480 memcpy(sn, hdev->device_id, sizeof(sn)); in unique_id_show()
485 sn[0], sn[1], sn[2], sn[3], in unique_id_show()
486 sn[4], sn[5], sn[6], sn[7], in unique_id_show()
487 sn[8], sn[9], sn[10], sn[11], in unique_id_show()
488 sn[12], sn[13], sn[14], sn[15]); in unique_id_show()
/drivers/
DMakefile116 obj-$(CONFIG_SGI_SN) += sn/
/drivers/infiniband/hw/mthca/
Dmthca_cq.c749 u32 sn = cq->arm_sn & 3; in mthca_arbel_arm_cq() local
752 db_rec[1] = cpu_to_be32((cq->cqn << 8) | (2 << 5) | (sn << 3) | in mthca_arbel_arm_cq()
764 dbhi = (sn << 28) | in mthca_arbel_arm_cq()
/drivers/staging/speakup/
Dmain.c1380 int indcount, sentcount, rv, sn; in handle_cursor_read_all() local
1395 sn = 0; in handle_cursor_read_all()
1397 sn = 1; in handle_cursor_read_all()
1398 spk_reset_index_count(sn); in handle_cursor_read_all()
1401 if (!say_sentence_num(sn, 0)) { in handle_cursor_read_all()
/drivers/scsi/csiostor/
Dcsio_hw.c331 int i, ret, ec, sn, addr; in csio_hw_get_vpd_params() local
388 FIND_VPD_KW(sn, "SN"); in csio_hw_get_vpd_params()
395 i = vpd[sn - VPD_INFO_FLD_HDR_SIZE + 2]; in csio_hw_get_vpd_params()
396 memcpy(p->sn, vpd + sn, min(i, SERNUM_LEN)); in csio_hw_get_vpd_params()
397 s = strstrip(p->sn); in csio_hw_get_vpd_params()
Dcsio_hw.h313 uint8_t sn[SERNUM_LEN + 1]; member
/drivers/message/fusion/
Dmptfc.c994 char *sn; in mptfc_init_host_attr() local
1003 sn = fc_host_symbolic_name(sh); in mptfc_init_host_attr()
1004 snprintf(sn, FC_SYMBOLIC_NAME_SIZE, "%s %s%08xh", in mptfc_init_host_attr()
/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c575 int ec, sn; in get_vpd_params() local
639 FIND_VPD_KW(sn, "SN"); in get_vpd_params()
646 i = pci_vpd_info_field_size(vpd + sn - PCI_VPD_INFO_FLD_HDR_SIZE); in get_vpd_params()
647 memcpy(p->sn, vpd + sn, min(i, SERNUM_LEN)); in get_vpd_params()
648 strim(p->sn); in get_vpd_params()
/drivers/scsi/qla2xxx/
Dqla_attr.c889 uint32_t sn; in qla2x00_serial_num_show() local
899 sn = ((ha->serial0 & 0x1f) << 16) | (ha->serial2 << 8) | ha->serial1; in qla2x00_serial_num_show()
900 return snprintf(buf, PAGE_SIZE, "%c%05d\n", 'A' + sn / 100000, in qla2x00_serial_num_show()
901 sn % 100000); in qla2x00_serial_num_show()
Dqla_gs.c1289 uint32_t size, sn; in qla2x00_fdmi_rhba() local
1348 sn = ((ha->serial0 & 0x1f) << 16) | (ha->serial2 << 8) | ha->serial1; in qla2x00_fdmi_rhba()
1349 sprintf(eiter->a.serial_num, "%c%05d", 'A' + sn / 100000, sn % 100000); in qla2x00_fdmi_rhba()
/drivers/net/ethernet/chelsio/cxgb3/
Dcommon.h361 u8 sn[SERNUM_LEN + 1]; member

12