Lines Matching refs:postfix
35 static void create_key(const char *prefix, const char *postfix, in create_key() argument
38 if (prefix && postfix) in create_key()
39 snprintf(buf, len, "%s%s%s", prefix, name, postfix); in create_key()
42 else if (postfix) in create_key()
43 snprintf(buf, len, "%s%s", name, postfix); in create_key()
48 static int get_nvram_var(const char *prefix, const char *postfix, in get_nvram_var() argument
54 create_key(prefix, postfix, name, key, sizeof(key)); in get_nvram_var()
58 create_key(NULL, postfix, name, key, sizeof(key)); in get_nvram_var()
66 const char *postfix, const char *name, \
73 err = get_nvram_var(prefix, postfix, name, buf, sizeof(buf), \
80 prefix, name, postfix, buf, err); \
411 char postfix[2]; in bcm47xx_fill_sprom_path_r4589() local
419 snprintf(postfix, sizeof(postfix), "%i", i); in bcm47xx_fill_sprom_path_r4589()
420 nvram_read_u8(prefix, postfix, "maxp2ga", in bcm47xx_fill_sprom_path_r4589()
422 nvram_read_u8(prefix, postfix, "itt2ga", in bcm47xx_fill_sprom_path_r4589()
424 nvram_read_u8(prefix, postfix, "itt5ga", in bcm47xx_fill_sprom_path_r4589()
426 nvram_read_u16(prefix, postfix, "pa2gw0a", in bcm47xx_fill_sprom_path_r4589()
428 nvram_read_u16(prefix, postfix, "pa2gw1a", in bcm47xx_fill_sprom_path_r4589()
430 nvram_read_u16(prefix, postfix, "pa2gw2a", in bcm47xx_fill_sprom_path_r4589()
432 nvram_read_u8(prefix, postfix, "maxp5ga", in bcm47xx_fill_sprom_path_r4589()
434 nvram_read_u8(prefix, postfix, "maxp5gha", in bcm47xx_fill_sprom_path_r4589()
436 nvram_read_u8(prefix, postfix, "maxp5gla", in bcm47xx_fill_sprom_path_r4589()
438 nvram_read_u16(prefix, postfix, "pa5gw0a", in bcm47xx_fill_sprom_path_r4589()
440 nvram_read_u16(prefix, postfix, "pa5gw1a", in bcm47xx_fill_sprom_path_r4589()
442 nvram_read_u16(prefix, postfix, "pa5gw2a", in bcm47xx_fill_sprom_path_r4589()
444 nvram_read_u16(prefix, postfix, "pa5glw0a", in bcm47xx_fill_sprom_path_r4589()
446 nvram_read_u16(prefix, postfix, "pa5glw1a", in bcm47xx_fill_sprom_path_r4589()
448 nvram_read_u16(prefix, postfix, "pa5glw2a", in bcm47xx_fill_sprom_path_r4589()
450 nvram_read_u16(prefix, postfix, "pa5ghw0a", in bcm47xx_fill_sprom_path_r4589()
452 nvram_read_u16(prefix, postfix, "pa5ghw1a", in bcm47xx_fill_sprom_path_r4589()
454 nvram_read_u16(prefix, postfix, "pa5ghw2a", in bcm47xx_fill_sprom_path_r4589()
462 char postfix[2]; in bcm47xx_fill_sprom_path_r45() local
470 snprintf(postfix, sizeof(postfix), "%i", i); in bcm47xx_fill_sprom_path_r45()
471 nvram_read_u16(prefix, postfix, "pa2gw3a", in bcm47xx_fill_sprom_path_r45()
473 nvram_read_u16(prefix, postfix, "pa5gw3a", in bcm47xx_fill_sprom_path_r45()
475 nvram_read_u16(prefix, postfix, "pa5glw3a", in bcm47xx_fill_sprom_path_r45()
477 nvram_read_u16(prefix, postfix, "pa5ghw3a", in bcm47xx_fill_sprom_path_r45()