Home
last modified time | relevance | path

Searched refs:app (Results 1 – 25 of 40) sorted by relevance

12

/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c189 prio = dcbxcfg->app[i].priority; in i40e_dcbnl_set_all()
194 sapp.selector = dcbxcfg->app[i].selector; in i40e_dcbnl_set_all()
195 sapp.protocol = dcbxcfg->app[i].protocolid; in i40e_dcbnl_set_all()
214 struct i40e_dcb_app_priority_table *app) in i40e_dcbnl_vsi_del_app() argument
222 sapp.selector = app->selector; in i40e_dcbnl_vsi_del_app()
223 sapp.protocol = app->protocolid; in i40e_dcbnl_vsi_del_app()
224 sapp.priority = app->priority; in i40e_dcbnl_vsi_del_app()
236 struct i40e_dcb_app_priority_table *app) in i40e_dcbnl_del_app() argument
242 err = i40e_dcbnl_vsi_del_app(pf->vsi[v], app); in i40e_dcbnl_del_app()
244 pf->vsi[v]->seid, err, app->selector, in i40e_dcbnl_del_app()
[all …]
Di40e_dcb.c241 dcbcfg->app[i].priority = (u8)((buf[offset] & in i40e_parse_ieee_app_tlv()
244 dcbcfg->app[i].selector = (u8)((buf[offset] & in i40e_parse_ieee_app_tlv()
247 dcbcfg->app[i].protocolid = (buf[offset + 1] << 0x8) | in i40e_parse_ieee_app_tlv()
382 struct i40e_cee_app_prio *app; in i40e_parse_cee_app_tlv() local
389 dcbcfg->numapps = length / sizeof(*app); in i40e_parse_cee_app_tlv()
397 app = (struct i40e_cee_app_prio *)(tlv->tlvinfo + offset); in i40e_parse_cee_app_tlv()
399 if (app->prio_map & BIT(up)) in i40e_parse_cee_app_tlv()
402 dcbcfg->app[i].priority = up; in i40e_parse_cee_app_tlv()
405 selector = (app->upper_oui_sel & I40E_CEE_APP_SELECTOR_MASK); in i40e_parse_cee_app_tlv()
408 dcbcfg->app[i].selector = I40E_APP_SEL_ETHTYPE; in i40e_parse_cee_app_tlv()
[all …]
Di40e_fcoe.c326 struct i40e_dcb_app_priority_table app; in i40e_get_fcoe_tc_map() local
334 app = dcbcfg->app[i]; in i40e_get_fcoe_tc_map()
335 if (app.selector == IEEE_8021QAZ_APP_SEL_ETHERTYPE && in i40e_get_fcoe_tc_map()
336 app.protocolid == ETH_P_FCOE) { in i40e_get_fcoe_tc_map()
337 tc = dcbcfg->etscfg.prioritytable[app.priority]; in i40e_get_fcoe_tc_map()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c77 struct dcb_app app; in cxgb4_dcb_cleanup_apps() local
81 app.priority = 0; in cxgb4_dcb_cleanup_apps()
88 app.protocol = dcb->app_priority[i].protocolid; in cxgb4_dcb_cleanup_apps()
91 app.priority = dcb->app_priority[i].user_prio_map; in cxgb4_dcb_cleanup_apps()
92 app.selector = dcb->app_priority[i].sel_field + 1; in cxgb4_dcb_cleanup_apps()
93 err = dcb_ieee_delapp(dev, &app); in cxgb4_dcb_cleanup_apps()
95 app.selector = !!(dcb->app_priority[i].sel_field); in cxgb4_dcb_cleanup_apps()
96 err = dcb_setapp(dev, &app); in cxgb4_dcb_cleanup_apps()
102 dcb_ver_array[dcb->dcb_version], app.selector, in cxgb4_dcb_cleanup_apps()
103 app.protocol, -err); in cxgb4_dcb_cleanup_apps()
[all …]
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c59 struct dcb_app app = { in ixgbe_copy_dcb_cfg() local
63 u8 up = dcb_getapp(adapter->netdev, &app); in ixgbe_copy_dcb_cfg()
394 struct dcb_app app = { in ixgbe_dcbnl_set_all() local
398 u8 up = dcb_getapp(netdev, &app); in ixgbe_dcbnl_set_all()
501 struct dcb_app app = { in ixgbe_dcbnl_getapp() local
509 return dcb_getapp(netdev, &app); in ixgbe_dcbnl_getapp()
643 struct dcb_app *app) in ixgbe_dcbnl_ieee_setapp() argument
651 err = dcb_ieee_setapp(dev, app); in ixgbe_dcbnl_ieee_setapp()
656 if (app->selector == IEEE_8021QAZ_APP_SEL_ETHERTYPE && in ixgbe_dcbnl_ieee_setapp()
657 app->protocol == ETH_P_FCOE) { in ixgbe_dcbnl_ieee_setapp()
[all …]
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_dcb.c89 u32 app[QLC_DCB_MAX_APP]; member
103 __le32 app[QLC_DCB_MAX_APP]; member
158 struct qlcnic_dcb_app app[QLC_DCB_MAX_APP]; member
480 rsp.app[i] = le32_to_cpu(prsp_le->app[i]); in qlcnic_82xx_dcb_query_cee_param()
612 each->app[i] = cmd.rsp.arg[i + k]; in qlcnic_83xx_dcb_query_cee_param()
715 struct qlcnic_dcb_app *app; in qlcnic_dcb_fill_cee_app_params() local
721 app = &type->app[i]; in qlcnic_dcb_fill_cee_app_params()
722 app->valid = true; in qlcnic_dcb_fill_cee_app_params()
725 app->selector = QLC_DCB_GET_SELECTOR_APP(each->app[i]) - 1; in qlcnic_dcb_fill_cee_app_params()
726 new_app.selector = app->selector; in qlcnic_dcb_fill_cee_app_params()
[all …]
/drivers/net/can/softing/
Dsofting_cs.c48 .app = {0x0010, 0x0d0000, fw_dir "cancard.bin",},
60 .app = {0x0010, 0x0d0000, fw_dir "cancard.bin",},
72 .app = {0x0010, 0x0d0000, fw_dir "cansja.bin",},
84 .app = {0x0010, 0x0d0000, fw_dir "cancrd2.bin",},
96 .app = {0x0010, 0x0d0000, fw_dir "cancard.bin",},
108 .app = {0x0010, 0x0d0000, fw_dir "cansja.bin",},
120 .app = {0x0010, 0x0d0000, fw_dir "cancrd2.bin",},
132 .app = {0x0010, 0x0d0000, fw_dir "cancard.bin",},
144 .app = {0x0010, 0x0d0000, fw_dir "cancrd2.bin",},
Dsofting_platform.h31 } boot, load, app; member
Dsofting_fw.c293 memcpy_toio(&card->dpram[card->pdat->app.offs], dat, len); in softing_load_app_fw()
294 iowrite32(card->pdat->app.offs + card->pdat->app.addr, in softing_load_app_fw()
/drivers/media/pci/zoran/
Dzr36050.c471 zr36050_write(ptr, ZR050_APP_IDX + 1, 0xe0 + ptr->app.appn); in zr36050_init()
473 zr36050_write(ptr, ZR050_APP_IDX + 3, ptr->app.len + 2); in zr36050_init()
475 ptr->app.data) + 4; in zr36050_init()
533 ((ptr->app.len > 0) ? ZR050_ME_APP : 0) | in zr36050_init()
715 struct jpeg_app_marker *app = data; in zr36050_control() local
720 *app = ptr->app; in zr36050_control()
725 struct jpeg_app_marker *app = data; in zr36050_control() local
730 ptr->app = *app; in zr36050_control()
843 ptr->app.appn = 0; in zr36050_setup()
844 ptr->app.len = 0; in zr36050_setup()
Dzr36060.c471 zr36060_write(ptr, ZR060_APP_IDX + 1, 0xe0 + ptr->app.appn); in zr36060_init()
473 zr36060_write(ptr, ZR060_APP_IDX + 3, ptr->app.len + 2); in zr36060_init()
475 ptr->app.data) + 4; in zr36060_init()
515 ((ptr->app.len > 0) ? ZR060_MER_App : 0)); in zr36060_init()
822 struct jpeg_app_marker *app = data; in zr36060_control() local
827 *app = ptr->app; in zr36060_control()
832 struct jpeg_app_marker *app = data; in zr36060_control() local
837 ptr->app = *app; in zr36060_control()
952 ptr->app.appn = 0; in zr36060_setup()
953 ptr->app.len = 0; in zr36060_setup()
Dzr36050.h59 struct jpeg_app_marker app; member
Dzr36060.h58 struct jpeg_app_marker app; member
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c154 features->app.default_pri); in bnx2x_dump_dcbx_drv_param()
156 features->app.tc_supported); in bnx2x_dump_dcbx_drv_param()
158 features->app.enabled); in bnx2x_dump_dcbx_drv_param()
162 i, features->app.app_pri_tbl[i].app_id); in bnx2x_dump_dcbx_drv_param()
165 i, features->app.app_pri_tbl[i].pri_bitmap); in bnx2x_dump_dcbx_drv_param()
168 i, features->app.app_pri_tbl[i].appBitfield); in bnx2x_dump_dcbx_drv_param()
179 u32 *ttp = bp->dcbx_port_params.app.traffic_type_priority; in bnx2x_dcbx_get_ap_priority()
194 struct dcbx_app_priority_feature *app, in bnx2x_dcbx_get_ap_feature() argument
197 u32 *ttp = bp->dcbx_port_params.app.traffic_type_priority; in bnx2x_dcbx_get_ap_feature()
208 if (app->enabled && in bnx2x_dcbx_get_ap_feature()
[all …]
/drivers/of/
Ddevice.c236 struct alias_prop *app; in of_device_uevent() local
262 list_for_each_entry(app, &aliases_lookup, link) { in of_device_uevent()
263 if (dev->of_node == app->np) { in of_device_uevent()
265 app->alias); in of_device_uevent()
Dbase.c2131 struct alias_prop *app; in of_alias_get_id() local
2135 list_for_each_entry(app, &aliases_lookup, link) { in of_alias_get_id()
2136 if (strcmp(app->stem, stem) != 0) in of_alias_get_id()
2139 if (np == app->np) { in of_alias_get_id()
2140 id = app->id; in of_alias_get_id()
2159 struct alias_prop *app; in of_alias_get_highest_id() local
2163 list_for_each_entry(app, &aliases_lookup, link) { in of_alias_get_highest_id()
2164 if (strcmp(app->stem, stem) != 0) in of_alias_get_highest_id()
2167 if (app->id > id) in of_alias_get_highest_id()
2168 id = app->id; in of_alias_get_highest_id()
/drivers/net/ethernet/qlogic/qede/
Dqede_dcbnl.c217 struct dcb_app *app) in qede_dcbnl_peer_getapptable() argument
221 return edev->ops->dcb->peer_getapptable(edev->cdev, app); in qede_dcbnl_peer_getapptable()
273 struct dcb_app *app) in qede_dcbnl_ieee_getapp() argument
277 return edev->ops->dcb->ieee_getapp(edev->cdev, app); in qede_dcbnl_ieee_getapp()
281 struct dcb_app *app) in qede_dcbnl_ieee_setapp() argument
285 return edev->ops->dcb->ieee_setapp(edev->cdev, app); in qede_dcbnl_ieee_setapp()
/drivers/net/ethernet/mellanox/mlx4/
Den_dcb_nl.c260 struct dcb_app app = { in mlx4_en_dcbnl_getapp() local
267 return dcb_getapp(netdev, &app); in mlx4_en_dcbnl_getapp()
274 struct dcb_app app; in mlx4_en_dcbnl_setapp() local
279 memset(&app, 0, sizeof(struct dcb_app)); in mlx4_en_dcbnl_setapp()
280 app.selector = idtype; in mlx4_en_dcbnl_setapp()
281 app.protocol = id; in mlx4_en_dcbnl_setapp()
282 app.priority = up; in mlx4_en_dcbnl_setapp()
284 return dcb_setapp(netdev, &app); in mlx4_en_dcbnl_setapp()
/drivers/net/ethernet/qlogic/qed/
Dqed_dcbx.c341 p_app = &p_hwfn->p_dcbx_info->operational.features.app; in qed_dcbx_process_mib_info()
601 qed_dcbx_get_common_params(p_hwfn, &p_feat->app, in qed_dcbx_get_local_params()
602 p_feat->app.app_pri_tbl, &p_feat->ets, in qed_dcbx_get_local_params()
614 qed_dcbx_get_common_params(p_hwfn, &p_feat->app, in qed_dcbx_get_remote_params()
615 p_feat->app.app_pri_tbl, &p_feat->ets, in qed_dcbx_get_remote_params()
659 qed_dcbx_get_common_params(p_hwfn, &p_feat->app, in qed_dcbx_get_operational_params()
660 p_feat->app.app_pri_tbl, &p_feat->ets, in qed_dcbx_get_operational_params()
664 err = QED_MFW_GET_FIELD(p_feat->app.flags, DCBX_APP_ERROR); in qed_dcbx_get_operational_params()
1139 qed_dcbx_set_app_data(p_hwfn, &local_admin->features.app, in qed_dcbx_set_local_params()
2161 static int qed_dcbnl_ieee_getapp(struct qed_dev *cdev, struct dcb_app *app) in qed_dcbnl_ieee_getapp() argument
[all …]
/drivers/target/iscsi/cxgbit/
Dcxgbit_main.c562 if (iscsi_app->app.selector != IEEE_8021QAZ_APP_SEL_ANY) in cxgbit_dcb_workfn()
565 priority = iscsi_app->app.priority; in cxgbit_dcb_workfn()
568 if (iscsi_app->app.selector != DCB_APP_IDTYPE_PORTNUM) in cxgbit_dcb_workfn()
571 if (!iscsi_app->app.priority) in cxgbit_dcb_workfn()
574 priority = ffs(iscsi_app->app.priority) - 1; in cxgbit_dcb_workfn()
598 iscsi_app->app.protocol); in cxgbit_dcb_workfn()
/drivers/scsi/fcoe/
Dfcoe.c1808 if (entry->app.selector != DCB_APP_IDTYPE_ETHTYPE) in fcoe_dcb_app_notification()
1823 prio = ffs(entry->app.priority) - 1; in fcoe_dcb_app_notification()
1825 prio = entry->app.priority; in fcoe_dcb_app_notification()
1830 if (entry->app.protocol == ETH_P_FIP || in fcoe_dcb_app_notification()
1831 entry->app.protocol == ETH_P_FCOE) in fcoe_dcb_app_notification()
1834 if (entry->app.protocol == ETH_P_FCOE) in fcoe_dcb_app_notification()
2168 struct dcb_app app = { in fcoe_dcb_create() local
2178 app.selector = IEEE_8021QAZ_APP_SEL_ETHERTYPE; in fcoe_dcb_create()
2179 up = dcb_ieee_getapp_mask(netdev, &app); in fcoe_dcb_create()
2180 app.protocol = ETH_P_FIP; in fcoe_dcb_create()
[all …]
/drivers/input/touchscreen/
Dmelfas_mip4.c149 u16 app; member
222 v->app = get_unaligned_le16(buf + 4); in mip4_parse_fw_version()
287 ts->fw_version.app, ts->fw_version.param); in mip4_query_device()
1197 fw_version.app, fw_version.param); in mip4_parse_firmware()
1201 ts->fw_version.app, ts->fw_version.param); in mip4_parse_firmware()
1206 fw_version.app == 0xEEEE && in mip4_parse_firmware()
1211 fw_version.app != 0xEEEE && fw_version.app != 0xFFFF && in mip4_parse_firmware()
1317 ts->fw_version.app, ts->fw_version.param); in mip4_sysfs_read_fw_version()
/drivers/pci/host/
Dpci-keystone-dw.c88 return ks_pcie->app.start + MSI_IRQ; in ks_dw_pcie_get_msi_addr()
484 dw_pcie_writel_rc(pp, PCI_BASE_ADDRESS_0, ks_pcie->app.start); in ks_dw_pcie_v3_65_scan_bus()
546 ks_pcie->app = *res; in ks_dw_pcie_host_init()
Dpci-keystone.h38 struct resource app; member
/drivers/net/wireless/mediatek/mt7601u/
Dphy.c607 int app, dBd; in lin2dBd() local
621 app = (mantisa + (mantisa >> 3) + (mantisa >> 4) - 0x9600); in lin2dBd()
623 app = (mantisa - (mantisa >> 3) - (mantisa >> 6) - 0x5a00); in lin2dBd()
624 if (app < 0) in lin2dBd()
625 app = 0; in lin2dBd()
627 dBd = ((15 + exp) << 15) + app; in lin2dBd()

12