Searched refs:smi_cmd (Results 1 - 8 of 8) sorted by relevance
/linux-4.4.14/arch/mips/include/asm/octeon/ |
H A D | cvmx-mdio.h | 302 union cvmx_smix_cmd smi_cmd; cvmx_mdio_read() local 309 smi_cmd.u64 = 0; cvmx_mdio_read() 310 smi_cmd.s.phy_op = MDIO_CLAUSE_22_READ; cvmx_mdio_read() 311 smi_cmd.s.phy_adr = phy_id; cvmx_mdio_read() 312 smi_cmd.s.reg_adr = location; cvmx_mdio_read() 313 cvmx_write_csr(CVMX_SMIX_CMD(bus_id), smi_cmd.u64); cvmx_mdio_read() 341 union cvmx_smix_cmd smi_cmd; cvmx_mdio_write() local 352 smi_cmd.u64 = 0; cvmx_mdio_write() 353 smi_cmd.s.phy_op = MDIO_CLAUSE_22_WRITE; cvmx_mdio_write() 354 smi_cmd.s.phy_adr = phy_id; cvmx_mdio_write() 355 smi_cmd.s.reg_adr = location; cvmx_mdio_write() 356 cvmx_write_csr(CVMX_SMIX_CMD(bus_id), smi_cmd.u64); cvmx_mdio_write() 384 union cvmx_smix_cmd smi_cmd; cvmx_mdio_45_read() local 398 smi_cmd.u64 = 0; cvmx_mdio_45_read() 399 smi_cmd.s.phy_op = MDIO_CLAUSE_45_ADDRESS; cvmx_mdio_45_read() 400 smi_cmd.s.phy_adr = phy_id; cvmx_mdio_45_read() 401 smi_cmd.s.reg_adr = device; cvmx_mdio_45_read() 402 cvmx_write_csr(CVMX_SMIX_CMD(bus_id), smi_cmd.u64); cvmx_mdio_45_read() 415 smi_cmd.u64 = 0; cvmx_mdio_45_read() 416 smi_cmd.s.phy_op = MDIO_CLAUSE_45_READ; cvmx_mdio_45_read() 417 smi_cmd.s.phy_adr = phy_id; cvmx_mdio_45_read() 418 smi_cmd.s.reg_adr = device; cvmx_mdio_45_read() 419 cvmx_write_csr(CVMX_SMIX_CMD(bus_id), smi_cmd.u64); cvmx_mdio_45_read() 460 union cvmx_smix_cmd smi_cmd; cvmx_mdio_45_write() local 473 smi_cmd.u64 = 0; cvmx_mdio_45_write() 474 smi_cmd.s.phy_op = MDIO_CLAUSE_45_ADDRESS; cvmx_mdio_45_write() 475 smi_cmd.s.phy_adr = phy_id; cvmx_mdio_45_write() 476 smi_cmd.s.reg_adr = device; cvmx_mdio_45_write() 477 cvmx_write_csr(CVMX_SMIX_CMD(bus_id), smi_cmd.u64); cvmx_mdio_45_write() 490 smi_cmd.u64 = 0; cvmx_mdio_45_write() 491 smi_cmd.s.phy_op = MDIO_CLAUSE_45_WRITE; cvmx_mdio_45_write() 492 smi_cmd.s.phy_adr = phy_id; cvmx_mdio_45_write() 493 smi_cmd.s.reg_adr = device; cvmx_mdio_45_write() 494 cvmx_write_csr(CVMX_SMIX_CMD(bus_id), smi_cmd.u64); cvmx_mdio_45_write()
|
/linux-4.4.14/drivers/net/phy/ |
H A D | mdio-octeon.c | 152 union cvmx_smix_cmd smi_cmd; octeon_mdiobus_c45_addr() local 164 smi_cmd.u64 = 0; octeon_mdiobus_c45_addr() 165 smi_cmd.s.phy_op = 0; /* MDIO_CLAUSE_45_ADDRESS */ octeon_mdiobus_c45_addr() 166 smi_cmd.s.phy_adr = phy_id; octeon_mdiobus_c45_addr() 167 smi_cmd.s.reg_adr = regnum; octeon_mdiobus_c45_addr() 168 oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); octeon_mdiobus_c45_addr() 186 union cvmx_smix_cmd smi_cmd; octeon_mdiobus_read() local 203 smi_cmd.u64 = 0; octeon_mdiobus_read() 204 smi_cmd.s.phy_op = op; octeon_mdiobus_read() 205 smi_cmd.s.phy_adr = phy_id; octeon_mdiobus_read() 206 smi_cmd.s.reg_adr = regnum; octeon_mdiobus_read() 207 oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); octeon_mdiobus_read() 227 union cvmx_smix_cmd smi_cmd; octeon_mdiobus_write() local 248 smi_cmd.u64 = 0; octeon_mdiobus_write() 249 smi_cmd.s.phy_op = op; octeon_mdiobus_write() 250 smi_cmd.s.phy_adr = phy_id; octeon_mdiobus_write() 251 smi_cmd.s.reg_adr = regnum; octeon_mdiobus_write() 252 oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); octeon_mdiobus_write()
|
/linux-4.4.14/drivers/cpufreq/ |
H A D | speedstep-smi.c | 34 static int smi_cmd; variable 68 command = (smi_sig & 0xffffff00) | (smi_cmd & 0xff); speedstep_smi_ownership() 111 command = (smi_sig & 0xffffff00) | (smi_cmd & 0xff); speedstep_smi_get_freqs() 162 command = (smi_sig & 0xffffff00) | (smi_cmd & 0xff); speedstep_set_state() 347 (smi_port == 0) || (smi_cmd == 0))) speedstep_init() 361 if ((smi_cmd > 0xff) || (smi_cmd < 0)) speedstep_init() 363 else if (smi_cmd == 0) speedstep_init() 364 smi_cmd = (ist_info.command >> 16) & 0xff; speedstep_init() 381 module_param(smi_cmd, int, 0444); 386 MODULE_PARM_DESC(smi_cmd, "Override the BIOS-given IST command with this value "
|
/linux-4.4.14/drivers/firmware/ |
H A D | dcdbas.c | 246 int dcdbas_smi_request(struct smi_cmd *smi_cmd) dcdbas_smi_request() argument 251 if (smi_cmd->magic != SMI_CMD_MAGIC) { dcdbas_smi_request() 276 : "a" (smi_cmd->command_code), dcdbas_smi_request() 277 "d" (smi_cmd->command_address), dcdbas_smi_request() 278 "b" (smi_cmd->ebx), dcdbas_smi_request() 279 "c" (smi_cmd->ecx) dcdbas_smi_request() 297 * User application writes smi_cmd to smi_data before telling driver 304 struct smi_cmd *smi_cmd; smi_request_store() local 310 if (smi_data_buf_size < sizeof(struct smi_cmd)) { smi_request_store() 314 smi_cmd = (struct smi_cmd *)smi_data_buf; smi_request_store() 319 ret = dcdbas_smi_request(smi_cmd); smi_request_store() 325 smi_cmd->ebx = (u32) virt_to_phys(smi_cmd->command_buffer); smi_request_store() 326 ret = dcdbas_smi_request(smi_cmd); smi_request_store()
|
H A D | dcdbas.h | 74 struct smi_cmd { struct 104 int dcdbas_smi_request(struct smi_cmd *smi_cmd);
|
/linux-4.4.14/tools/power/cpupower/debug/i386/ |
H A D | intel_gsic.c | 52 "smi_cmd=0x82 to the module\n ON YOUR OWN " main() 74 "smi_cmd and smi_port, and this\nis system " main()
|
/linux-4.4.14/drivers/firmware/google/ |
H A D | gsmi.c | 93 u16 smi_cmd; /* SMI command port */ member in struct:gsmi_device 204 "d" (gsmi_dev.smi_cmd), gsmi_exec() 218 "d" (gsmi_dev.smi_cmd), gsmi_exec() 233 "d" (gsmi_dev.smi_cmd), gsmi_exec() 783 gsmi_dev.smi_cmd = acpi_gbl_FADT.smi_command; gsmi_init()
|
/linux-4.4.14/drivers/platform/x86/ |
H A D | dell-laptop.c | 399 struct smi_cmd command; dell_send_request()
|
Completed in 284 milliseconds