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