| /drivers/net/fddi/skfp/ |
| A D | fplustm.c | 112 void mac_update_counter(struct s_smc *smc) in mac_update_counter() 166 static void init_ram(struct s_smc *smc) in init_ram() 185 static void set_recvptr(struct s_smc *smc) in set_recvptr() 215 static void set_txptr(struct s_smc *smc) in set_txptr() 247 static void init_rbc(struct s_smc *smc) in init_rbc() 268 static void init_rx(struct s_smc *smc) in init_rx() 298 static void init_tx(struct s_smc *smc) in init_tx() 849 int init_fplus(struct s_smc *smc) in init_fplus() 1324 void rtm_irq(struct s_smc *smc) in rtm_irq() 1337 static void rtm_init(struct s_smc *smc) in rtm_init() [all …]
|
| A D | smt.c | 104 #define hwm_conv_can(smc,data,len) argument 108 static inline int is_my_addr(const struct s_smc *smc, in is_my_addr() 147 void smt_agent_init(struct s_smc *smc) in smt_agent_init() 193 void smt_agent_task(struct s_smc *smc) in smt_agent_task() 228 void smt_event(struct s_smc *smc, int event) in smt_event() 1220 void smt_set_timestamp(struct s_smc *smc, u_char *p) in smt_set_timestamp() 1540 static void smt_clear_una_dna(struct s_smc *smc) in smt_clear_una_dna() 1546 static void smt_clear_old_una_dna(struct s_smc *smc) in smt_clear_old_una_dna() 1552 u_long smt_get_tid(struct s_smc *smc) in smt_get_tid() 1718 static int mac_index(struct s_smc *smc, int mac) in mac_index() [all …]
|
| A D | drvfbi.c | 60 #define OEMID(smc,i) oem_id[ID_BYTE0 + i] argument 66 #define OEMID(smc,i) smc->hw.oem_id->oi_id[i] argument 81 static void card_start(struct s_smc *smc) in card_start() 156 void card_stop(struct s_smc *smc) in card_stop() 228 void plc1_irq(struct s_smc *smc) in plc1_irq() 239 void plc2_irq(struct s_smc *smc) in plc2_irq() 250 void timer_irq(struct s_smc *smc) in timer_irq() 260 int pcm_get_s_port(struct s_smc *smc) in pcm_get_s_port() 458 void llc_recover_tx(struct s_smc *smc) in llc_recover_tx() 494 int set_oi_id_def(struct s_smc *smc) in set_oi_id_def() [all …]
|
| A D | skfddi.c | 207 struct s_smc *smc; /* board pointer */ in skfp_init_one() local 382 struct s_smc *smc = netdev_priv(dev); in skfp_driver_init() local 484 struct s_smc *smc = netdev_priv(dev); in skfp_open() local 551 struct s_smc *smc = netdev_priv(dev); in skfp_close() local 839 struct s_smc *smc = netdev_priv(dev); in skfp_ctl_set_multicast_list() local 852 struct s_smc *smc = netdev_priv(dev); in skfp_ctl_set_multicast_list_wo_lock() local 923 struct s_smc *smc = netdev_priv(dev); in skfp_ctl_set_mac_address() local 963 struct s_smc *smc = netdev_priv(dev); in skfp_siocdevprivate() local 1047 struct s_smc *smc = netdev_priv(dev); in skfp_send_pkt() local 1279 void llc_restart_tx(struct s_smc *smc) in llc_restart_tx() [all …]
|
| A D | hwmtm.c | 251 int mac_drv_init(struct s_smc *smc) in mac_drv_init() 301 void init_driver_fplus(struct s_smc *smc) in init_driver_fplus() 316 static u_long init_descr_ring(struct s_smc *smc, in init_descr_ring() 347 static void init_txd_ring(struct s_smc *smc) in init_txd_ring() 384 static void init_rxd_ring(struct s_smc *smc) in init_rxd_ring() 478 SMbuf *smt_get_mbuf(struct s_smc *smc) in smt_get_mbuf() 546 void mac_drv_repair_descr(struct s_smc *smc) in mac_drv_repair_descr() 701 void fddi_isr(struct s_smc *smc) in fddi_isr() 1033 void process_receive(struct s_smc *smc) in process_receive() 1750 static SMbuf *get_llc_rx(struct s_smc *smc) in get_llc_rx() [all …]
|
| A D | pcmplc.c | 226 void pcm_init(struct s_smc *smc) in pcm_init() 390 void init_plc(struct s_smc *smc) in init_plc() 403 static void real_init_plc(struct s_smc *smc) in real_init_plc() 411 static void plc_init(struct s_smc *smc, int p) in plc_init() 490 int sm_pm_get_ls(struct s_smc *smc, int phy) in sm_pm_get_ls() 1165 void sm_lem_evaluate(struct s_smc *smc) in sm_lem_evaluate() 1567 int pcm_status_twisted(struct s_smc *smc) in pcm_status_twisted() 1610 int pcm_rooted_station(struct s_smc *smc) in pcm_rooted_station() 1880 int get_pcm_state(struct s_smc *smc, int np) in get_pcm_state() 1946 void list_phy(struct s_smc *smc) in list_phy() [all …]
|
| A D | rmt.c | 115 void rmt_init(struct s_smc *smc) in rmt_init() 137 void rmt(struct s_smc *smc, int event) in rmt() 156 static void rmt_fsm(struct s_smc *smc, int cmd) in rmt_fsm() 521 static void rmt_dup_actions(struct s_smc *smc) in rmt_dup_actions() 540 static void rmt_reinsert_actions(struct s_smc *smc) in rmt_reinsert_actions() 549 static void rmt_new_dup_actions(struct s_smc *smc) in rmt_new_dup_actions() 574 static void rmt_leave_actions(struct s_smc *smc) in rmt_leave_actions() 587 static void start_rmt_timer0(struct s_smc *smc, u_long value, int event) in start_rmt_timer0() 617 static void stop_rmt_timer0(struct s_smc *smc) in stop_rmt_timer0() 627 static void stop_rmt_timer1(struct s_smc *smc) in stop_rmt_timer1() [all …]
|
| A D | cfm.c | 95 void cfm_init(struct s_smc *smc) in cfm_init() 107 #define THRU_ENABLED(smc) (smc->y[PA].pc_mode != PM_TREE && \ argument 110 static void selection_criteria (struct s_smc *smc, struct s_phy *phy) in selection_criteria() 136 void all_selection_criteria(struct s_smc *smc) in all_selection_criteria() 147 static void cem_priv_state(struct s_smc *smc, int event) in cem_priv_state() 203 void cfm(struct s_smc *smc, int event) in cfm() 266 static void cfm_fsm(struct s_smc *smc, int cmd) in cfm_fsm() 524 int cfm_get_mac_input(struct s_smc *smc) in cfm_get_mac_input() 535 int cfm_get_mac_output(struct s_smc *smc) in cfm_get_mac_output() 575 int cem_build_path(struct s_smc *smc, char *to, int path_index) in cem_build_path()
|
| A D | hwt.c | 55 void hwt_start(struct s_smc *smc, u_long time) in hwt_start() 93 void hwt_stop(struct s_smc *smc) in hwt_stop() 115 void hwt_init(struct s_smc *smc) in hwt_init() 138 void hwt_restart(struct s_smc *smc) in hwt_restart() 156 u_long hwt_read(struct s_smc *smc) in hwt_read() 191 u_long hwt_quick_read(struct s_smc *smc) in hwt_quick_read() 219 void hwt_wait_time(struct s_smc *smc, u_long start, long int duration) in hwt_wait_time()
|
| A D | ess.c | 112 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm, in ess_raf_received_pack() 375 static int process_bw_alloc(struct s_smc *smc, long int payload, long int overhead) in process_bw_alloc() 471 static void ess_send_response(struct s_smc *smc, struct smt_header *sm, in ess_send_response() 536 void ess_timer_poll(struct s_smc *smc) in ess_timer_poll() 550 static void ess_send_alc_req(struct s_smc *smc) in ess_send_alc_req() 658 static void ess_send_frame(struct s_smc *smc, SMbuf *mb) in ess_send_frame() 684 void ess_para_change(struct s_smc *smc) in ess_para_change() 690 static void ess_config_fifo(struct s_smc *smc) in ess_config_fifo()
|
| A D | ecm.c | 95 void ecm_init(struct s_smc *smc) in ecm_init() 113 void ecm(struct s_smc *smc, int event) in ecm() 132 static void ecm_fsm(struct s_smc *smc, int cmd) in ecm_fsm() 415 static void prop_actions(struct s_smc *smc) in prop_actions() 465 static void prop_actions(struct s_smc *smc) in prop_actions() 511 static void start_ecm_timer(struct s_smc *smc, u_long value, int event) in start_ecm_timer() 520 static void stop_ecm_timer(struct s_smc *smc) in stop_ecm_timer()
|
| A D | queue.c | 26 void ev_init(struct s_smc *smc) in ev_init() 34 void queue_event(struct s_smc *smc, int class, int event) in queue_event() 50 void timer_event(struct s_smc *smc, u_long token) in timer_event() 65 void ev_dispatcher(struct s_smc *smc) in ev_dispatcher() 119 u_short smt_online(struct s_smc *smc, int on) in smt_online() 133 void do_smt_flag(struct s_smc *smc, char *flag, int value) in do_smt_flag()
|
| A D | smttimer.c | 23 void smt_timer_init(struct s_smc *smc) in smt_timer_init() 31 void smt_timer_stop(struct s_smc *smc, struct smt_timer *timer) in smt_timer_stop() 54 void smt_timer_start(struct s_smc *smc, struct smt_timer *timer, u_long time, in smt_timer_start() 102 void smt_force_irq(struct s_smc *smc) in smt_force_irq() 107 void smt_timer_done(struct s_smc *smc) in smt_timer_done() 112 static void timer_done(struct s_smc *smc, int restart) in timer_done()
|
| A D | srf.c | 63 void smt_init_evc(struct s_smc *smc) in smt_init_evc() 152 static struct s_srf_evc *smt_get_evc(struct s_smc *smc, int code, int index) in smt_get_evc() 176 void smt_srf_event(struct s_smc *smc, int code, int index, int cond) in smt_srf_event() 324 static void clear_all_rep(struct s_smc *smc) in clear_all_rep() 337 static void clear_reported(struct s_smc *smc) in clear_reported() 360 static void smt_send_srf(struct s_smc *smc) in smt_send_srf()
|
| A D | pmf.c | 273 void smt_pmf_received_pack(struct s_smc *smc, SMbuf *mb, int local) in smt_pmf_received_pack() 303 static SMbuf *smt_build_pmf_response(struct s_smc *smc, struct smt_header *req, in smt_build_pmf_response() 491 static int smt_authorize(struct s_smc *smc, struct smt_header *sm) in smt_authorize() 526 static int smt_check_set_count(struct s_smc *smc, struct smt_header *sm) in smt_check_set_count() 542 void smt_add_para(struct s_smc *smc, struct s_pcon *pcon, u_short para, in smt_add_para() 1067 static int smt_set_para(struct s_smc *smc, struct smt_para *pa, int index, in smt_set_para() 1523 static int smt_mib_phys(struct s_smc *smc) in smt_mib_phys() 1536 static int port_to_mib(struct s_smc *smc, int p) in port_to_mib() 1552 void dump_smt(struct s_smc *smc, struct smt_header *sm, char *text) in dump_smt()
|
| A D | smtinit.c | 30 #define OEMID(smc,i) oem_id[i] argument 33 #define OEMID(smc,i) smc->hw.oem_id->oi_mark[i] argument 43 static void set_oem_spec_val(struct s_smc *smc) in set_oem_spec_val() 60 int init_smt(struct s_smc *smc, const u_char *mac_addr) in init_smt()
|
| A D | smtdef.c | 74 void smt_reset_defaults(struct s_smc *smc, int level) in smt_reset_defaults() 156 static void smt_init_mib(struct s_smc *smc, int level) in smt_init_mib() 276 int smt_set_mac_opvalues(struct s_smc *smc) in smt_set_mac_opvalues() 301 void smt_fixup_mib(struct s_smc *smc) in smt_fixup_mib()
|
| /drivers/mfd/ |
| A D | macsmc.c | 52 static int apple_smc_cmd_locked(struct apple_smc *smc, u64 cmd, u64 arg, in apple_smc_cmd_locked() 102 static int apple_smc_cmd(struct apple_smc *smc, u64 cmd, u64 arg, in apple_smc_cmd() 110 static int apple_smc_rw_locked(struct apple_smc *smc, smc_key key, in apple_smc_rw_locked() 220 int apple_smc_enter_atomic(struct apple_smc *smc) in apple_smc_enter_atomic() 296 struct apple_smc *smc = cookie; in apple_smc_rtkit_crashed() local 304 struct apple_smc *smc = cookie; in apple_smc_rtkit_shmem_setup() local 331 struct apple_smc *smc = cookie; in apple_smc_rtkit_recv_early() local 367 struct apple_smc *smc = cookie; in apple_smc_rtkit_recv() local 391 struct apple_smc *smc = data; in apple_smc_rtkit_shutdown() local 400 struct apple_smc *smc = data; in apple_smc_disable_notifications() local [all …]
|
| /drivers/net/ethernet/smsc/ |
| A D | smc91c92_cs.c | 304 struct smc_private *smc; in smc91c92_probe() local 383 struct smc_private *smc = netdev_priv(dev); in mhz_3288_power() local 426 struct smc_private *smc = netdev_priv(dev); in mhz_mfc_config() local 725 struct smc_private *smc = netdev_priv(dev); in smc91c92_resume() local 961 struct smc_private *smc = netdev_priv(dev); in smc91c92_release() local 1498 struct smc_private *smc = netdev_priv(dev); in smc_rx() local 1919 struct smc_private *smc = netdev_priv(dev); in smc_get_link_ksettings() local 1938 struct smc_private *smc = netdev_priv(dev); in smc_set_link_ksettings() local 1957 struct smc_private *smc = netdev_priv(dev); in smc_get_link() local 1973 struct smc_private *smc = netdev_priv(dev); in smc_nway_reset() local [all …]
|
| /drivers/firmware/qcom/ |
| A D | qcom_scm-smc.c | 38 static void __scm_smc_do_quirk(const struct arm_smccc_args *smc, in __scm_smc_do_quirk() 99 struct arm_smccc_args *smc = waitq; in __scm_smc_do_quirk_handle_waitq() local 120 static int __scm_smc_do(struct device *dev, struct arm_smccc_args *smc, in __scm_smc_do() 163 struct arm_smccc_args smc = {0}; in __scm_smc_call() local
|
| A D | qcom_scm-legacy.c | 110 static void __scm_legacy_do(const struct arm_smccc_args *smc, in __scm_legacy_do() 142 struct arm_smccc_args smc = {0}; in scm_legacy_call() local
|
| /drivers/net/fddi/skfp/h/ |
| A D | hwmtm.h | 242 #define HWM_GET_TX_USED(smc,queue) (int) (smc)->hw.fp.tx_q[queue].tx_used argument 260 #define HWM_GET_CURR_TXD(smc,queue) (struct s_smt_fp_txd volatile *)\ argument 311 #define HWM_GET_RX_USED(smc) ((int)(smc)->hw.fp.rx_q[QUEUE_R1].rx_used) argument 325 #define HWM_GET_RX_FREE(smc) ((int)(smc)->hw.fp.rx_q[QUEUE_R1].rx_free-1) argument 340 #define HWM_GET_CURR_RXD(smc) (struct s_smt_fp_rxd volatile *)\ argument 358 #define HWM_RX_CHECK(smc,low_water) {\ argument 364 #define HWM_RX_CHECK(smc,low_water) mac_drv_fill_rxd(smc) argument
|
| A D | skfbiinc.h | 84 #define DRV_PCM_STATE_CHANGE(smc,plc,p_state) /* nothing */ argument 89 #define DRV_RMT_INDICATION(smc,i) /* nothing */ argument
|
| /drivers/gpio/ |
| A D | gpio-macsmc.c | 73 struct apple_smc *smc; member 97 struct apple_smc *smc = smcgp->smc; in macsmc_gpio_find_first_gpio_index() local 237 struct apple_smc *smc = dev_get_drvdata(pdev->dev.parent); in macsmc_gpio_probe() local
|
| /drivers/power/reset/ |
| A D | macsmc-reboot.c | 39 struct apple_smc *smc; member 204 struct apple_smc *smc = dev_get_drvdata(pdev->dev.parent); in macsmc_reboot_probe() local
|