summaryrefslogtreecommitdiffstats
path: root/net/sched
AgeCommit message (Expand)Author
2020-08-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds
2020-08-04Merge tag 'uninit-macro-v5.9-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds
2020-08-03net/sched: act_ct: fix miss set mru for ovs after defrag in act_ctwenxu
2020-08-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller
2020-07-31net/sched: cls_u32: Use struct_size() helperGustavo A. R. Silva
2020-07-31net/sched: The error lable position is corrected in ct_init_moduleliujian
2020-07-30net/sched: act_pedit: Use flex_array_size() helper in memcpy()Gustavo A. R. Silva
2020-07-28net_sched: initialize timer earlier in red_init()Cong Wang
2020-07-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller
2020-07-24net/sched: cls_flower: Add hash info to flow classificationAriel Levkovich
2020-07-24flow_offload: Move rhashtable inclusion to the source fileHerbert Xu
2020-07-20net/sched: act_ct: fix restore the qdisc_skb_cb after defragwenxu
2020-07-20sched: sch_api: add missing rcu read lock to silence the warningJiri Pirko
2020-07-16Revert "net: sched: Pass root lock to Qdisc_ops.enqueue"Petr Machata
2020-07-16net: sched: Do not drop root lock in tcf_qevent_handle()Petr Machata
2020-07-16treewide: Remove uninitialized_var() usageKees Cook
2020-07-13net: sched: Pass qdisc reference in struct flow_block_offloadPetr Machata
2020-07-13net: sched: kerneldoc fixesAndrew Lunn
2020-07-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller
2020-07-09net_sched: fix a memory leak in atm_tc_init()Cong Wang
2020-07-07net/sched: Use fallthrough pseudo-keywordGustavo A. R. Silva
2020-07-07net/sched: act_ct: add miss tcf_lastuse_update.wenxu
2020-07-03sched: consistently handle layer3 header accesses in the presence of VLANsToke Høiland-Jørgensen
2020-07-01net: sched: Allow changing default qdisc to FQ-PIEDanny Lin
2020-06-29net:qos: police action offloading parameter 'burst' change to the original valuePo Liu
2020-06-29net: sched: sch_red: Add qevents "early_drop" and "mark"Petr Machata
2020-06-29net: sched: sch_red: Split init and change callbacksPetr Machata
2020-06-29net: sched: Introduce helpers for qevent blocksPetr Machata
2020-06-29net: sched: Pass root lock to Qdisc_ops.enqueuePetr Machata
2020-06-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller
2020-06-25sch_cake: add RFC 8622 LE PHB support to CAKE diffserv handlingKevin Darbyshire-Bryant
2020-06-25sch_cake: fix a few style nitsToke Høiland-Jørgensen
2020-06-25sch_cake: don't call diffserv parsing code when it is not neededToke Høiland-Jørgensen
2020-06-25sch_cake: don't try to reallocate or unshare skb unconditionallyIlya Ponetayev
2020-06-24net: qos: police action add index for tc flower offloadingPo Liu
2020-06-24net: qos: add tc police offloading action with max frame size limitPo Liu
2020-06-22tcindex_change: Remove redundant null checkGaurav Singh
2020-06-20net: Add MODULE_DESCRIPTION entries to network modulesRob Gill
2020-06-20Remove redundant skb null checkGaurav Singh
2020-06-20Remove redundant condition in qdisc_graftGaurav Singh
2020-06-19net/sched: cls_u32: Use struct_size() in kzalloc()Gustavo A. R. Silva
2020-06-19taprio: Use struct_size() in kzalloc()Gustavo A. R. Silva
2020-06-19net/sched: cls_api: fix nooffloaddevcnt warning dmesg logwenxu
2020-06-19net: flow_offload: fix flow_indr_dev_unregister pathwenxu
2020-06-19net: qos offload add flow status with dropped countPo Liu
2020-06-18net/sched: act_gate: fix configuration of the periodic timerDavide Caratti
2020-06-18net/sched: act_gate: fix NULL dereference in tcf_gate_init()Davide Caratti
2020-06-15net/sched: act_ct: Make tcf_ct_flow_table_restore_skb inlineAlaa Hleihel
2020-06-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netLinus Torvalds
2020-06-14treewide: replace '---help---' in Kconfig files with 'help'Masahiro Yamada
common->reg, reg); } static void clk_sc_gate_toggle(const struct sprd_gate *sg, bool en) { const struct sprd_clk_common *common = &sg->common; bool set = sg->flags & CLK_GATE_SET_TO_DISABLE ? 1 : 0; unsigned int offset; set ^= en; /* * Each set/clear gate clock has three registers: * common->reg - base register * common->reg + offset - set register * common->reg + 2 * offset - clear register */ offset = set ? sg->sc_offset : sg->sc_offset * 2; regmap_write(common->regmap, common->reg + offset, sg->enable_mask); } static void sprd_gate_disable(struct clk_hw *hw) { struct sprd_gate *sg = hw_to_sprd_gate(hw); clk_gate_toggle(sg, false); } static int sprd_gate_enable(struct clk_hw *hw) { struct sprd_gate *sg = hw_to_sprd_gate(hw); clk_gate_toggle(sg, true); return 0; } static void sprd_sc_gate_disable(struct clk_hw *hw) { struct sprd_gate *sg = hw_to_sprd_gate(hw); clk_sc_gate_toggle(sg, false); } static int sprd_sc_gate_enable(struct clk_hw *hw) { struct sprd_gate *sg = hw_to_sprd_gate(hw); clk_sc_gate_toggle(sg, true); return 0; } static int sprd_pll_sc_gate_prepare(struct clk_hw *hw) { struct sprd_gate *sg = hw_to_sprd_gate(hw); clk_sc_gate_toggle(sg, true); udelay(sg->udelay); return 0; } static int sprd_gate_is_enabled(struct clk_hw *hw) { struct sprd_gate *sg = hw_to_sprd_gate(hw); struct sprd_clk_common *common = &sg->common; struct clk_hw *parent; unsigned int reg; if (sg->flags & SPRD_GATE_NON_AON) { parent = clk_hw_get_parent(hw); if (!parent || !clk_hw_is_enabled(parent)) return 0; } regmap_read(common->regmap, common->reg, &reg); if (sg->flags & CLK_GATE_SET_TO_DISABLE) reg ^= sg->enable_mask; reg &= sg->enable_mask; return reg ? 1 : 0; } const struct clk_ops sprd_gate_ops = { .disable = sprd_gate_disable, .enable = sprd_gate_enable, .is_enabled = sprd_gate_is_enabled, }; EXPORT_SYMBOL_GPL(sprd_gate_ops); const struct clk_ops sprd_sc_gate_ops = { .disable = sprd_sc_gate_disable, .enable = sprd_sc_gate_enable, .is_enabled = sprd_gate_is_enabled, }; EXPORT_SYMBOL_GPL(sprd_sc_gate_ops); const struct clk_ops sprd_pll_sc_gate_ops = { .unprepare = sprd_sc_gate_disable, .prepare = sprd_pll_sc_gate_prepare, .is_enabled = sprd_gate_is_enabled, }; EXPORT_SYMBOL_GPL(sprd_pll_sc_gate_ops);