Lines Matching refs:packet
421 struct if_sdio_packet *packet; in if_sdio_host_to_card_worker() local
431 packet = card->packets; in if_sdio_host_to_card_worker()
432 if (packet) in if_sdio_host_to_card_worker()
433 card->packets = packet->next; in if_sdio_host_to_card_worker()
436 if (!packet) in if_sdio_host_to_card_worker()
444 packet->buffer, packet->nb); in if_sdio_host_to_card_worker()
452 kfree(packet); in if_sdio_host_to_card_worker()
947 struct if_sdio_packet *packet, *cur; in if_sdio_host_to_card() local
967 packet = kzalloc(sizeof(struct if_sdio_packet) + size, in if_sdio_host_to_card()
969 if (!packet) { in if_sdio_host_to_card()
974 packet->next = NULL; in if_sdio_host_to_card()
975 packet->nb = size; in if_sdio_host_to_card()
980 packet->buffer[0] = (nb + 4) & 0xff; in if_sdio_host_to_card()
981 packet->buffer[1] = ((nb + 4) >> 8) & 0xff; in if_sdio_host_to_card()
982 packet->buffer[2] = type; in if_sdio_host_to_card()
983 packet->buffer[3] = 0; in if_sdio_host_to_card()
985 memcpy(packet->buffer + 4, buf, nb); in if_sdio_host_to_card()
990 card->packets = packet; in if_sdio_host_to_card()
995 cur->next = packet; in if_sdio_host_to_card()
1188 struct if_sdio_packet *packet; in if_sdio_probe() local
1286 packet = card->packets; in if_sdio_probe()
1288 kfree(packet); in if_sdio_probe()
1299 struct if_sdio_packet *packet; in if_sdio_remove() local
1333 packet = card->packets; in if_sdio_remove()
1335 kfree(packet); in if_sdio_remove()