Lines Matching refs:schedule
1545 const struct tc_taprio_qopt_offload *schedule)
1550 u32 max_sdu = schedule->max_sdu[tc] + VLAN_ETH_HLEN - ETH_FCS_LEN;
1553 if (!schedule->max_sdu[tc])
1584 const struct tc_taprio_qopt_offload *schedule)
1589 cur = initial = &schedule->entries[0];
1592 for (i = 1; i <= schedule->num_entries; ++i) {
1596 if (i == schedule->num_entries)
1605 if (i == schedule->num_entries)
1631 const struct tc_taprio_qopt_offload *schedule)
1633 u32 cycle_time = schedule->cycle_time;
1644 /* Start schedule at this point of time */
1648 /* Arm timer, set seconds and switch schedule */
1659 /* The switch allows a schedule to be started only eight seconds within
1660 * the future. Therefore, check the current PTP time if the schedule is
1704 /* Set admin base time and switch schedule */
1752 dev_dbg(hellcreek->dev, "Configure traffic schedule on port %d\n",
1776 /* Cancel pending schedule */
1779 /* Setup a new schedule */
1795 /* Schedule periodic schedule check */
1809 dev_dbg(hellcreek->dev, "Remove traffic schedule on port %d\n", port);
1837 struct tc_taprio_qopt_offload *schedule)
1846 if (schedule->cycle_time > (u32)-1)
1850 if (schedule->cycle_time_extension)
1854 for (i = 0; i < schedule->num_entries; ++i)
1855 if (schedule->entries[i].command != TC_TAPRIO_CMD_SET_GATES)