Home
last modified time | relevance | path

Searched refs:bus_node (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/pci/hotplug/
A Dibmphp_res.c27 static int remove_ranges(struct bus_node *, struct bus_node *);
31 static struct bus_node *find_bus_wprev(u8, struct bus_node **, u8);
37 struct bus_node *newbus; in alloc_error_bus()
79 struct bus_node *newbus; in alloc_bus_range()
185 struct bus_node *bus_cur; in ibmphp_rsrc_init()
186 struct bus_node *bus_prev; in ibmphp_rsrc_init()
579 struct bus_node *bus_cur; in ibmphp_add_resource()
759 struct bus_node *bus_cur; in ibmphp_remove_resource()
954 struct bus_node *bus_cur; in ibmphp_check_resource()
1423 static int remove_ranges(struct bus_node *bus_cur, struct bus_node *bus_prev) in remove_ranges()
[all …]
A Dcpqphp_pci.c706 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()
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()
1384 bus_node->base, bus_node->length); in cpqhp_find_available_resources()
1388 ctrl->bus_head = bus_node; in cpqhp_find_available_resources()
[all …]
A Dcpqphp_nvram.c430 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()
A Dibmphp.h328 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);
A Dcpqphp_ctrl.c2338 struct pci_resource *bus_node; in configure_new_function() local
2369 if (!bus_node) in configure_new_function()
2373 temp_byte = bus_node->base; in configure_new_function()
2374 dbg("set Secondary bus = %d\n", bus_node->base); in configure_new_function()
2380 temp_byte = bus_node->base + bus_node->length - 1; in configure_new_function()
2381 dbg("set subordinate bus = %d\n", bus_node->base + bus_node->length - 1); in configure_new_function()
2441 temp_resources.bus_head = bus_node; in configure_new_function()
2466 bus_node->base += 1; in configure_new_function()
2467 bus_node->length -= 1; in configure_new_function()
2468 bus_node->next = NULL; in configure_new_function()
[all …]
A Dibmphp_pci.c26 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()
/linux/arch/powerpc/boot/
A Dcuboot-pq2.c50 void *bus_node, *parent_node; in update_cs_ranges() local
57 bus_node = finddevice("/localbus"); in update_cs_ranges()
58 if (!bus_node || !dt_is_compatible(bus_node, "fsl,pq2-localbus")) in update_cs_ranges()
61 dt_get_reg_format(bus_node, &naddr, &nsize); in update_cs_ranges()
65 parent_node = get_parent(bus_node); in update_cs_ranges()
73 if (!dt_xlate_reg(bus_node, 0, (unsigned long *)&ctrl_addr, in update_cs_ranges()
77 len = getprop(bus_node, "ranges", cs_ranges_buf, sizeof(cs_ranges_buf)); in update_cs_ranges()
/linux/drivers/gpu/drm/bridge/
A Dlvds-codec.c118 struct device_node *bus_node; in lvds_codec_probe() local
171 bus_node = of_graph_get_endpoint_by_regs(dev->of_node, 0, 0); in lvds_codec_probe()
172 if (!bus_node) { in lvds_codec_probe()
177 ret = of_property_read_string(bus_node, "data-mapping", in lvds_codec_probe()
179 of_node_put(bus_node); in lvds_codec_probe()
/linux/drivers/soundwire/
A Dgeneric_bandwidth_allocation.c154 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in _sdw_compute_port_params()
182 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in sdw_compute_group_params()
251 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in sdw_get_group_count()
255 bus_node)) { in sdw_get_group_count()
A Dbus.h144 struct list_head bus_node; member
A Dstream.c617 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in sdw_program_params()
955 list_add_tail(&m_rt->bus_node, &bus->m_rt_list); in sdw_alloc_master_rt()
1076 list_del(&m_rt->bus_node); in sdw_release_master_stream()
A Dqcom.c821 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { in qcom_swrm_compute_params()

Completed in 53 milliseconds