Home
last modified time | relevance | path

Searched refs:sid (Results 1 – 25 of 73) sorted by relevance

123

/drivers/net/ppp/
Dpppoe.c120 static inline bool stage_session(__be16 sid) in stage_session() argument
122 return sid != 0; in stage_session()
134 return a->sid == b->sid && ether_addr_equal(a->remote, b->remote); in cmp_2_addr()
137 static inline int cmp_addr(struct pppoe_addr *a, __be16 sid, char *addr) in cmp_addr() argument
139 return a->sid == sid && ether_addr_equal(a->remote, addr); in cmp_addr()
146 static int hash_item(__be16 sid, unsigned char *addr) in hash_item() argument
154 hash ^= (__force __u32)sid >> i; in hash_item()
166 static struct pppox_sock *__get_item(struct pppoe_net *pn, __be16 sid, in __get_item() argument
169 int hash = hash_item(sid, addr); in __get_item()
174 if (cmp_addr(&ret->pppoe_pa, sid, addr) && in __get_item()
[all …]
/drivers/firewire/
Dcore-topology.c53 static u32 *count_ports(u32 *sid, int *total_port_count, int *child_port_count) in count_ports() argument
62 q = *sid; in count_ports()
80 return sid + 1; in count_ports()
83 sid++; in count_ports()
84 q = *sid; in count_ports()
102 static int get_port_type(u32 *sid, int port_index) in get_port_type() argument
108 return (sid[index] >> shift) & 0x03; in get_port_type()
111 static struct fw_node *fw_node_create(u32 sid, int port_count, int color) in fw_node_create() argument
121 node->node_id = LOCAL_BUS | SELF_ID_PHY_ID(sid); in fw_node_create()
122 node->link_on = SELF_ID_LINK_ON(sid); in fw_node_create()
[all …]
/drivers/media/usb/pvrusb2/
Dpvrusb2-cs53l32a.c65 unsigned int sid = hdw->hdw_desc->signal_routing_scheme; in pvr2_cs53l32a_subdev_update() local
69 sp = (sid < ARRAY_SIZE(routing_schemes)) ? in pvr2_cs53l32a_subdev_update()
70 routing_schemes[sid] : NULL; in pvr2_cs53l32a_subdev_update()
78 sid, hdw->input_val); in pvr2_cs53l32a_subdev_update()
Dpvrusb2-audio.c64 unsigned int sid = hdw->hdw_desc->signal_routing_scheme; in pvr2_msp3400_subdev_update() local
68 sp = (sid < ARRAY_SIZE(routing_schemes)) ? in pvr2_msp3400_subdev_update()
69 routing_schemes[sid] : NULL; in pvr2_msp3400_subdev_update()
80 sid, hdw->input_val); in pvr2_msp3400_subdev_update()
Dpvrusb2-video-v4l.c82 unsigned int sid = hdw->hdw_desc->signal_routing_scheme; in pvr2_saa7115_subdev_update() local
88 sp = (sid < ARRAY_SIZE(routing_schemes)) ? in pvr2_saa7115_subdev_update()
89 routing_schemes[sid] : NULL; in pvr2_saa7115_subdev_update()
97 sid, hdw->input_val); in pvr2_saa7115_subdev_update()
Dpvrusb2-cx2584x-v4l.c132 unsigned int sid = hdw->hdw_desc->signal_routing_scheme; in pvr2_cx25840_subdev_update() local
134 sp = (sid < ARRAY_SIZE(routing_schemes)) ? in pvr2_cx25840_subdev_update()
135 routing_schemes[sid] : NULL; in pvr2_cx25840_subdev_update()
143 sid, hdw->input_val); in pvr2_cx25840_subdev_update()
/drivers/scsi/libfc/
Dfc_exch.c649 if (ep->sid) { in fc_exch_abort_locked()
656 fc_fill_fc_hdr(fp, FC_RCTL_BA_ABTS, ep->did, ep->sid, in fc_exch_abort_locked()
972 ep->sid = ntoh24(fh->fh_d_id); in fc_exch_resp()
1175 ep->sid = resp_id; in fc_exch_set_addr()
1178 ep->sid = orig_id; in fc_exch_set_addr()
1228 fc_fill_fc_hdr(fp, rctl, ep->did, ep->sid, fh_type, f_ctl, 0); in fc_seq_send_last()
1543 if (ep->sid != 0 && ep->sid != ntoh24(fh->fh_d_id)) { in fc_exch_recv_seq_resp()
1866 u32 sid, u32 did) in fc_exch_pool_reset() argument
1875 (sid == 0 || sid == ep->sid) && in fc_exch_pool_reset()
1909 void fc_exch_mgr_reset(struct fc_lport *lport, u32 sid, u32 did) in fc_exch_mgr_reset() argument
[all …]
Dfc_rport.c758 u32 sid; in fc_rport_recv_flogi_req() local
760 sid = fc_frame_sid(fp); in fc_rport_recv_flogi_req()
762 FC_RPORT_ID_DBG(lport, sid, "Received FLOGI request\n"); in fc_rport_recv_flogi_req()
780 rdata = lport->tt.rport_lookup(lport, sid); in fc_rport_recv_flogi_req()
1595 u32 sid; in fc_rport_recv_plogi_req() local
1597 sid = fc_frame_sid(fp); in fc_rport_recv_plogi_req()
1599 FC_RPORT_ID_DBG(lport, sid, "Received PLOGI request\n"); in fc_rport_recv_plogi_req()
1603 FC_RPORT_ID_DBG(lport, sid, "Received PLOGI too short\n"); in fc_rport_recv_plogi_req()
1611 rdata = lport->tt.rport_create(lport, sid); in fc_rport_recv_plogi_req()
1904 u32 sid; in fc_rport_recv_logo_req() local
[all …]
/drivers/video/fbdev/
Dpmag-aa-fb.c482 int sid; in pmagaafb_init() local
485 while ((sid = search_tc_card("PMAG-AA")) >= 0) { in pmagaafb_init()
487 claim_tc_card(sid); in pmagaafb_init()
488 init_one(sid); in pmagaafb_init()
496 int sid; in pmagaafb_exit() local
498 while ((sid = search_tc_card("PMAG-AA")) >= 0) { in pmagaafb_exit()
499 exit_one(sid); in pmagaafb_exit()
500 release_tc_card(sid); in pmagaafb_exit()
Dhpfb.c379 unsigned int sid; in hpfb_init() local
410 if (!err && (i == DIO_ID_FBUFFER) && topcat_sid_ok(sid = DIO_SECID(INTFBVADDR))) { in hpfb_init()
413 printk(KERN_INFO "Internal Topcat found (secondary id %02x)\n", sid); in hpfb_init()
/drivers/iommu/
Dintel_irq_remapping.c309 unsigned int sq, unsigned int sid) in set_irte_sid() argument
315 irte->sid = sid; in set_irte_sid()
321 u16 sid = 0; in set_ioapic_sid() local
329 sid = (ir_ioapic[i].bus << 8) | ir_ioapic[i].devfn; in set_ioapic_sid()
335 if (sid == 0) { in set_ioapic_sid()
340 set_irte_sid(irte, SVT_VERIFY_SID_SQ, SQ_ALL_16, sid); in set_ioapic_sid()
348 u16 sid = 0; in set_hpet_sid() local
356 sid = (ir_hpet[i].bus << 8) | ir_hpet[i].devfn; in set_hpet_sid()
362 if (sid == 0) { in set_hpet_sid()
372 set_irte_sid(irte, SVT_VERIFY_SID_SQ, SQ_13_IGNORE_3, sid); in set_hpet_sid()
[all …]
/drivers/spmi/
Dspmi-pmic-arb.c215 static int pmic_arb_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_cmd() argument
226 cmd = ((opc | 0x40) << 27) | ((sid & 0xf) << 20); in pmic_arb_cmd()
236 static int pmic_arb_read_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, in pmic_arb_read_cmd() argument
262 cmd = (opc << 27) | ((sid & 0xf) << 20) | (addr << 4) | (bc & 0x7); in pmic_arb_read_cmd()
282 static int pmic_arb_write_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, in pmic_arb_write_cmd() argument
310 cmd = (opc << 27) | ((sid & 0xf) << 20) | (addr << 4) | (bc & 0x7); in pmic_arb_write_cmd()
350 u8 sid = d->hwirq >> 24; in qpnpint_spmi_write() local
353 if (pmic_arb_write_cmd(pa->spmic, SPMI_CMD_EXT_WRITEL, sid, in qpnpint_spmi_write()
363 u8 sid = d->hwirq >> 24; in qpnpint_spmi_read() local
366 if (pmic_arb_read_cmd(pa->spmic, SPMI_CMD_EXT_READL, sid, in qpnpint_spmi_read()
Dspmi.c96 spmi_cmd(struct spmi_controller *ctrl, u8 opcode, u8 sid) in spmi_cmd() argument
101 return ctrl->cmd(ctrl, opcode, sid); in spmi_cmd()
105 u8 sid, u16 addr, u8 *buf, size_t len) in spmi_read_cmd() argument
110 return ctrl->read_cmd(ctrl, opcode, sid, addr, buf, len); in spmi_read_cmd()
114 u8 sid, u16 addr, const u8 *buf, size_t len) in spmi_write_cmd() argument
119 return ctrl->write_cmd(ctrl, opcode, sid, addr, buf, len); in spmi_write_cmd()
/drivers/gpu/drm/vmwgfx/
Dsvga3d_reg.h1260 uint32 sid; member
1334 uint32 sid; member
1357 uint32 sid; member
1382 uint32 sid; member
1473 uint32 sid; member
1922 uint32 sid; member
2079 uint32 sid; member
2095 uint32 sid; member
2105 uint32 sid; member
2121 uint32 sid; member
[all …]
Dvmwgfx_surface.c198 cmd->body.sid = id; in vmw_surface_destroy_encode()
221 cmd->body.sid = srf->res.id; in vmw_surface_define_encode()
272 body->host.sid = srf->res.id; in vmw_surface_dma_encode()
672 return ttm_ref_object_base_unref(tfile, arg->sid, TTM_REF_USAGE); in vmw_surface_destroy_ioctl()
870 rep->sid = user_srf->prime.base.hash.key; in vmw_surface_define_ioctl()
981 ret = vmw_surface_handle_reference(dev_priv, file_priv, req->sid, in vmw_surface_reference_ioctl()
1054 cmd->body.sid = srf->res.id; in vmw_gb_surface_create()
1103 cmd1->body.sid = res->id; in vmw_gb_surface_bind()
1109 cmd2->body.sid = res->id; in vmw_gb_surface_bind()
1155 cmd1->body.sid = res->id; in vmw_gb_surface_unbind()
[all …]
Dvmwgfx_execbuf.c649 &cmd->body.target.sid, &res_node); in vmw_cmd_set_render_target_check()
679 &cmd->body.src.sid, NULL); in vmw_cmd_surface_copy_check()
684 &cmd->body.dest.sid, NULL); in vmw_cmd_surface_copy_check()
700 &cmd->body.src.sid, NULL); in vmw_cmd_stretch_blt_check()
705 &cmd->body.dest.sid, NULL); in vmw_cmd_stretch_blt_check()
721 &cmd->body.srcImage.sid, NULL); in vmw_cmd_blt_surf_screen_check()
737 user_surface_converter, &cmd->body.sid, in vmw_cmd_present_check()
1262 user_surface_converter, &cmd->dma.host.sid, in vmw_cmd_dma()
1476 &cmd->body.sid, &cmd->body.mobid, in vmw_cmd_bind_gb_surface()
1501 &cmd->body.image.sid, NULL); in vmw_cmd_update_gb_image()
[all …]
/drivers/mfd/
Dtwl-core.c159 unsigned char sid; /* Slave ID */ member
427 int sid; in twl_get_regmap() local
439 sid = twl_priv->twl_map[mod_no].sid; in twl_get_regmap()
440 twl = &twl_priv->twl_modules[sid]; in twl_get_regmap()
615 int status, sid; in add_numbered_child() local
621 sid = twl_priv->twl_map[mod_no].sid; in add_numbered_child()
622 twl = &twl_priv->twl_modules[sid]; in add_numbered_child()
/drivers/scsi/bnx2fc/
Dbnx2fc_els.c66 u32 sid = tgt->sid; in bnx2fc_send_rrq() local
85 hton24(rrq.rrq_s_id, sid); in bnx2fc_send_rrq()
580 u32 sid = tgt->sid; in bnx2fc_send_rec() local
598 hton24(rec.rec_s_id, sid); in bnx2fc_send_rec()
678 u32 did, sid; in bnx2fc_initiate_els() local
749 sid = tgt->sid; in bnx2fc_initiate_els()
752 __fc_fill_fc_hdr(fc_hdr, FC_RCTL_ELS4_REQ, did, sid, in bnx2fc_initiate_els()
756 __fc_fill_fc_hdr(fc_hdr, FC_RCTL_ELS_REQ, did, sid, in bnx2fc_initiate_els()
/drivers/net/
Drionet.c229 static void rionet_dbell_event(struct rio_mport *mport, void *dev_id, u16 sid, u16 tid, in rionet_dbell_event() argument
238 DRV_NAME, sid, tid, info); in rionet_dbell_event()
240 if (!nets[rnet->mport->id].active[sid]) { in rionet_dbell_event()
243 if (peer->rdev->destid == sid) { in rionet_dbell_event()
244 nets[rnet->mport->id].active[sid] = in rionet_dbell_event()
249 rio_mport_send_doorbell(mport, sid, in rionet_dbell_event()
253 nets[rnet->mport->id].active[sid] = NULL; in rionet_dbell_event()
/drivers/scsi/
Dscsi_transport_iscsi.c1620 return sess->sid; in iscsi_conn_get_sid()
1626 static struct iscsi_cls_session *iscsi_session_lookup(uint32_t sid) in iscsi_session_lookup() argument
1633 if (sess->sid == sid) { in iscsi_session_lookup()
1645 static struct iscsi_cls_conn *iscsi_conn_lookup(uint32_t sid, uint32_t cid) in iscsi_conn_lookup() argument
1652 if ((conn->cid == cid) && (iscsi_conn_get_sid(conn) == sid)) { in iscsi_conn_lookup()
2074 session->sid = atomic_add_return(1, &iscsi_session_nr); in iscsi_add_session()
2089 dev_set_name(&session->dev, "session%u", session->sid); in iscsi_add_session()
2272 dev_set_name(&conn->dev, "connection%d:%u", session->sid, cid); in iscsi_create_conn()
2375 ev->r.recv_req.sid = iscsi_conn_get_sid(conn); in iscsi_recv_pdu()
2444 ev->r.connerror.sid = iscsi_conn_get_sid(conn); in iscsi_conn_error_event()
[all …]
/drivers/target/iscsi/
Discsi_target_erl2.c103 " SID: %u\n", sess->conn_recovery_count, sess->sid); in iscsit_attach_inactive_connection_recovery_entry()
186 " SID: %u\n", sess->conn_recovery_count, sess->sid); in iscsit_remove_active_connection_recovery_entry()
261 cr->cid, sess->sid); in iscsit_discard_cr_cmds_by_expstatsn()
265 " %hu on SID: %u\n", cr->cid, sess->sid); in iscsit_discard_cr_cmds_by_expstatsn()
/drivers/target/tcm_fc/
Dtfc_sess.c482 u32 sid = fc_frame_sid(fp); in ft_recv() local
484 pr_debug("sid %x\n", sid); in ft_recv()
486 sess = ft_sess_get(lport, sid); in ft_recv()
488 pr_debug("sid %x sess lookup failed\n", sid); in ft_recv()
/drivers/input/mouse/
Delantech.c619 int id, sid; in process_packet_motion_v4() local
625 sid = ((packet[3] & 0xe0) >> 5) - 1; in process_packet_motion_v4()
643 if (sid >= 0) { in process_packet_motion_v4()
644 etd->mt[sid].x += delta_x2 * weight; in process_packet_motion_v4()
645 etd->mt[sid].y -= delta_y2 * weight; in process_packet_motion_v4()
646 input_mt_slot(dev, sid); in process_packet_motion_v4()
647 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[sid].x); in process_packet_motion_v4()
648 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[sid].y); in process_packet_motion_v4()
/drivers/usb/gadget/legacy/
Dg_ffs.c413 int sid = USB_GADGET_FIRST_AVAIL_IDX + i; in gfs_bind() local
415 c->c.label = gfs_strings[sid].s; in gfs_bind()
416 c->c.iConfiguration = gfs_strings[sid].id; in gfs_bind()
/drivers/net/ethernet/sun/
Dsunvnet.c66 pkt->type, pkt->stype, pkt->stype_env, pkt->sid); in vnet_handle_unknown()
86 pkt.tag.sid = vio_send_sid(vio); in vnet_send_attr()
142 pkt->tag.sid = vio_send_sid(vio); in handle_attr_info()
335 .sid = vio_send_sid(&port->vio), in vnet_send_ack()
589 pkt->tag.sid); in handle_mcast()
666 msgbuf.tag.sid); in vnet_event()
713 .sid = vio_send_sid(&port->vio), in __vnet_tx_trigger()
1151 info.tag.sid = vio_send_sid(&port->vio); in __send_mc_list()

123