Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/pensando/ionic/
Dionic_dev.c538 .q_init.opcode = IONIC_CMD_Q_INIT, in ionic_dev_cmd_adminq_init()
539 .q_init.lif_index = cpu_to_le16(lif_index), in ionic_dev_cmd_adminq_init()
540 .q_init.type = q->type, in ionic_dev_cmd_adminq_init()
541 .q_init.ver = qcq->q.lif->qtype_info[q->type].version, in ionic_dev_cmd_adminq_init()
542 .q_init.index = cpu_to_le32(q->index), in ionic_dev_cmd_adminq_init()
543 .q_init.flags = cpu_to_le16(IONIC_QINIT_F_IRQ | in ionic_dev_cmd_adminq_init()
545 .q_init.pid = cpu_to_le16(q->pid), in ionic_dev_cmd_adminq_init()
546 .q_init.intr_index = cpu_to_le16(intr_index), in ionic_dev_cmd_adminq_init()
547 .q_init.ring_size = ilog2(q->num_descs), in ionic_dev_cmd_adminq_init()
548 .q_init.ring_base = cpu_to_le64(q->base_pa), in ionic_dev_cmd_adminq_init()
[all …]
Dionic_lif.c732 .cmd.q_init = { in ionic_lif_txq_init()
753 ctx.cmd.q_init.intr_index = cpu_to_le16(intr_index); in ionic_lif_txq_init()
755 dev_dbg(dev, "txq_init.pid %d\n", ctx.cmd.q_init.pid); in ionic_lif_txq_init()
756 dev_dbg(dev, "txq_init.index %d\n", ctx.cmd.q_init.index); in ionic_lif_txq_init()
757 dev_dbg(dev, "txq_init.ring_base 0x%llx\n", ctx.cmd.q_init.ring_base); in ionic_lif_txq_init()
758 dev_dbg(dev, "txq_init.ring_size %d\n", ctx.cmd.q_init.ring_size); in ionic_lif_txq_init()
759 dev_dbg(dev, "txq_init.flags 0x%x\n", ctx.cmd.q_init.flags); in ionic_lif_txq_init()
760 dev_dbg(dev, "txq_init.ver %d\n", ctx.cmd.q_init.ver); in ionic_lif_txq_init()
761 dev_dbg(dev, "txq_init.intr_index %d\n", ctx.cmd.q_init.intr_index); in ionic_lif_txq_init()
769 q->hw_type = ctx.comp.q_init.hw_type; in ionic_lif_txq_init()
[all …]
Dionic_if.h2879 struct ionic_q_init_cmd q_init; member
2916 struct ionic_q_init_comp q_init; member
3005 struct ionic_q_init_cmd q_init; member
3023 struct ionic_q_init_comp q_init; member
/linux-5.19.10/drivers/md/
Ddm-cache-policy-smq.c269 static void q_init(struct queue *q, struct entry_space *es, unsigned nr_levels) in q_init() function
1784 q_init(&mq->hotspot, &mq->es, NR_HOTSPOT_LEVELS); in __smq_create()
1789 q_init(&mq->clean, &mq->es, NR_CACHE_LEVELS); in __smq_create()
1790 q_init(&mq->dirty, &mq->es, NR_CACHE_LEVELS); in __smq_create()