Home
last modified time | relevance | path

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

/linux/drivers/hwtracing/coresight/
H A Dcoresight-syscfg-configfs.c57 int i, j, val_idx, preset_idx; in cscfg_cfg_values_show() local
66 preset_idx = fs_preset->preset_num - 1; in cscfg_cfg_values_show()
69 val_idx = config_desc->nr_total_params * preset_idx; in cscfg_cfg_values_show()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_ethtool.c710 u32 preset_idx; in __bnx2x_get_regs_len() local
714 for (preset_idx = 1; preset_idx <= DUMP_MAX_PRESETS; preset_idx++) in __bnx2x_get_regs_len()
715 regdump_len += __bnx2x_get_preset_regs_len(bp, preset_idx); in __bnx2x_get_regs_len()
948 u32 preset_idx; in __bnx2x_get_regs() local
951 for (preset_idx = 1; preset_idx <= DUMP_MAX_PRESETS; preset_idx++) { in __bnx2x_get_regs()
953 if ((preset_idx == 2) || in __bnx2x_get_regs()
954 (preset_idx == 5) || in __bnx2x_get_regs()
955 (preset_idx == 8) || in __bnx2x_get_regs()
956 (preset_idx == 11)) in __bnx2x_get_regs()
958 __bnx2x_get_preset_regs(bp, p, preset_idx); in __bnx2x_get_regs()
[all …]