Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_shared_buf.c49 pool_info->threshold_type = le32_to_cpu(get_data.threshold_type); in nfp_shared_buf_pool_get()
58 enum devlink_sb_threshold_type threshold_type) in nfp_shared_buf_pool_set() argument
65 .threshold_type = cpu_to_le32(threshold_type), in nfp_shared_buf_pool_set()
H A Dnfp_abi.h97 __le32 threshold_type; member
109 __le32 threshold_type; member
H A Dnfp_devlink.c131 u32 size, enum devlink_sb_threshold_type threshold_type, in nfp_devlink_sb_pool_set() argument
137 size, threshold_type); in nfp_devlink_sb_pool_set()
H A Dnfp_main.h190 enum devlink_sb_threshold_type threshold_type);
/linux/drivers/accel/qaic/
H A Dqaic_ras.c130 u32 threshold_type; member
275 le32_to_cpus(&tsens_syndrome->threshold_type); in ras_msg_to_cpu()
466 if (tsens_syndrome->threshold_type >= NUM_TEMP_LVL) { in decode_ras_msg()
468 tsens_syndrome->threshold_type); in decode_ras_msg()
474 else if (tsens_syndrome->threshold_type) in decode_ras_msg()
485 threshold_type_str[tsens_syndrome->threshold_type], in decode_ras_msg()
/linux/net/devlink/
H A Dsb.c293 pool_info.threshold_type)) in devlink_nl_sb_pool_fill()
404 enum devlink_sb_threshold_type threshold_type, in devlink_sb_pool_set() argument
412 size, threshold_type, extack); in devlink_sb_pool_set()
419 enum devlink_sb_threshold_type threshold_type; in devlink_nl_sb_pool_set_doit() local
434 err = devlink_sb_th_type_get_from_info(info, &threshold_type); in devlink_nl_sb_pool_set_doit()
443 pool_index, size, threshold_type, in devlink_nl_sb_pool_set_doit()
/linux/drivers/net/ethernet/mscc/
H A Docelot_devlink.c527 .threshold_type = DEVLINK_SB_THRESHOLD_TYPE_STATIC,
531 .threshold_type = DEVLINK_SB_THRESHOLD_TYPE_STATIC,
563 enum devlink_sb_threshold_type threshold_type, in ocelot_sb_pool_set() argument
579 if (threshold_type != DEVLINK_SB_THRESHOLD_TYPE_STATIC) { in ocelot_sb_pool_set()
H A Docelot_net.c55 enum devlink_sb_threshold_type threshold_type, in ocelot_devlink_sb_pool_set() argument
61 threshold_type, extack); in ocelot_devlink_sb_pool_set()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_buffers.c1366 pool_info->threshold_type = (enum devlink_sb_threshold_type) pr->mode; in mlxsw_sp_sb_pool_get()
1373 enum devlink_sb_threshold_type threshold_type, in mlxsw_sp_sb_pool_set() argument
1381 mode = (enum mlxsw_reg_sbpr_mode) threshold_type; in mlxsw_sp_sb_pool_set()
H A Dcore.c1401 enum devlink_sb_threshold_type threshold_type, in mlxsw_devlink_sb_pool_set() argument
1410 pool_index, size, threshold_type, in mlxsw_devlink_sb_pool_set()
/linux/drivers/net/dsa/ocelot/
H A Dfelix.c2064 enum devlink_sb_threshold_type threshold_type, in felix_sb_pool_set() argument
2070 threshold_type, extack); in felix_sb_pool_set()
/linux/include/soc/mscc/
H A Docelot.h1121 enum devlink_sb_threshold_type threshold_type,
/linux/include/net/
H A Ddsa.h1159 enum devlink_sb_threshold_type threshold_type,
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c2648 char *threshold_type; in bnxt_event_error_report() local
2654 threshold_type = "warning"; in bnxt_event_error_report()
2657 threshold_type = "critical"; in bnxt_event_error_report()
2660 threshold_type = "fatal"; in bnxt_event_error_report()
2663 threshold_type = "shutdown"; in bnxt_event_error_report()
2676 dir_str, threshold_type); in bnxt_event_error_report()