Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/amd/pds_core/
H A Dcore.c321 struct pds_core_dev_init_data_in cidi; in pdsc_core_init() local
350 cidi.adminq_q_base = cpu_to_le64(pdsc->adminqcq.q_base_pa); in pdsc_core_init()
351 cidi.adminq_cq_base = cpu_to_le64(pdsc->adminqcq.cq_base_pa); in pdsc_core_init()
352 cidi.notifyq_cq_base = cpu_to_le64(pdsc->notifyqcq.cq.base_pa); in pdsc_core_init()
353 cidi.flags = cpu_to_le32(PDS_CORE_QINIT_F_IRQ | PDS_CORE_QINIT_F_ENA); in pdsc_core_init()
354 cidi.intr_index = cpu_to_le16(pdsc->adminqcq.intx); in pdsc_core_init()
355 cidi.adminq_ring_size = ilog2(pdsc->adminqcq.q.num_descs); in pdsc_core_init()
356 cidi.notifyq_ring_size = ilog2(pdsc->notifyqcq.q.num_descs); in pdsc_core_init()
360 sz = min_t(size_t, sizeof(cidi), sizeof(pdsc->cmd_regs->data)); in pdsc_core_init()
361 memcpy_toio(&pdsc->cmd_regs->data, &cidi, sz); in pdsc_core_init()