Home
last modified time | relevance | path

Searched refs:spc (Results 1 – 25 of 56) sorted by relevance

123

/OK3568_Linux_fs/kernel/drivers/pwm/
H A Dpwm-sprd.c53 static u32 sprd_pwm_read(struct sprd_pwm_chip *spc, u32 hwid, u32 reg) in sprd_pwm_read() argument
57 return readl_relaxed(spc->base + offset); in sprd_pwm_read()
60 static void sprd_pwm_write(struct sprd_pwm_chip *spc, u32 hwid, in sprd_pwm_write() argument
65 writel_relaxed(val, spc->base + offset); in sprd_pwm_write()
71 struct sprd_pwm_chip *spc = in sprd_pwm_get_state() local
73 struct sprd_pwm_chn *chn = &spc->chn[pwm->hwpwm]; in sprd_pwm_get_state()
84 dev_err(spc->dev, "failed to enable pwm%u clocks\n", in sprd_pwm_get_state()
89 val = sprd_pwm_read(spc, pwm->hwpwm, SPRD_PWM_ENABLE); in sprd_pwm_get_state()
103 val = sprd_pwm_read(spc, pwm->hwpwm, SPRD_PWM_PRESCALE); in sprd_pwm_get_state()
108 val = sprd_pwm_read(spc, pwm->hwpwm, SPRD_PWM_DUTY); in sprd_pwm_get_state()
[all …]
/OK3568_Linux_fs/kernel/drivers/nvme/target/
H A Dtrace.c122 u8 *spc) in nvmet_trace_fabrics_property_set() argument
125 u8 attrib = spc[0]; in nvmet_trace_fabrics_property_set()
126 u32 ofst = get_unaligned_le32(spc + 4); in nvmet_trace_fabrics_property_set()
127 u64 value = get_unaligned_le64(spc + 8); in nvmet_trace_fabrics_property_set()
136 u8 *spc) in nvmet_trace_fabrics_connect() argument
139 u16 recfmt = get_unaligned_le16(spc); in nvmet_trace_fabrics_connect()
140 u16 qid = get_unaligned_le16(spc + 2); in nvmet_trace_fabrics_connect()
141 u16 sqsize = get_unaligned_le16(spc + 4); in nvmet_trace_fabrics_connect()
142 u8 cattr = spc[6]; in nvmet_trace_fabrics_connect()
143 u32 kato = get_unaligned_le32(spc + 8); in nvmet_trace_fabrics_connect()
[all …]
/OK3568_Linux_fs/kernel/arch/parisc/kernel/
H A Dentry.S46 .macro space_to_prot spc prot
47 depd,z \spc,62,31,\prot
50 .macro space_to_prot spc prot
51 extrd,u \spc,(64 - (SPACEID_SHIFT)),32,\prot
185 spc = r24 /* space for which the trap occurred */ define
195 mfctl %pcsq, spc
208 mfctl %pcsq, spc
226 mfctl %isr,spc
240 mfctl %isr,spc
258 mfctl %isr, spc
[all …]
/OK3568_Linux_fs/u-boot/drivers/bios_emulator/include/x86emu/
H A Dregs.h147 #define R_SP spc.SP.I16_reg.x_reg
148 #define R_BP spc.BP.I16_reg.x_reg
149 #define R_SI spc.SI.I16_reg.x_reg
150 #define R_DI spc.DI.I16_reg.x_reg
151 #define R_IP spc.IP.I16_reg.x_reg
152 #define R_FLG spc.FLAGS
155 #define R_SP spc.SP.I16_reg.x_reg
156 #define R_BP spc.BP.I16_reg.x_reg
157 #define R_SI spc.SI.I16_reg.x_reg
158 #define R_DI spc.DI.I16_reg.x_reg
[all …]
/OK3568_Linux_fs/kernel/drivers/nvme/host/
H A Dtrace.c182 static const char *nvme_trace_fabrics_property_set(struct trace_seq *p, u8 *spc) in nvme_trace_fabrics_property_set() argument
185 u8 attrib = spc[0]; in nvme_trace_fabrics_property_set()
186 u32 ofst = get_unaligned_le32(spc + 4); in nvme_trace_fabrics_property_set()
187 u64 value = get_unaligned_le64(spc + 8); in nvme_trace_fabrics_property_set()
195 static const char *nvme_trace_fabrics_connect(struct trace_seq *p, u8 *spc) in nvme_trace_fabrics_connect() argument
198 u16 recfmt = get_unaligned_le16(spc); in nvme_trace_fabrics_connect()
199 u16 qid = get_unaligned_le16(spc + 2); in nvme_trace_fabrics_connect()
200 u16 sqsize = get_unaligned_le16(spc + 4); in nvme_trace_fabrics_connect()
201 u8 cattr = spc[6]; in nvme_trace_fabrics_connect()
202 u32 kato = get_unaligned_le32(spc + 8); in nvme_trace_fabrics_connect()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/x86emu/x86emu/
H A Dregs.h153 #define R_SP spc.SP.I16_reg.x_reg
154 #define R_BP spc.BP.I16_reg.x_reg
155 #define R_SI spc.SI.I16_reg.x_reg
156 #define R_DI spc.DI.I16_reg.x_reg
157 #define R_IP spc.IP.I16_reg.x_reg
158 #define R_FLG spc.FLAGS
161 #define R_ESP spc.SP.I32_reg.e_reg
162 #define R_EBP spc.BP.I32_reg.e_reg
163 #define R_ESI spc.SI.I32_reg.e_reg
164 #define R_EDI spc.DI.I32_reg.e_reg
[all …]
/OK3568_Linux_fs/kernel/fs/xfs/scrub/
H A Dparent.c51 struct xchk_parent_ctx *spc; in xchk_parent_actor() local
54 spc = container_of(dc, struct xchk_parent_ctx, dc); in xchk_parent_actor()
55 if (spc->ino == ino) in xchk_parent_actor()
56 spc->nlink++; in xchk_parent_actor()
63 if (xchk_should_terminate(spc->sc, &error)) in xchk_parent_actor()
64 spc->cancelled = true; in xchk_parent_actor()
76 struct xchk_parent_ctx spc = { in xchk_parent_count_parent_dentries() local
108 error = xfs_readdir(sc->tp, parent, &spc.dc, bufsize); in xchk_parent_count_parent_dentries()
111 if (spc.cancelled) { in xchk_parent_count_parent_dentries()
115 if (oldpos == spc.dc.pos) in xchk_parent_count_parent_dentries()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/mach-vexpress/
H A Dspc.c495 #define to_clk_spc(spc) container_of(spc, struct clk_spc, hw) argument
499 struct clk_spc *spc = to_clk_spc(hw); in spc_recalc_rate() local
502 if (ve_spc_get_performance(spc->cluster, &freq)) in spc_recalc_rate()
511 struct clk_spc *spc = to_clk_spc(hw); in spc_round_rate() local
513 return ve_spc_round_performance(spc->cluster, drate); in spc_round_rate()
519 struct clk_spc *spc = to_clk_spc(hw); in spc_set_rate() local
521 return ve_spc_set_performance(spc->cluster, rate / 1000); in spc_set_rate()
533 struct clk_spc *spc; in ve_spc_clk_register() local
535 spc = kzalloc(sizeof(*spc), GFP_KERNEL); in ve_spc_clk_register()
536 if (!spc) in ve_spc_clk_register()
[all …]
H A DMakefile12 obj-$(CONFIG_ARCH_VEXPRESS_SPC) += spc.o
/OK3568_Linux_fs/u-boot/drivers/video/
H A Dstb_truetype.h521 STBTT_DEF int stbtt_PackBegin(stbtt_pack_context *spc, unsigned char *pixels, int width, int heigh…
532 STBTT_DEF void stbtt_PackEnd (stbtt_pack_context *spc);
537 STBTT_DEF int stbtt_PackFontRange(stbtt_pack_context *spc, unsigned char *fontdata, int font_index…
562 STBTT_DEF int stbtt_PackFontRanges(stbtt_pack_context *spc, unsigned char *fontdata, int font_inde…
568 STBTT_DEF void stbtt_PackSetOversampling(stbtt_pack_context *spc, unsigned int h_oversample, unsign…
590 STBTT_DEF int stbtt_PackFontRangesGatherRects(stbtt_pack_context *spc, stbtt_fontinfo *info, stbtt…
591 STBTT_DEF void stbtt_PackFontRangesPackRects(stbtt_pack_context *spc, stbrp_rect *rects, int num_re…
592 STBTT_DEF int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context *spc, stbtt_fontinfo *info, s…
2663 STBTT_DEF int stbtt_PackBegin(stbtt_pack_context *spc, unsigned char *pixels, int pw, int ph, int s… in stbtt_PackBegin() argument
2675 spc->user_allocator_context = alloc_context; in stbtt_PackBegin()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dcs42l73.c32 u8 spc, mmcc, spfs; member
939 u8 spc, mmcc; in cs42l73_set_dai_fmt() local
941 spc = snd_soc_component_read(component, CS42L73_SPC(id)); in cs42l73_set_dai_fmt()
962 spc &= ~CS42L73_SPDIF_PCM; in cs42l73_set_dai_fmt()
976 spc |= CS42L73_SPDIF_PCM; in cs42l73_set_dai_fmt()
982 if (spc & CS42L73_SPDIF_PCM) { in cs42l73_set_dai_fmt()
984 spc &= ~(CS42L73_PCM_MODE_MASK | CS42L73_PCM_BIT_ORDER); in cs42l73_set_dai_fmt()
988 spc |= CS42L73_PCM_MODE0; in cs42l73_set_dai_fmt()
990 spc |= CS42L73_PCM_MODE1; in cs42l73_set_dai_fmt()
994 spc |= CS42L73_PCM_MODE1; in cs42l73_set_dai_fmt()
[all …]
H A Des8396.c178 u8 spc, mmcc, spfs; member
2300 u8 spc, mmcc; in es8396_set_dai_fmt() local
2304 spc = snd_soc_component_read(component, ES8396_SDP1_IN_FMT_REG1F) & 0x3f; in es8396_set_dai_fmt()
2308 spc = snd_soc_component_read(component, ES8396_SDP2_IN_FMT_REG22) & 0x3f; in es8396_set_dai_fmt()
2312 spc = snd_soc_component_read(component, ES8396_SDP3_IN_FMT_REG24) & 0x3f; in es8396_set_dai_fmt()
2344 spc &= 0xC7; in es8396_set_dai_fmt()
2346 spc |= 0x00; in es8396_set_dai_fmt()
2349 spc &= 0xC7; in es8396_set_dai_fmt()
2350 spc |= 0x18; /* lrck polarity normal */ in es8396_set_dai_fmt()
2354 spc &= 0xC7; in es8396_set_dai_fmt()
[all …]
/OK3568_Linux_fs/kernel/drivers/tty/vt/
H A Dselection.c232 int new_sel_start, new_sel_end, spc; in vc_do_selection() local
241 spc = isspace(sel_pos(ps, unicode)); in vc_do_selection()
243 if ((spc && !isspace(sel_pos(ps, unicode))) || in vc_do_selection()
244 (!spc && !inword(sel_pos(ps, unicode)))) in vc_do_selection()
251 spc = isspace(sel_pos(pe, unicode)); in vc_do_selection()
253 if ((spc && !isspace(sel_pos(pe, unicode))) || in vc_do_selection()
254 (!spc && !inword(sel_pos(pe, unicode)))) in vc_do_selection()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/
H A Dnfp_main.c376 int spc, i, j; in nfp_net_fw_find() local
407 spc = ARRAY_SIZE(fw_name); in nfp_net_fw_find()
408 spc -= snprintf(fw_name, spc, "netronome/nic_%s", fw_model); in nfp_net_fw_find()
410 for (i = 0; spc > 0 && i < pf->eth_tbl->count; i += j) { in nfp_net_fw_find()
417 spc -= snprintf(&fw_name[ARRAY_SIZE(fw_name) - spc], spc, in nfp_net_fw_find()
421 if (spc <= 0) in nfp_net_fw_find()
424 spc -= snprintf(&fw_name[ARRAY_SIZE(fw_name) - spc], spc, ".nffw"); in nfp_net_fw_find()
425 if (spc <= 0) in nfp_net_fw_find()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Ddump-context.h60 gimple *gs, int spc);
65 gimple *gs, int spc);
69 gimple *gs, int spc);
75 int spc);
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Ddump-context.h60 gimple *gs, int spc);
65 gimple *gs, int spc);
69 gimple *gs, int spc);
75 int spc);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c682 int spc = MLX4_INLINE_ALIGN - CTRL_SIZE - sizeof(*inl); in build_inline_wqe() local
685 if (skb->len <= spc) { in build_inline_wqe()
699 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe()
700 if (hlen <= spc) { in build_inline_wqe()
702 if (hlen < spc) { in build_inline_wqe()
704 fragptr, spc - hlen); in build_inline_wqe()
705 fragptr += spc - hlen; in build_inline_wqe()
707 inl = (void *) (inl + 1) + spc; in build_inline_wqe()
708 memcpy(((void *)(inl + 1)), fragptr, skb->len - spc); in build_inline_wqe()
710 skb_copy_from_linear_data(skb, inl + 1, spc); in build_inline_wqe()
[all …]
/OK3568_Linux_fs/kernel/block/partitions/
H A Dsun.c67 unsigned long spc; in sun_partition() local
108 spc = be16_to_cpu(label->ntrks) * be16_to_cpu(label->nsect); in sun_partition()
113 st_sector = be32_to_cpu(p->start_cylinder) * spc; in sun_partition()
/OK3568_Linux_fs/kernel/net/sctp/
H A Dulpevent.c247 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()
/OK3568_Linux_fs/u-boot/fs/ubifs/
H A Dlprops.c473 int ubifs_calc_dark(const struct ubifs_info *c, int spc) in ubifs_calc_dark() argument
475 ubifs_assert(!(spc & 7)); in ubifs_calc_dark()
477 if (spc < c->dark_wm) in ubifs_calc_dark()
478 return spc; in ubifs_calc_dark()
485 if (spc - c->dark_wm < MIN_WRITE_SZ) in ubifs_calc_dark()
486 return spc - MIN_WRITE_SZ; in ubifs_calc_dark()
1223 int spc = free + dirty; in scan_check_cb() local
1225 if (spc < c->dead_wm) in scan_check_cb()
1226 lst->total_dead += spc; in scan_check_cb()
1228 lst->total_dark += ubifs_calc_dark(c, spc); in scan_check_cb()
/OK3568_Linux_fs/kernel/fs/ubifs/
H A Dlprops.c467 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()
1217 int spc = free + dirty; in scan_check_cb() local
1219 if (spc < c->dead_wm) in scan_check_cb()
1220 lst->total_dead += spc; in scan_check_cb()
1222 lst->total_dark += ubifs_calc_dark(c, spc); in scan_check_cb()
/OK3568_Linux_fs/kernel/arch/sh/kernel/cpu/sh3/
H A Dentry.S210 ! - restore spc, pr*, ssr, gbr, mach, macl, skip default tra
240 ldc.l @r15+, spc
315 stc spc, k1
323 ldc k0, spc ! PC = saved r0 + r15 - 2
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx4/
H A Dqp.c2834 int spc; in build_sriov_qp0_header() local
2902 spc = MLX4_INLINE_ALIGN - in build_sriov_qp0_header()
2904 if (header_size <= spc) { in build_sriov_qp0_header()
2909 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_sriov_qp0_header()
2910 memcpy(inl + 1, sqp->header_buf, spc); in build_sriov_qp0_header()
2912 inl = (void *) (inl + 1) + spc; in build_sriov_qp0_header()
2913 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc); in build_sriov_qp0_header()
2928 inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc)); in build_sriov_qp0_header()
2987 int spc; in build_mlx_header() local
3206 spc = MLX4_INLINE_ALIGN - in build_mlx_header()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/msm/
H A Dqcom,idle-state.txt67 "qcom,idle-state-spc",
76 CPU_SPC: spc {
77 compatible = "qcom,idle-state-spc", "arm,idle-state";
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dimx258_eeprom_head.h51 u8 spc[126]; member

123