Home
last modified time | relevance | path

Searched refs:id_tbl (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/sound/oss/
Dkahlua.c202 static DEFINE_PCI_DEVICE_TABLE(id_tbl) = {
207 MODULE_DEVICE_TABLE(pci, id_tbl);
211 .id_table = id_tbl,
/linux-3.4.99/drivers/net/ethernet/broadcom/
Dcnic.c631 static int cnic_init_id_tbl(struct cnic_id_tbl *id_tbl, u32 size, u32 start_id, in cnic_init_id_tbl() argument
634 id_tbl->start = start_id; in cnic_init_id_tbl()
635 id_tbl->max = size; in cnic_init_id_tbl()
636 id_tbl->next = next; in cnic_init_id_tbl()
637 spin_lock_init(&id_tbl->lock); in cnic_init_id_tbl()
638 id_tbl->table = kzalloc(DIV_ROUND_UP(size, 32) * 4, GFP_KERNEL); in cnic_init_id_tbl()
639 if (!id_tbl->table) in cnic_init_id_tbl()
645 static void cnic_free_id_tbl(struct cnic_id_tbl *id_tbl) in cnic_free_id_tbl() argument
647 kfree(id_tbl->table); in cnic_free_id_tbl()
648 id_tbl->table = NULL; in cnic_free_id_tbl()
[all …]