• Home
  • Raw
  • Download

Lines Matching refs:card

65 static int current_bandwidth_overhead(struct fw_card *card)  in current_bandwidth_overhead()  argument
77 return card->gap_count < 63 ? card->gap_count * 97 / 10 + 89 : 512; in current_bandwidth_overhead()
80 static int wait_isoch_resource_delay_after_bus_reset(struct fw_card *card) in wait_isoch_resource_delay_after_bus_reset() argument
83 s64 delay = (card->reset_jiffies + HZ) - get_jiffies_64(); in wait_isoch_resource_delay_after_bus_reset()
109 struct fw_card *card = fw_parent_device(r->unit)->card; in fw_iso_resources_allocate() local
118 spin_lock_irq(&card->lock); in fw_iso_resources_allocate()
119 r->generation = card->generation; in fw_iso_resources_allocate()
120 r->bandwidth_overhead = current_bandwidth_overhead(card); in fw_iso_resources_allocate()
121 spin_unlock_irq(&card->lock); in fw_iso_resources_allocate()
123 err = wait_isoch_resource_delay_after_bus_reset(card); in fw_iso_resources_allocate()
130 fw_iso_resource_manage(card, r->generation, r->channels_mask, in fw_iso_resources_allocate()
167 struct fw_card *card = fw_parent_device(r->unit)->card; in fw_iso_resources_update() local
177 spin_lock_irq(&card->lock); in fw_iso_resources_update()
178 r->generation = card->generation; in fw_iso_resources_update()
179 r->bandwidth_overhead = current_bandwidth_overhead(card); in fw_iso_resources_update()
180 spin_unlock_irq(&card->lock); in fw_iso_resources_update()
184 fw_iso_resource_manage(card, r->generation, 1uLL << r->channel, in fw_iso_resources_update()
214 struct fw_card *card = fw_parent_device(r->unit)->card; in fw_iso_resources_free() local
221 fw_iso_resource_manage(card, r->generation, 1uLL << r->channel, in fw_iso_resources_free()