Searched refs:rsp_params (Results 1 – 10 of 10) 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()
537 struct dpmng_rsp_get_version *rsp_params; in mc_get_version() local551 rsp_params = (struct dpmng_rsp_get_version *)cmd.params; in mc_get_version()552 mc_ver_info->revision = le32_to_cpu(rsp_params->revision); in mc_get_version()553 mc_ver_info->major = le32_to_cpu(rsp_params->version_major); in mc_get_version()554 mc_ver_info->minor = le32_to_cpu(rsp_params->version_minor); in mc_get_version()
249 struct dpni_rsp_is_enabled *rsp_params; in dpni_is_enabled() local263 rsp_params = (struct dpni_rsp_is_enabled *)cmd.params; in dpni_is_enabled()264 *en = dpni_get_field(rsp_params->enabled, ENABLE); in dpni_is_enabled()346 struct dpni_rsp_get_irq_enable *rsp_params; in dpni_get_irq_enable() local363 rsp_params = (struct dpni_rsp_get_irq_enable *)cmd.params; in dpni_get_irq_enable()364 *en = dpni_get_field(rsp_params->enabled, ENABLE); in dpni_get_irq_enable()427 struct dpni_rsp_get_irq_mask *rsp_params; in dpni_get_irq_mask() local443 rsp_params = (struct dpni_rsp_get_irq_mask *)cmd.params; in dpni_get_irq_mask()444 *mask = le32_to_cpu(rsp_params->mask); in dpni_get_irq_mask()469 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()
258 struct dpdmai_rsp_get_attributes *rsp_params; in dpdmai_get_attributes() local272 rsp_params = (struct dpdmai_rsp_get_attributes *)cmd.params; in dpdmai_get_attributes()273 attr->id = le32_to_cpu(rsp_params->id); in dpdmai_get_attributes()274 attr->version.major = le16_to_cpu(rsp_params->major); in dpdmai_get_attributes()275 attr->version.minor = le16_to_cpu(rsp_params->minor); in dpdmai_get_attributes()276 attr->num_of_priorities = rsp_params->num_of_priorities; in dpdmai_get_attributes()371 struct dpdmai_rsp_get_tx_queue *rsp_params; in dpdmai_get_tx_queue() local390 rsp_params = (struct dpdmai_rsp_get_tx_queue *)cmd.params; in dpdmai_get_tx_queue()391 *fqid = le32_to_cpu(rsp_params->fqid); in dpdmai_get_tx_queue()
293 struct mc_rsp_create *rsp_params; in mc_cmd_read_object_id() local295 rsp_params = (struct mc_rsp_create *)cmd->params; in mc_cmd_read_object_id()296 return le32_to_cpu(rsp_params->object_id); in mc_cmd_read_object_id()303 struct mc_rsp_api_ver *rsp_params; in mc_cmd_read_api_version() local305 rsp_params = (struct mc_rsp_api_ver *)cmd->params; in mc_cmd_read_api_version()306 *major_ver = le16_to_cpu(rsp_params->major_ver); in mc_cmd_read_api_version()307 *minor_ver = le16_to_cpu(rsp_params->minor_ver); in mc_cmd_read_api_version()