/linux/drivers/nvme/target/ |
H A D | trace.c | 204 u8 *spc) in nvmet_trace_fabrics_property_set() argument 207 u8 attrib = spc[0]; in nvmet_trace_fabrics_property_set() 208 u32 ofst = get_unaligned_le32(spc + 4); in nvmet_trace_fabrics_property_set() 209 u64 value = get_unaligned_le64(spc + 8); in nvmet_trace_fabrics_property_set() 218 u8 *spc) in nvmet_trace_fabrics_connect() argument 221 u16 recfmt = get_unaligned_le16(spc); in nvmet_trace_fabrics_connect() 222 u16 qid = get_unaligned_le16(spc + 2); in nvmet_trace_fabrics_connect() 223 u16 sqsize = get_unaligned_le16(spc + 4); in nvmet_trace_fabrics_connect() 224 u8 cattr = spc[6]; in nvmet_trace_fabrics_connect() 225 u32 kato = get_unaligned_le32(spc + 8); in nvmet_trace_fabrics_connect() [all …]
|
/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/drivers/nvme/host/ |
H A D | trace.c | 348 static const char *nvme_trace_fabrics_property_set(struct trace_seq *p, u8 *spc) in nvme_trace_fabrics_property_set() argument 351 u8 attrib = spc[0]; in nvme_trace_fabrics_property_set() 352 u32 ofst = get_unaligned_le32(spc + 4); in nvme_trace_fabrics_property_set() 353 u64 value = get_unaligned_le64(spc + 8); in nvme_trace_fabrics_property_set() 361 static const char *nvme_trace_fabrics_connect(struct trace_seq *p, u8 *spc) in nvme_trace_fabrics_connect() argument 364 u16 recfmt = get_unaligned_le16(spc); in nvme_trace_fabrics_connect() 365 u16 qid = get_unaligned_le16(spc + 2); in nvme_trace_fabrics_connect() 366 u16 sqsize = get_unaligned_le16(spc + 4); in nvme_trace_fabrics_connect() 367 u8 cattr = spc[6]; in nvme_trace_fabrics_connect() 368 u32 kato = get_unaligned_le32(spc + 8); in nvme_trace_fabrics_connect() [all …]
|
/linux/arch/arm/mach-versatile/ |
H A D | spc.c | 3 * Versatile Express Serial Power Controller (SPC) support 26 #include "spc.h" 28 #define SPCLOG "vexpress-spc: " 39 /* SPC wake-up IRQs status and mask */ 43 /* SPC power down registers */ 46 /* SPC per-CPU mailboxes */ 50 /* SPC CPU/cluster reset statue */ 55 /* SPC system config interface registers */ 75 * Even though the SPC takes max 3-5 ms to complete any OPP/COMMS 463 | IRQF_ONESHOT, "vexpress-spc", info); in ve_spc_init() [all …]
|
H A D | tc2_pm.c | 27 #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()
|
/linux/drivers/target/ |
H A D | target_core_pr.c | 5 * 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 D | target_core_tmr.c | 5 * 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 D | gspca-cardlist.rst | 125 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 D | other-usb-cardlist.rst | 55 pwc Philips SPC 900NC 0471:0329 56 pwc Philips SPC 880NC 0471:032C
|
/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()
|
/linux/drivers/tty/vt/ |
H A D | selection.c | 242 int new_sel_start, new_sel_end, spc; in vc_do_selection() local 251 spc = is_space_on_vt(sel_pos(ps, unicode)); in vc_do_selection() 253 if ((spc && !is_space_on_vt(sel_pos(ps, unicode))) || in vc_do_selection() 254 (!spc && !inword(sel_pos(ps, unicode)))) in vc_do_selection() 261 spc = is_space_on_vt(sel_pos(pe, unicode)); in vc_do_selection() 263 if ((spc && !is_space_on_vt(sel_pos(pe, unicode))) || in vc_do_selection() 264 (!spc && !inword(sel_pos(pe, unicode)))) in vc_do_selection()
|
/linux/arch/sh/kernel/cpu/sh3/ |
H A D | entry.S | 44 * 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 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 …]
|
/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 …]
|
/linux/drivers/scsi/device_handler/ |
H A D | Kconfig | 36 tristate "SPC-3 ALUA Device Handler" 39 SCSI Device handler for generic SPC-3 Asymmetric Logical Unit
|
/linux/drivers/cpufreq/ |
H A D | vexpress-spc-cpufreq.c | 3 * Versatile Express SPC CPUFreq Interface driver 326 * platform specific SPC code must initialise the opp table in _get_cluster_clk_and_freq_table() 465 .name = "vexpress-spc", 565 .name = "vexpress-spc-cpufreq", 572 MODULE_ALIAS("platform:vexpress-spc-cpufreq"); 575 MODULE_DESCRIPTION("Vexpress SPC ARM big LITTLE cpufreq driver");
|
/linux/Documentation/block/ |
H A D | pr.rst | 18 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 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()
|
/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/drivers/accessibility/speakup/ |
H A D | speakup_decpc.c | 40 #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 D | constants.c | 6 * 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 D | lprops.c | 458 * @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/drivers/input/misc/ |
H A D | atlas_btns.c | 101 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 D | target_core_base.h | 98 /* Force SPC-3 PR Activate Persistence across Target Power Loss */ 816 /* Used for SPC-2 reservations enforce of ISIDs */ 842 /* Used for legacy SPC-2 reservations */ 846 /* Used for SPC-3 Persistent Reservations */ 860 /* T10 SPC-2 + SPC-3 Reservations */
|