Lines Matching refs:cdsp
137 static void cardbus_add_prop(struct cb_deviceset_props *cdsp, int type,
139 static void cardbus_add_stringprop(struct cb_deviceset_props *cdsp,
1528 cardbus_add_prop(struct cb_deviceset_props *cdsp, int type, char *name, in cardbus_add_prop() argument
1540 propp->prop_next = cdsp->prop_list; in cardbus_add_prop()
1541 cdsp->prop_list = propp; in cardbus_add_prop()
1545 cardbus_add_stringprop(struct cb_deviceset_props *cdsp, char *name, in cardbus_add_stringprop() argument
1551 cardbus_add_prop(cdsp, DDI_PROP_TYPE_STRING, name, (caddr_t)nstr, in cardbus_add_stringprop()
1609 struct cb_deviceset_props *cdsp; in cardbus_parse_devprop() local
1611 cdsp = (struct cb_deviceset_props *)kmem_zalloc(sizeof (*cdsp), in cardbus_parse_devprop()
1651 cdsp->nodename = kmem_alloc( in cardbus_parse_devprop()
1654 (void) strcpy(cdsp->nodename, in cardbus_parse_devprop()
1657 cardbus_add_stringprop(cdsp, in cardbus_parse_devprop()
1668 cdsp->binding_name = kmem_alloc( in cardbus_parse_devprop()
1672 cdsp->binding_name, quote); in cardbus_parse_devprop()
1700 cardbus_add_prop(cdsp, in cardbus_parse_devprop()
1724 cardbus_add_prop(cdsp, in cardbus_parse_devprop()
1736 cardbus_add_prop(cdsp, in cardbus_parse_devprop()
1746 cdsp->nodename = kmem_alloc( in cardbus_parse_devprop()
1748 (void) strcpy(cdsp->nodename, in cardbus_parse_devprop()
1751 cardbus_add_stringprop(cdsp, in cardbus_parse_devprop()
1762 cdsp->venid = val; in cardbus_parse_devprop()
1766 cdsp->devid = val; in cardbus_parse_devprop()
1775 cdsp->venid = val; in cardbus_parse_devprop()
1779 cdsp->devid = val; in cardbus_parse_devprop()
1786 cdsp->binding_name = kmem_alloc( in cardbus_parse_devprop()
1788 (void) strcpy(cdsp->binding_name, in cardbus_parse_devprop()
1799 cardbus_devprops_free(cdsp); in cardbus_parse_devprop()
1812 cardbus_devprops_free(cdsp); in cardbus_parse_devprop()
1819 cardbus_devprops_free(cdsp); in cardbus_parse_devprop()
1823 if (cdsp->venid == 0 || cdsp->devid == 0) { in cardbus_parse_devprop()
1826 cardbus_devprops_free(cdsp); in cardbus_parse_devprop()
1830 cdsp->next = cbp->cb_dsp; in cardbus_parse_devprop()
1831 cbp->cb_dsp = cdsp; in cardbus_parse_devprop()