Searched refs:nr_desc (Results 1 – 6 of 6) sorted by relevance
/drivers/firmware/efi/libstub/ |
D | x86-stub.c | 460 u32 nr_desc; in setup_e820() local 464 nr_desc = efi->efi_memmap_size / efi->efi_memdesc_size; in setup_e820() 466 for (i = 0; i < nr_desc; i++) { in setup_e820() 526 u32 need = (nr_desc - i) * sizeof(struct e820_entry) + in setup_e820() 555 static efi_status_t alloc_e820ext(u32 nr_desc, struct setup_data **e820ext, in alloc_e820ext() argument 562 sizeof(struct e820_entry) * nr_desc; in alloc_e820ext() 584 __u32 nr_desc, desc_version; in allocate_e820() local 593 nr_desc = map_size / desc_size + EFI_MMAP_NR_SLACK_SLOTS; in allocate_e820() 595 if (nr_desc > ARRAY_SIZE(params->e820_table)) { in allocate_e820() 596 u32 nr_e820ext = nr_desc - ARRAY_SIZE(params->e820_table); in allocate_e820()
|
/drivers/misc/ |
D | hpilo.c | 200 static void ctrl_setup(struct ccb *ccb, int nr_desc, int l2desc_sz) in ctrl_setup() argument 203 ccb->send_ctrl = ctrl_set(l2desc_sz, nr_desc-1, nr_desc-1); in ctrl_setup() 204 ccb->recv_ctrl = ctrl_set(l2desc_sz, nr_desc-1, nr_desc-1); in ctrl_setup()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_hw.c | 382 struct cmd_desc_type0 *cmd_desc_arr, int nr_desc) in qlcnic_send_cmd_descs() argument 399 if (nr_desc >= qlcnic_tx_avail(tx_ring)) { in qlcnic_send_cmd_descs() 402 if (qlcnic_tx_avail(tx_ring) > nr_desc) { in qlcnic_send_cmd_descs() 425 } while (i != nr_desc); in qlcnic_send_cmd_descs()
|
/drivers/net/ethernet/ |
D | jme.c | 618 txbi->nr_desc = 0; in jme_free_tx_resources() 1448 i, ctxbi->nr_desc, jiffies); in jme_tx_clean_tasklet() 1452 for (j = 1 ; j < ctxbi->nr_desc ; ++j) { in jme_tx_clean_tasklet() 1467 cnt += ctxbi->nr_desc; in jme_tx_clean_tasklet() 1484 i = (i + ctxbi->nr_desc) & mask; in jme_tx_clean_tasklet() 1486 ctxbi->nr_desc = 0; in jme_tx_clean_tasklet() 2166 txbi->nr_desc = skb_shinfo(skb)->nr_frags + 2; in jme_fill_tx_desc()
|
D | jme.h | 356 int nr_desc; member
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_hw.c | 551 struct cmd_desc_type0 *cmd_desc_arr, int nr_desc) in netxen_send_cmd_descs() argument 567 if (nr_desc >= netxen_tx_avail(tx_ring)) { in netxen_send_cmd_descs() 570 if (netxen_tx_avail(tx_ring) > nr_desc) { in netxen_send_cmd_descs() 590 } while (i != nr_desc); in netxen_send_cmd_descs()
|