| /linux/drivers/pwm/ |
| H A D | pwm-sprd.c | 56 static u32 sprd_pwm_read(struct sprd_pwm_chip *spc, u32 hwid, u32 reg) in sprd_pwm_read() argument 60 return readl_relaxed(spc->base + offset); in sprd_pwm_read() 63 static void sprd_pwm_write(struct sprd_pwm_chip *spc, u32 hwid, in sprd_pwm_write() argument 68 writel_relaxed(val, spc->base + offset); in sprd_pwm_write() 74 struct sprd_pwm_chip *spc = sprd_pwm_from_chip(chip); in sprd_pwm_get_state() local 75 struct sprd_pwm_chn *chn = &spc->chn[pwm->hwpwm]; in sprd_pwm_get_state() 91 val = sprd_pwm_read(spc, pwm->hwpwm, SPRD_PWM_ENABLE); in sprd_pwm_get_state() 105 val = sprd_pwm_read(spc, pwm->hwpwm, SPRD_PWM_PRESCALE); in sprd_pwm_get_state() 110 val = sprd_pwm_read(spc, pwm->hwpwm, SPRD_PWM_DUTY); in sprd_pwm_get_state() 123 static int sprd_pwm_config(struct sprd_pwm_chip *spc, struct pwm_device *pwm, in sprd_pwm_config() argument [all …]
|
| /linux/arch/parisc/kernel/ |
| H A D | entry.S | 65 .macro space_to_prot spc prot 66 depd,z \spc,62,31,\prot 69 .macro space_to_prot spc prot 70 extrd,u \spc,(64 - (SPACEID_SHIFT)),32,\prot 177 spc = r24 /* space for which the trap occurred */ define 187 mfctl %pcsq, spc 200 mfctl %pcsq, spc 218 mfctl %isr,spc 232 mfctl %isr,spc 250 mfctl %isr, spc [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | cs42l73.c | 40 u8 spc, mmcc, spfs; member 947 u8 spc, mmcc; in cs42l73_set_dai_fmt() local 949 spc = snd_soc_component_read(component, CS42L73_SPC(id)); in cs42l73_set_dai_fmt() 970 spc &= ~CS42L73_SPDIF_PCM; in cs42l73_set_dai_fmt() 984 spc |= CS42L73_SPDIF_PCM; in cs42l73_set_dai_fmt() 990 if (spc & CS42L73_SPDIF_PCM) { in cs42l73_set_dai_fmt() 992 spc &= ~(CS42L73_PCM_MODE_MASK | CS42L73_PCM_BIT_ORDER); in cs42l73_set_dai_fmt() 996 spc |= CS42L73_PCM_MODE0; in cs42l73_set_dai_fmt() 998 spc |= CS42L73_PCM_MODE1; in cs42l73_set_dai_fmt() 1002 spc | in cs42l73_set_dai_fmt() [all...] |
| H A D | cs42l52.c | 34 u8 spc, format, spfs; member
|
| /linux/drivers/tty/vt/ |
| H A D | selection.c | 254 int new_sel_start, new_sel_end, spc; in vc_do_selection() local 263 spc = is_space_on_vt(sel_pos(ps, unicode)); in vc_do_selection() 265 if ((spc && !is_space_on_vt(sel_pos(ps, unicode))) || in vc_do_selection() 266 (!spc && !inword(sel_pos(ps, unicode)))) in vc_do_selection() 273 spc = is_space_on_vt(sel_pos(pe, unicode)); in vc_do_selection() 275 if ((spc && !is_space_on_vt(sel_pos(pe, unicode))) || in vc_do_selection() 276 (!spc && !inword(sel_pos(pe, unicode)))) in vc_do_selection()
|
| /linux/block/partitions/ |
| H A D | sun.c | 67 unsigned long spc; in sun_partition() local 105 spc = be16_to_cpu(label->ntrks) * be16_to_cpu(label->nsect); in sun_partition() 110 st_sector = be32_to_cpu(p->start_cylinder) * spc; in sun_partition()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_tx.c | 693 int spc = MLX4_INLINE_ALIGN - CTRL_SIZE - sizeof(*inl); in build_inline_wqe() local 696 if (skb->len <= spc) { in build_inline_wqe() 710 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe() 711 if (hlen <= spc) { in build_inline_wqe() 713 if (hlen < spc) { in build_inline_wqe() 715 fragptr, spc - hlen); in build_inline_wqe() 716 fragptr += spc - hlen; in build_inline_wqe() 718 inl = (void *)inl->data + spc; in build_inline_wqe() 719 memcpy(inl->data, fragptr, skb->len - spc); in build_inline_wqe() 721 skb_copy_from_linear_data(skb, inl->data, spc); in build_inline_wqe() [all …]
|
| /linux/net/sctp/ |
| H A D | ulpevent.c | 247 struct sctp_paddr_change *spc; in sctp_ulpevent_make_peer_addr_change() local 256 spc = skb_put(skb, sizeof(struct sctp_paddr_change)); in sctp_ulpevent_make_peer_addr_change() 265 spc->spc_type = SCTP_PEER_ADDR_CHANGE; in sctp_ulpevent_make_peer_addr_change() 275 spc->spc_length = sizeof(struct sctp_paddr_change); in sctp_ulpevent_make_peer_addr_change() 283 spc->spc_flags = 0; in sctp_ulpevent_make_peer_addr_change() 293 spc->spc_state = state; in sctp_ulpevent_make_peer_addr_change() 304 spc->spc_error = error; in sctp_ulpevent_make_peer_addr_change() 316 spc->spc_assoc_id = sctp_assoc2id(asoc); in sctp_ulpevent_make_peer_addr_change() 326 memcpy(&spc->spc_aaddr, aaddr, sizeof(struct sockaddr_storage)); in sctp_ulpevent_make_peer_addr_change() 331 (union sctp_addr *)&spc->spc_aaddr); in sctp_ulpevent_make_peer_addr_change()
|
| /linux/fs/xfs/scrub/ |
| H A D | parent.c | 66 struct xchk_parent_ctx *spc = priv; in xchk_parent_actor() local 76 spc->nlink++; in xchk_parent_actor() 78 if (xchk_should_terminate(spc->sc, &error)) in xchk_parent_actor() 117 struct xchk_parent_ctx spc = { in xchk_parent_validate() local 203 error = xchk_dir_walk(sc, dp, xchk_parent_actor, &spc); in xchk_parent_validate() 211 if (spc.nlink != expected_nlink) in xchk_parent_validate()
|
| /linux/fs/ubifs/ |
| H A D | lprops.c | 467 int ubifs_calc_dark(const struct ubifs_info *c, int spc) in ubifs_calc_dark() argument 469 ubifs_assert(c, !(spc & 7)); in ubifs_calc_dark() 471 if (spc < c->dark_wm) in ubifs_calc_dark() 472 return spc; in ubifs_calc_dark() 479 if (spc - c->dark_wm < MIN_WRITE_SZ) in ubifs_calc_dark() 480 return spc - MIN_WRITE_SZ; in ubifs_calc_dark() 1218 int spc = free + dirty; in scan_check_cb() local 1220 if (spc < c->dead_wm) in scan_check_cb() 1221 lst->total_dead += spc; in scan_check_cb() 1223 lst->total_dark += ubifs_calc_dark(c, spc); in scan_check_cb()
|
| H A D | debug.c | 682 int i, spc, dark = 0, dead = 0; in ubifs_dump_lprop() local 686 spc = lp->free + lp->dirty; in ubifs_dump_lprop() 687 if (spc < c->dead_wm) in ubifs_dump_lprop() 688 dead = spc; in ubifs_dump_lprop() 690 dark = ubifs_calc_dark(c, spc); in ubifs_dump_lprop() 694 lp->lnum, lp->free, lp->dirty, c->leb_size - spc, spc, in ubifs_dump_lprop() 698 lp->lnum, lp->free, lp->dirty, c->leb_size - spc, spc, in ubifs_dump_lprop() 699 dark, dead, (int)(spc / UBIFS_MAX_NODE_SZ), lp->flags); in ubifs_dump_lprop()
|
| H A D | ubifs.h | 2015 int ubifs_calc_dark(const struct ubifs_info *c, int spc);
|
| /linux/arch/sh/kernel/cpu/sh3/ |
| H A D | entry.S | 209 ! - restore spc, pr*, ssr, gbr, mach, macl, skip default tra 239 ldc.l @r15+, spc 314 stc spc, k1 322 ldc k0, spc ! PC = saved r0 + r15 - 2
|
| H A D | swsusp.S | 100 ldc r1, spc ! setup pc value for resuming
|
| /linux/arch/sh/include/asm/ |
| H A D | suspend.h | 72 unsigned long spc; member
|
| /linux/arch/arm/mach-versatile/ |
| H A D | Makefile | 19 obj-$(CONFIG_ARCH_VEXPRESS_SPC) += spc.o
|
| /linux/arch/sh/kernel/ |
| H A D | relocate_kernel.S | 41 stc.l spc, @-r15 126 ldc.l @r15+, spc
|
| H A D | asm-offsets.c | 43 DEFINE(SH_SLEEP_SPC, offsetof(struct sh_sleep_data, spc)); in main()
|
| /linux/drivers/nvme/target/ |
| H A D | trace.h | 26 u8 *spc);
|
| /linux/drivers/nvme/host/ |
| H A D | trace.h | 24 u8 *spc);
|
| /linux/drivers/cpufreq/ |
| H A D | Makefile | 91 obj-$(CONFIG_ARM_VEXPRESS_SPC_CPUFREQ) += vexpress-spc-cpufreq.o
|
| /linux/net/xfrm/ |
| H A D | xfrm_user.c | 1609 struct xfrmu_spdinfo spc; in build_spdinfo() local 1624 spc.incnt = si.incnt; in build_spdinfo() 1625 spc.outcnt = si.outcnt; in build_spdinfo() 1626 spc.fwdcnt = si.fwdcnt; in build_spdinfo() 1627 spc.inscnt = si.inscnt; in build_spdinfo() 1628 spc.outscnt = si.outscnt; in build_spdinfo() 1629 spc.fwdscnt = si.fwdscnt; in build_spdinfo() 1642 err = nla_put(skb, XFRMA_SPD_INFO, sizeof(spc), &spc); in build_spdinfo()
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-apq8084.dtsi | 82 cpu_spc: cpu-spc { 83 compatible = "qcom,idle-state-spc",
|
| H A D | qcom-msm8974.dtsi | 91 cpu_spc: cpu-spc { 92 compatible = "qcom,idle-state-spc",
|
| /linux/arch/sh/kernel/cpu/shmobile/ |
| H A D | sleep.S | 265 ldc r0, spc
|