/linux/drivers/char/ipmi/ |
H A D | ipmi_kcs_sm.c | 5 * 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 …]
|
H A D | Kconfig | 66 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 …]
|
H A D | kcs_bmc_npcm7xx.c | 7 #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). 233 { .compatible = "nuvoton,npcm750-kcs-bmc" }, 251 MODULE_DESCRIPTION("NPCM7xx device interface to the KCS BMC device");
|
H A D | kcs_bmc.c | 120 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");
|
H A D | kcs_bmc_cdev_ipmi.c | 6 #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");
|
H A D | kcs_bmc_aspeed.c | 6 #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() 662 { .compatible = "aspeed,ast2400-kcs-bmc-v2" }, 663 { .compatible = "aspeed,ast2500-kcs-bmc-v2" }, 664 { .compatible = "aspeed,ast2600-kcs-bmc" }, 682 MODULE_DESCRIPTION("Aspeed device interface to the KCS BMC device");
|
H A D | ipmi_si_hardcode.c | 36 …rated by commas. The types are 'kcs', 'smic', and 'bt'. For example si_type=kcs,bt will set the …
|
H A D | ipmi_si_hotmod.c | 25 * add|remove,kcs|bt|smic,mem|i/o,<address>[,<opt1>[,<opt2>[,...]]] 46 { "kcs", SI_KCS },
|
H A D | kcs_bmc.h | 18 /* IPMI 2.0 - 9.5, KCS Interface Registers
|
H A D | ipmi_si_platform.c | 216 { .type = "ipmi", .compatible = "ipmi-kcs", 329 /* _IFT tells us the interface type: KCS, BT, etc */ in acpi_ipmi_probe()
|
H A D | ipmi_si_sm.h | 7 * the ipmi_smi code (that handles the policy of a KCS, SMIC, or
|
H A D | kcs_bmc_serio.c | 159 MODULE_DESCRIPTION("Adapter driver for serio access to BMC KCS devices");
|
/linux/drivers/s390/crypto/ |
H A D | pkey_api.c | 117 struct pkey_clr2seck kcs; in pkey_ioctl_clr2seck() local 122 if (copy_from_user(&kcs, ucs, sizeof(kcs))) in pkey_ioctl_clr2seck() 125 apqn.card = kcs.cardnr; in pkey_ioctl_clr2seck() 126 apqn.domain = kcs.domain; in pkey_ioctl_clr2seck() 127 keybuflen = sizeof(kcs.seckey.seckey); in pkey_ioctl_clr2seck() 129 kcs.keytype, PKEY_TYPE_CCA_DATA, 0, 0, in pkey_ioctl_clr2seck() 130 kcs.clrkey.clrkey, in pkey_ioctl_clr2seck() 131 pkey_keytype_aes_to_size(kcs.keytype), in pkey_ioctl_clr2seck() 132 kcs.seckey.seckey, &keybuflen, NULL); in pkey_ioctl_clr2seck() 134 if (!rc && copy_to_user(ucs, &kcs, sizeof(kcs))) in pkey_ioctl_clr2seck() [all …]
|
/linux/Documentation/devicetree/bindings/ipmi/ |
H A D | aspeed,ast2400-kcs-bmc.yaml | 4 $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 …]
|
H A D | npcm7xx-kcs-bmc.txt | 1 * 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";
|
H A D | ipmi-smic.yaml | 17 - ipmi-kcs
|
/linux/fs/proc/ |
H A D | uptime.c | 22 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()
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-g6.dtsi | 581 kcs1: kcs@24 { 582 compatible = "aspeed,ast2500-kcs-bmc-v2"; 590 kcs2: kcs@28 { 591 compatible = "aspeed,ast2500-kcs-bmc-v2"; 598 kcs3: kcs@2c { 599 compatible = "aspeed,ast2500-kcs-bmc-v2"; 606 kcs4: kcs@114 { 607 compatible = "aspeed,ast2500-kcs-bmc-v2";
|
H A D | aspeed-g5.dtsi | 450 kcs1: kcs@24 { 451 compatible = "aspeed,ast2500-kcs-bmc-v2"; 458 kcs2: kcs@28 { 459 compatible = "aspeed,ast2500-kcs-bmc-v2"; 466 kcs3: kcs@2c { 467 compatible = "aspeed,ast2500-kcs-bmc-v2"; 474 kcs4: kcs@114 { 475 compatible = "aspeed,ast2500-kcs-bmc-v2";
|
H A D | aspeed-bmc-facebook-tiogapass.dts | 109 // BMC KCS channel 2 115 // BMC KCS channel 3
|
/linux/Documentation/driver-api/ |
H A D | ipmi.rst | 43 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/arch/arm/boot/dts/nuvoton/ |
H A D | nuvoton-common-npcm7xx.dtsi | 190 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";
|
/linux/drivers/hwmon/pmbus/ |
H A D | mp2888.c | 107 * 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/include/linux/ |
H A D | kernel_stat.h | 127 extern u64 get_idle_time(struct kernel_cpustat *kcs, int cpu);
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-devices-platform-ipmi | 107 (RO) The device interface for IPMI "kcs", "smic", "bt" or
|