Searched refs:resource_no (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | macio.h | 65 static inline unsigned long macio_resource_start(struct macio_dev *dev, int resource_no) in macio_resource_start() argument 67 return dev->resource[resource_no].start; in macio_resource_start() 70 static inline unsigned long macio_resource_end(struct macio_dev *dev, int resource_no) in macio_resource_end() argument 72 return dev->resource[resource_no].end; in macio_resource_end() 75 static inline unsigned long macio_resource_len(struct macio_dev *dev, int resource_no) in macio_resource_len() argument 77 struct resource *res = &dev->resource[resource_no]; in macio_resource_len() 85 extern int macio_request_resource(struct macio_dev *dev, int resource_no, const char *name); 86 extern void macio_release_resource(struct macio_dev *dev, int resource_no);
|
/kernel/linux/linux-5.10/drivers/macintosh/ |
D | macio_asic.c | 591 int macio_request_resource(struct macio_dev *dev, int resource_no, in macio_request_resource() argument 596 if (macio_resource_len(dev, resource_no) == 0) in macio_request_resource() 599 if (!request_mem_region(macio_resource_start(dev, resource_no), in macio_request_resource() 600 macio_resource_len(dev, resource_no), in macio_request_resource() 604 if (dr && resource_no < 32) in macio_request_resource() 605 dr->res_mask |= 1 << resource_no; in macio_request_resource() 612 resource_no, in macio_request_resource() 613 macio_resource_len(dev, resource_no), in macio_request_resource() 614 macio_resource_start(dev, resource_no), in macio_request_resource() 624 void macio_release_resource(struct macio_dev *dev, int resource_no) in macio_release_resource() argument [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/vxge/ |
D | vxge-reg.h | 873 /*0x00000*/ u64 resource_no; member
|