Lines Matching refs:func
60 unsigned int func, unsigned int off) in bcma_get_cfgspace_addr() argument
77 addr |= (func << BCMA_CORE_PCI_CFG_FUN_SHIFT); in bcma_get_cfgspace_addr()
85 unsigned int func, unsigned int off, in bcma_extpci_read_config() argument
97 if (func > 1) in bcma_extpci_read_config()
104 addr = (func << 12); in bcma_extpci_read_config()
109 addr |= (func << 8); in bcma_extpci_read_config()
114 addr = bcma_get_cfgspace_addr(pc, dev, func, off); in bcma_extpci_read_config()
149 unsigned int func, unsigned int off, in bcma_extpci_write_config() argument
162 if (func > 1) in bcma_extpci_write_config()
169 addr = (func << 12); in bcma_extpci_write_config()
174 addr |= (func << 8); in bcma_extpci_write_config()
179 addr = bcma_get_cfgspace_addr(pc, dev, func, off); in bcma_extpci_write_config()
272 unsigned int func, u8 req_cap_id, in bcma_find_pci_capability() argument
281 bcma_extpci_read_config(pc, dev, func, PCI_HEADER_TYPE, &byte_val, in bcma_find_pci_capability()
287 bcma_extpci_read_config(pc, dev, func, PCI_STATUS, &byte_val, in bcma_find_pci_capability()
293 bcma_extpci_read_config(pc, dev, func, PCI_CAPABILITY_LIST, &cap_ptr, in bcma_find_pci_capability()
300 bcma_extpci_read_config(pc, dev, func, cap_ptr, &cap_id, sizeof(u8)); in bcma_find_pci_capability()
302 bcma_extpci_read_config(pc, dev, func, cap_ptr + 1, &cap_ptr, in bcma_find_pci_capability()
306 bcma_extpci_read_config(pc, dev, func, cap_ptr, &cap_id, in bcma_find_pci_capability()
326 bcma_extpci_read_config(pc, dev, func, cap_data, buf, in bcma_find_pci_capability()