Lines Matching refs:postfix

33 static void create_key(const char *prefix, const char *postfix,  in create_key()  argument
36 if (prefix && postfix) in create_key()
37 snprintf(buf, len, "%s%s%s", prefix, name, postfix); in create_key()
40 else if (postfix) in create_key()
41 snprintf(buf, len, "%s%s", name, postfix); in create_key()
46 static int get_nvram_var(const char *prefix, const char *postfix, in get_nvram_var() argument
52 create_key(prefix, postfix, name, key, sizeof(key)); in get_nvram_var()
56 create_key(NULL, postfix, name, key, sizeof(key)); in get_nvram_var()
64 const char *postfix, const char *name, \
71 err = get_nvram_var(prefix, postfix, name, buf, sizeof(buf), \
78 prefix, name, postfix, buf, err); \
421 char postfix[2]; in bcm47xx_fill_sprom_path_r4589() local
429 snprintf(postfix, sizeof(postfix), "%i", i); in bcm47xx_fill_sprom_path_r4589()
430 nvram_read_u8(prefix, postfix, "maxp2ga", in bcm47xx_fill_sprom_path_r4589()
432 nvram_read_u8(prefix, postfix, "itt2ga", in bcm47xx_fill_sprom_path_r4589()
434 nvram_read_u8(prefix, postfix, "itt5ga", in bcm47xx_fill_sprom_path_r4589()
436 nvram_read_u16(prefix, postfix, "pa2gw0a", in bcm47xx_fill_sprom_path_r4589()
438 nvram_read_u16(prefix, postfix, "pa2gw1a", in bcm47xx_fill_sprom_path_r4589()
440 nvram_read_u16(prefix, postfix, "pa2gw2a", in bcm47xx_fill_sprom_path_r4589()
442 nvram_read_u8(prefix, postfix, "maxp5ga", in bcm47xx_fill_sprom_path_r4589()
444 nvram_read_u8(prefix, postfix, "maxp5gha", in bcm47xx_fill_sprom_path_r4589()
446 nvram_read_u8(prefix, postfix, "maxp5gla", in bcm47xx_fill_sprom_path_r4589()
448 nvram_read_u16(prefix, postfix, "pa5gw0a", in bcm47xx_fill_sprom_path_r4589()
450 nvram_read_u16(prefix, postfix, "pa5gw1a", in bcm47xx_fill_sprom_path_r4589()
452 nvram_read_u16(prefix, postfix, "pa5gw2a", in bcm47xx_fill_sprom_path_r4589()
454 nvram_read_u16(prefix, postfix, "pa5glw0a", in bcm47xx_fill_sprom_path_r4589()
456 nvram_read_u16(prefix, postfix, "pa5glw1a", in bcm47xx_fill_sprom_path_r4589()
458 nvram_read_u16(prefix, postfix, "pa5glw2a", in bcm47xx_fill_sprom_path_r4589()
460 nvram_read_u16(prefix, postfix, "pa5ghw0a", in bcm47xx_fill_sprom_path_r4589()
462 nvram_read_u16(prefix, postfix, "pa5ghw1a", in bcm47xx_fill_sprom_path_r4589()
464 nvram_read_u16(prefix, postfix, "pa5ghw2a", in bcm47xx_fill_sprom_path_r4589()
472 char postfix[2]; in bcm47xx_fill_sprom_path_r45() local
480 snprintf(postfix, sizeof(postfix), "%i", i); in bcm47xx_fill_sprom_path_r45()
481 nvram_read_u16(prefix, postfix, "pa2gw3a", in bcm47xx_fill_sprom_path_r45()
483 nvram_read_u16(prefix, postfix, "pa5gw3a", in bcm47xx_fill_sprom_path_r45()
485 nvram_read_u16(prefix, postfix, "pa5glw3a", in bcm47xx_fill_sprom_path_r45()
487 nvram_read_u16(prefix, postfix, "pa5ghw3a", in bcm47xx_fill_sprom_path_r45()