Home
last modified time | relevance | path

Searched refs:max_functions (Results 1 – 3 of 3) sorted by relevance

/components/drivers/pci/endpoint/
A Dendpoint.c25 if (ep && ep->ops && hdr && func_no < ep->max_functions) in rt_pci_ep_write_header()
51 if (ep && ep->ops && func_no < ep->max_functions && bar && in rt_pci_ep_set_bar()
104 if (ep && ep->ops && func_no < ep->max_functions && bar && in rt_pci_ep_clear_bar()
131 if (ep && ep->ops && func_no < ep->max_functions && size) in rt_pci_ep_map_addr()
157 if (ep && ep->ops && func_no < ep->max_functions) in rt_pci_ep_unmap_addr()
183 if (ep && ep->ops && func_no < ep->max_functions) in rt_pci_ep_set_msi()
217 if (ep && ep->ops && func_no < ep->max_functions && out_irq_nr) in rt_pci_ep_get_msi()
270 if (ep && ep->ops && func_no < ep->max_functions && out_irq_nr) in rt_pci_ep_get_msix()
296 if (ep && ep->ops && func_no < ep->max_functions) in rt_pci_ep_raise_irq()
425 if (epf->func_no > ep->max_functions - 1) in rt_pci_ep_add_epf()
[all …]
/components/drivers/pci/host/dw/
A Dpcie-dw_ep.c70 rt_uint8_t func_no, funcs = pci->endpoint.epc->max_functions; in dw_pcie_ep_reset_bar()
810 if (rt_dm_dev_prop_read_u8(dev, "max-functions", &epc->max_functions)) in dw_pcie_ep_init()
812 epc->max_functions = 1; in dw_pcie_ep_init()
815 for (rt_uint8_t func_no = 0; func_no < epc->max_functions; ++func_no) in dw_pcie_ep_init()
/components/drivers/include/drivers/
A Dpci_endpoint.h91 rt_uint8_t max_functions; member

Completed in 6 milliseconds