Lines Matching refs:dirname
619 is_ccp_device(const char *dirname, in is_ccp_device() argument
630 snprintf(filename, sizeof(filename), "%s/vendor", dirname); in is_ccp_device()
636 snprintf(filename, sizeof(filename), "%s/device", dirname); in is_ccp_device()
652 ccp_probe_device(const char *dirname, uint16_t domain, in ccp_probe_device() argument
676 snprintf(filename, sizeof(filename), "%s/vendor", dirname); in ccp_probe_device()
682 snprintf(filename, sizeof(filename), "%s/device", dirname); in ccp_probe_device()
689 dirname); in ccp_probe_device()
696 dirname); in ccp_probe_device()
703 dirname); in ccp_probe_device()
710 snprintf(filename, sizeof(filename), "%s/resource", dirname); in ccp_probe_device()
714 uio_num = ccp_find_uio_devname(dirname); in ccp_probe_device()
721 uio_num = ccp_find_uio_devname(dirname); in ccp_probe_device()
741 snprintf(devname, sizeof(devname), "%s/resource%d", dirname, i); in ccp_probe_device()
781 char dirname[PATH_MAX]; in ccp_probe_devices() local
797 snprintf(dirname, sizeof(dirname), "%s/%s", in ccp_probe_devices()
799 if (is_ccp_device(dirname, ccp_id, &ccp_type)) { in ccp_probe_devices()
802 ret = ccp_probe_device(dirname, domain, bus, devid, in ccp_probe_devices()