Home
last modified time | relevance | path

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

12345

/drivers/memory/tegra/
Dtegra186.c22 unsigned int sid; member
55 dev_dbg(mc->dev, "setting SID %u for %s\n", client->sid, in tegra186_mc_program_sid()
57 writel(client->sid, mc->regs + client->regs.override); in tegra186_mc_program_sid()
71 .sid = TEGRA186_SID_PASSTHROUGH,
78 .sid = TEGRA186_SID_AFI,
85 .sid = TEGRA186_SID_HDA,
92 .sid = TEGRA186_SID_HOST1X,
99 .sid = TEGRA186_SID_NVENC,
106 .sid = TEGRA186_SID_SATA,
113 .sid = TEGRA186_SID_PASSTHROUGH,
[all …]
/drivers/nvmem/
Dsunxi_sid.c43 struct sunxi_sid *sid = context; in sunxi_sid_read() local
45 memcpy_fromio(val, sid->base + sid->value_offset + offset, bytes); in sunxi_sid_read()
50 static int sun8i_sid_register_readout(const struct sunxi_sid *sid, in sun8i_sid_register_readout() argument
61 writel(reg_val, sid->base + SUN8I_SID_PRCTL); in sun8i_sid_register_readout()
63 ret = readl_poll_timeout(sid->base + SUN8I_SID_PRCTL, reg_val, in sun8i_sid_register_readout()
69 *out = readl(sid->base + SUN8I_SID_RDKEY); in sun8i_sid_register_readout()
71 writel(0, sid->base + SUN8I_SID_PRCTL); in sun8i_sid_register_readout()
84 struct sunxi_sid *sid = context; in sun8i_sid_read_by_reg() local
90 ret = sun8i_sid_register_readout(sid, offset, val); in sun8i_sid_read_by_reg()
103 ret = sun8i_sid_register_readout(sid, offset, &word); in sun8i_sid_read_by_reg()
[all …]
/drivers/staging/media/atomisp/pci/runtime/isys/src/
Disys_stream2mmio_rmgr.c40 stream2mmio_sid_ID_t *sid) in ia_css_isys_stream2mmio_sid_rmgr_acquire() argument
48 assert(sid); in ia_css_isys_stream2mmio_sid_rmgr_acquire()
50 if ((stream2mmio < N_STREAM2MMIO_ID) && (sid)) { in ia_css_isys_stream2mmio_sid_rmgr_acquire()
58 *sid = i; in ia_css_isys_stream2mmio_sid_rmgr_acquire()
71 stream2mmio_sid_ID_t *sid) in ia_css_isys_stream2mmio_sid_rmgr_release() argument
77 assert(sid); in ia_css_isys_stream2mmio_sid_rmgr_release()
79 if ((stream2mmio < N_STREAM2MMIO_ID) && (sid)) { in ia_css_isys_stream2mmio_sid_rmgr_release()
82 if ((*sid < max_sid) && (cur_rsrc->num_active > 0)) { in ia_css_isys_stream2mmio_sid_rmgr_release()
83 if (bitop_getbit(cur_rsrc->active_table, *sid) == 1) { in ia_css_isys_stream2mmio_sid_rmgr_release()
84 bitop_clearbit(cur_rsrc->active_table, *sid); in ia_css_isys_stream2mmio_sid_rmgr_release()
/drivers/firewire/
Dcore-topology.c40 static u32 *count_ports(u32 *sid, int *total_port_count, int *child_port_count) in count_ports() argument
49 q = *sid; in count_ports()
68 return sid + 1; in count_ports()
71 sid++; in count_ports()
72 q = *sid; in count_ports()
90 static int get_port_type(u32 *sid, int port_index) in get_port_type() argument
96 return (sid[index] >> shift) & 0x03; in get_port_type()
99 static struct fw_node *fw_node_create(u32 sid, int port_count, int color) in fw_node_create() argument
108 node->node_id = LOCAL_BUS | SELF_ID_PHY_ID(sid); in fw_node_create()
109 node->link_on = SELF_ID_LINK_ON(sid); in fw_node_create()
[all …]
/drivers/net/ppp/
Dpppoe.c115 static inline bool stage_session(__be16 sid) in stage_session() argument
117 return sid != 0; in stage_session()
127 return a->sid == b->sid && ether_addr_equal(a->remote, b->remote); in cmp_2_addr()
130 static inline int cmp_addr(struct pppoe_addr *a, __be16 sid, char *addr) in cmp_addr() argument
132 return a->sid == sid && ether_addr_equal(a->remote, addr); in cmp_addr()
139 static int hash_item(__be16 sid, unsigned char *addr) in hash_item() argument
147 hash ^= (__force __u32)sid >> i; in hash_item()
159 static struct pppox_sock *__get_item(struct pppoe_net *pn, __be16 sid, in __get_item() argument
162 int hash = hash_item(sid, addr); in __get_item()
167 if (cmp_addr(&ret->pppoe_pa, sid, addr) && in __get_item()
[all …]
/drivers/spmi/
Dspmi-pmic-arb.c188 int (*offset)(struct spmi_pmic_arb *pmic_arb, u8 sid, u16 addr,
190 u32 (*fmt_cmd)(u8 opc, u8 sid, u16 addr, u8 bc);
191 int (*non_data_cmd)(struct spmi_controller *ctrl, u8 opc, u8 sid);
243 void __iomem *base, u8 sid, u16 addr, in pmic_arb_wait_for_done() argument
252 rc = pmic_arb->ver_ops->offset(pmic_arb, sid, addr, ch_type); in pmic_arb_wait_for_done()
292 pmic_arb_non_data_cmd_v1(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_non_data_cmd_v1() argument
300 rc = pmic_arb->ver_ops->offset(pmic_arb, sid, 0, PMIC_ARB_CHANNEL_RW); in pmic_arb_non_data_cmd_v1()
305 cmd = ((opc | 0x40) << 27) | ((sid & 0xf) << 20); in pmic_arb_non_data_cmd_v1()
309 rc = pmic_arb_wait_for_done(ctrl, pmic_arb->wr_base, sid, 0, in pmic_arb_non_data_cmd_v1()
317 pmic_arb_non_data_cmd_v2(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_non_data_cmd_v2() argument
[all …]
Dspmi.c92 spmi_cmd(struct spmi_controller *ctrl, u8 opcode, u8 sid) in spmi_cmd() argument
99 ret = ctrl->cmd(ctrl, opcode, sid); in spmi_cmd()
100 trace_spmi_cmd(opcode, sid, ret); in spmi_cmd()
105 u8 sid, u16 addr, u8 *buf, size_t len) in spmi_read_cmd() argument
112 trace_spmi_read_begin(opcode, sid, addr); in spmi_read_cmd()
113 ret = ctrl->read_cmd(ctrl, opcode, sid, addr, buf, len); in spmi_read_cmd()
114 trace_spmi_read_end(opcode, sid, addr, ret, len, buf); in spmi_read_cmd()
119 u8 sid, u16 addr, const u8 *buf, size_t len) in spmi_write_cmd() argument
126 trace_spmi_write_begin(opcode, sid, addr, len, buf); in spmi_write_cmd()
127 ret = ctrl->write_cmd(ctrl, opcode, sid, addr, buf, len); in spmi_write_cmd()
[all …]
/drivers/gpu/drm/vmwgfx/device_include/
Dsvga3d_cmd.h366 uint32 sid; member
394 uint32 sid; member
424 uint32 sid; member
482 uint32 sid; member
908 uint32 sid; member
1212 uint32 sid; member
1221 uint32 sid; member
1229 uint32 sid; member
1512 uint32 sid; member
1725 uint32 sid; member
[all …]
Dsvga3d_dx.h235 SVGA3dSurfaceId sid; member
413 SVGA3dSurfaceId sid; member
432 SVGA3dSurfaceId sid; member
626 SVGA3dSurfaceId sid; member
822 SVGA3dSurfaceId sid; member
836 SVGA3dSurfaceId sid; member
849 SVGA3dSurfaceId sid; member
994 SVGA3dSurfaceId sid; member
1065 SVGA3dSurfaceId sid; member
1079 SVGA3dSurfaceId sid; member
[all …]
/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c418 struct enetc_streamid sid; member
470 struct enetc_streamid *sid, in enetc_streamid_hw_set() argument
480 if (sid->index >= priv->psfp_cap.max_streamid) in enetc_streamid_hw_set()
483 if (sid->filtertype != STREAMID_TYPE_NULL && in enetc_streamid_hw_set()
484 sid->filtertype != STREAMID_TYPE_SMAC) in enetc_streamid_hw_set()
488 cbd.index = cpu_to_le16((u16)sid->index); in enetc_streamid_hw_set()
531 cbd.index = cpu_to_le16((u16)sid->index); in enetc_streamid_hw_set()
537 si_conf->stream_handle = cpu_to_le32(sid->handle); in enetc_streamid_hw_set()
539 si_conf->id_type = sid->filtertype; in enetc_streamid_hw_set()
557 ether_addr_copy(si_data->dmac, sid->dst_mac); in enetc_streamid_hw_set()
[all …]
/drivers/media/usb/pvrusb2/
Dpvrusb2-cs53l32a.c51 unsigned int sid = hdw->hdw_desc->signal_routing_scheme; in pvr2_cs53l32a_subdev_update() local
55 sp = (sid < ARRAY_SIZE(routing_schemes)) ? in pvr2_cs53l32a_subdev_update()
56 routing_schemes[sid] : NULL; in pvr2_cs53l32a_subdev_update()
62 sid, hdw->input_val); in pvr2_cs53l32a_subdev_update()
Dpvrusb2-audio.c50 unsigned int sid = hdw->hdw_desc->signal_routing_scheme; in pvr2_msp3400_subdev_update() local
54 sp = (sid < ARRAY_SIZE(routing_schemes)) ? in pvr2_msp3400_subdev_update()
55 routing_schemes[sid] : NULL; in pvr2_msp3400_subdev_update()
64 sid, hdw->input_val); in pvr2_msp3400_subdev_update()
Dpvrusb2-video-v4l.c68 unsigned int sid = hdw->hdw_desc->signal_routing_scheme; in pvr2_saa7115_subdev_update() local
74 sp = (sid < ARRAY_SIZE(routing_schemes)) ? in pvr2_saa7115_subdev_update()
75 routing_schemes[sid] : NULL; in pvr2_saa7115_subdev_update()
81 sid, hdw->input_val); in pvr2_saa7115_subdev_update()
Dpvrusb2-cx2584x-v4l.c142 unsigned int sid = hdw->hdw_desc->signal_routing_scheme; in pvr2_cx25840_subdev_update() local
144 sp = (sid < ARRAY_SIZE(routing_schemes)) ? in pvr2_cx25840_subdev_update()
145 routing_schemes[sid] : NULL; in pvr2_cx25840_subdev_update()
151 sid, hdw->input_val); in pvr2_cx25840_subdev_update()
/drivers/net/can/usb/
Dmcba_usb.c95 __be16 sid; member
318 u16 sid; in mcba_usb_start_xmit() local
335 sid = MCBA_SIDL_EXID_MASK; in mcba_usb_start_xmit()
337 sid |= (cf->can_id & 0x1ffc0000) >> 13; in mcba_usb_start_xmit()
339 sid |= (cf->can_id & 0x30000) >> 16; in mcba_usb_start_xmit()
340 put_unaligned_be16(sid, &usb_msg.sid); in mcba_usb_start_xmit()
349 &usb_msg.sid); in mcba_usb_start_xmit()
425 u16 sid; in mcba_usb_process_can() local
431 sid = get_unaligned_be16(&msg->sid); in mcba_usb_process_can()
433 if (sid & MCBA_SIDL_EXID_MASK) { in mcba_usb_process_can()
[all …]
/drivers/net/ethernet/mediatek/
Dmtk_sgmii.c115 unsigned int val, sid; in mtk_sgmii_restart_an() local
118 sid = (MTK_HAS_CAPS(eth->soc->caps, MTK_SHARED_SGMII)) ? in mtk_sgmii_restart_an()
121 if (!ss->regmap[sid]) in mtk_sgmii_restart_an()
124 regmap_read(ss->regmap[sid], SGMSYS_PCS_CONTROL_1, &val); in mtk_sgmii_restart_an()
126 regmap_write(ss->regmap[sid], SGMSYS_PCS_CONTROL_1, val); in mtk_sgmii_restart_an()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_so.c102 uint32 sid; member
183 cmd->body.sid = view->srf->id; in vmw_view_create()
577 BUILD_BUG_ON(offsetof(struct vmw_view_define, sid) != in vmw_so_build_asserts()
578 offsetof(SVGA3dCmdDXDefineShaderResourceView, sid)); in vmw_so_build_asserts()
579 BUILD_BUG_ON(offsetof(struct vmw_view_define, sid) != in vmw_so_build_asserts()
580 offsetof(SVGA3dCmdDXDefineRenderTargetView, sid)); in vmw_so_build_asserts()
581 BUILD_BUG_ON(offsetof(struct vmw_view_define, sid) != in vmw_so_build_asserts()
582 offsetof(SVGA3dCmdDXDefineDepthStencilView, sid)); in vmw_so_build_asserts()
/drivers/scsi/libfc/
Dfc_exch.c659 if (ep->sid) { in fc_exch_abort_locked()
666 fc_fill_fc_hdr(fp, FC_RCTL_BA_ABTS, ep->did, ep->sid, in fc_exch_abort_locked()
1009 ep->sid = ntoh24(fh->fh_d_id); in fc_exch_resp()
1212 ep->sid = resp_id; in fc_exch_set_addr()
1215 ep->sid = orig_id; in fc_exch_set_addr()
1266 fc_fill_fc_hdr(fp, rctl, ep->did, ep->sid, fh_type, f_ctl, 0); in fc_seq_send_last()
1593 if (ep->sid != 0 && ep->sid != ntoh24(fh->fh_d_id)) { in fc_exch_recv_seq_resp()
1938 u32 sid, u32 did) in fc_exch_pool_reset() argument
1947 (sid == 0 || sid == ep->sid) && in fc_exch_pool_reset()
1981 void fc_exch_mgr_reset(struct fc_lport *lport, u32 sid, u32 did) in fc_exch_mgr_reset() argument
[all …]
/drivers/scsi/lpfc/
Dlpfc_nvmet.c239 lpfc_nvmet_get_ctx_for_oxid(struct lpfc_hba *phba, u16 oxid, u32 sid) in lpfc_nvmet_get_ctx_for_oxid() argument
247 if (ctxp->oxid != oxid || ctxp->sid != sid) in lpfc_nvmet_get_ctx_for_oxid()
393 uint32_t size, oxid, sid; in lpfc_nvmet_ctxbuf_post() local
438 sid = sli4_sid_from_fc_hdr(fc_hdr); in lpfc_nvmet_ctxbuf_post()
446 ctxp->sid = sid; in lpfc_nvmet_ctxbuf_post()
489 lpfc_nvmet_unsol_fcp_issue_abort(phba, ctxp, sid, oxid); in lpfc_nvmet_ctxbuf_post()
957 lpfc_nvme_unsol_ls_issue_abort(phba, axchg, axchg->sid, axchg->oxid); in __lpfc_nvme_xmt_ls_rsp()
1178 lpfc_nvmet_unsol_fcp_issue_abort(phba, ctxp, ctxp->sid, in lpfc_nvmet_xmt_fcp_abort()
1191 lpfc_nvmet_unsol_fcp_issue_abort(phba, ctxp, ctxp->sid, in lpfc_nvmet_xmt_fcp_abort()
1194 lpfc_nvmet_sol_fcp_issue_abort(phba, ctxp, ctxp->sid, in lpfc_nvmet_xmt_fcp_abort()
[all …]
/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c267 cmd[0] |= FIELD_PREP(CMDQ_PREFETCH_0_SID, ent->prefetch.sid); in arm_smmu_cmdq_build_cmd()
275 cmd[0] |= FIELD_PREP(CMDQ_CFGI_0_SID, ent->cfgi.sid); in arm_smmu_cmdq_build_cmd()
279 cmd[0] |= FIELD_PREP(CMDQ_CFGI_0_SID, ent->cfgi.sid); in arm_smmu_cmdq_build_cmd()
314 cmd[0] |= FIELD_PREP(CMDQ_ATC_0_SID, ent->atc.sid); in arm_smmu_cmdq_build_cmd()
321 cmd[0] |= FIELD_PREP(CMDQ_PRI_0_SID, ent->pri.sid); in arm_smmu_cmdq_build_cmd()
927 cmd.cfgi.sid = master->sids[i]; in arm_smmu_sync_cd()
1174 static void arm_smmu_sync_ste_for_sid(struct arm_smmu_device *smmu, u32 sid) in arm_smmu_sync_ste_for_sid() argument
1179 .sid = sid, in arm_smmu_sync_ste_for_sid()
1188 static void arm_smmu_write_strtab_ent(struct arm_smmu_master *master, u32 sid, in arm_smmu_write_strtab_ent() argument
1216 .sid = sid, in arm_smmu_write_strtab_ent()
[all …]
/drivers/firmware/arm_scmi/
Dnotify.c178 #define REVT_NOTIFY_SET_STATUS(revt, eid, sid, state) \ argument
182 (eid), (sid), (state)); \
185 #define REVT_NOTIFY_ENABLE(revt, eid, sid) \ argument
186 REVT_NOTIFY_SET_STATUS((revt), (eid), (sid), true)
188 #define REVT_NOTIFY_DISABLE(revt, eid, sid) \ argument
189 REVT_NOTIFY_SET_STATUS((revt), (eid), (sid), false)
1157 refcount_t *sid; in __scmi_enable_evt() local
1173 sid = &r_evt->sources[src_id]; in __scmi_enable_evt()
1174 if (refcount_read(sid) == 0) { in __scmi_enable_evt()
1178 refcount_set(sid, 1); in __scmi_enable_evt()
[all …]
/drivers/scsi/bnx2fc/
Dbnx2fc_els.c67 u32 sid = 0; in bnx2fc_send_rrq() local
76 sid = tgt->sid; in bnx2fc_send_rrq()
93 hton24(rrq.rrq_s_id, sid); in bnx2fc_send_rrq()
588 u32 sid = tgt->sid; in bnx2fc_send_rec() local
606 hton24(rec.rec_s_id, sid); in bnx2fc_send_rec()
686 u32 did, sid; in bnx2fc_initiate_els() local
757 sid = tgt->sid; in bnx2fc_initiate_els()
760 __fc_fill_fc_hdr(fc_hdr, FC_RCTL_ELS4_REQ, did, sid, in bnx2fc_initiate_els()
764 __fc_fill_fc_hdr(fc_hdr, FC_RCTL_ELS_REQ, did, sid, in bnx2fc_initiate_els()
/drivers/scsi/qedf/
Dqedf_els.c21 uint32_t did, sid; in qedf_initiate_els() local
108 sid = fcport->sid; in qedf_initiate_els()
110 __fc_fill_fc_hdr(fc_hdr, FC_RCTL_ELS_REQ, did, sid, in qedf_initiate_els()
245 uint32_t sid; in qedf_send_rrq() local
292 sid = fcport->sid; in qedf_send_rrq()
311 hton24(rrq.rrq_s_id, sid); in qedf_send_rrq()
1004 uint32_t sid; in qedf_send_rec() local
1031 sid = fcport->sid; in qedf_send_rec()
1047 hton24(rec.rec_s_id, sid); in qedf_send_rec()
/drivers/net/ethernet/intel/ice/
Dice_flex_type.h334 u32 sid; member
415 u32 sid; member
439 u32 sid; member
468 u32 sid; member
477 u32 sid; member
/drivers/tty/
Dtty_jobctrl.c430 struct pid *sid = NULL; in session_of_pgrp() local
436 sid = task_session(p); in session_of_pgrp()
438 return sid; in session_of_pgrp()
532 pid_t sid; in tiocgsid() local
544 sid = pid_vnr(real_tty->session); in tiocgsid()
547 return put_user(sid, p); in tiocgsid()

12345