Home
last modified time | relevance | path

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

/drivers/net/ethernet/pensando/ionic/
Dionic_dev.c443 .q_init.opcode = IONIC_CMD_Q_INIT, in ionic_dev_cmd_adminq_init()
444 .q_init.lif_index = cpu_to_le16(lif_index), in ionic_dev_cmd_adminq_init()
445 .q_init.type = q->type, in ionic_dev_cmd_adminq_init()
446 .q_init.ver = qcq->q.lif->qtype_info[q->type].version, in ionic_dev_cmd_adminq_init()
447 .q_init.index = cpu_to_le32(q->index), in ionic_dev_cmd_adminq_init()
448 .q_init.flags = cpu_to_le16(IONIC_QINIT_F_IRQ | in ionic_dev_cmd_adminq_init()
450 .q_init.pid = cpu_to_le16(q->pid), in ionic_dev_cmd_adminq_init()
451 .q_init.intr_index = cpu_to_le16(intr_index), in ionic_dev_cmd_adminq_init()
452 .q_init.ring_size = ilog2(q->num_descs), in ionic_dev_cmd_adminq_init()
453 .q_init.ring_base = cpu_to_le64(q->base_pa), in ionic_dev_cmd_adminq_init()
[all …]
Dionic_lif.c716 .cmd.q_init = { in ionic_lif_txq_init()
738 ctx.cmd.q_init.intr_index = cpu_to_le16(intr_index); in ionic_lif_txq_init()
740 dev_dbg(dev, "txq_init.pid %d\n", ctx.cmd.q_init.pid); in ionic_lif_txq_init()
741 dev_dbg(dev, "txq_init.index %d\n", ctx.cmd.q_init.index); in ionic_lif_txq_init()
742 dev_dbg(dev, "txq_init.ring_base 0x%llx\n", ctx.cmd.q_init.ring_base); in ionic_lif_txq_init()
743 dev_dbg(dev, "txq_init.ring_size %d\n", ctx.cmd.q_init.ring_size); in ionic_lif_txq_init()
744 dev_dbg(dev, "txq_init.flags 0x%x\n", ctx.cmd.q_init.flags); in ionic_lif_txq_init()
745 dev_dbg(dev, "txq_init.ver %d\n", ctx.cmd.q_init.ver); in ionic_lif_txq_init()
746 dev_dbg(dev, "txq_init.intr_index %d\n", ctx.cmd.q_init.intr_index); in ionic_lif_txq_init()
754 q->hw_type = ctx.comp.q_init.hw_type; in ionic_lif_txq_init()
[all …]
Dionic_if.h2702 struct ionic_q_init_cmd q_init; member
2739 struct ionic_q_init_comp q_init; member
2812 struct ionic_q_init_cmd q_init; member
2829 struct ionic_q_init_comp q_init; member
/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
1786 q_init(&mq->hotspot, &mq->es, NR_HOTSPOT_LEVELS); in __smq_create()
1791 q_init(&mq->clean, &mq->es, NR_CACHE_LEVELS); in __smq_create()
1792 q_init(&mq->dirty, &mq->es, NR_CACHE_LEVELS); in __smq_create()