/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-mdio.c | 129 static int xgbe_phy_module_eeprom(struct xgbe_prv_data *pdata, in xgbe_phy_module_eeprom() 138 static int xgbe_phy_module_info(struct xgbe_prv_data *pdata, in xgbe_phy_module_info() 147 static void xgbe_an37_clear_interrupts(struct xgbe_prv_data *pdata) in xgbe_an37_clear_interrupts() 156 static void xgbe_an37_disable_interrupts(struct xgbe_prv_data *pdata) in xgbe_an37_disable_interrupts() 169 static void xgbe_an37_enable_interrupts(struct xgbe_prv_data *pdata) in xgbe_an37_enable_interrupts() 182 static void xgbe_an73_clear_interrupts(struct xgbe_prv_data *pdata) in xgbe_an73_clear_interrupts() 187 static void xgbe_an73_disable_interrupts(struct xgbe_prv_data *pdata) in xgbe_an73_disable_interrupts() 192 static void xgbe_an73_enable_interrupts(struct xgbe_prv_data *pdata) in xgbe_an73_enable_interrupts() 197 static void xgbe_an_enable_interrupts(struct xgbe_prv_data *pdata) in xgbe_an_enable_interrupts() 213 static void xgbe_an_clear_interrupts_all(struct xgbe_prv_data *pdata) in xgbe_an_clear_interrupts_all() [all …]
|
H A D | xgbe-dev.c | 127 static inline unsigned int xgbe_get_max_frame(struct xgbe_prv_data *pdata) in xgbe_get_max_frame() 132 static unsigned int xgbe_usec_to_riwt(struct xgbe_prv_data *pdata, in xgbe_usec_to_riwt() 155 static unsigned int xgbe_riwt_to_usec(struct xgbe_prv_data *pdata, in xgbe_riwt_to_usec() 178 static int xgbe_config_pbl_val(struct xgbe_prv_data *pdata) in xgbe_config_pbl_val() 207 static int xgbe_config_osp_mode(struct xgbe_prv_data *pdata) in xgbe_config_osp_mode() 222 static int xgbe_config_rsf_mode(struct xgbe_prv_data *pdata, unsigned int val) in xgbe_config_rsf_mode() 232 static int xgbe_config_tsf_mode(struct xgbe_prv_data *pdata, unsigned int val) in xgbe_config_tsf_mode() 242 static int xgbe_config_rx_threshold(struct xgbe_prv_data *pdata, in xgbe_config_rx_threshold() 253 static int xgbe_config_tx_threshold(struct xgbe_prv_data *pdata, in xgbe_config_tx_threshold() 264 static int xgbe_config_rx_coalesce(struct xgbe_prv_data *pdata) in xgbe_config_rx_coalesce() [all …]
|
H A D | xgbe-i2c.c | 144 static int xgbe_i2c_abort(struct xgbe_prv_data *pdata) in xgbe_i2c_abort() 164 static int xgbe_i2c_set_enable(struct xgbe_prv_data *pdata, bool enable) in xgbe_i2c_set_enable() 180 static int xgbe_i2c_disable(struct xgbe_prv_data *pdata) in xgbe_i2c_disable() 198 static int xgbe_i2c_enable(struct xgbe_prv_data *pdata) in xgbe_i2c_enable() 203 static void xgbe_i2c_clear_all_interrupts(struct xgbe_prv_data *pdata) in xgbe_i2c_clear_all_interrupts() 208 static void xgbe_i2c_disable_interrupts(struct xgbe_prv_data *pdata) in xgbe_i2c_disable_interrupts() 213 static void xgbe_i2c_enable_interrupts(struct xgbe_prv_data *pdata) in xgbe_i2c_enable_interrupts() 218 static void xgbe_i2c_write(struct xgbe_prv_data *pdata) in xgbe_i2c_write() 246 static void xgbe_i2c_read(struct xgbe_prv_data *pdata) in xgbe_i2c_read() 263 static void xgbe_i2c_clear_isr_interrupts(struct xgbe_prv_data *pdata, in xgbe_i2c_clear_isr_interrupts() [all …]
|
H A D | xgbe-drv.c | 172 static void xgbe_free_channels(struct xgbe_prv_data *pdata) in xgbe_free_channels() 190 static int xgbe_alloc_channels(struct xgbe_prv_data *pdata) in xgbe_alloc_channels() 276 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_maybe_stop_tx_queue() local 309 static void xgbe_enable_rx_tx_int(struct xgbe_prv_data *pdata, in xgbe_enable_rx_tx_int() 327 static void xgbe_enable_rx_tx_ints(struct xgbe_prv_data *pdata) in xgbe_enable_rx_tx_ints() 335 static void xgbe_disable_rx_tx_int(struct xgbe_prv_data *pdata, in xgbe_disable_rx_tx_int() 353 static void xgbe_disable_rx_tx_ints(struct xgbe_prv_data *pdata) in xgbe_disable_rx_tx_ints() 361 static bool xgbe_ecc_sec(struct xgbe_prv_data *pdata, unsigned long *period, in xgbe_ecc_sec() 386 static bool xgbe_ecc_ded(struct xgbe_prv_data *pdata, unsigned long *period, in xgbe_ecc_ded() 408 struct xgbe_prv_data *pdata = from_work(pdata, work, ecc_bh_work); in xgbe_ecc_isr_bh_work() local [all …]
|
H A D | xgbe-phy-v2.c | 396 static int xgbe_phy_i2c_xfer(struct xgbe_prv_data *pdata, in xgbe_phy_i2c_xfer() 402 static int xgbe_phy_redrv_write(struct xgbe_prv_data *pdata, unsigned int reg, in xgbe_phy_redrv_write() 464 static int xgbe_phy_i2c_write(struct xgbe_prv_data *pdata, unsigned int target, in xgbe_phy_i2c_write() 484 static int xgbe_phy_i2c_read(struct xgbe_prv_data *pdata, unsigned int target, in xgbe_phy_i2c_read() 520 static int xgbe_phy_sfp_put_mux(struct xgbe_prv_data *pdata) in xgbe_phy_sfp_put_mux() 539 static int xgbe_phy_sfp_get_mux(struct xgbe_prv_data *pdata) in xgbe_phy_sfp_get_mux() 558 static void xgbe_phy_put_comm_ownership(struct xgbe_prv_data *pdata) in xgbe_phy_put_comm_ownership() 563 static int xgbe_phy_get_comm_ownership(struct xgbe_prv_data *pdata) in xgbe_phy_get_comm_ownership() 607 static int xgbe_phy_mdio_mii_write_c22(struct xgbe_prv_data *pdata, int addr, in xgbe_phy_mdio_mii_write_c22() 618 static int xgbe_phy_mdio_mii_write_c45(struct xgbe_prv_data *pdata, int addr, in xgbe_phy_mdio_mii_write_c45() [all …]
|
H A D | xgbe-phy-v1.c | 222 static void xgbe_phy_kr_training_pre(struct xgbe_prv_data *pdata) in xgbe_phy_kr_training_pre() 227 static void xgbe_phy_kr_training_post(struct xgbe_prv_data *pdata) in xgbe_phy_kr_training_post() 232 static enum xgbe_mode xgbe_phy_an_outcome(struct xgbe_prv_data *pdata) in xgbe_phy_an_outcome() 299 static void xgbe_phy_an_advertising(struct xgbe_prv_data *pdata, in xgbe_phy_an_advertising() 307 static int xgbe_phy_an_config(struct xgbe_prv_data *pdata) in xgbe_phy_an_config() 313 static enum xgbe_an_mode xgbe_phy_an_mode(struct xgbe_prv_data *pdata) in xgbe_phy_an_mode() 318 static void xgbe_phy_pcs_power_cycle(struct xgbe_prv_data *pdata) in xgbe_phy_pcs_power_cycle() 333 static void xgbe_phy_start_ratechange(struct xgbe_prv_data *pdata) in xgbe_phy_start_ratechange() 339 static void xgbe_phy_complete_ratechange(struct xgbe_prv_data *pdata) in xgbe_phy_complete_ratechange() 367 static void xgbe_phy_kr_mode(struct xgbe_prv_data *pdata) in xgbe_phy_kr_mode() [all …]
|
H A D | xgbe-ethtool.c | 193 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_strings() local 218 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_ethtool_stats() local 239 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_sset_count() local 259 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_pauseparam() local 269 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_set_pauseparam() local 308 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_link_ksettings() local 334 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_set_link_ksettings() local 403 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_drvinfo() local 417 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_msglevel() local 424 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_set_msglevel() local [all …]
|
H A D | xgbe-debugfs.c | 177 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_addr_read() local 186 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_addr_write() local 195 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_value_read() local 207 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_value_write() local 237 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_mmd_read() local 245 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_mmd_write() local 254 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_addr_read() local 262 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_addr_write() local 271 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_value_read() local 284 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_value_write() local [all …]
|
H A D | xgbe-main.c | 139 static void xgbe_default_config(struct xgbe_prv_data *pdata) in xgbe_default_config() 162 static void xgbe_init_all_fptrs(struct xgbe_prv_data *pdata) in xgbe_init_all_fptrs() 174 struct xgbe_prv_data *pdata; in xgbe_alloc_pdata() local 204 void xgbe_free_pdata(struct xgbe_prv_data *pdata) in xgbe_free_pdata() 211 void xgbe_set_counts(struct xgbe_prv_data *pdata) in xgbe_set_counts() 262 int xgbe_config_netdev(struct xgbe_prv_data *pdata) in xgbe_config_netdev() 415 void xgbe_deconfig_netdev(struct xgbe_prv_data *pdata) in xgbe_deconfig_netdev() 433 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_netdev_event() local
|
H A D | xgbe-ptp.c | 127 struct xgbe_prv_data *pdata = container_of(cc, in xgbe_cc_read() local 139 struct xgbe_prv_data *pdata = container_of(info, in xgbe_adjfine() local 158 struct xgbe_prv_data *pdata = container_of(info, in xgbe_adjtime() local 172 struct xgbe_prv_data *pdata = container_of(info, in xgbe_gettime() local 192 struct xgbe_prv_data *pdata = container_of(info, in xgbe_settime() local 215 void xgbe_ptp_register(struct xgbe_prv_data *pdata) in xgbe_ptp_register() 263 void xgbe_ptp_unregister(struct xgbe_prv_data *pdata) in xgbe_ptp_unregister()
|
H A D | xgbe-desc.c | 122 static void xgbe_free_ring(struct xgbe_prv_data *pdata, in xgbe_free_ring() 172 static void xgbe_free_ring_resources(struct xgbe_prv_data *pdata) in xgbe_free_ring_resources() 215 static int xgbe_init_ring(struct xgbe_prv_data *pdata, in xgbe_init_ring() 246 static int xgbe_alloc_ring_resources(struct xgbe_prv_data *pdata) in xgbe_alloc_ring_resources() 285 static int xgbe_alloc_pages(struct xgbe_prv_data *pdata, in xgbe_alloc_pages() 356 static int xgbe_map_rx_buffer(struct xgbe_prv_data *pdata, in xgbe_map_rx_buffer() 386 static void xgbe_wrapper_tx_descriptor_init(struct xgbe_prv_data *pdata) in xgbe_wrapper_tx_descriptor_init() 427 static void xgbe_wrapper_rx_descriptor_init(struct xgbe_prv_data *pdata) in xgbe_wrapper_rx_descriptor_init() 470 static void xgbe_unmap_rdata(struct xgbe_prv_data *pdata, in xgbe_unmap_rdata() 525 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_map_tx_skb() local
|
/linux/drivers/net/ethernet/synopsys/ |
H A D | dwc-xlgmac-hw.c | 36 static int xlgmac_disable_rx_csum(struct xlgmac_pdata *pdata) in xlgmac_disable_rx_csum() 48 static int xlgmac_enable_rx_csum(struct xlgmac_pdata *pdata) in xlgmac_enable_rx_csum() 60 static int xlgmac_set_mac_address(struct xlgmac_pdata *pdata, const u8 *addr) in xlgmac_set_mac_address() 74 static void xlgmac_set_mac_reg(struct xlgmac_pdata *pdata, in xlgmac_set_mac_reg() 110 static int xlgmac_enable_rx_vlan_stripping(struct xlgmac_pdata *pdata) in xlgmac_enable_rx_vlan_stripping() 135 static int xlgmac_disable_rx_vlan_stripping(struct xlgmac_pdata *pdata) in xlgmac_disable_rx_vlan_stripping() 147 static int xlgmac_enable_rx_vlan_filtering(struct xlgmac_pdata *pdata) in xlgmac_enable_rx_vlan_filtering() 180 static int xlgmac_disable_rx_vlan_filtering(struct xlgmac_pdata *pdata) in xlgmac_disable_rx_vlan_filtering() 217 static int xlgmac_update_vlan_hash_table(struct xlgmac_pdata *pdata) in xlgmac_update_vlan_hash_table() 243 static int xlgmac_set_promiscuous_mode(struct xlgmac_pdata *pdata, in xlgmac_set_promiscuous_mode() [all …]
|
H A D | dwc-xlgmac-net.c | 43 struct xlgmac_pdata *pdata = channel->pdata; in xlgmac_maybe_stop_tx_queue() local 114 static void xlgmac_prep_tx_pkt(struct xlgmac_pdata *pdata, in xlgmac_prep_tx_pkt() 207 static void xlgmac_enable_rx_tx_ints(struct xlgmac_pdata *pdata) in xlgmac_enable_rx_tx_ints() 229 static void xlgmac_disable_rx_tx_ints(struct xlgmac_pdata *pdata) in xlgmac_disable_rx_tx_ints() 254 struct xlgmac_pdata *pdata = data; in xlgmac_isr() local 364 struct xlgmac_pdata *pdata = channel->pdata; in xlgmac_tx_timer() local 384 static void xlgmac_init_timers(struct xlgmac_pdata *pdata) in xlgmac_init_timers() 398 static void xlgmac_stop_timers(struct xlgmac_pdata *pdata) in xlgmac_stop_timers() 412 static void xlgmac_napi_enable(struct xlgmac_pdata *pdata, unsigned int add) in xlgmac_napi_enable() 435 static void xlgmac_napi_disable(struct xlgmac_pdata *pdata, unsigned int del) in xlgmac_napi_disable() [all …]
|
H A D | dwc-xlgmac-desc.c | 21 static void xlgmac_unmap_desc_data(struct xlgmac_pdata *pdata, in xlgmac_unmap_desc_data() 74 static void xlgmac_free_ring(struct xlgmac_pdata *pdata, in xlgmac_free_ring() 125 static int xlgmac_init_ring(struct xlgmac_pdata *pdata, in xlgmac_init_ring() 158 static void xlgmac_free_rings(struct xlgmac_pdata *pdata) in xlgmac_free_rings() 173 static int xlgmac_alloc_rings(struct xlgmac_pdata *pdata) in xlgmac_alloc_rings() 213 static void xlgmac_free_channels(struct xlgmac_pdata *pdata) in xlgmac_free_channels() 230 static int xlgmac_alloc_channels(struct xlgmac_pdata *pdata) in xlgmac_alloc_channels() 303 static void xlgmac_free_channels_and_rings(struct xlgmac_pdata *pdata) in xlgmac_free_channels_and_rings() 310 static int xlgmac_alloc_channels_and_rings(struct xlgmac_pdata *pdata) in xlgmac_alloc_channels_and_rings() 330 static int xlgmac_alloc_pages(struct xlgmac_pdata *pdata, in xlgmac_alloc_pages() [all …]
|
H A D | dwc-xlgmac-common.c | 32 static void xlgmac_read_mac_addr(struct xlgmac_pdata *pdata) in xlgmac_read_mac_addr() 40 static void xlgmac_default_config(struct xlgmac_pdata *pdata) in xlgmac_default_config() 59 static void xlgmac_init_all_ops(struct xlgmac_pdata *pdata) in xlgmac_init_all_ops() 65 static int xlgmac_init(struct xlgmac_pdata *pdata) in xlgmac_init() 228 struct xlgmac_pdata *pdata; in xlgmac_drv_probe() local 282 void xlgmac_dump_tx_desc(struct xlgmac_pdata *pdata, in xlgmac_dump_tx_desc() 309 void xlgmac_dump_rx_desc(struct xlgmac_pdata *pdata, in xlgmac_dump_rx_desc() 357 void xlgmac_get_all_hw_features(struct xlgmac_pdata *pdata) in xlgmac_get_all_hw_features() 512 void xlgmac_print_all_hw_features(struct xlgmac_pdata *pdata) in xlgmac_print_all_hw_features()
|
/linux/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_xgmac.c | 15 static void xgene_enet_wr_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_csr() 23 static void xgene_enet_wr_ring_if(struct xgene_enet_pdata *pdata, in xgene_enet_wr_ring_if() 31 static void xgene_enet_wr_diag_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_diag_csr() 62 static void xgene_enet_wr_pcs(struct xgene_enet_pdata *pdata, in xgene_enet_wr_pcs() 77 static void xgene_enet_wr_axg_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_axg_csr() 85 static void xgene_enet_rd_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_csr() 93 static void xgene_enet_rd_diag_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_diag_csr() 124 static bool xgene_enet_rd_pcs(struct xgene_enet_pdata *pdata, in xgene_enet_rd_pcs() 143 static void xgene_enet_rd_axg_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_axg_csr() 151 static int xgene_enet_ecc_init(struct xgene_enet_pdata *pdata) in xgene_enet_ecc_init() [all …]
|
H A D | xgene_enet_hw.c | 63 struct xgene_enet_pdata *pdata = netdev_priv(ring->ndev); in xgene_enet_ring_wr32() local 71 struct xgene_enet_pdata *pdata = netdev_priv(ring->ndev); in xgene_enet_ring_rd32() local 78 struct xgene_enet_pdata *pdata = netdev_priv(ring->ndev); in xgene_enet_write_ring_state() local 223 static void xgene_enet_wr_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_csr() 231 static void xgene_enet_wr_ring_if(struct xgene_enet_pdata *pdata, in xgene_enet_wr_ring_if() 239 static void xgene_enet_wr_diag_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_diag_csr() 247 static void xgene_enet_wr_mcx_csr(struct xgene_enet_pdata *pdata, in xgene_enet_wr_mcx_csr() 255 void xgene_enet_wr_mac(struct xgene_enet_pdata *pdata, u32 wr_addr, u32 wr_data) in xgene_enet_wr_mac() 290 static void xgene_enet_rd_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_csr() 298 static void xgene_enet_rd_diag_csr(struct xgene_enet_pdata *pdata, in xgene_enet_rd_diag_csr() [all …]
|
/linux/drivers/edac/ |
H A D | mpc85xx_edac.c | 52 struct mpc85xx_pci_pdata *pdata = pci->pvt_info; in mpc85xx_pci_check() local 89 struct mpc85xx_pci_pdata *pdata = pci->pvt_info; in mpc85xx_pcie_check() local 129 struct mpc85xx_pci_pdata *pdata = pci->pvt_info; in mpc85xx_pci_isr() local 148 struct mpc85xx_pci_pdata *pdata; in mpc85xx_pci_err_probe() local 306 struct mpc85xx_pci_pdata *pdata = pci->pvt_info; in mpc85xx_pci_err_remove() local 342 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_data_hi_show() local 350 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_data_lo_show() local 358 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_ctrl_show() local 367 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_data_hi_store() local 380 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_data_lo_store() local [all …]
|
/linux/drivers/rtc/ |
H A D | rtc-xgene.c | 45 struct xgene_rtc_dev *pdata = dev_get_drvdata(dev); in xgene_rtc_read_time() local 53 struct xgene_rtc_dev *pdata = dev_get_drvdata(dev); in xgene_rtc_set_time() local 67 struct xgene_rtc_dev *pdata = dev_get_drvdata(dev); in xgene_rtc_read_alarm() local 78 struct xgene_rtc_dev *pdata = dev_get_drvdata(dev); in xgene_rtc_alarm_irq_enable() local 96 struct xgene_rtc_dev *pdata = dev_get_drvdata(dev); in xgene_rtc_alarm_irq_enabled() local 103 struct xgene_rtc_dev *pdata = dev_get_drvdata(dev); in xgene_rtc_set_alarm() local 122 struct xgene_rtc_dev *pdata = id; in xgene_rtc_interrupt() local 138 struct xgene_rtc_dev *pdata; in xgene_rtc_probe() local 197 struct xgene_rtc_dev *pdata = platform_get_drvdata(pdev); in xgene_rtc_remove() local 207 struct xgene_rtc_dev *pdata = platform_get_drvdata(pdev); in xgene_rtc_suspend() local [all …]
|
H A D | rtc-mxc_v2.c | 75 struct mxc_rtc_data *pdata = dev_get_drvdata(dev); in mxc_rtc_interrupt() local 114 static int mxc_rtc_lock(struct mxc_rtc_data *const pdata) in mxc_rtc_lock() 127 static int mxc_rtc_unlock(struct mxc_rtc_data *const pdata) in mxc_rtc_unlock() 143 struct mxc_rtc_data *pdata = dev_get_drvdata(dev); in mxc_rtc_read_time() local 165 struct mxc_rtc_data *pdata = dev_get_drvdata(dev); in mxc_rtc_set_time() local 189 struct mxc_rtc_data *pdata = dev_get_drvdata(dev); in mxc_rtc_read_alarm() local 206 static void mxc_rtc_alarm_irq_enable_locked(struct mxc_rtc_data *pdata, in mxc_rtc_alarm_irq_enable_locked() 221 struct mxc_rtc_data *pdata = dev_get_drvdata(dev); in mxc_rtc_alarm_irq_enable() local 241 struct mxc_rtc_data *pdata = dev_get_drvdata(dev); in mxc_rtc_set_alarm() local 280 struct mxc_rtc_data *pdata; in mxc_rtc_probe() local [all …]
|
H A D | rtc-pic32.c | 65 static void pic32_rtc_alarm_clk_enable(struct pic32_rtc_dev *pdata, in pic32_rtc_alarm_clk_enable() 87 struct pic32_rtc_dev *pdata = (struct pic32_rtc_dev *)id; in pic32_rtc_alarmirq() local 100 struct pic32_rtc_dev *pdata = dev_get_drvdata(dev); in pic32_rtc_setaie() local 118 struct pic32_rtc_dev *pdata = dev_get_drvdata(dev); in pic32_rtc_setfreq() local 134 struct pic32_rtc_dev *pdata = dev_get_drvdata(dev); in pic32_rtc_gettime() local 173 struct pic32_rtc_dev *pdata = dev_get_drvdata(dev); in pic32_rtc_settime() local 192 struct pic32_rtc_dev *pdata = dev_get_drvdata(dev); in pic32_rtc_getalarm() local 224 struct pic32_rtc_dev *pdata = dev_get_drvdata(dev); in pic32_rtc_setalarm() local 242 struct pic32_rtc_dev *pdata = dev_get_drvdata(dev); in pic32_rtc_proc() local 265 static void pic32_rtc_enable(struct pic32_rtc_dev *pdata, int en) in pic32_rtc_enable() [all …]
|
/linux/drivers/fpga/ |
H A D | dfl-afu-dma-region.c | 19 void afu_dma_region_init(struct dfl_feature_platform_data *pdata) in afu_dma_region_init() 34 static int afu_dma_pin_pages(struct dfl_feature_platform_data *pdata, in afu_dma_pin_pages() 82 static void afu_dma_unpin_pages(struct dfl_feature_platform_data *pdata, in afu_dma_unpin_pages() 143 static int afu_dma_region_add(struct dfl_feature_platform_data *pdata, in afu_dma_region_add() 185 static void afu_dma_region_remove(struct dfl_feature_platform_data *pdata, in afu_dma_region_remove() 203 void afu_dma_region_destroy(struct dfl_feature_platform_data *pdata) in afu_dma_region_destroy() 245 afu_dma_region_find(struct dfl_feature_platform_data *pdata, u64 iova, u64 size) in afu_dma_region_find() 285 afu_dma_region_find_iova(struct dfl_feature_platform_data *pdata, u64 iova) in afu_dma_region_find_iova() 301 int afu_dma_map_region(struct dfl_feature_platform_data *pdata, in afu_dma_map_region() 380 int afu_dma_unmap_region(struct dfl_feature_platform_data *pdata, u64 iova) in afu_dma_unmap_region()
|
/linux/drivers/acpi/x86/ |
H A D | lpss.c | 129 static void lpss_uart_setup(struct lpss_private_data *pdata) in lpss_uart_setup() 147 static void lpss_deassert_reset(struct lpss_private_data *pdata) in lpss_deassert_reset() 168 static void byt_pwm_setup(struct lpss_private_data *pdata) in byt_pwm_setup() 177 static void byt_i2c_setup(struct lpss_private_data *pdata) in byt_i2c_setup() 215 static void bsw_pwm_setup(struct lpss_private_data *pdata) in bsw_pwm_setup() 409 struct lpss_private_data *pdata) in register_device_clock() 619 struct lpss_private_data *pdata; in acpi_lpss_create_device() local 693 static u32 __lpss_reg_read(struct lpss_private_data *pdata, unsigned int reg) in __lpss_reg_read() 698 static void __lpss_reg_write(u32 val, struct lpss_private_data *pdata, in __lpss_reg_write() 707 struct lpss_private_data *pdata; in lpss_reg_read() local [all …]
|
/linux/drivers/net/ethernet/apm/xgene-v2/ |
H A D | mac.c | 12 void xge_mac_reset(struct xge_pdata *pdata) in xge_mac_reset() 18 void xge_mac_set_speed(struct xge_pdata *pdata) in xge_mac_set_speed() 66 void xge_mac_set_station_addr(struct xge_pdata *pdata) in xge_mac_set_station_addr() 79 void xge_mac_init(struct xge_pdata *pdata) in xge_mac_init() 86 void xge_mac_enable(struct xge_pdata *pdata) in xge_mac_enable() 97 void xge_mac_disable(struct xge_pdata *pdata) in xge_mac_disable()
|
/linux/drivers/tty/serial/8250/ |
H A D | 8250_fintek.c | 103 static u8 sio_read_reg(struct fintek_8250 *pdata, u8 reg) in sio_read_reg() 109 static void sio_write_reg(struct fintek_8250 *pdata, u8 reg, u8 data) in sio_write_reg() 115 static void sio_write_mask_reg(struct fintek_8250 *pdata, u8 reg, u8 mask, in sio_write_mask_reg() 144 static int fintek_8250_check_id(struct fintek_8250 *pdata) in fintek_8250_check_id() 174 static int fintek_8250_get_ldn_range(struct fintek_8250 *pdata, int *min, in fintek_8250_get_ldn_range() 201 struct fintek_8250 *pdata = port->private_data; in fintek_8250_rs485_config() local 238 static void fintek_8250_set_irq_mode(struct fintek_8250 *pdata, bool is_level) in fintek_8250_set_irq_mode() 267 static void fintek_8250_set_max_fifo(struct fintek_8250 *pdata) in fintek_8250_set_max_fifo() 288 struct fintek_8250 *pdata = port->private_data; in fintek_8250_set_termios() local 352 struct fintek_8250 *pdata = uart->port.private_data; in fintek_8250_set_termios_handler() local [all …]
|