Lines Matching refs:cmd_params
31 struct dpmac_cmd_open *cmd_params; in dpmac_open() local
39 cmd_params = (struct dpmac_cmd_open *)cmd.params; in dpmac_open()
40 cmd_params->dpmac_id = cpu_to_le32(dpmac_id); in dpmac_open()
131 struct dpmac_cmd_set_link_state *cmd_params; in dpmac_set_link_state() local
138 cmd_params = (struct dpmac_cmd_set_link_state *)cmd.params; in dpmac_set_link_state()
139 cmd_params->options = cpu_to_le64(link_state->options); in dpmac_set_link_state()
140 cmd_params->rate = cpu_to_le32(link_state->rate); in dpmac_set_link_state()
141 dpmac_set_field(cmd_params->state, STATE, link_state->up); in dpmac_set_link_state()
142 dpmac_set_field(cmd_params->state, STATE_VALID, in dpmac_set_link_state()
144 cmd_params->supported = cpu_to_le64(link_state->supported); in dpmac_set_link_state()
145 cmd_params->advertising = cpu_to_le64(link_state->advertising); in dpmac_set_link_state()
228 struct dpmac_cmd_set_protocol *cmd_params; in dpmac_set_protocol() local
233 cmd_params = (struct dpmac_cmd_set_protocol *)cmd.params; in dpmac_set_protocol()
234 cmd_params->eth_if = protocol; in dpmac_set_protocol()