/linux-6.3-rc2/drivers/ntb/test/ |
A D | ntb_tool.c | 1159 struct tool_spad *spad = filep->private_data; in tool_spad_read() local 1163 if (!spad->tc->ntb->ops->spad_read) in tool_spad_read() 1167 ntb_spad_read(spad->tc->ntb, spad->sidx)); in tool_spad_read() 1175 struct tool_spad *spad = filep->private_data; in tool_spad_write() local 1179 if (!spad->tc->ntb->ops->spad_write) { in tool_spad_write() 1188 ret = ntb_spad_write(spad->tc->ntb, spad->sidx, val); in tool_spad_write() 1200 struct tool_spad *spad = filep->private_data; in tool_peer_spad_read() local 1204 if (!spad->tc->ntb->ops->peer_spad_read) in tool_peer_spad_read() 1208 ntb_peer_spad_read(spad->tc->ntb, spad->pidx, spad->sidx)); in tool_peer_spad_read() 1220 if (!spad->tc->ntb->ops->peer_spad_write) { in tool_peer_spad_write() [all …]
|
/linux-6.3-rc2/drivers/ntb/hw/mscc/ |
A D | ntb_hw_switchtec.c | 39 u32 spad[128]; member 728 return ARRAY_SIZE(sndev->self_shared->spad); in switchtec_ntb_spad_count() 735 if (idx < 0 || idx >= ARRAY_SIZE(sndev->self_shared->spad)) in switchtec_ntb_spad_read() 741 return sndev->self_shared->spad[idx]; in switchtec_ntb_spad_read() 748 if (idx < 0 || idx >= ARRAY_SIZE(sndev->self_shared->spad)) in switchtec_ntb_spad_write() 754 sndev->self_shared->spad[idx] = val; in switchtec_ntb_spad_write() 767 if (sidx < 0 || sidx >= ARRAY_SIZE(sndev->peer_shared->spad)) in switchtec_ntb_peer_spad_read() 773 return ioread32(&sndev->peer_shared->spad[sidx]); in switchtec_ntb_peer_spad_read() 784 if (sidx < 0 || sidx >= ARRAY_SIZE(sndev->peer_shared->spad)) in switchtec_ntb_peer_spad_write() 790 iowrite32(val, &sndev->peer_shared->spad[sidx]); in switchtec_ntb_peer_spad_write() [all …]
|
/linux-6.3-rc2/drivers/ntb/ |
A D | ntb_transport.c | 696 int spad = qp_num * 2 + nt->msi_spad_offset; in ntb_transport_setup_qp_peer_msi() local 701 if (spad >= ntb_spad_count(nt->ndev)) in ntb_transport_setup_qp_peer_msi() 705 ntb_peer_spad_read(qp->ndev, PIDX, spad); in ntb_transport_setup_qp_peer_msi() 707 ntb_peer_spad_read(qp->ndev, PIDX, spad + 1); in ntb_transport_setup_qp_peer_msi() 723 int spad = qp_num * 2 + nt->msi_spad_offset; in ntb_transport_setup_qp_msi() local 729 if (spad >= ntb_spad_count(nt->ndev)) { in ntb_transport_setup_qp_msi() 735 ntb_spad_write(qp->ndev, spad, 0); in ntb_transport_setup_qp_msi() 736 ntb_spad_write(qp->ndev, spad + 1, 0); in ntb_transport_setup_qp_msi() 1026 int rc = 0, i, spad; in ntb_transport_link_work() local 1049 spad = MW0_SZ_HIGH + (i * 2); in ntb_transport_link_work() [all …]
|
/linux-6.3-rc2/drivers/staging/media/imx/ |
A D | imx-media-dev-common.c | 233 struct media_pad *pad, *spad = &entity->pads[i]; in imx_media_inherit_controls() local 235 if (!(spad->flags & MEDIA_PAD_FL_SINK)) in imx_media_inherit_controls() 238 pad = media_pad_remote_pad_first(spad); in imx_media_inherit_controls()
|
A D | imx-media-utils.c | 695 struct media_pad *spad = &me->pads[i]; in imx_media_pipeline_pad() local 697 if ((upstream && !(spad->flags & MEDIA_PAD_FL_SINK)) || in imx_media_pipeline_pad() 698 (!upstream && !(spad->flags & MEDIA_PAD_FL_SOURCE))) in imx_media_pipeline_pad() 701 pad = media_pad_remote_pad_first(spad); in imx_media_pipeline_pad()
|
/linux-6.3-rc2/drivers/ntb/hw/intel/ |
A D | ntb_hw_intel.h | 115 unsigned long spad; member
|
A D | ntb_hw_gen1.c | 1168 ndev->self_reg->spad); in intel_ntb_spad_read() 1177 ndev->self_reg->spad); in intel_ntb_spad_write() 1186 ndev->peer_reg->spad); in intel_ntb_peer_spad_addr() 1195 ndev->peer_reg->spad); in intel_ntb_peer_spad_read() 1205 ndev->peer_reg->spad); in intel_ntb_peer_spad_write() 1944 .spad = XEON_SPAD_OFFSET, 1951 .spad = XEON_SPAD_OFFSET + (XEON_SPAD_COUNT << 1), 1956 .spad = XEON_B2B_SPAD_OFFSET,
|
A D | ntb_hw_gen3.c | 77 .spad = GEN3_IM_SPAD_OFFSET, 84 .spad = GEN3_B2B_SPAD_OFFSET,
|
A D | ntb_hw_gen4.c | 35 .spad = GEN4_IM_SPAD_OFFSET, 46 .spad = GEN4_EM_SPAD_OFFSET,
|
/linux-6.3-rc2/Documentation/driver-api/ |
A D | ntb.rst | 193 * *hw*/spad 197 (eg: `echo '4 0x123 7 0xabc' > spad` 201 *spad* for details.
|
/linux-6.3-rc2/drivers/media/platform/samsung/exynos4-is/ |
A D | media-dev.c | 81 struct media_pad *spad = &me->pads[i]; in fimc_pipeline_prepare() local 82 if (!(spad->flags & MEDIA_PAD_FL_SINK)) in fimc_pipeline_prepare() 84 pad = media_pad_remote_pad_first(spad); in fimc_pipeline_prepare()
|
/linux-6.3-rc2/drivers/media/platform/nxp/ |
A D | imx7-media-csi.c | 1977 struct media_pad *spad = &csi->src_sd->entity.pads[i]; in imx7_csi_pad_link_validate() local 1979 if (!(spad->flags & MEDIA_PAD_FL_SINK)) in imx7_csi_pad_link_validate() 1982 pad = media_pad_remote_pad_first(spad); in imx7_csi_pad_link_validate()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A D | minimal.c | 59 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(spad), spad_pl); in mlxsw_m_base_mac_get()
|
A D | reg.h | 62 MLXSW_REG_DEFINE(spad, MLXSW_REG_SPAD_ID, MLXSW_REG_SPAD_LEN); 70 MLXSW_ITEM_BUF(reg, spad, base_mac, 0x02, 6); 12790 MLXSW_REG(spad),
|
A D | spectrum.c | 366 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(spad), spad_pl); in mlxsw_sp_base_mac_get()
|