Lines Matching refs:ll
1077 xgelldev_t *ll; in xge_attach() local
1155 ret = xgell_device_alloc(hldev, dev_info, &ll); in xge_attach()
1168 ll->init_rx_rings = XGELL_RX_RING_NUM_MAX; /* 8 */ in xge_attach()
1169 ll->init_tx_rings = XGELL_TX_RING_NUM_MAX; /* 8 */ in xge_attach()
1170 ll->init_rx_groups = ll->init_rx_rings; in xge_attach()
1173 ll->init_rx_rings = XGELL_RX_RING_NUM_MAX; /* 8 */ in xge_attach()
1174 ll->init_tx_rings = XGELL_TX_RING_NUM_MAX; /* 8 */ in xge_attach()
1175 ll->init_rx_groups = 1; in xge_attach()
1178 ll->init_rx_rings = XGELL_RX_RING_NUM_MIN; /* 1 */ in xge_attach()
1179 ll->init_tx_rings = XGELL_TX_RING_NUM_MIN; /* 1 */ in xge_attach()
1180 ll->init_rx_groups = ll->init_rx_rings; in xge_attach()
1191 ll->intr_type = DDI_INTR_TYPE_MSIX; in xge_attach()
1192 ll->intr_cnt = 1; in xge_attach()
1195 ll->intr_cnt++; in xge_attach()
1198 ll->intr_cnt++; in xge_attach()
1200 ll->intr_type = DDI_INTR_TYPE_FIXED; in xge_attach()
1201 ll->intr_cnt = 1; in xge_attach()
1207 while ((ret = xge_alloc_intrs(ll)) != DDI_SUCCESS) { in xge_attach()
1208 if (ll->intr_type == DDI_INTR_TYPE_MSIX) { in xge_attach()
1210 ll->intr_type = DDI_INTR_TYPE_FIXED; in xge_attach()
1211 ll->intr_cnt = 1; in xge_attach()
1221 if (ll->intr_type == DDI_INTR_TYPE_MSIX) { in xge_attach()
1228 attr.irqh = ll->intr_pri; in xge_attach()
1258 ret = xge_add_intrs(ll); in xge_attach()
1263 ret = xgell_device_register(ll, xgell_config); in xge_attach()
1269 xge_hal_device_private_set(hldev, ll); in xge_attach()
1277 xge_rem_intrs(ll); in xge_attach()
1281 xge_free_intrs(ll); in xge_attach()
1283 xgell_device_free(ll); in xge_attach()