Searched refs:rsp_params (Results 1 – 8 of 8) sorted by relevance
137 struct dpseci_rsp_is_enabled *rsp_params; in dpseci_is_enabled() local147 rsp_params = (struct dpseci_rsp_is_enabled *)cmd.params; in dpseci_is_enabled()148 *en = dpseci_get_field(rsp_params->is_enabled, ENABLE); in dpseci_is_enabled()166 struct dpseci_rsp_get_attributes *rsp_params; in dpseci_get_attributes() local176 rsp_params = (struct dpseci_rsp_get_attributes *)cmd.params; in dpseci_get_attributes()177 attr->id = le32_to_cpu(rsp_params->id); in dpseci_get_attributes()178 attr->num_tx_queues = rsp_params->num_tx_queues; in dpseci_get_attributes()179 attr->num_rx_queues = rsp_params->num_rx_queues; in dpseci_get_attributes()180 attr->options = le32_to_cpu(rsp_params->options); in dpseci_get_attributes()276 struct dpseci_rsp_get_tx_queue *rsp_params; in dpseci_get_tx_queue() local[all …]
278 struct dprc_rsp_get_irq_status *rsp_params; in dprc_get_irq_status() local294 rsp_params = (struct dprc_rsp_get_irq_status *)cmd.params; in dprc_get_irq_status()295 *status = le32_to_cpu(rsp_params->status); in dprc_get_irq_status()347 struct dprc_rsp_get_attributes *rsp_params; in dprc_get_attributes() local361 rsp_params = (struct dprc_rsp_get_attributes *)cmd.params; in dprc_get_attributes()362 attr->container_id = le32_to_cpu(rsp_params->container_id); in dprc_get_attributes()363 attr->icid = le32_to_cpu(rsp_params->icid); in dprc_get_attributes()364 attr->options = le32_to_cpu(rsp_params->options); in dprc_get_attributes()365 attr->portal_id = le32_to_cpu(rsp_params->portal_id); in dprc_get_attributes()385 struct dprc_rsp_get_obj_count *rsp_params; in dprc_get_obj_count() local[all …]
166 struct dpbp_rsp_get_attributes *rsp_params; in dpbp_get_attributes() local179 rsp_params = (struct dpbp_rsp_get_attributes *)cmd.params; in dpbp_get_attributes()180 attr->bpid = le16_to_cpu(rsp_params->bpid); in dpbp_get_attributes()181 attr->id = le32_to_cpu(rsp_params->id); in dpbp_get_attributes()
253 struct dpni_rsp_is_enabled *rsp_params; in dpni_is_enabled() local267 rsp_params = (struct dpni_rsp_is_enabled *)cmd.params; in dpni_is_enabled()268 *en = dpni_get_field(rsp_params->enabled, ENABLE); in dpni_is_enabled()350 struct dpni_rsp_get_irq_enable *rsp_params; in dpni_get_irq_enable() local367 rsp_params = (struct dpni_rsp_get_irq_enable *)cmd.params; in dpni_get_irq_enable()368 *en = dpni_get_field(rsp_params->enabled, ENABLE); in dpni_get_irq_enable()431 struct dpni_rsp_get_irq_mask *rsp_params; in dpni_get_irq_mask() local447 rsp_params = (struct dpni_rsp_get_irq_mask *)cmd.params; in dpni_get_irq_mask()448 *mask = le32_to_cpu(rsp_params->mask); in dpni_get_irq_mask()473 struct dpni_rsp_get_irq_status *rsp_params; in dpni_get_irq_status() local[all …]
234 struct dpsw_rsp_get_irq_status *rsp_params; in dpsw_get_irq_status() local251 rsp_params = (struct dpsw_rsp_get_irq_status *)cmd.params; in dpsw_get_irq_status()252 *status = le32_to_cpu(rsp_params->status); in dpsw_get_irq_status()300 struct dpsw_rsp_get_attr *rsp_params; in dpsw_get_attributes() local314 rsp_params = (struct dpsw_rsp_get_attr *)cmd.params; in dpsw_get_attributes()315 attr->num_ifs = le16_to_cpu(rsp_params->num_ifs); in dpsw_get_attributes()316 attr->max_fdbs = rsp_params->max_fdbs; in dpsw_get_attributes()317 attr->num_fdbs = rsp_params->num_fdbs; in dpsw_get_attributes()318 attr->max_vlans = le16_to_cpu(rsp_params->max_vlans); in dpsw_get_attributes()319 attr->num_vlans = le16_to_cpu(rsp_params->num_vlans); in dpsw_get_attributes()[all …]
93 struct dpmac_rsp_get_attributes *rsp_params; in dpmac_get_attributes() local108 rsp_params = (struct dpmac_rsp_get_attributes *)cmd.params; in dpmac_get_attributes()109 attr->eth_if = rsp_params->eth_if; in dpmac_get_attributes()110 attr->link_type = rsp_params->link_type; in dpmac_get_attributes()111 attr->id = le16_to_cpu(rsp_params->id); in dpmac_get_attributes()112 attr->max_rate = le32_to_cpu(rsp_params->max_rate); in dpmac_get_attributes()197 struct dpmac_rsp_get_api_version *rsp_params; in dpmac_get_api_version() local209 rsp_params = (struct dpmac_rsp_get_api_version *)cmd.params; in dpmac_get_api_version()210 *major_ver = le16_to_cpu(rsp_params->major); in dpmac_get_api_version()211 *minor_ver = le16_to_cpu(rsp_params->minor); in dpmac_get_api_version()
126 struct dprtc_rsp_get_irq_enable *rsp_params; in dprtc_get_irq_enable() local141 rsp_params = (struct dprtc_rsp_get_irq_enable *)cmd.params; in dprtc_get_irq_enable()142 *en = rsp_params->en; in dprtc_get_irq_enable()201 struct dprtc_rsp_get_irq_mask *rsp_params; in dprtc_get_irq_mask() local216 rsp_params = (struct dprtc_rsp_get_irq_mask *)cmd.params; in dprtc_get_irq_mask()217 *mask = le32_to_cpu(rsp_params->mask); in dprtc_get_irq_mask()242 struct dprtc_rsp_get_irq_status *rsp_params; in dprtc_get_irq_status() local257 rsp_params = (struct dprtc_rsp_get_irq_status *)cmd.params; in dprtc_get_irq_status()258 *status = le32_to_cpu(rsp_params->status); in dprtc_get_irq_status()
224 struct dpdmai_rsp_get_attributes *rsp_params; in dpdmai_get_attributes() local238 rsp_params = (struct dpdmai_rsp_get_attributes *)cmd.params; in dpdmai_get_attributes()239 attr->id = le32_to_cpu(rsp_params->id); in dpdmai_get_attributes()240 attr->version.major = le16_to_cpu(rsp_params->major); in dpdmai_get_attributes()241 attr->version.minor = le16_to_cpu(rsp_params->minor); in dpdmai_get_attributes()242 attr->num_of_priorities = rsp_params->num_of_priorities; in dpdmai_get_attributes()243 attr->num_of_queues = rsp_params->num_of_queues; in dpdmai_get_attributes()343 struct dpdmai_rsp_get_tx_queue *rsp_params; in dpdmai_get_tx_queue() local363 rsp_params = (struct dpdmai_rsp_get_tx_queue *)cmd.params; in dpdmai_get_tx_queue()364 attr->fqid = le32_to_cpu(rsp_params->fqid); in dpdmai_get_tx_queue()