Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_dev.c604 .q_init.opcode = IONIC_CMD_Q_INIT, in ionic_dev_cmd_adminq_init()
605 .q_init.lif_index = cpu_to_le16(lif_index), in ionic_dev_cmd_adminq_init()
606 .q_init.type = q->type, in ionic_dev_cmd_adminq_init()
607 .q_init.ver = qcq->q.lif->qtype_info[q->type].version, in ionic_dev_cmd_adminq_init()
608 .q_init.index = cpu_to_le32(q->index), in ionic_dev_cmd_adminq_init()
609 .q_init.flags = cpu_to_le16(IONIC_QINIT_F_IRQ | in ionic_dev_cmd_adminq_init()
611 .q_init.pid = cpu_to_le16(q->pid), in ionic_dev_cmd_adminq_init()
612 .q_init.intr_index = cpu_to_le16(intr_index), in ionic_dev_cmd_adminq_init()
613 .q_init.ring_size = ilog2(q->num_descs), in ionic_dev_cmd_adminq_init()
614 .q_init.ring_base = cpu_to_le64(q->base_pa), in ionic_dev_cmd_adminq_init()
[all …]
H A Dionic_lif.c793 .cmd.q_init = { in ionic_lif_txq_init()
817 dev_dbg(dev, "txq_init.pid %d\n", ctx.cmd.q_init.pid); in ionic_lif_txq_init()
824 dev_dbg(dev, "txq_init.ver %d\n", ctx.cmd.q_init.ver); in ionic_lif_txq_init()
833 q->hw_type = ctx.comp.q_init.hw_type; in ionic_lif_txq_init()
834 q->hw_index = le32_to_cpu(ctx.comp.q_init.hw_index); in ionic_lif_txq_init()
861 .cmd.q_init = { in ionic_lif_rxq_init()
899 q->hw_type = ctx.comp.q_init.hw_type; in ionic_lif_rxq_init()
900 q->hw_index = le32_to_cpu(ctx.comp.q_init.hw_index); in ionic_lif_rxq_init()
3490 .cmd.q_init = { in ionic_lif_notifyq_init()
3515 q->hw_type = ctx.comp.q_init.hw_type; in ionic_lif_notifyq_init()
[all …]
H A Dionic_if.h2921 struct ionic_q_init_cmd q_init; member
2959 struct ionic_q_init_comp q_init; member
3048 struct ionic_q_init_cmd q_init; member
3066 struct ionic_q_init_comp q_init; member
/openbmc/linux/include/linux/pds/
H A Dpds_adminq.h1197 struct pds_core_q_init_cmd q_init; member
1239 struct pds_core_q_init_comp q_init; member
/openbmc/linux/drivers/md/
H A Ddm-cache-policy-smq.c270 static void q_init(struct queue *q, struct entry_space *es, unsigned int nr_levels) in q_init() function
1792 q_init(&mq->hotspot, &mq->es, NR_HOTSPOT_LEVELS); in __smq_create()
1797 q_init(&mq->clean, &mq->es, NR_CACHE_LEVELS); in __smq_create()
1798 q_init(&mq->dirty, &mq->es, NR_CACHE_LEVELS); in __smq_create()