Lines Matching refs:card
197 get_bus_type(picl_nodehdl_t nodeh, struct io_card *card) in get_bus_type() argument
201 card->bus_type[0] = '\0'; in get_bus_type()
206 (void) strlcpy(card->bus_type, "PCIE", in get_bus_type()
207 sizeof (card->bus_type)); in get_bus_type()
209 (void) strlcpy(card->bus_type, "PCIX", in get_bus_type()
210 sizeof (card->bus_type)); in get_bus_type()
240 (void) strlcpy(card->bus_type, q, in get_bus_type()
241 sizeof (card->bus_type)); in get_bus_type()
256 get_slot_label(picl_nodehdl_t nodeh, struct io_card *card) in get_slot_label() argument
271 (void) strlcpy(card->slot_str, val, sizeof (card->slot_str)); in get_slot_label()
328 (void) strlcpy(card->slot_str, val, in get_slot_label()
329 sizeof (card->slot_str)); in get_slot_label()
341 get_slot_number(picl_nodehdl_t nodeh, struct io_card *card) in get_slot_number() argument
356 (void) strlcpy(card->slot_str, MOTHERBOARD, in get_slot_number()
357 sizeof (card->slot_str)); in get_slot_number()
358 card->slot = -1; in get_slot_number()
369 (void) strlcpy(card->slot_str, MOTHERBOARD, in get_slot_number()
370 sizeof (card->slot_str)); in get_slot_number()
371 card->slot = -1; in get_slot_number()
376 (void) strlcpy(card->slot_str, MOTHERBOARD, in get_slot_number()
377 sizeof (card->slot_str)); in get_slot_number()
378 card->slot = -1; in get_slot_number()
382 (void) strlcpy(card->slot_str, MOTHERBOARD, in get_slot_number()
383 sizeof (card->slot_str)); in get_slot_number()
384 card->slot = -1; in get_slot_number()
398 card->slot = atol(uaddr); in get_slot_number()
399 if (((1 << card->slot) & dev_mask) == 0) { in get_slot_number()
400 (void) strlcpy(card->slot_str, MOTHERBOARD, in get_slot_number()
401 sizeof (card->slot_str)); in get_slot_number()
402 card->slot = -1; in get_slot_number()
405 int shift = sizeof (uint32_t)*8-1-card->slot; in get_slot_number()
418 (void) strlcpy(card->slot_str, (char *)(p+i), in get_slot_number()
419 sizeof (card->slot_str)); in get_slot_number()