Searched refs:nmaps (Results 1 – 8 of 8) sorted by relevance
/drivers/pinctrl/ |
D | pinctrl-exynos5440.c | 179 unsigned *nmaps) in exynos5440_dt_node_to_map() argument 212 *nmaps = 0; in exynos5440_dt_node_to_map() 248 map[*nmaps].data.configs.group_or_pin = gname; in exynos5440_dt_node_to_map() 249 map[*nmaps].data.configs.configs = cfg; in exynos5440_dt_node_to_map() 250 map[*nmaps].data.configs.num_configs = cfg_cnt; in exynos5440_dt_node_to_map() 251 map[*nmaps].type = PIN_MAP_TYPE_CONFIGS_GROUP; in exynos5440_dt_node_to_map() 252 *nmaps += 1; in exynos5440_dt_node_to_map() 264 map[*nmaps].data.mux.group = gname; in exynos5440_dt_node_to_map() 265 map[*nmaps].data.mux.function = fname; in exynos5440_dt_node_to_map() 266 map[*nmaps].type = PIN_MAP_TYPE_MUX_GROUP; in exynos5440_dt_node_to_map() [all …]
|
D | pinctrl-samsung.c | 96 unsigned *nmaps) in samsung_dt_node_to_map() argument 130 *nmaps = 0; in samsung_dt_node_to_map() 166 map[*nmaps].data.configs.group_or_pin = gname; in samsung_dt_node_to_map() 167 map[*nmaps].data.configs.configs = cfg; in samsung_dt_node_to_map() 168 map[*nmaps].data.configs.num_configs = cfg_cnt; in samsung_dt_node_to_map() 169 map[*nmaps].type = PIN_MAP_TYPE_CONFIGS_GROUP; in samsung_dt_node_to_map() 170 *nmaps += 1; in samsung_dt_node_to_map() 182 map[*nmaps].data.mux.group = gname; in samsung_dt_node_to_map() 183 map[*nmaps].data.mux.function = fname; in samsung_dt_node_to_map() 184 map[*nmaps].type = PIN_MAP_TYPE_MUX_GROUP; in samsung_dt_node_to_map() [all …]
|
D | pinctrl-sunxi.c | 1440 int ret, nmaps, i = 0; in sunxi_pctrl_dt_node_to_map() local 1454 nmaps = of_property_count_strings(node, "allwinner,pins") * 2; in sunxi_pctrl_dt_node_to_map() 1455 if (nmaps < 0) { in sunxi_pctrl_dt_node_to_map() 1462 *map = kmalloc(nmaps * sizeof(struct pinctrl_map), GFP_KERNEL); in sunxi_pctrl_dt_node_to_map() 1522 *num_maps = nmaps; in sunxi_pctrl_dt_node_to_map()
|
/drivers/pinctrl/mvebu/ |
D | pinctrl-mvebu.c | 413 int ret, nmaps, n; in mvebu_pinctrl_dt_node_to_map() local 425 nmaps = of_property_count_strings(np, "marvell,pins"); in mvebu_pinctrl_dt_node_to_map() 426 if (nmaps < 0) { in mvebu_pinctrl_dt_node_to_map() 432 *map = kmalloc(nmaps * sizeof(struct pinctrl_map), GFP_KERNEL); in mvebu_pinctrl_dt_node_to_map() 462 *num_maps = nmaps; in mvebu_pinctrl_dt_node_to_map()
|
/drivers/infiniband/hw/ipath/ |
D | ipath_qp.c | 137 max_scan = qpt->nmaps - !offset; in alloc_qpn() 170 if (qpt->nmaps == QPNMAP_ENTRIES) in alloc_qpn() 172 map = &qpt->map[qpt->nmaps++]; in alloc_qpn() 174 } else if (map < &qpt->map[qpt->nmaps]) { in alloc_qpn() 1029 idev->qp_table.nmaps = 1; in ipath_init_qp_table()
|
D | ipath_verbs.h | 516 u32 nmaps; /* size of the map table */ member
|
/drivers/infiniband/hw/qib/ |
D | qib_qp.c | 148 max_scan = qpt->nmaps - !offset; in alloc_qpn() 179 if (qpt->nmaps == QPNMAP_ENTRIES) in alloc_qpn() 181 map = &qpt->map[qpt->nmaps++]; in alloc_qpn() 183 } else if (map < &qpt->map[qpt->nmaps]) { in alloc_qpn() 1236 qpt->nmaps = 1; in qib_init_qpn_table()
|
D | qib_verbs.h | 641 u32 nmaps; /* size of the map table */ member
|