Searched refs:bus_node (Results 1 – 12 of 12) sorted by relevance
/drivers/pci/hotplug/ |
D | ibmphp_res.c | 25 static void update_resources(struct bus_node *bus_cur, int type, int rangeno); 27 static int remove_ranges(struct bus_node *, struct bus_node *); 28 static int update_bridge_ranges(struct bus_node **); 29 static int add_bus_range(int type, struct range_node *, struct bus_node *); 30 static void fix_resources(struct bus_node *); 31 static struct bus_node *find_bus_wprev(u8, struct bus_node **, u8); 35 static struct bus_node * __init alloc_error_bus(struct ebda_pci_rsrc *curr, u8 busno, int flag) in alloc_error_bus() 37 struct bus_node *newbus; in alloc_error_bus() 44 newbus = kzalloc(sizeof(struct bus_node), GFP_KERNEL); in alloc_error_bus() 77 static int __init alloc_bus_range(struct bus_node **new_bus, struct range_node **new_range, struct … in alloc_bus_range() [all …]
|
D | cpqphp_pci.c | 706 struct pci_resource *bus_node; in cpqhp_save_used_resources() local 733 bus_node = kmalloc(sizeof(*bus_node), GFP_KERNEL); in cpqhp_save_used_resources() 734 if (!bus_node) in cpqhp_save_used_resources() 737 bus_node->base = secondary_bus; in cpqhp_save_used_resources() 738 bus_node->length = temp_byte - secondary_bus + 1; in cpqhp_save_used_resources() 740 bus_node->next = func->bus_head; in cpqhp_save_used_resources() 741 func->bus_head = bus_node; in cpqhp_save_used_resources() 1183 struct pci_resource *bus_node; in cpqhp_find_available_resources() local 1377 bus_node = kmalloc(sizeof(*bus_node), GFP_KERNEL); in cpqhp_find_available_resources() 1378 if (!bus_node) in cpqhp_find_available_resources() [all …]
|
D | cpqphp_nvram.c | 430 struct pci_resource *bus_node; in compaq_nvram_load() local 591 bus_node = kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in compaq_nvram_load() 593 if (!bus_node) in compaq_nvram_load() 596 bus_node->base = *(u32 *)p_byte; in compaq_nvram_load() 600 kfree(bus_node); in compaq_nvram_load() 604 bus_node->length = *(u32 *)p_byte; in compaq_nvram_load() 608 kfree(bus_node); in compaq_nvram_load() 612 bus_node->next = ctrl->bus_head; in compaq_nvram_load() 613 ctrl->bus_head = bus_node; in compaq_nvram_load()
|
D | ibmphp.h | 326 struct bus_node { struct 371 int ibmphp_find_resource(struct bus_node *, u32, struct resource_node **, int); 373 int ibmphp_remove_bus(struct bus_node *, u8); 376 struct bus_node *ibmphp_find_res_bus(u8);
|
D | cpqphp_ctrl.c | 2326 struct pci_resource *bus_node; in configure_new_function() local 2354 bus_node = get_max_resource(&(resources->bus_head), 1); in configure_new_function() 2357 if (!bus_node) in configure_new_function() 2361 temp_byte = bus_node->base; in configure_new_function() 2362 dbg("set Secondary bus = %d\n", bus_node->base); in configure_new_function() 2368 temp_byte = bus_node->base + bus_node->length - 1; in configure_new_function() 2369 dbg("set subordinate bus = %d\n", bus_node->base + bus_node->length - 1); in configure_new_function() 2429 temp_resources.bus_head = bus_node; in configure_new_function() 2452 memcpy(hold_bus_node, bus_node, sizeof(struct pci_resource)); in configure_new_function() 2454 bus_node->base += 1; in configure_new_function() [all …]
|
D | ibmphp_pci.c | 26 static int add_new_bus(struct bus_node *, struct resource_node *, struct resource_node *, struct re… 566 struct bus_node *bus; in configure_bridge() 1198 struct bus_node *bus; in unconfigure_boot_device() 1312 struct bus_node *bus; in unconfigure_boot_bridge() 1603 static int add_new_bus(struct bus_node *bus, struct resource_node *io, struct resource_node *mem, s… in add_new_bus() 1608 struct bus_node *cur_bus = NULL; in add_new_bus() 1666 struct bus_node *bus_cur; in find_sec_number()
|
/drivers/gpu/drm/bridge/ |
D | lvds-codec.c | 119 struct device_node *bus_node; in lvds_codec_probe() local 172 bus_node = of_graph_get_endpoint_by_regs(dev->of_node, 0, 0); in lvds_codec_probe() 173 if (!bus_node) { in lvds_codec_probe() 178 ret = drm_of_lvds_get_data_mapping(bus_node); in lvds_codec_probe() 179 of_node_put(bus_node); in lvds_codec_probe()
|
/drivers/soundwire/ |
D | generic_bandwidth_allocation.c | 148 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in _sdw_compute_port_params() 173 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in sdw_compute_group_params() 242 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in sdw_get_group_count() 246 bus_node)) { in sdw_get_group_count()
|
D | bus.h | 144 struct list_head bus_node; member
|
D | stream.c | 634 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in sdw_program_params() 1179 list_add_tail(&m_rt->bus_node, &bus->m_rt_list); in sdw_master_rt_alloc() 1227 list_del(&m_rt->bus_node); in sdw_master_rt_free()
|
D | amd_manager.c | 420 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in amd_sdw_compute_params()
|
D | qcom.c | 1062 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in qcom_swrm_compute_params()
|