Searched refs:type_a (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/include/linux/
H A Dmemblock.h88 void __next_mem_range(u64 *idx, int nid, struct memblock_type *type_a,
92 void __next_mem_range_rev(u64 *idx, int nid, struct memblock_type *type_a,
97 * for_each_mem_range - iterate through memblock areas from type_a and not
98 * included in type_b. Or just type_a if type_b is NULL.
100 * @type_a: ptr to memblock_type to iterate
107 #define for_each_mem_range(i, type_a, type_b, nid, \
109 for (i = 0, __next_mem_range(&i, nid, type_a, type_b, \
112 __next_mem_range(&i, nid, type_a, type_b, \
117 * type_a and not included in type_b. Or just type_a if type_b is NULL.
119 * @type_a: ptr to memblock_type to iterate
126 #define for_each_mem_range_rev(i, type_a, type_b, nid, \
129 __next_mem_range_rev(&i, nid, type_a, type_b, \
132 __next_mem_range_rev(&i, nid, type_a, type_b, \
/linux-4.1.27/mm/
H A Dmemblock.c785 * @type_a: pointer to memblock_type from where the range is taken
793 * *@idx contains index into type_a and the upper 32bit indexes the
807 struct memblock_type *type_a, __next_mem_range()
819 for (; idx_a < type_a->cnt; idx_a++) { __next_mem_range()
820 struct memblock_region *m = &type_a->regions[idx_a]; __next_mem_range()
893 * Finds the next range from type_a which is not marked as unsuitable
898 * @type_a: pointer to memblock_type from where the range is taken
907 struct memblock_type *type_a, __next_mem_range_rev()
919 idx_a = type_a->cnt - 1; __next_mem_range_rev()
924 struct memblock_region *m = &type_a->regions[idx_a]; __next_mem_range_rev()
806 __next_mem_range(u64 *idx, int nid, struct memblock_type *type_a, struct memblock_type *type_b, phys_addr_t *out_start, phys_addr_t *out_end, int *out_nid) __next_mem_range() argument
906 __next_mem_range_rev(u64 *idx, int nid, struct memblock_type *type_a, struct memblock_type *type_b, phys_addr_t *out_start, phys_addr_t *out_end, int *out_nid) __next_mem_range_rev() argument
/linux-4.1.27/drivers/acpi/
H A Dsleep.c79 u8 type_a, type_b; acpi_sleep_state_supported() local
81 status = acpi_get_sleep_type_data(sleep_state, &type_a, &type_b); acpi_sleep_state_supported()
/linux-4.1.27/drivers/nfc/
H A Dpn533.c1227 static bool pn533_target_type_a_is_valid(struct pn533_target_type_a *type_a, pn533_target_type_a_is_valid() argument
1240 ssd = PN533_TYPE_A_SENS_RES_SSD(type_a->sens_res); pn533_target_type_a_is_valid()
1241 platconf = PN533_TYPE_A_SENS_RES_PLATCONF(type_a->sens_res); pn533_target_type_a_is_valid()
1250 if (PN533_TYPE_A_SEL_CASCADE(type_a->sel_res) != 0) pn533_target_type_a_is_valid()

Completed in 150 milliseconds