Home
last modified time | relevance | path

Searched full:spc (Results 1 – 25 of 94) sorted by relevance

1234

/linux/drivers/pwm/
H A Dpwm-sprd.c56 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 Dentry.S65 .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/drivers/target/
H A Dtarget_core_pr.c5 * This file contains SPC-3 compliant persistent reservations and
6 * legacy SPC-2 reservations with compatible reservation handling (CRH=1)
131 * From spc4r17 5.7.3 Exceptions to SPC-2 RESERVE and RELEASE in target_check_scsi2_reservation_conflict()
149 * as defined in SPC-2. in target_check_scsi2_reservation_conflict()
181 pr_err("Received legacy SPC-2 RESERVE/RELEASE" in target_check_scsi2_reservation_conflict()
182 " while active SPC-3 registrations exist," in target_check_scsi2_reservation_conflict()
306 * Begin SPC-3/SPC-4 Persistent Reservations emulation support
887 pr_debug("SPC-3 PR APTPL Successfully added registration%s from" in core_scsi3_alloc_aptpl_registration()
906 pr_debug("SPC-3 PR [%s] Service Action: APTPL RESERVE created" in core_scsi3_aptpl_reserve()
911 pr_debug("SPC-3 PR [%s] RESERVE Node: %s%s\n", in core_scsi3_aptpl_reserve()
[all …]
H A Dtarget_core_tmr.c5 * This file contains SPC-3 task management infrastructure
255 * A quote from SPC-4, paragraph "7.5.10 Control mode page":
287 * the Control mode page (see SPC-4). "No" indicates that no status is in core_tmr_drain_state_list()
411 * Clear any legacy SPC-2 reservation when called during in core_tmr_lun_reset()
/linux/Documentation/admin-guide/media/
H A Dgspca-cardlist.rst125 zc3xx 0471:0325 Philips SPC 200 NC
126 zc3xx 0471:0326 Philips SPC 300 NC
127 sonixj 0471:0327 Philips SPC 600 NC
128 sonixj 0471:0328 Philips SPC 700 NC
129 zc3xx 0471:032d Philips SPC 210 NC
130 zc3xx 0471:032e Philips SPC 315 NC
131 sonixj 0471:0330 Philips SPC 710 NC
285 pac207 093a:2463 Philips SPC 220 NC
294 pac7311 093a:2601 Philips SPC 610 NC
295 pac7311 093a:2603 Philips SPC 500 NC
[all …]
H A Dother-usb-cardlist.rst55 pwc Philips SPC 900NC 0471:0329
56 pwc Philips SPC 880NC 0471:032C
/linux/arch/sh/kernel/cpu/sh3/
H A Dentry.S44 * spc
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
379 ! - save default tra, macl, mach, gbr, ssr, pr* and spc on the stack
397 stc.l spc, @-r15
/linux/sound/soc/codecs/
H A Dcs42l73.c40 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 |= CS42L73_PCM_MODE1; in cs42l73_set_dai_fmt()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c693 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/drivers/scsi/device_handler/
H A DKconfig36 tristate "SPC-3 ALUA Device Handler"
39 SCSI Device handler for generic SPC-3 Asymmetric Logical Unit
/linux/Documentation/block/
H A Dpr.rst18 These behaviors are optional in SPC but will be automatically applied
46 Please reference the SPC spec on the meaning of a reservation
53 Please reference the SPC spec on the meaning of a reservation
/linux/block/partitions/
H A Dsun.c67 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/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()
/linux/drivers/accessibility/speakup/
H A Dspeakup_decpc.c40 #define STAT_digitized 0x0020 /* spc in digitized mode */
61 #define CTRL_pause 0x0400 /* pause spc */
62 #define CTRL_resume 0x0500 /* resume spc clock */
63 #define CTRL_resume_spc 0x0001 /* resume spc soft pause */
101 #define CMD_spc_mode 0x9000 /* change spc mode */
104 #define CMD_spc_rate 0x0400 /* change spc data rate */
/linux/drivers/scsi/
H A Dconstants.c6 * Additions for SCSI 3+ (SPC-3 T10/1416-D Rev 07 3 May 2002)
8 * Updated to SPC-4 T10/1713-D Rev 36g, D. Gilbert 20130701
179 /* SPC-4 rev 34 renamed the Extended Copy opcode to Third Party Copy Out.
180 LID1 (List Identifier length: 1 byte) is the Extended Copy found in SPC-2
181 and SPC-3 */
355 reserved in SPC-4 rev 36 */
/linux/fs/ubifs/
H A Dlprops.c458 * @spc: amount of free and dirty space in the LEB
461 * has @spc bytes of free and dirty space.
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()
[all …]
/linux/arch/arm/mach-versatile/
H A Dtc2_pm.c27 #include "spc.h"
231 * with the SPC (power controller). We need to be able to in tc2_pm_init()
233 * processors, so we initialize the SPC driver here. in tc2_pm_init()
H A DKconfig282 bool "Versatile Express Serial Power Controller (SPC)"
286 block called Serial Power Controller (SPC) that provides the interface
/linux/drivers/input/misc/
H A Datlas_btns.c101 pr_err("error installing addr spc handler\n"); in atlas_acpi_button_add()
116 pr_err("error removing addr spc handler\n"); in atlas_acpi_button_remove()
/linux/include/target/
H A Dtarget_core_base.h98 /* Force SPC-3 PR Activate Persistence across Target Power Loss */
827 /* Used for SPC-2 reservations enforce of ISIDs */
850 /* Used for legacy SPC-2 reservations */
854 /* Used for SPC-3 Persistent Reservations */
868 /* T10 SPC-2 + SPC-3 Reservations */
/linux/arch/sh/boot/compressed/
H A Dhead_64.S116 putcon r22, SPC
147 putcon r22, SPC
/linux/fs/xfs/scrub/
H A Dparent.c66 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/include/scsi/
H A Dscsi_proto.h97 #define READ_MEDIA_SERIAL_NUMBER 0xab /* Obsolete with SPC-2 */
260 /* SCSI protocols; these are taken from SPC-3 section 7.5 */
356 /* SPC asymmetric access states */
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mq-librem5-r3.dts2 // Copyright (C) 2021 Purism SPC <kernel@puri.sm>
H A Dimx8mq-librem5-r4.dts2 // Copyright (C) 2021 Purism SPC <kernel@puri.sm>

1234