Home
last modified time | relevance | path

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

/drivers/net/wireless/libertas/
D11d.c16 static struct region_code_mapping region_code_mapping[] = { variable
53 for (i = 0; i < ARRAY_SIZE(region_code_mapping); i++) { in lbs_region_2_code()
54 if (!memcmp(region, region_code_mapping[i].region, in lbs_region_2_code()
56 return (region_code_mapping[i].code); in lbs_region_2_code()
60 return (region_code_mapping[0].code); in lbs_region_2_code()
67 for (i = 0; i < ARRAY_SIZE(region_code_mapping); i++) { in lbs_code_2_region()
68 if (region_code_mapping[i].code == code) in lbs_code_2_region()
69 return (region_code_mapping[i].region); in lbs_code_2_region()
72 return (region_code_mapping[0].region); in lbs_code_2_region()
D11d.h76 struct region_code_mapping { struct