spc 495 arch/arm/mach-vexpress/spc.c #define to_clk_spc(spc) container_of(spc, struct clk_spc, hw) spc 499 arch/arm/mach-vexpress/spc.c struct clk_spc *spc = to_clk_spc(hw); spc 502 arch/arm/mach-vexpress/spc.c if (ve_spc_get_performance(spc->cluster, &freq)) spc 511 arch/arm/mach-vexpress/spc.c struct clk_spc *spc = to_clk_spc(hw); spc 513 arch/arm/mach-vexpress/spc.c return ve_spc_round_performance(spc->cluster, drate); spc 519 arch/arm/mach-vexpress/spc.c struct clk_spc *spc = to_clk_spc(hw); spc 521 arch/arm/mach-vexpress/spc.c return ve_spc_set_performance(spc->cluster, rate / 1000); spc 533 arch/arm/mach-vexpress/spc.c struct clk_spc *spc; spc 535 arch/arm/mach-vexpress/spc.c spc = kzalloc(sizeof(*spc), GFP_KERNEL); spc 536 arch/arm/mach-vexpress/spc.c if (!spc) spc 539 arch/arm/mach-vexpress/spc.c spc->hw.init = &init; spc 540 arch/arm/mach-vexpress/spc.c spc->cluster = topology_physical_package_id(cpu_dev->id); spc 542 arch/arm/mach-vexpress/spc.c spc->cluster = spc->cluster < 0 ? 0 : spc->cluster; spc 549 arch/arm/mach-vexpress/spc.c return devm_clk_register(cpu_dev, &spc->hw); spc 72 arch/sh/include/asm/suspend.h unsigned long spc; spc 42 arch/sh/kernel/asm-offsets.c DEFINE(SH_SLEEP_SPC, offsetof(struct sh_sleep_data, spc)); spc 60 block/partitions/sun.c unsigned long spc; spc 101 block/partitions/sun.c spc = be16_to_cpu(label->ntrks) * be16_to_cpu(label->nsect); spc 106 block/partitions/sun.c st_sector = be32_to_cpu(p->start_cylinder) * spc; spc 239 drivers/dma/imx-sdma.c u32 spc :14; spc 2893 drivers/infiniband/hw/mlx4/qp.c int spc; spc 2961 drivers/infiniband/hw/mlx4/qp.c spc = MLX4_INLINE_ALIGN - spc 2963 drivers/infiniband/hw/mlx4/qp.c if (header_size <= spc) { spc 2968 drivers/infiniband/hw/mlx4/qp.c inl->byte_count = cpu_to_be32(1 << 31 | spc); spc 2969 drivers/infiniband/hw/mlx4/qp.c memcpy(inl + 1, sqp->header_buf, spc); spc 2971 drivers/infiniband/hw/mlx4/qp.c inl = (void *) (inl + 1) + spc; spc 2972 drivers/infiniband/hw/mlx4/qp.c memcpy(inl + 1, sqp->header_buf + spc, header_size - spc); spc 2987 drivers/infiniband/hw/mlx4/qp.c inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc)); spc 3045 drivers/infiniband/hw/mlx4/qp.c int spc; spc 3254 drivers/infiniband/hw/mlx4/qp.c spc = MLX4_INLINE_ALIGN - spc 3256 drivers/infiniband/hw/mlx4/qp.c if (header_size <= spc) { spc 3261 drivers/infiniband/hw/mlx4/qp.c inl->byte_count = cpu_to_be32(1 << 31 | spc); spc 3262 drivers/infiniband/hw/mlx4/qp.c memcpy(inl + 1, sqp->header_buf, spc); spc 3264 drivers/infiniband/hw/mlx4/qp.c inl = (void *) (inl + 1) + spc; spc 3265 drivers/infiniband/hw/mlx4/qp.c memcpy(inl + 1, sqp->header_buf + spc, header_size - spc); spc 3280 drivers/infiniband/hw/mlx4/qp.c inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc)); spc 3413 drivers/infiniband/hw/mlx4/qp.c int spc; spc 3423 drivers/infiniband/hw/mlx4/qp.c spc = MLX4_INLINE_ALIGN - spc 3425 drivers/infiniband/hw/mlx4/qp.c if (sizeof (hdr) <= spc) { spc 3431 drivers/infiniband/hw/mlx4/qp.c memcpy(inl + 1, &hdr, spc); spc 3433 drivers/infiniband/hw/mlx4/qp.c inl->byte_count = cpu_to_be32(1 << 31 | spc); spc 3435 drivers/infiniband/hw/mlx4/qp.c inl = (void *) (inl + 1) + spc; spc 3436 drivers/infiniband/hw/mlx4/qp.c memcpy(inl + 1, (void *) &hdr + spc, sizeof (hdr) - spc); spc 3438 drivers/infiniband/hw/mlx4/qp.c inl->byte_count = cpu_to_be32(1 << 31 | (sizeof (hdr) - spc)); spc 656 drivers/net/ethernet/mellanox/mlx4/en_tx.c int spc = MLX4_INLINE_ALIGN - CTRL_SIZE - sizeof(*inl); spc 659 drivers/net/ethernet/mellanox/mlx4/en_tx.c if (skb->len <= spc) { spc 673 drivers/net/ethernet/mellanox/mlx4/en_tx.c inl->byte_count = cpu_to_be32(1 << 31 | spc); spc 674 drivers/net/ethernet/mellanox/mlx4/en_tx.c if (hlen <= spc) { spc 676 drivers/net/ethernet/mellanox/mlx4/en_tx.c if (hlen < spc) { spc 678 drivers/net/ethernet/mellanox/mlx4/en_tx.c fragptr, spc - hlen); spc 679 drivers/net/ethernet/mellanox/mlx4/en_tx.c fragptr += spc - hlen; spc 681 drivers/net/ethernet/mellanox/mlx4/en_tx.c inl = (void *) (inl + 1) + spc; spc 682 drivers/net/ethernet/mellanox/mlx4/en_tx.c memcpy(((void *)(inl + 1)), fragptr, skb->len - spc); spc 684 drivers/net/ethernet/mellanox/mlx4/en_tx.c skb_copy_from_linear_data(skb, inl + 1, spc); spc 685 drivers/net/ethernet/mellanox/mlx4/en_tx.c inl = (void *) (inl + 1) + spc; spc 686 drivers/net/ethernet/mellanox/mlx4/en_tx.c skb_copy_from_linear_data_offset(skb, spc, inl + 1, spc 687 drivers/net/ethernet/mellanox/mlx4/en_tx.c hlen - spc); spc 689 drivers/net/ethernet/mellanox/mlx4/en_tx.c memcpy(((void *)(inl + 1)) + hlen - spc, spc 695 drivers/net/ethernet/mellanox/mlx4/en_tx.c inl->byte_count = cpu_to_be32(1 << 31 | (skb->len - spc)); spc 378 drivers/net/ethernet/netronome/nfp/nfp_main.c int spc, i, j; spc 409 drivers/net/ethernet/netronome/nfp/nfp_main.c spc = ARRAY_SIZE(fw_name); spc 410 drivers/net/ethernet/netronome/nfp/nfp_main.c spc -= snprintf(fw_name, spc, "netronome/nic_%s", fw_model); spc 412 drivers/net/ethernet/netronome/nfp/nfp_main.c for (i = 0; spc > 0 && i < pf->eth_tbl->count; i += j) { spc 419 drivers/net/ethernet/netronome/nfp/nfp_main.c spc -= snprintf(&fw_name[ARRAY_SIZE(fw_name) - spc], spc, spc 423 drivers/net/ethernet/netronome/nfp/nfp_main.c if (spc <= 0) spc 426 drivers/net/ethernet/netronome/nfp/nfp_main.c spc -= snprintf(&fw_name[ARRAY_SIZE(fw_name) - spc], spc, ".nffw"); spc 427 drivers/net/ethernet/netronome/nfp/nfp_main.c if (spc <= 0) spc 182 drivers/nvme/host/trace.c static const char *nvme_trace_fabrics_property_set(struct trace_seq *p, u8 *spc) spc 185 drivers/nvme/host/trace.c u8 attrib = spc[0]; spc 186 drivers/nvme/host/trace.c u32 ofst = get_unaligned_le32(spc + 4); spc 187 drivers/nvme/host/trace.c u64 value = get_unaligned_le64(spc + 8); spc 195 drivers/nvme/host/trace.c static const char *nvme_trace_fabrics_connect(struct trace_seq *p, u8 *spc) spc 198 drivers/nvme/host/trace.c u16 recfmt = get_unaligned_le16(spc); spc 199 drivers/nvme/host/trace.c u16 qid = get_unaligned_le16(spc + 2); spc 200 drivers/nvme/host/trace.c u16 sqsize = get_unaligned_le16(spc + 4); spc 201 drivers/nvme/host/trace.c u8 cattr = spc[6]; spc 202 drivers/nvme/host/trace.c u32 kato = get_unaligned_le32(spc + 8); spc 210 drivers/nvme/host/trace.c static const char *nvme_trace_fabrics_property_get(struct trace_seq *p, u8 *spc) spc 213 drivers/nvme/host/trace.c u8 attrib = spc[0]; spc 214 drivers/nvme/host/trace.c u32 ofst = get_unaligned_le32(spc + 4); spc 221 drivers/nvme/host/trace.c static const char *nvme_trace_fabrics_common(struct trace_seq *p, u8 *spc) spc 225 drivers/nvme/host/trace.c trace_seq_printf(p, "specific=%*ph", 24, spc); spc 231 drivers/nvme/host/trace.c u8 fctype, u8 *spc) spc 235 drivers/nvme/host/trace.c return nvme_trace_fabrics_property_set(p, spc); spc 237 drivers/nvme/host/trace.c return nvme_trace_fabrics_connect(p, spc); spc 239 drivers/nvme/host/trace.c return nvme_trace_fabrics_property_get(p, spc); spc 241 drivers/nvme/host/trace.c return nvme_trace_fabrics_common(p, spc); spc 24 drivers/nvme/host/trace.h u8 *spc); spc 122 drivers/nvme/target/trace.c u8 *spc) spc 125 drivers/nvme/target/trace.c u8 attrib = spc[0]; spc 126 drivers/nvme/target/trace.c u32 ofst = get_unaligned_le32(spc + 4); spc 127 drivers/nvme/target/trace.c u64 value = get_unaligned_le64(spc + 8); spc 136 drivers/nvme/target/trace.c u8 *spc) spc 139 drivers/nvme/target/trace.c u16 recfmt = get_unaligned_le16(spc); spc 140 drivers/nvme/target/trace.c u16 qid = get_unaligned_le16(spc + 2); spc 141 drivers/nvme/target/trace.c u16 sqsize = get_unaligned_le16(spc + 4); spc 142 drivers/nvme/target/trace.c u8 cattr = spc[6]; spc 143 drivers/nvme/target/trace.c u32 kato = get_unaligned_le32(spc + 8); spc 152 drivers/nvme/target/trace.c u8 *spc) spc 155 drivers/nvme/target/trace.c u8 attrib = spc[0]; spc 156 drivers/nvme/target/trace.c u32 ofst = get_unaligned_le32(spc + 4); spc 163 drivers/nvme/target/trace.c static const char *nvmet_trace_fabrics_common(struct trace_seq *p, u8 *spc) spc 167 drivers/nvme/target/trace.c trace_seq_printf(p, "specific=%*ph", 24, spc); spc 173 drivers/nvme/target/trace.c u8 fctype, u8 *spc) spc 177 drivers/nvme/target/trace.c return nvmet_trace_fabrics_property_set(p, spc); spc 179 drivers/nvme/target/trace.c return nvmet_trace_fabrics_connect(p, spc); spc 181 drivers/nvme/target/trace.c return nvmet_trace_fabrics_property_get(p, spc); spc 183 drivers/nvme/target/trace.c return nvmet_trace_fabrics_common(p, spc); spc 26 drivers/nvme/target/trace.h u8 *spc); spc 53 drivers/pwm/pwm-sprd.c static u32 sprd_pwm_read(struct sprd_pwm_chip *spc, u32 hwid, u32 reg) spc 57 drivers/pwm/pwm-sprd.c return readl_relaxed(spc->base + offset); spc 60 drivers/pwm/pwm-sprd.c static void sprd_pwm_write(struct sprd_pwm_chip *spc, u32 hwid, spc 65 drivers/pwm/pwm-sprd.c writel_relaxed(val, spc->base + offset); spc 71 drivers/pwm/pwm-sprd.c struct sprd_pwm_chip *spc = spc 73 drivers/pwm/pwm-sprd.c struct sprd_pwm_chn *chn = &spc->chn[pwm->hwpwm]; spc 84 drivers/pwm/pwm-sprd.c dev_err(spc->dev, "failed to enable pwm%u clocks\n", spc 89 drivers/pwm/pwm-sprd.c val = sprd_pwm_read(spc, pwm->hwpwm, SPRD_PWM_ENABLE); spc 103 drivers/pwm/pwm-sprd.c val = sprd_pwm_read(spc, pwm->hwpwm, SPRD_PWM_PRESCALE); spc 108 drivers/pwm/pwm-sprd.c val = sprd_pwm_read(spc, pwm->hwpwm, SPRD_PWM_DUTY); spc 118 drivers/pwm/pwm-sprd.c static int sprd_pwm_config(struct sprd_pwm_chip *spc, struct pwm_device *pwm, spc 121 drivers/pwm/pwm-sprd.c struct sprd_pwm_chn *chn = &spc->chn[pwm->hwpwm]; spc 151 drivers/pwm/pwm-sprd.c sprd_pwm_write(spc, pwm->hwpwm, SPRD_PWM_PRESCALE, prescale); spc 152 drivers/pwm/pwm-sprd.c sprd_pwm_write(spc, pwm->hwpwm, SPRD_PWM_MOD, SPRD_PWM_MOD_MAX); spc 153 drivers/pwm/pwm-sprd.c sprd_pwm_write(spc, pwm->hwpwm, SPRD_PWM_DUTY, duty); spc 161 drivers/pwm/pwm-sprd.c struct sprd_pwm_chip *spc = spc 163 drivers/pwm/pwm-sprd.c struct sprd_pwm_chn *chn = &spc->chn[pwm->hwpwm]; spc 176 drivers/pwm/pwm-sprd.c dev_err(spc->dev, spc 185 drivers/pwm/pwm-sprd.c ret = sprd_pwm_config(spc, pwm, state->duty_cycle, spc 191 drivers/pwm/pwm-sprd.c sprd_pwm_write(spc, pwm->hwpwm, SPRD_PWM_ENABLE, 1); spc 198 drivers/pwm/pwm-sprd.c sprd_pwm_write(spc, pwm->hwpwm, SPRD_PWM_ENABLE, 0); spc 212 drivers/pwm/pwm-sprd.c static int sprd_pwm_clk_init(struct sprd_pwm_chip *spc) spc 218 drivers/pwm/pwm-sprd.c struct sprd_pwm_chn *chn = &spc->chn[i]; spc 225 drivers/pwm/pwm-sprd.c ret = devm_clk_bulk_get(spc->dev, SPRD_PWM_CHN_CLKS_NUM, spc 232 drivers/pwm/pwm-sprd.c dev_err(spc->dev, spc 243 drivers/pwm/pwm-sprd.c dev_err(spc->dev, "no available PWM channels\n"); spc 247 drivers/pwm/pwm-sprd.c spc->num_pwms = i; spc 254 drivers/pwm/pwm-sprd.c struct sprd_pwm_chip *spc; spc 257 drivers/pwm/pwm-sprd.c spc = devm_kzalloc(&pdev->dev, sizeof(*spc), GFP_KERNEL); spc 258 drivers/pwm/pwm-sprd.c if (!spc) spc 261 drivers/pwm/pwm-sprd.c spc->base = devm_platform_ioremap_resource(pdev, 0); spc 262 drivers/pwm/pwm-sprd.c if (IS_ERR(spc->base)) spc 263 drivers/pwm/pwm-sprd.c return PTR_ERR(spc->base); spc 265 drivers/pwm/pwm-sprd.c spc->dev = &pdev->dev; spc 266 drivers/pwm/pwm-sprd.c platform_set_drvdata(pdev, spc); spc 268 drivers/pwm/pwm-sprd.c ret = sprd_pwm_clk_init(spc); spc 272 drivers/pwm/pwm-sprd.c spc->chip.dev = &pdev->dev; spc 273 drivers/pwm/pwm-sprd.c spc->chip.ops = &sprd_pwm_ops; spc 274 drivers/pwm/pwm-sprd.c spc->chip.base = -1; spc 275 drivers/pwm/pwm-sprd.c spc->chip.npwm = spc->num_pwms; spc 277 drivers/pwm/pwm-sprd.c ret = pwmchip_add(&spc->chip); spc 286 drivers/pwm/pwm-sprd.c struct sprd_pwm_chip *spc = platform_get_drvdata(pdev); spc 288 drivers/pwm/pwm-sprd.c return pwmchip_remove(&spc->chip); spc 192 drivers/tty/vt/selection.c int new_sel_start, new_sel_end, spc; spc 239 drivers/tty/vt/selection.c spc = isspace(sel_pos(ps)); spc 242 drivers/tty/vt/selection.c if ((spc && !isspace(sel_pos(ps))) || spc 243 drivers/tty/vt/selection.c (!spc && !inword(sel_pos(ps)))) spc 249 drivers/tty/vt/selection.c spc = isspace(sel_pos(pe)); spc 252 drivers/tty/vt/selection.c if ((spc && !isspace(sel_pos(pe))) || spc 253 drivers/tty/vt/selection.c (!spc && !inword(sel_pos(pe)))) spc 645 fs/ubifs/debug.c int i, spc, dark = 0, dead = 0; spc 649 fs/ubifs/debug.c spc = lp->free + lp->dirty; spc 650 fs/ubifs/debug.c if (spc < c->dead_wm) spc 651 fs/ubifs/debug.c dead = spc; spc 653 fs/ubifs/debug.c dark = ubifs_calc_dark(c, spc); spc 657 fs/ubifs/debug.c lp->lnum, lp->free, lp->dirty, c->leb_size - spc, spc, spc 661 fs/ubifs/debug.c lp->lnum, lp->free, lp->dirty, c->leb_size - spc, spc, spc 662 fs/ubifs/debug.c dark, dead, (int)(spc / UBIFS_MAX_NODE_SZ), lp->flags); spc 467 fs/ubifs/lprops.c int ubifs_calc_dark(const struct ubifs_info *c, int spc) spc 469 fs/ubifs/lprops.c ubifs_assert(c, !(spc & 7)); spc 471 fs/ubifs/lprops.c if (spc < c->dark_wm) spc 472 fs/ubifs/lprops.c return spc; spc 479 fs/ubifs/lprops.c if (spc - c->dark_wm < MIN_WRITE_SZ) spc 480 fs/ubifs/lprops.c return spc - MIN_WRITE_SZ; spc 1217 fs/ubifs/lprops.c int spc = free + dirty; spc 1219 fs/ubifs/lprops.c if (spc < c->dead_wm) spc 1220 fs/ubifs/lprops.c lst->total_dead += spc; spc 1222 fs/ubifs/lprops.c lst->total_dark += ubifs_calc_dark(c, spc); spc 1987 fs/ubifs/ubifs.h int ubifs_calc_dark(const struct ubifs_info *c, int spc); spc 49 fs/xfs/scrub/parent.c struct xchk_parent_ctx *spc; spc 51 fs/xfs/scrub/parent.c spc = container_of(dc, struct xchk_parent_ctx, dc); spc 52 fs/xfs/scrub/parent.c if (spc->ino == ino) spc 53 fs/xfs/scrub/parent.c spc->nlink++; spc 64 fs/xfs/scrub/parent.c struct xchk_parent_ctx spc = { spc 97 fs/xfs/scrub/parent.c error = xfs_readdir(sc->tp, parent, &spc.dc, bufsize); spc 100 fs/xfs/scrub/parent.c if (oldpos == spc.dc.pos) spc 102 fs/xfs/scrub/parent.c oldpos = spc.dc.pos; spc 104 fs/xfs/scrub/parent.c *nlink = spc.nlink; spc 247 net/sctp/ulpevent.c struct sctp_paddr_change *spc; spc 256 net/sctp/ulpevent.c spc = skb_put(skb, sizeof(struct sctp_paddr_change)); spc 265 net/sctp/ulpevent.c spc->spc_type = SCTP_PEER_ADDR_CHANGE; spc 275 net/sctp/ulpevent.c spc->spc_length = sizeof(struct sctp_paddr_change); spc 283 net/sctp/ulpevent.c spc->spc_flags = 0; spc 293 net/sctp/ulpevent.c spc->spc_state = state; spc 304 net/sctp/ulpevent.c spc->spc_error = error; spc 316 net/sctp/ulpevent.c spc->spc_assoc_id = sctp_assoc2id(asoc); spc 326 net/sctp/ulpevent.c memcpy(&spc->spc_aaddr, aaddr, sizeof(struct sockaddr_storage)); spc 331 net/sctp/ulpevent.c (union sctp_addr *)&spc->spc_aaddr); spc 1108 net/xfrm/xfrm_user.c struct xfrmu_spdinfo spc; spc 1123 net/xfrm/xfrm_user.c spc.incnt = si.incnt; spc 1124 net/xfrm/xfrm_user.c spc.outcnt = si.outcnt; spc 1125 net/xfrm/xfrm_user.c spc.fwdcnt = si.fwdcnt; spc 1126 net/xfrm/xfrm_user.c spc.inscnt = si.inscnt; spc 1127 net/xfrm/xfrm_user.c spc.outscnt = si.outscnt; spc 1128 net/xfrm/xfrm_user.c spc.fwdscnt = si.fwdscnt; spc 1141 net/xfrm/xfrm_user.c err = nla_put(skb, XFRMA_SPD_INFO, sizeof(spc), &spc); spc 35 sound/soc/codecs/cs42l52.c u8 spc, format, spfs; spc 32 sound/soc/codecs/cs42l73.c u8 spc, mmcc, spfs; spc 939 sound/soc/codecs/cs42l73.c u8 spc, mmcc; spc 941 sound/soc/codecs/cs42l73.c spc = snd_soc_component_read32(component, CS42L73_SPC(id)); spc 962 sound/soc/codecs/cs42l73.c spc &= ~CS42L73_SPDIF_PCM; spc 976 sound/soc/codecs/cs42l73.c spc |= CS42L73_SPDIF_PCM; spc 982 sound/soc/codecs/cs42l73.c if (spc & CS42L73_SPDIF_PCM) { spc 984 sound/soc/codecs/cs42l73.c spc &= ~(CS42L73_PCM_MODE_MASK | CS42L73_PCM_BIT_ORDER); spc 988 sound/soc/codecs/cs42l73.c spc |= CS42L73_PCM_MODE0; spc 990 sound/soc/codecs/cs42l73.c spc |= CS42L73_PCM_MODE1; spc 994 sound/soc/codecs/cs42l73.c spc |= CS42L73_PCM_MODE1; spc 1001 sound/soc/codecs/cs42l73.c priv->config[id].spc = spc; spc 1070 sound/soc/codecs/cs42l73.c priv->config[id].spc &= 0xFC; spc 1073 sound/soc/codecs/cs42l73.c priv->config[id].spc |= CS42L73_MCK_SCLK_64FS; spc 1075 sound/soc/codecs/cs42l73.c priv->config[id].spc |= CS42L73_MCK_SCLK_MCLK; spc 1078 sound/soc/codecs/cs42l73.c priv->config[id].spc &= 0xFC; spc 1079 sound/soc/codecs/cs42l73.c priv->config[id].spc |= CS42L73_MCK_SCLK_64FS; spc 1084 sound/soc/codecs/cs42l73.c snd_soc_component_write(component, CS42L73_SPC(id), priv->config[id].spc);