Searched refs:smi_cmd (Results 1 - 5 of 5) sorted by relevance

/freebsd-11.0-release/sys/mips/cavium/octe/
H A Dethernet-mdio.c63 cvmx_smi_cmd_t smi_cmd; local
67 smi_cmd.u64 = 0;
68 smi_cmd.s.phy_op = 1;
69 smi_cmd.s.phy_adr = phy_id;
70 smi_cmd.s.reg_adr = location;
71 cvmx_write_csr(CVMX_SMI_CMD, smi_cmd.u64);
97 cvmx_smi_cmd_t smi_cmd; local
105 smi_cmd.u64 = 0;
106 smi_cmd.s.phy_op = 0;
107 smi_cmd
[all...]
/freebsd-11.0-release/sys/contrib/octeon-sdk/
H A Dcvmx-mdio.h397 cvmx_smix_cmd_t smi_cmd;
403 smi_cmd.u64 = 0;
404 smi_cmd.s.phy_op = MDIO_CLAUSE_22_READ;
405 smi_cmd.s.phy_adr = phy_id;
406 smi_cmd.s.reg_adr = location;
407 cvmx_write_csr(CVMX_SMIX_CMD(bus_id), smi_cmd.u64);
449 cvmx_smix_cmd_t smi_cmd;
459 smi_cmd.u64 = 0;
460 smi_cmd.s.phy_op = MDIO_CLAUSE_22_WRITE;
461 smi_cmd
489 cvmx_smix_cmd_t smi_cmd; local
554 cvmx_smix_cmd_t smi_cmd; local
[all...]
/freebsd-11.0-release/sys/dev/vnic/
H A Dthunder_mdio.c219 uint64_t smi_cmd, smi_wr_dat; local
229 smi_cmd = 0;
231 smi_cmd |= SMI_CMD_PHY_OP_C45_WRITE;
234 smi_cmd |= ((phy << SMI_CMD_PHY_ADR_SHIFT) & SMI_CMD_PHY_ADR_MASK);
236 smi_cmd |= ((reg << SMI_CMD_PHY_REG_ADR_SHIFT) &
239 mdio_reg_write(sc, SMI_CMD, smi_cmd);
260 uint64_t smi_cmd, smi_rd_dat; local
272 smi_cmd = 0;
275 smi_cmd |= SMI_CMD_PHY_OP_C22_READ;
277 smi_cmd |
312 uint64_t smi_cmd, smi_wr_dat; local
[all...]
/freebsd-11.0-release/sys/x86/cpufreq/
H A Dsmist.c69 int smi_cmd; member in struct:smist_softc
128 int15_gsic_call(int *sig, int *smi_cmd, int *command, int *smi_data, int *flags) argument
139 *smi_cmd = vmf.vmf_ebx & 0xff;
145 *smi_cmd = -1;
156 int smi_cmd; member in struct:set_ownership_data
183 "d" (data->smi_cmd),
218 cb_data.smi_cmd = sc->smi_cmd;
258 "d" (sc->smi_cmd)
321 int sig, smi_cmd, comman local
[all...]
/freebsd-11.0-release/usr.sbin/bhyve/
H A Dpm.c299 INOUT_PORT(smi_cmd, SMI_CMD, IOPORT_F_OUT, smi_cmd_handler);

Completed in 162 milliseconds