/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
H A D | am65-cpts.h | 39 static inline int am65_cpts_phc_index(struct am65_cpts *cpts) in am65_cpts_phc_index() argument 44 static inline void am65_cpts_tx_timestamp(struct am65_cpts *cpts, in am65_cpts_tx_timestamp() argument 49 static inline void am65_cpts_prep_tx_timestamp(struct am65_cpts *cpts, in am65_cpts_prep_tx_timestamp() argument 54 am65_cpts_rx_enable(struct am65_cpts *cpts, bool en) am65_cpts_rx_enable() argument 58 am65_cpts_ns_gettime(struct am65_cpts *cpts) am65_cpts_ns_gettime() argument 63 am65_cpts_estf_enable(struct am65_cpts *cpts, int idx, struct am65_cpts_estf_cfg *cfg) am65_cpts_estf_enable() argument 69 am65_cpts_estf_disable(struct am65_cpts *cpts, int idx) am65_cpts_estf_disable() argument [all...] |
H A D | am65-cpsw-qos.c | 367 struct am65_cpts *cpts = common->cpts; in am65_cpsw_timer_set() local 379 struct am65_cpts *cpts = port->common->cpts; in am65_cpsw_timer_stop() local 389 struct am65_cpts *cpts = port->common->cpts; in am65_cpsw_timer_act() local 449 struct am65_cpts *cpts = common->cpts; am65_cpsw_configure_taprio() local [all...] |
H A D | am65-cpsw-nuss.h | 111 struct am65_cpts *cpts; member
|
H A D | cpts.c | 50 static int cpts_fifo_pop(struct cpts *cpts, u32 *high, u32 *low) in cpts_fifo_pop() argument 63 static int cpts_purge_events(struct cpts *cpts) in cpts_purge_events() argument 83 cpts_purge_txq(struct cpts *cpts) cpts_purge_txq() argument 105 cpts_fifo_read(struct cpts *cpts, int match) cpts_fifo_read() argument 178 cpts_misc_interrupt(struct cpts *cpts) cpts_misc_interrupt() argument 186 struct cpts *cpts = container_of(cc, struct cpts, cc); cpts_systim_read() local 191 cpts_update_cur_time(struct cpts *cpts, int match, struct ptp_system_timestamp *sts) cpts_update_cur_time() argument 218 struct cpts *cpts = container_of(ptp, struct cpts, info); cpts_ptp_adjfreq() local 244 struct cpts *cpts = container_of(ptp, struct cpts, info); cpts_ptp_adjtime() local 257 struct cpts *cpts = container_of(ptp, struct cpts, info); cpts_ptp_gettimeex() local 275 struct cpts *cpts = container_of(ptp, struct cpts, info); cpts_ptp_settime() local 287 cpts_extts_enable(struct cpts *cpts, u32 index, int on) cpts_extts_enable() argument 314 struct cpts *cpts = container_of(ptp, struct cpts, info); cpts_ptp_enable() local 326 cpts_match_tx_ts(struct cpts *cpts, struct cpts_event *event) cpts_match_tx_ts() argument 377 cpts_process_events(struct cpts *cpts) cpts_process_events() argument 406 struct cpts *cpts = container_of(ptp, struct cpts, info); cpts_overflow_check() local 469 cpts_find_ts(struct cpts *cpts, struct sk_buff *skb, int ev_type, u32 skb_mtype_seqid) cpts_find_ts() argument 505 cpts_rx_timestamp(struct cpts *cpts, struct sk_buff *skb) cpts_rx_timestamp() argument 535 cpts_tx_timestamp(struct cpts *cpts, struct sk_buff *skb) cpts_tx_timestamp() argument 561 cpts_register(struct cpts *cpts) cpts_register() argument 597 cpts_unregister(struct cpts *cpts) cpts_unregister() argument 616 cpts_calc_mult_shift(struct cpts *cpts) cpts_calc_mult_shift() argument 653 cpts_of_mux_clk_setup(struct cpts *cpts, struct device_node *node) cpts_of_mux_clk_setup() argument 729 cpts_of_parse(struct cpts *cpts, struct device_node *node) cpts_of_parse() argument 754 struct cpts *cpts; cpts_create() local 805 cpts_release(struct cpts *cpts) cpts_release() argument [all...] |
H A D | cpts.h | 100 struct cpts { struct 135 cpts_can_timestamp(struct cpts *cpts, struct sk_buff *skb) cpts_can_timestamp() argument 145 cpts_set_irqpoll(struct cpts *cpts, bool en) cpts_set_irqpoll() argument 153 cpts_rx_timestamp(struct cpts *cpts, struct sk_buff *skb) cpts_rx_timestamp() argument 156 cpts_tx_timestamp(struct cpts *cpts, struct sk_buff *skb) cpts_tx_timestamp() argument 167 cpts_release(struct cpts *cpts) cpts_release() argument 172 cpts_register(struct cpts *cpts) cpts_register() argument 177 cpts_unregister(struct cpts *cpts) cpts_unregister() argument 181 cpts_can_timestamp(struct cpts *cpts, struct sk_buff *skb) cpts_can_timestamp() argument 186 cpts_misc_interrupt(struct cpts *cpts) cpts_misc_interrupt() argument 190 cpts_set_irqpoll(struct cpts *cpts, bool en) cpts_set_irqpoll() argument [all...] |
H A D | cpsw.c | 913 struct cpts *cpts = cpsw->cpts; in cpsw_ndo_start_xmit() local [all...] |
H A D | am65-cpsw-nuss.c | 1674 struct am65_cpts *cpts; in am65_cpsw_init_cpts() local [all...] |
H A D | am65-cpts.c | 189 static void am65_cpts_settime(struct am65_cpts *cpts, u64 start_tstamp) in am65_cpts_settime() argument 201 static void am65_cpts_set_add_val(struct am65_cpts *cpts) in am65_cpts_set_add_val() argument 209 am65_cpts_disable(struct am65_cpts *cpts) am65_cpts_disable() argument 227 am65_cpts_cpts_purge_events(struct am65_cpts *cpts) am65_cpts_cpts_purge_events() argument 247 am65_cpts_fifo_pop_event(struct am65_cpts *cpts, struct am65_cpts_event *event) am65_cpts_fifo_pop_event() argument 263 am65_cpts_fifo_read(struct am65_cpts *cpts) am65_cpts_fifo_read() argument 345 am65_cpts_gettime(struct am65_cpts *cpts, struct ptp_system_timestamp *sts) am65_cpts_gettime() argument 375 struct am65_cpts *cpts = dev_id; am65_cpts_interrupt() local 386 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); am65_cpts_ptp_adjfreq() local 428 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); am65_cpts_ptp_adjtime() local 444 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); am65_cpts_ptp_gettimex() local 455 am65_cpts_ns_gettime(struct am65_cpts *cpts) am65_cpts_ns_gettime() argument 471 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); am65_cpts_ptp_settime() local 482 am65_cpts_extts_enable_hw(struct am65_cpts *cpts, u32 index, int on) am65_cpts_extts_enable_hw() argument 497 am65_cpts_extts_enable(struct am65_cpts *cpts, u32 index, int on) am65_cpts_extts_enable() argument 512 am65_cpts_estf_enable(struct am65_cpts *cpts, int idx, struct am65_cpts_estf_cfg *cfg) am65_cpts_estf_enable() argument 539 am65_cpts_estf_disable(struct am65_cpts *cpts, int idx) am65_cpts_estf_disable() argument 547 am65_cpts_perout_enable_hw(struct am65_cpts *cpts, struct ptp_perout_request *req, int on) am65_cpts_perout_enable_hw() argument 580 am65_cpts_perout_enable(struct am65_cpts *cpts, struct ptp_perout_request *req, int on) am65_cpts_perout_enable() argument 599 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); am65_cpts_ptp_enable() local 626 am65_cpts_match_tx_ts(struct am65_cpts *cpts, struct am65_cpts_event *event) am65_cpts_match_tx_ts() argument 684 am65_cpts_find_ts(struct am65_cpts *cpts) am65_cpts_find_ts() argument 713 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); am65_cpts_ts_work() local 735 am65_cpts_rx_enable(struct am65_cpts *cpts, bool en) am65_cpts_rx_enable() argument 782 am65_cpts_tx_timestamp(struct am65_cpts *cpts, struct sk_buff *skb) am65_cpts_tx_timestamp() argument 809 am65_cpts_prep_tx_timestamp(struct am65_cpts *cpts, struct sk_buff *skb) am65_cpts_prep_tx_timestamp() argument 827 am65_cpts_phc_index(struct am65_cpts *cpts) am65_cpts_phc_index() argument 835 struct am65_cpts *cpts = data; cpts_free_clk_mux() local 842 cpts_of_mux_clk_setup(struct am65_cpts *cpts, struct device_node *node) cpts_of_mux_clk_setup() argument 908 am65_cpts_of_parse(struct am65_cpts *cpts, struct device_node *node) am65_cpts_of_parse() argument 923 struct am65_cpts *cpts = data; am65_cpts_release() local 933 struct am65_cpts *cpts; am65_cpts_create() local 1039 struct am65_cpts *cpts; am65_cpts_probe() local [all...] |
H A D | cpsw_new.c | 926 struct cpts *cpts = cpsw->cpts; in cpsw_ndo_start_xmit() local [all...] |
H A D | cpsw_priv.h | 353 struct cpts *cpts; member
|
H A D | netcp_ethss.c | 754 struct cpts *cpts; member 2602 struct cpts *cpts in gbe_hwtstamp_get() local 2648 struct cpts *cpts = gbe_dev->cpts; gbe_hwtstamp_set() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/ |
H A D | am65-cpts.h | 35 am65_cpts_release(struct am65_cpts *cpts) am65_cpts_release() argument 46 am65_cpts_phc_index(struct am65_cpts *cpts) am65_cpts_phc_index() argument 51 am65_cpts_tx_timestamp(struct am65_cpts *cpts, struct sk_buff *skb) am65_cpts_tx_timestamp() argument 56 am65_cpts_prep_tx_timestamp(struct am65_cpts *cpts, struct sk_buff *skb) am65_cpts_prep_tx_timestamp() argument 61 am65_cpts_rx_enable(struct am65_cpts *cpts, bool en) am65_cpts_rx_enable() argument 65 am65_cpts_ns_gettime(struct am65_cpts *cpts) am65_cpts_ns_gettime() argument 70 am65_cpts_estf_enable(struct am65_cpts *cpts, int idx, struct am65_cpts_estf_cfg *cfg) am65_cpts_estf_enable() argument 76 am65_cpts_estf_disable(struct am65_cpts *cpts, int idx) am65_cpts_estf_disable() argument 80 am65_cpts_suspend(struct am65_cpts *cpts) am65_cpts_suspend() argument 84 am65_cpts_resume(struct am65_cpts *cpts) am65_cpts_resume() argument [all...] |
H A D | cpts.c | 50 static int cpts_fifo_pop(struct cpts *cpts, u32 *high, u32 *low) in cpts_fifo_pop() argument 63 static int cpts_purge_events(struct cpts *cpts) in cpts_purge_events() argument 83 cpts_purge_txq(struct cpts *cpts) cpts_purge_txq() argument 105 cpts_fifo_read(struct cpts *cpts, int match) cpts_fifo_read() argument 178 cpts_misc_interrupt(struct cpts *cpts) cpts_misc_interrupt() argument 186 struct cpts *cpts = container_of(cc, struct cpts, cc); cpts_systim_read() local 191 cpts_update_cur_time(struct cpts *cpts, int match, struct ptp_system_timestamp *sts) cpts_update_cur_time() argument 218 struct cpts *cpts = container_of(ptp, struct cpts, info); cpts_ptp_adjfine() local 232 struct cpts *cpts = container_of(ptp, struct cpts, info); cpts_ptp_adjtime() local 245 struct cpts *cpts = container_of(ptp, struct cpts, info); cpts_ptp_gettimeex() local 263 struct cpts *cpts = container_of(ptp, struct cpts, info); cpts_ptp_settime() local 275 cpts_extts_enable(struct cpts *cpts, u32 index, int on) cpts_extts_enable() argument 302 struct cpts *cpts = container_of(ptp, struct cpts, info); cpts_ptp_enable() local 314 cpts_match_tx_ts(struct cpts *cpts, struct cpts_event *event) cpts_match_tx_ts() argument 365 cpts_process_events(struct cpts *cpts) cpts_process_events() argument 394 struct cpts *cpts = container_of(ptp, struct cpts, info); cpts_overflow_check() local 457 cpts_find_ts(struct cpts *cpts, struct sk_buff *skb, int ev_type, u32 skb_mtype_seqid) cpts_find_ts() argument 493 cpts_rx_timestamp(struct cpts *cpts, struct sk_buff *skb) cpts_rx_timestamp() argument 523 cpts_tx_timestamp(struct cpts *cpts, struct sk_buff *skb) cpts_tx_timestamp() argument 549 cpts_register(struct cpts *cpts) cpts_register() argument 585 cpts_unregister(struct cpts *cpts) cpts_unregister() argument 604 cpts_calc_mult_shift(struct cpts *cpts) cpts_calc_mult_shift() argument 641 cpts_of_mux_clk_setup(struct cpts *cpts, struct device_node *node) cpts_of_mux_clk_setup() argument 717 cpts_of_parse(struct cpts *cpts, struct device_node *node) cpts_of_parse() argument 742 struct cpts *cpts; cpts_create() local 793 cpts_release(struct cpts *cpts) cpts_release() argument [all...] |
H A D | cpts.h | 100 struct cpts { struct 135 cpts_can_timestamp(struct cpts *cpts, struct sk_buff *skb) cpts_can_timestamp() argument 145 cpts_set_irqpoll(struct cpts *cpts, bool en) cpts_set_irqpoll() argument 153 cpts_rx_timestamp(struct cpts *cpts, struct sk_buff *skb) cpts_rx_timestamp() argument 156 cpts_tx_timestamp(struct cpts *cpts, struct sk_buff *skb) cpts_tx_timestamp() argument 167 cpts_release(struct cpts *cpts) cpts_release() argument 172 cpts_register(struct cpts *cpts) cpts_register() argument 177 cpts_unregister(struct cpts *cpts) cpts_unregister() argument 181 cpts_can_timestamp(struct cpts *cpts, struct sk_buff *skb) cpts_can_timestamp() argument 186 cpts_misc_interrupt(struct cpts *cpts) cpts_misc_interrupt() argument 190 cpts_set_irqpoll(struct cpts *cpts, bool en) cpts_set_irqpoll() argument [all...] |
H A D | am65-cpsw-qos.c | 369 struct am65_cpts *cpts = common->cpts; in am65_cpsw_timer_set() local 381 struct am65_cpts *cpts = port->common->cpts; in am65_cpsw_timer_stop() local 391 struct am65_cpts *cpts = port->common->cpts; in am65_cpsw_timer_act() local 448 struct am65_cpts *cpts = common->cpts; am65_cpsw_configure_taprio() local [all...] |
H A D | am65-cpsw-nuss.h | 146 struct am65_cpts *cpts; member
|
H A D | cpsw.c | 905 struct cpts *cpts = cpsw->cpts; in cpsw_ndo_start_xmit() local [all...] |
H A D | cpsw_new.c | 921 struct cpts *cpts = cpsw->cpts; in cpsw_ndo_start_xmit() local [all...] |
H A D | am65-cpts.c | 204 static void am65_cpts_settime(struct am65_cpts *cpts, u64 start_tstamp) in am65_cpts_settime() argument 216 static void am65_cpts_set_add_val(struct am65_cpts *cpts) in am65_cpts_set_add_val() argument 224 am65_cpts_disable(struct am65_cpts *cpts) am65_cpts_disable() argument 242 am65_cpts_cpts_purge_events(struct am65_cpts *cpts) am65_cpts_cpts_purge_events() argument 262 am65_cpts_fifo_pop_event(struct am65_cpts *cpts, struct am65_cpts_event *event) am65_cpts_fifo_pop_event() argument 278 am65_cpts_fifo_read(struct am65_cpts *cpts) am65_cpts_fifo_read() argument 367 am65_cpts_gettime(struct am65_cpts *cpts, struct ptp_system_timestamp *sts) am65_cpts_gettime() argument 397 struct am65_cpts *cpts = dev_id; am65_cpts_interrupt() local 408 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); am65_cpts_ptp_adjfine() local 497 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); am65_cpts_ptp_adjtime() local 513 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); am65_cpts_ptp_gettimex() local 524 am65_cpts_ns_gettime(struct am65_cpts *cpts) am65_cpts_ns_gettime() argument 540 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); am65_cpts_ptp_settime() local 551 am65_cpts_extts_enable_hw(struct am65_cpts *cpts, u32 index, int on) am65_cpts_extts_enable_hw() argument 566 am65_cpts_extts_enable(struct am65_cpts *cpts, u32 index, int on) am65_cpts_extts_enable() argument 587 am65_cpts_estf_enable(struct am65_cpts *cpts, int idx, struct am65_cpts_estf_cfg *cfg) am65_cpts_estf_enable() argument 619 am65_cpts_estf_disable(struct am65_cpts *cpts, int idx) am65_cpts_estf_disable() argument 628 am65_cpts_perout_enable_hw(struct am65_cpts *cpts, struct ptp_perout_request *req, int on) am65_cpts_perout_enable_hw() argument 665 am65_cpts_perout_enable(struct am65_cpts *cpts, struct ptp_perout_request *req, int on) am65_cpts_perout_enable() argument 687 am65_cpts_pps_enable(struct am65_cpts *cpts, int on) am65_cpts_pps_enable() argument 732 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); am65_cpts_ptp_enable() local 761 am65_cpts_match_tx_ts(struct am65_cpts *cpts, struct am65_cpts_event *event) am65_cpts_match_tx_ts() argument 819 am65_cpts_find_ts(struct am65_cpts *cpts) am65_cpts_find_ts() argument 848 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); am65_cpts_ts_work() local 870 am65_cpts_rx_enable(struct am65_cpts *cpts, bool en) am65_cpts_rx_enable() argument 917 am65_cpts_tx_timestamp(struct am65_cpts *cpts, struct sk_buff *skb) am65_cpts_tx_timestamp() argument 944 am65_cpts_prep_tx_timestamp(struct am65_cpts *cpts, struct sk_buff *skb) am65_cpts_prep_tx_timestamp() argument 962 am65_cpts_phc_index(struct am65_cpts *cpts) am65_cpts_phc_index() argument 970 struct am65_cpts *cpts = data; cpts_free_clk_mux() local 977 cpts_of_mux_clk_setup(struct am65_cpts *cpts, struct device_node *node) cpts_of_mux_clk_setup() argument 1043 am65_cpts_of_parse(struct am65_cpts *cpts, struct device_node *node) am65_cpts_of_parse() argument 1073 am65_cpts_release(struct am65_cpts *cpts) am65_cpts_release() argument 1084 struct am65_cpts *cpts; am65_cpts_create() local 1181 am65_cpts_suspend(struct am65_cpts *cpts) am65_cpts_suspend() argument 1202 am65_cpts_resume(struct am65_cpts *cpts) am65_cpts_resume() argument 1251 struct am65_cpts *cpts; am65_cpts_probe() local [all...] |
H A D | am65-cpsw-nuss.c | 1971 struct am65_cpts *cpts; in am65_cpsw_init_cpts() local [all...] |
H A D | cpsw_priv.h | 355 struct cpts *cpts; member
|
H A D | netcp_ethss.c | 754 struct cpts *cpts; member 2602 struct cpts *cpts in gbe_hwtstamp_get() local 2648 struct cpts *cpts = gbe_dev->cpts; gbe_hwtstamp_set() local [all...] |