spad 80 drivers/media/platform/exynos4-is/media-dev.c struct media_pad *spad = &me->pads[i]; spad 81 drivers/media/platform/exynos4-is/media-dev.c if (!(spad->flags & MEDIA_PAD_FL_SINK)) spad 83 drivers/media/platform/exynos4-is/media-dev.c pad = media_entity_remote_pad(spad); spad 344 drivers/net/caif/caif_spi.c int spad = 0; spad 362 drivers/net/caif/caif_spi.c spad = 1 + PAD_POW2((info->hdr_len + 1), spi_up_head_align); spad 363 drivers/net/caif/caif_spi.c *dst = (u8)(spad - 1); spad 364 drivers/net/caif/caif_spi.c dst += spad; spad 377 drivers/net/caif/caif_spi.c epad = PAD_POW2((skb->len + spad), spi_up_tail_align); spad 404 drivers/net/caif/caif_spi.c int spad = 0; spad 422 drivers/net/caif/caif_spi.c spad = 1 + PAD_POW2((info->hdr_len + 1), spi_up_head_align); spad 428 drivers/net/caif/caif_spi.c epad = PAD_POW2((skb->len + spad), spi_up_tail_align); spad 430 drivers/net/caif/caif_spi.c if ((skb->len + spad + epad + frm_len) <= CAIF_MAX_SPI_FRAME) { spad 433 drivers/net/caif/caif_spi.c frm_len += skb->len + spad + epad; spad 529 drivers/net/caif/caif_spi.c int spad = 0; spad 538 drivers/net/caif/caif_spi.c spad = 1 + *src; spad 539 drivers/net/caif/caif_spi.c src += spad; spad 576 drivers/net/caif/caif_spi.c epad = PAD_POW2((pkt_len + spad), spi_down_tail_align); spad 42 drivers/net/ethernet/mellanox/mlxsw/minimal.c err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(spad), spad_pl); spad 62 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_REG_DEFINE(spad, MLXSW_REG_SPAD_ID, MLXSW_REG_SPAD_LEN); spad 70 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM_BUF(reg, spad, base_mac, 0x02, 6); spad 10469 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_REG(spad), spad 577 drivers/net/ethernet/mellanox/mlxsw/spectrum.c err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(spad), spad_pl); spad 111 drivers/net/ethernet/mellanox/mlxsw/switchib.c err = mlxsw_reg_query(mlxsw_sib->core, MLXSW_REG(spad), spad_pl); spad 899 drivers/net/ethernet/mellanox/mlxsw/switchx2.c err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(spad), spad_pl); spad 1165 drivers/ntb/hw/intel/ntb_hw_gen1.c ndev->self_reg->spad); spad 1174 drivers/ntb/hw/intel/ntb_hw_gen1.c ndev->self_reg->spad); spad 1183 drivers/ntb/hw/intel/ntb_hw_gen1.c ndev->peer_reg->spad); spad 1192 drivers/ntb/hw/intel/ntb_hw_gen1.c ndev->peer_reg->spad); spad 1202 drivers/ntb/hw/intel/ntb_hw_gen1.c ndev->peer_reg->spad); spad 1953 drivers/ntb/hw/intel/ntb_hw_gen1.c .spad = XEON_SPAD_OFFSET, spad 1960 drivers/ntb/hw/intel/ntb_hw_gen1.c .spad = XEON_SPAD_OFFSET + (XEON_SPAD_COUNT << 1), spad 1965 drivers/ntb/hw/intel/ntb_hw_gen1.c .spad = XEON_B2B_SPAD_OFFSET, spad 77 drivers/ntb/hw/intel/ntb_hw_gen3.c .spad = GEN3_IM_SPAD_OFFSET, spad 84 drivers/ntb/hw/intel/ntb_hw_gen3.c .spad = GEN3_B2B_SPAD_OFFSET, spad 116 drivers/ntb/hw/intel/ntb_hw_intel.h unsigned long spad; spad 39 drivers/ntb/hw/mscc/ntb_hw_switchtec.c u32 spad[128]; spad 726 drivers/ntb/hw/mscc/ntb_hw_switchtec.c return ARRAY_SIZE(sndev->self_shared->spad); spad 733 drivers/ntb/hw/mscc/ntb_hw_switchtec.c if (idx < 0 || idx >= ARRAY_SIZE(sndev->self_shared->spad)) spad 739 drivers/ntb/hw/mscc/ntb_hw_switchtec.c return sndev->self_shared->spad[idx]; spad 746 drivers/ntb/hw/mscc/ntb_hw_switchtec.c if (idx < 0 || idx >= ARRAY_SIZE(sndev->self_shared->spad)) spad 752 drivers/ntb/hw/mscc/ntb_hw_switchtec.c sndev->self_shared->spad[idx] = val; spad 765 drivers/ntb/hw/mscc/ntb_hw_switchtec.c if (sidx < 0 || sidx >= ARRAY_SIZE(sndev->peer_shared->spad)) spad 771 drivers/ntb/hw/mscc/ntb_hw_switchtec.c return ioread32(&sndev->peer_shared->spad[sidx]); spad 782 drivers/ntb/hw/mscc/ntb_hw_switchtec.c if (sidx < 0 || sidx >= ARRAY_SIZE(sndev->peer_shared->spad)) spad 788 drivers/ntb/hw/mscc/ntb_hw_switchtec.c iowrite32(val, &sndev->peer_shared->spad[sidx]); spad 802 drivers/ntb/hw/mscc/ntb_hw_switchtec.c offset = (unsigned long)&sndev->peer_shared->spad[sidx] - spad 698 drivers/ntb/ntb_transport.c int spad = qp_num * 2 + nt->msi_spad_offset; spad 703 drivers/ntb/ntb_transport.c if (spad >= ntb_spad_count(nt->ndev)) spad 707 drivers/ntb/ntb_transport.c ntb_peer_spad_read(qp->ndev, PIDX, spad); spad 709 drivers/ntb/ntb_transport.c ntb_peer_spad_read(qp->ndev, PIDX, spad + 1); spad 725 drivers/ntb/ntb_transport.c int spad = qp_num * 2 + nt->msi_spad_offset; spad 731 drivers/ntb/ntb_transport.c if (spad >= ntb_spad_count(nt->ndev)) { spad 737 drivers/ntb/ntb_transport.c ntb_spad_write(qp->ndev, spad, 0); spad 738 drivers/ntb/ntb_transport.c ntb_spad_write(qp->ndev, spad + 1, 0); spad 752 drivers/ntb/ntb_transport.c rc = ntb_spad_write(qp->ndev, spad, qp->msi_desc.addr_offset); spad 756 drivers/ntb/ntb_transport.c rc = ntb_spad_write(qp->ndev, spad + 1, qp->msi_desc.data); spad 1028 drivers/ntb/ntb_transport.c int rc = 0, i, spad; spad 1051 drivers/ntb/ntb_transport.c spad = MW0_SZ_HIGH + (i * 2); spad 1052 drivers/ntb/ntb_transport.c ntb_peer_spad_write(ndev, PIDX, spad, upper_32_bits(size)); spad 1054 drivers/ntb/ntb_transport.c spad = MW0_SZ_LOW + (i * 2); spad 1055 drivers/ntb/ntb_transport.c ntb_peer_spad_write(ndev, PIDX, spad, lower_32_bits(size)); spad 1157 drivers/ntb/test/ntb_tool.c struct tool_spad *spad = filep->private_data; spad 1161 drivers/ntb/test/ntb_tool.c if (!spad->tc->ntb->ops->spad_read) spad 1165 drivers/ntb/test/ntb_tool.c ntb_spad_read(spad->tc->ntb, spad->sidx)); spad 1173 drivers/ntb/test/ntb_tool.c struct tool_spad *spad = filep->private_data; spad 1177 drivers/ntb/test/ntb_tool.c if (!spad->tc->ntb->ops->spad_write) { spad 1178 drivers/ntb/test/ntb_tool.c dev_dbg(&spad->tc->ntb->dev, "no spad write fn\n"); spad 1186 drivers/ntb/test/ntb_tool.c ret = ntb_spad_write(spad->tc->ntb, spad->sidx, val); spad 1198 drivers/ntb/test/ntb_tool.c struct tool_spad *spad = filep->private_data; spad 1202 drivers/ntb/test/ntb_tool.c if (!spad->tc->ntb->ops->peer_spad_read) spad 1206 drivers/ntb/test/ntb_tool.c ntb_peer_spad_read(spad->tc->ntb, spad->pidx, spad->sidx)); spad 1214 drivers/ntb/test/ntb_tool.c struct tool_spad *spad = filep->private_data; spad 1218 drivers/ntb/test/ntb_tool.c if (!spad->tc->ntb->ops->peer_spad_write) { spad 1219 drivers/ntb/test/ntb_tool.c dev_dbg(&spad->tc->ntb->dev, "no spad write fn\n"); spad 1227 drivers/ntb/test/ntb_tool.c ret = ntb_peer_spad_write(spad->tc->ntb, spad->pidx, spad->sidx, val); spad 243 drivers/staging/media/imx/imx-media-dev-common.c struct media_pad *pad, *spad = &entity->pads[i]; spad 245 drivers/staging/media/imx/imx-media-dev-common.c if (!(spad->flags & MEDIA_PAD_FL_SINK)) spad 248 drivers/staging/media/imx/imx-media-dev-common.c pad = media_entity_remote_pad(spad); spad 790 drivers/staging/media/imx/imx-media-utils.c struct media_pad *spad = &me->pads[i]; spad 792 drivers/staging/media/imx/imx-media-utils.c if ((upstream && !(spad->flags & MEDIA_PAD_FL_SINK)) || spad 793 drivers/staging/media/imx/imx-media-utils.c (!upstream && !(spad->flags & MEDIA_PAD_FL_SOURCE))) spad 796 drivers/staging/media/imx/imx-media-utils.c pad = media_entity_remote_pad(spad);