Home
last modified time | relevance | path

Searched refs:fwap (Results 1 – 1 of 1) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c362 const struct fw_port_app_priority *fwap = &fwdcb->app_priority; in cxgb4_dcb_handle_fw_update() local
363 int idx = fwap->idx; in cxgb4_dcb_handle_fw_update()
367 .protocol = be16_to_cpu(fwap->protocolid), in cxgb4_dcb_handle_fw_update()
375 app.selector = (fwap->sel_field + 1); in cxgb4_dcb_handle_fw_update()
376 app.priority = ffs(fwap->user_prio_map) - 1; in cxgb4_dcb_handle_fw_update()
381 app.selector = !!(fwap->sel_field); in cxgb4_dcb_handle_fw_update()
382 app.priority = fwap->user_prio_map; in cxgb4_dcb_handle_fw_update()
391 ap->user_prio_map = fwap->user_prio_map; in cxgb4_dcb_handle_fw_update()
392 ap->sel_field = fwap->sel_field; in cxgb4_dcb_handle_fw_update()
393 ap->protocolid = be16_to_cpu(fwap->protocolid); in cxgb4_dcb_handle_fw_update()