Searched refs:bus_node (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/arch/powerpc/boot/ |
D | cuboot-pq2.c | 53 void *bus_node, *parent_node; in update_cs_ranges() local 60 bus_node = finddevice("/localbus"); in update_cs_ranges() 61 if (!bus_node || !dt_is_compatible(bus_node, "fsl,pq2-localbus")) in update_cs_ranges() 64 dt_get_reg_format(bus_node, &naddr, &nsize); in update_cs_ranges() 68 parent_node = get_parent(bus_node); in update_cs_ranges() 76 if (!dt_xlate_reg(bus_node, 0, (unsigned long *)&ctrl_addr, in update_cs_ranges() 80 len = getprop(bus_node, "ranges", cs_ranges_buf, sizeof(cs_ranges_buf)); in update_cs_ranges()
|
/Linux-v4.19/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_nvram.c | 433 struct pci_resource *bus_node; in compaq_nvram_load() local 594 bus_node = kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in compaq_nvram_load() 596 if (!bus_node) in compaq_nvram_load() 599 bus_node->base = *(u32 *)p_byte; in compaq_nvram_load() 603 kfree(bus_node); in compaq_nvram_load() 607 bus_node->length = *(u32 *)p_byte; in compaq_nvram_load() 611 kfree(bus_node); in compaq_nvram_load() 615 bus_node->next = ctrl->bus_head; in compaq_nvram_load() 616 ctrl->bus_head = bus_node; in compaq_nvram_load()
|
D | cpqphp_pci.c | 704 struct pci_resource *bus_node; in cpqhp_save_used_resources() local 731 bus_node = kmalloc(sizeof(*bus_node), GFP_KERNEL); in cpqhp_save_used_resources() 732 if (!bus_node) in cpqhp_save_used_resources() 735 bus_node->base = secondary_bus; in cpqhp_save_used_resources() 736 bus_node->length = temp_byte - secondary_bus + 1; in cpqhp_save_used_resources() 738 bus_node->next = func->bus_head; in cpqhp_save_used_resources() 739 func->bus_head = bus_node; in cpqhp_save_used_resources() 1181 struct pci_resource *bus_node; in cpqhp_find_available_resources() local 1375 bus_node = kmalloc(sizeof(*bus_node), GFP_KERNEL); in cpqhp_find_available_resources() 1376 if (!bus_node) in cpqhp_find_available_resources() [all …]
|
D | ibmphp.h | 328 struct bus_node { struct 373 int ibmphp_find_resource(struct bus_node *, u32, struct resource_node **, int); 375 int ibmphp_remove_bus(struct bus_node *, u8); 378 struct bus_node *ibmphp_find_res_bus(u8);
|
D | cpqphp_ctrl.c | 2371 struct pci_resource *bus_node; in configure_new_function() local 2399 bus_node = get_max_resource(&(resources->bus_head), 1); in configure_new_function() 2402 if (!bus_node) in configure_new_function() 2406 temp_byte = bus_node->base; in configure_new_function() 2407 dbg("set Secondary bus = %d\n", bus_node->base); in configure_new_function() 2413 temp_byte = bus_node->base + bus_node->length - 1; in configure_new_function() 2414 dbg("set subordinate bus = %d\n", bus_node->base + bus_node->length - 1); in configure_new_function() 2474 temp_resources.bus_head = bus_node; in configure_new_function() 2497 memcpy(hold_bus_node, bus_node, sizeof(struct pci_resource)); in configure_new_function() 2499 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… 567 struct bus_node *bus; in configure_bridge() 1199 struct bus_node *bus; in unconfigure_boot_device() 1313 struct bus_node *bus; in unconfigure_boot_bridge() 1605 static int add_new_bus(struct bus_node *bus, struct resource_node *io, struct resource_node *mem, s… in add_new_bus() 1610 struct bus_node *cur_bus = NULL; in add_new_bus() 1668 struct bus_node *bus_cur; in find_sec_number()
|
/Linux-v4.19/drivers/soundwire/ |
D | bus.h | 111 struct list_head bus_node; member
|
D | stream.c | 601 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in sdw_program_params() 790 list_add_tail(&m_rt->bus_node, &bus->m_rt_list); in sdw_alloc_master_rt() 907 list_del(&m_rt->bus_node); in sdw_release_master_stream()
|