Lines Matching defs:weight
2848 * irqpoll_weight_show() - presents the current IRQ poll weight for the host
2850 * @attr: Device attribute representing the IRQ poll weight.
2852 * weight in ASCII.
2854 * An IRQ poll weight of 0 indicates polling is disabled.
2868 * irqpoll_weight_store() - sets the current IRQ poll weight for the host
2870 * @attr: Device attribute representing the IRQ poll weight.
2872 * weight in ASCII.
2875 * An IRQ poll weight of 0 indicates polling is disabled.
2887 u32 weight;
2890 rc = kstrtouint(buf, 10, &weight);
2894 if (weight > 256) {
2896 "Invalid IRQ poll weight. It must be 256 or less.\n");
2900 if (weight == afu->irqpoll_weight) {
2902 "Current IRQ poll weight has the same weight.\n");
2914 afu->irqpoll_weight = weight;
2916 if (weight > 0) {
2920 irq_poll_init(&hwq->irqpoll, weight, cxlflash_irqpoll);