Home
last modified time | relevance | path

Searched full:kcs (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v6.6/drivers/char/ipmi/
Dipmi_kcs_sm.c5 * State machine for handling IPMI KCS interfaces.
43 /* The states the KCS driver may be in. */
45 /* The KCS interface is currently doing nothing. */
125 static unsigned int init_kcs_data_with_state(struct si_sm_data *kcs, in init_kcs_data_with_state() argument
128 kcs->state = state; in init_kcs_data_with_state()
129 kcs->io = io; in init_kcs_data_with_state()
130 kcs->write_pos = 0; in init_kcs_data_with_state()
131 kcs->write_count = 0; in init_kcs_data_with_state()
132 kcs->orig_write_count = 0; in init_kcs_data_with_state()
133 kcs->read_pos = 0; in init_kcs_data_with_state()
[all …]
DKconfig66 Provides a driver for System Interfaces (KCS, SMIC, BT).
67 Currently, only KCS and SMIC are supported. If
113 tristate "Aspeed KCS IPMI BMC driver"
115 Provides a driver for the KCS (Keyboard Controller Style) IPMI
118 The driver implements the BMC side of the KCS contorller, it
119 provides the access of KCS IO space for BMC side.
125 tristate "NPCM KCS IPMI BMC driver"
127 Provides a driver for the KCS (Keyboard Controller Style) IPMI
130 The driver implements the BMC side of the KCS contorller, it
131 provides the access of KCS IO space for BMC side.
[all …]
Dkcs_bmc_npcm7xx.c7 #define pr_fmt(fmt) "nuvoton-kcs-bmc: " fmt
22 #define DEVICE_NAME "npcm-kcs-bmc"
50 * 7.2.4 Core KCS Registers
54 * sts: KCS Channel n Status Register (KCSnST).
55 * dob: KCS Channel n Data Out Buffer Register (KCSnDO).
56 * dib: KCS Channel n Data In Buffer Register (KCSnDI).
57 * ctl: KCS Channel n Control Register (KCSnCTL).
58 * ie : KCS Channel n Interrupt Enable Register (KCSnIE).
235 { .compatible = "nuvoton,npcm750-kcs-bmc" },
253 MODULE_DESCRIPTION("NPCM7xx device interface to the KCS BMC device");
Dkcs_bmc.c120 dev_err(kcs_bmc->dev, "Failed to add chardev for KCS channel %d: %d", in kcs_bmc_add_device()
140 dev_err(kcs_bmc->dev, "Failed to remove chardev for KCS channel %d: %d", in kcs_bmc_remove_device()
157 dev_err(kcs_bmc->dev, "Failed to add driver for KCS channel %d: %d", in kcs_bmc_register_driver()
174 dev_err(kcs_bmc->dev, "Failed to remove driver for KCS channel %d: %d", in kcs_bmc_unregister_driver()
190 MODULE_DESCRIPTION("KCS BMC to handle the IPMI request from system software");
Dkcs_bmc_cdev_ipmi.c6 #define pr_fmt(fmt) "kcs-bmc: " fmt
22 /* Different phases of the KCS BMC module.
60 /* IPMI 2.0 - Table 9-4, KCS Interface Status Codes */
94 #define DEVICE_NAME "ipmi-kcs"
100 /* IPMI 2.0 - Table 9-1, KCS Interface Status Register Bits */
108 /* IPMI 2.0 - Table 9-2, KCS Interface State Bits */
116 /* IPMI 2.0 - Table 9-3, KCS Interface Control Codes */
568 MODULE_DESCRIPTION("KCS BMC to handle the IPMI request from system software");
Dipmi_si_hardcode.c36 …rated by commas. The types are 'kcs', 'smic', and 'bt'. For example si_type=kcs,bt will set the …
Dkcs_bmc_aspeed.c6 #define pr_fmt(fmt) "aspeed-kcs-bmc: " fmt
27 #define DEVICE_NAME "ast-kcs-bmc"
349 "SerIRQ configuration not supported on KCS channel %d\n", in aspeed_kcs_config_upstream_irq()
664 { .compatible = "aspeed,ast2400-kcs-bmc-v2" },
665 { .compatible = "aspeed,ast2500-kcs-bmc-v2" },
666 { .compatible = "aspeed,ast2600-kcs-bmc" },
684 MODULE_DESCRIPTION("Aspeed device interface to the KCS BMC device");
Dkcs_bmc.h18 /* IPMI 2.0 - 9.5, KCS Interface Registers
Dipmi_si_hotmod.c25 * add|remove,kcs|bt|smic,mem|i/o,<address>[,<opt1>[,<opt2>[,...]]]
46 { "kcs", SI_KCS },
Dipmi_si_sm.h7 * the ipmi_smi code (that handles the policy of a KCS, SMIC, or
Dipmi_si_pci.c56 * as a KCS device by the class, but it is not one.
Dkcs_bmc_serio.c159 MODULE_DESCRIPTION("Adapter driver for serio access to BMC KCS devices");
/Linux-v6.6/Documentation/devicetree/bindings/ipmi/
Daspeed,ast2400-kcs-bmc.yaml4 $id: http://devicetree.org/schemas/ipmi/aspeed,ast2400-kcs-bmc.yaml#
7 title: ASPEED BMC KCS Devices
13 The Aspeed BMC SoCs typically use the Keyboard-Controller-Style (KCS)
22 - aspeed,ast2400-kcs-bmc-v2
23 - aspeed,ast2500-kcs-bmc-v2
24 - aspeed,ast2600-kcs-bmc
30 - aspeed,ast2400-kcs-bmc
31 - aspeed,ast2500-kcs-bmc
86 - aspeed,ast2400-kcs-bmc
87 - aspeed,ast2500-kcs-bmc
[all …]
Dnpcm7xx-kcs-bmc.txt1 * Nuvoton NPCM KCS (Keyboard Controller Style) IPMI interface
4 (Baseboard Management Controllers) and the KCS interface can be
9 "nuvoton,npcm750-kcs-bmc"
10 "nuvoton,npcm845-kcs-bmc", "nuvoton,npcm750-kcs-bmc"
12 - kcs_chan : The KCS channel number in the controller
17 compatible = "nuvoton,npcm750-lpc-kcs", "simple-mfd", "syscon";
26 compatible = "nuvoton,npcm750-kcs-bmc";
34 compatible = "nuvoton,npcm750-kcs-bmc";
Dipmi-smic.yaml17 - ipmi-kcs
/Linux-v6.6/fs/proc/
Duptime.c22 struct kernel_cpustat kcs; in uptime_proc_show() local
24 kcpustat_cpu_fetch(&kcs, i); in uptime_proc_show()
25 idle_nsec += get_idle_time(&kcs, i); in uptime_proc_show()
Dstat.c25 u64 get_idle_time(struct kernel_cpustat *kcs, int cpu) in get_idle_time() argument
34 idle = kcs->cpustat[CPUTIME_IDLE]; in get_idle_time()
41 static u64 get_iowait_time(struct kernel_cpustat *kcs, int cpu) in get_iowait_time() argument
50 iowait = kcs->cpustat[CPUTIME_IOWAIT]; in get_iowait_time()
/Linux-v6.6/drivers/s390/crypto/
Dpkey_api.c1362 struct pkey_clr2seck kcs; in pkey_unlocked_ioctl() local
1364 if (copy_from_user(&kcs, ucs, sizeof(kcs))) in pkey_unlocked_ioctl()
1366 rc = cca_clr2seckey(kcs.cardnr, kcs.domain, kcs.keytype, in pkey_unlocked_ioctl()
1367 kcs.clrkey.clrkey, kcs.seckey.seckey); in pkey_unlocked_ioctl()
1371 if (copy_to_user(ucs, &kcs, sizeof(kcs))) in pkey_unlocked_ioctl()
1373 memzero_explicit(&kcs, sizeof(kcs)); in pkey_unlocked_ioctl()
1551 struct pkey_clr2seck2 kcs; in pkey_unlocked_ioctl() local
1555 if (copy_from_user(&kcs, ucs, sizeof(kcs))) in pkey_unlocked_ioctl()
1557 apqns = _copy_apqns_from_user(kcs.apqns, kcs.apqn_entries); in pkey_unlocked_ioctl()
1565 rc = pkey_clr2seckey2(apqns, kcs.apqn_entries, in pkey_unlocked_ioctl()
[all …]
/Linux-v6.6/arch/arm/boot/dts/aspeed/
Daspeed-g5.dtsi457 kcs1: kcs@24 {
458 compatible = "aspeed,ast2500-kcs-bmc-v2";
465 kcs2: kcs@28 {
466 compatible = "aspeed,ast2500-kcs-bmc-v2";
473 kcs3: kcs@2c {
474 compatible = "aspeed,ast2500-kcs-bmc-v2";
481 kcs4: kcs@114 {
482 compatible = "aspeed,ast2500-kcs-bmc-v2";
Daspeed-g6.dtsi600 kcs1: kcs@24 {
601 compatible = "aspeed,ast2500-kcs-bmc-v2";
609 kcs2: kcs@28 {
610 compatible = "aspeed,ast2500-kcs-bmc-v2";
617 kcs3: kcs@2c {
618 compatible = "aspeed,ast2500-kcs-bmc-v2";
625 kcs4: kcs@114 {
626 compatible = "aspeed,ast2500-kcs-bmc-v2";
/Linux-v6.6/Documentation/driver-api/
Dipmi.rst43 will generally be either "KCS", "SMIC", or "BT", consult your hardware
107 ipmi_si - A driver for various system interfaces. This supports KCS,
391 The SI driver allows KCS, BT, and SMIC interfaces to be configured
413 The si_type may be either "kcs", "smic", or "bt". If you leave it blank, it
414 defaults to "kcs".
480 If your IPMI interface does not support interrupts and is a KCS or
509 add|remove,kcs|bt|smic,mem|i/o,<address>[,<opt1>[,<opt2>[,...]]]
/Linux-v6.6/arch/arm64/boot/dts/amd/
Damd-seattle-soc.dtsi275 ipmi_kcs: kcs@e0010000 {
277 compatible = "ipmi-kcs";
/Linux-v6.6/include/linux/
Dkernel_stat.h120 extern u64 get_idle_time(struct kernel_cpustat *kcs, int cpu);
/Linux-v6.6/drivers/hwmon/pmbus/
Dmp2888.c107 * Output value is calculated as: (READ_CSx / 80 – 1.23) / (Kcs * Rcs) in mp2888_read_phase()
109 * - Kcs is the DrMOS current sense gain of power stage, which is obtained from the in mp2888_read_phase()
/Linux-v6.6/arch/arm/boot/dts/nuvoton/
Dnuvoton-common-npcm7xx.dtsi190 compatible = "nuvoton,npcm750-lpc-kcs", "simple-mfd", "syscon";
199 compatible = "nuvoton,npcm750-kcs-bmc";
207 compatible = "nuvoton,npcm750-kcs-bmc";
215 compatible = "nuvoton,npcm750-kcs-bmc";

12