/openbmc/linux/drivers/pwm/ |
H A D | pwm-sprd.c | 54 static u32 sprd_pwm_read(struct sprd_pwm_chip *spc, u32 hwid, u32 reg) in sprd_pwm_read() argument 58 return readl_relaxed(spc->base + offset); in sprd_pwm_read() 61 static void sprd_pwm_write(struct sprd_pwm_chip *spc, u32 hwid, in sprd_pwm_write() argument 66 writel_relaxed(val, spc->base + offset); in sprd_pwm_write() 72 struct sprd_pwm_chip *spc = in sprd_pwm_get_state() local 74 struct sprd_pwm_chn *chn = &spc->chn[pwm->hwpwm]; in sprd_pwm_get_state() 85 dev_err(spc->dev, "failed to enable pwm%u clocks\n", in sprd_pwm_get_state() 90 val = sprd_pwm_read(spc, pwm->hwpwm, SPRD_PWM_ENABLE); in sprd_pwm_get_state() 104 val = sprd_pwm_read(spc, pwm->hwpwm, SPRD_PWM_PRESCALE); in sprd_pwm_get_state() 109 val = sprd_pwm_read(spc, pwm->hwpwm, SPRD_PWM_DUTY); in sprd_pwm_get_state() [all …]
|
/openbmc/linux/drivers/nvme/host/ |
H A D | trace.c | 251 static const char *nvme_trace_fabrics_property_set(struct trace_seq *p, u8 *spc) in nvme_trace_fabrics_property_set() argument 254 u8 attrib = spc[0]; in nvme_trace_fabrics_property_set() 255 u32 ofst = get_unaligned_le32(spc + 4); in nvme_trace_fabrics_property_set() 256 u64 value = get_unaligned_le64(spc + 8); in nvme_trace_fabrics_property_set() 264 static const char *nvme_trace_fabrics_connect(struct trace_seq *p, u8 *spc) in nvme_trace_fabrics_connect() argument 267 u16 recfmt = get_unaligned_le16(spc); in nvme_trace_fabrics_connect() 268 u16 qid = get_unaligned_le16(spc + 2); in nvme_trace_fabrics_connect() 269 u16 sqsize = get_unaligned_le16(spc + 4); in nvme_trace_fabrics_connect() 270 u8 cattr = spc[6]; in nvme_trace_fabrics_connect() 271 u32 kato = get_unaligned_le32(spc + 8); in nvme_trace_fabrics_connect() [all …]
|
/openbmc/linux/drivers/nvme/target/ |
H A D | trace.c | 138 u8 *spc) in nvmet_trace_fabrics_property_set() argument 141 u8 attrib = spc[0]; in nvmet_trace_fabrics_property_set() 142 u32 ofst = get_unaligned_le32(spc + 4); in nvmet_trace_fabrics_property_set() 143 u64 value = get_unaligned_le64(spc + 8); in nvmet_trace_fabrics_property_set() 152 u8 *spc) in nvmet_trace_fabrics_connect() argument 155 u16 recfmt = get_unaligned_le16(spc); in nvmet_trace_fabrics_connect() 156 u16 qid = get_unaligned_le16(spc + 2); in nvmet_trace_fabrics_connect() 157 u16 sqsize = get_unaligned_le16(spc + 4); in nvmet_trace_fabrics_connect() 158 u8 cattr = spc[6]; in nvmet_trace_fabrics_connect() 159 u32 kato = get_unaligned_le32(spc + 8); in nvmet_trace_fabrics_connect() [all …]
|
/openbmc/u-boot/drivers/bios_emulator/include/x86emu/ |
H A D | regs.h | 147 #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 …]
|
/openbmc/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 …]
|
/openbmc/linux/arch/arm/mach-versatile/ |
H A D | spc.c | 487 #define to_clk_spc(spc) container_of(spc, struct clk_spc, hw) argument 491 struct clk_spc *spc = to_clk_spc(hw); in spc_recalc_rate() local 494 if (ve_spc_get_performance(spc->cluster, &freq)) in spc_recalc_rate() 503 struct clk_spc *spc = to_clk_spc(hw); in spc_round_rate() local 505 return ve_spc_round_performance(spc->cluster, drate); in spc_round_rate() 511 struct clk_spc *spc = to_clk_spc(hw); in spc_set_rate() local 513 return ve_spc_set_performance(spc->cluster, rate / 1000); in spc_set_rate() 525 struct clk_spc *spc; in ve_spc_clk_register() local 527 spc = kzalloc(sizeof(*spc), GFP_KERNEL); in ve_spc_clk_register() 528 if (!spc) in ve_spc_clk_register() [all …]
|
/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/bastille/files/ |
H A D | API.pm | 199 my $spc =" "; 208 "$spc Usage: bastille [ -b | -c | -x ] [ --os <version> ] [ -f <alternate config> ]\n". 209 "$spc bastille [ -r | --assess | --assessnobowser ]\n\n". 210 "$spc --assess : check status of system and report in browser\n". 211 "$spc --assessnobrowser : check status of system and list report locations\n". 212 "$spc -b : use a saved config file to apply changes\n". 213 "$spc directly to system\n". 214 "$spc -c : use the Curses (non-X11) TUI\n". 215 "$spc -f <alternate config>: populate answers with a different config file\n". 216 "$spc -r : revert all Bastille changes to-date\n". [all …]
|
H A D | edit_usage_message.patch | 27 "$spc Usage: bastille [ -b | -c | -x ] [ --os <version> ] [ -f <alternate config> ]\n". 28 - "$spc bastille [ -r | --assess | --assessnobowser ]\n\n". 29 + "$spc bastille [ -r | --assess | --assessnobowser ] [ --os <version> ]\n\n". 30 "$spc --assess : check status of system and report in browser\n". 31 "$spc --assessnobrowser : check status of system and list report locations\n". 32 "$spc -b : use a saved config file to apply changes\n".
|
/openbmc/linux/fs/xfs/scrub/ |
H A D | parent.c | 48 struct xchk_parent_ctx *spc = priv; in xchk_parent_actor() local 58 spc->nlink++; in xchk_parent_actor() 60 if (xchk_should_terminate(spc->sc, &error)) in xchk_parent_actor() 99 struct xchk_parent_ctx spc = { in xchk_parent_validate() local 160 error = xchk_dir_walk(sc, dp, xchk_parent_actor, &spc); in xchk_parent_validate() 168 if (spc.nlink != expected_nlink) in xchk_parent_validate()
|
/openbmc/u-boot/drivers/video/ |
H A D | stb_truetype.h | 521 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 …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | cs42l73.c | 33 u8 spc, mmcc, spfs; member 940 u8 spc, mmcc; in cs42l73_set_dai_fmt() local 942 spc = snd_soc_component_read(component, CS42L73_SPC(id)); in cs42l73_set_dai_fmt() 963 spc &= ~CS42L73_SPDIF_PCM; in cs42l73_set_dai_fmt() 977 spc |= CS42L73_SPDIF_PCM; in cs42l73_set_dai_fmt() 983 if (spc & CS42L73_SPDIF_PCM) { in cs42l73_set_dai_fmt() 985 spc &= ~(CS42L73_PCM_MODE_MASK | CS42L73_PCM_BIT_ORDER); in cs42l73_set_dai_fmt() 989 spc |= CS42L73_PCM_MODE0; in cs42l73_set_dai_fmt() 991 spc |= CS42L73_PCM_MODE1; in cs42l73_set_dai_fmt() 995 spc |= CS42L73_PCM_MODE1; in cs42l73_set_dai_fmt() [all …]
|
/openbmc/qemu/hw/ssi/ |
H A D | ssi.c | 78 if (s->spc->set_cs) { in ssi_cs_default() 79 s->spc->set_cs(s, cs); in ssi_cs_default() 87 SSIPeripheralClass *ssc = dev->spc; in ssi_transfer_raw_default() 106 s->spc = ssc; in ssi_peripheral_realize() 165 r |= p->spc->transfer_raw(p, val); in ssi_transfer()
|
/openbmc/linux/drivers/tty/vt/ |
H A D | selection.c | 233 int new_sel_start, new_sel_end, spc; in vc_do_selection() local 242 spc = is_space_on_vt(sel_pos(ps, unicode)); in vc_do_selection() 244 if ((spc && !is_space_on_vt(sel_pos(ps, unicode))) || in vc_do_selection() 245 (!spc && !inword(sel_pos(ps, unicode)))) in vc_do_selection() 252 spc = is_space_on_vt(sel_pos(pe, unicode)); in vc_do_selection() 254 if ((spc && !is_space_on_vt(sel_pos(pe, unicode))) || in vc_do_selection() 255 (!spc && !inword(sel_pos(pe, unicode)))) in vc_do_selection()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_main.c | 388 int spc, i, j; in nfp_net_fw_find() local 421 spc = ARRAY_SIZE(fw_name); in nfp_net_fw_find() 422 spc -= snprintf(fw_name, spc, "netronome/nic_%s", fw_model); in nfp_net_fw_find() 424 for (i = 0; spc > 0 && i < pf->eth_tbl->count; i += j) { in nfp_net_fw_find() 431 spc -= snprintf(&fw_name[ARRAY_SIZE(fw_name) - spc], spc, in nfp_net_fw_find() 435 if (spc <= 0) in nfp_net_fw_find() 438 spc -= snprintf(&fw_name[ARRAY_SIZE(fw_name) - spc], spc, ".nffw"); in nfp_net_fw_find() 439 if (spc <= 0) in nfp_net_fw_find()
|
/openbmc/linux/block/partitions/ |
H A D | sun.c | 67 unsigned long spc; in sun_partition() local 107 spc = be16_to_cpu(label->ntrks) * be16_to_cpu(label->nsect); in sun_partition() 112 st_sector = be32_to_cpu(p->start_cylinder) * spc; in sun_partition()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_tx.c | 696 int spc = MLX4_INLINE_ALIGN - CTRL_SIZE - sizeof(*inl); in build_inline_wqe() local 699 if (skb->len <= spc) { in build_inline_wqe() 713 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe() 714 if (hlen <= spc) { in build_inline_wqe() 716 if (hlen < spc) { in build_inline_wqe() 718 fragptr, spc - hlen); in build_inline_wqe() 719 fragptr += spc - hlen; in build_inline_wqe() 721 inl = (void *)inl->data + spc; in build_inline_wqe() 722 memcpy(inl->data, fragptr, skb->len - spc); in build_inline_wqe() 724 skb_copy_from_linear_data(skb, inl->data, spc); in build_inline_wqe() [all …]
|
/openbmc/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()
|
/openbmc/qemu/target/hppa/ |
H A D | cpu.h | 316 static inline target_ulong hppa_form_gva_psw(target_ulong psw, uint64_t spc, in hppa_form_gva_psw() argument 322 return spc | (off & gva_offset_mask(psw)); in hppa_form_gva_psw() 326 static inline target_ulong hppa_form_gva(CPUHPPAState *env, uint64_t spc, in hppa_form_gva() argument 329 return hppa_form_gva_psw(env->psw, spc, off); in hppa_form_gva()
|
/openbmc/qemu/target/sh4/ |
H A D | gdbstub.c | 66 return gdb_get_regl(mem_buf, env->spc); in superh_cpu_gdb_read_register() 129 env->spc = ldl_p(mem_buf); in superh_cpu_gdb_write_register()
|
/openbmc/u-boot/fs/ubifs/ |
H A D | lprops.c | 472 int ubifs_calc_dark(const struct ubifs_info *c, int spc) in ubifs_calc_dark() argument 474 ubifs_assert(!(spc & 7)); in ubifs_calc_dark() 476 if (spc < c->dark_wm) in ubifs_calc_dark() 477 return spc; in ubifs_calc_dark() 484 if (spc - c->dark_wm < MIN_WRITE_SZ) in ubifs_calc_dark() 485 return spc - MIN_WRITE_SZ; in ubifs_calc_dark() 1222 int spc = free + dirty; in scan_check_cb() local 1224 if (spc < c->dead_wm) in scan_check_cb() 1225 lst->total_dead += spc; in scan_check_cb() 1227 lst->total_dark += ubifs_calc_dark(c, spc); in scan_check_cb()
|
/openbmc/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() 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()
|
/openbmc/u-boot/cmd/ |
H A D | efidebug.c | 48 static const char spc[] = " "; variable 79 printf("Device%.*s Device Path\n", EFI_HANDLE_WIDTH - 6, spc); in do_efi_show_devices() 160 EFI_HANDLE_WIDTH - 6, spc); in do_efi_show_drivers() 287 printf("Handle%.*s Protocols\n", EFI_HANDLE_WIDTH - 6, spc); in do_efi_show_handles() 435 EFI_PHYS_ADDR_WIDTH - 5, spc, EFI_PHYS_ADDR_WIDTH - 3, spc); in do_efi_show_memmap()
|
/openbmc/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
|
/openbmc/linux/Documentation/devicetree/bindings/arm/msm/ |
H A D | qcom,idle-state.txt | 67 "qcom,idle-state-spc", 76 CPU_SPC: spc { 77 compatible = "qcom,idle-state-spc", "arm,idle-state";
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | suspend.h | 72 unsigned long spc; member
|