Home
last modified time | relevance | path

Searched defs:np (Results 1 – 25 of 1459) sorted by relevance

12345678910>>...59

/linux/drivers/net/ethernet/sun/
H A Dniu.c113 niu_lock_parent(np,flags) global() argument
115 niu_unlock_parent(np,flags) global() argument
120 __niu_wait_bits_clear_mac(struct niu * np,unsigned long reg,u64 bits,int limit,int delay) __niu_wait_bits_clear_mac() argument
135 __niu_set_and_wait_clear_mac(struct niu * np,unsigned long reg,u64 bits,int limit,int delay,const char * reg_name) __niu_set_and_wait_clear_mac() argument
155 __niu_wait_bits_clear_ipp(struct niu * np,unsigned long reg,u64 bits,int limit,int delay) __niu_wait_bits_clear_ipp() argument
170 __niu_set_and_wait_clear_ipp(struct niu * np,unsigned long reg,u64 bits,int limit,int delay,const char * reg_name) __niu_set_and_wait_clear_ipp() argument
194 __niu_wait_bits_clear(struct niu * np,unsigned long reg,u64 bits,int limit,int delay) __niu_wait_bits_clear() argument
214 __niu_set_and_wait_clear(struct niu * np,unsigned long reg,u64 bits,int limit,int delay,const char * reg_name) __niu_set_and_wait_clear() argument
234 niu_ldg_rearm(struct niu * np,struct niu_ldg * lp,int on) niu_ldg_rearm() argument
244 niu_ldn_irq_enable(struct niu * np,int ldn,int on) niu_ldn_irq_enable() argument
270 niu_enable_ldn_in_ldg(struct niu * np,struct niu_ldg * lp,int on) niu_enable_ldn_in_ldg() argument
288 niu_enable_interrupts(struct niu * np,int on) niu_enable_interrupts() argument
316 mdio_wait(struct niu * np) mdio_wait() argument
332 mdio_read(struct niu * np,int port,int dev,int reg) mdio_read() argument
345 mdio_write(struct niu * np,int port,int dev,int reg,int data) mdio_write() argument
362 mii_read(struct niu * np,int port,int reg) mii_read() argument
368 mii_write(struct niu * np,int port,int reg,int data) mii_write() argument
380 esr2_set_tx_cfg(struct niu * np,unsigned long channel,u32 val) esr2_set_tx_cfg() argument
394 esr2_set_rx_cfg(struct niu * np,unsigned long channel,u32 val) esr2_set_rx_cfg() argument
409 serdes_init_niu_10g_fiber(struct niu * np) serdes_init_niu_10g_fiber() argument
446 serdes_init_niu_1g_serdes(struct niu * np) serdes_init_niu_1g_serdes() argument
543 serdes_init_niu_10g_serdes(struct niu * np) serdes_init_niu_10g_serdes() argument
658 esr_read_rxtx_ctrl(struct niu * np,unsigned long chan,u32 * val) esr_read_rxtx_ctrl() argument
674 esr_read_glue0(struct niu * np,unsigned long chan,u32 * val) esr_read_glue0() argument
692 esr_read_reset(struct niu * np,u32 * val) esr_read_reset() argument
710 esr_write_rxtx_ctrl(struct niu * np,unsigned long chan,u32 val) esr_write_rxtx_ctrl() argument
722 esr_write_glue0(struct niu * np,unsigned long chan,u32 val) esr_write_glue0() argument
734 esr_reset(struct niu * np) esr_reset() argument
773 serdes_init_10g(struct niu * np) serdes_init_10g() argument
899 serdes_init_1g(struct niu * np) serdes_init_1g() argument
926 serdes_init_1g_serdes(struct niu * np) serdes_init_1g_serdes() argument
1047 link_status_1g_serdes(struct niu * np,int * link_up_p) link_status_1g_serdes() argument
1078 link_status_10g_serdes(struct niu * np,int * link_up_p) link_status_10g_serdes() argument
1112 link_status_mii(struct niu * np,int * link_up_p) link_status_mii() argument
1225 link_status_1g_rgmii(struct niu * np,int * link_up_p) link_status_1g_rgmii() argument
1260 link_status_1g(struct niu * np,int * link_up_p) link_status_1g() argument
1276 bcm8704_reset(struct niu * np) bcm8704_reset() argument
1310 bcm8704_user_dev3_readback(struct niu * np,int reg) bcm8704_user_dev3_readback() argument
1321 bcm8706_init_user_dev3(struct niu * np) bcm8706_init_user_dev3() argument
1343 bcm8704_init_user_dev3(struct niu * np) bcm8704_init_user_dev3() argument
1393 mrvl88x2011_act_led(struct niu * np,int val) mrvl88x2011_act_led() argument
1409 mrvl88x2011_led_blink_rate(struct niu * np,int rate) mrvl88x2011_led_blink_rate() argument
1426 xcvr_init_10g_mrvl88x2011(struct niu * np) xcvr_init_10g_mrvl88x2011() argument
1473 xcvr_diag_bcm870x(struct niu * np) xcvr_diag_bcm870x() argument
1531 xcvr_10g_set_lb_bcm870x(struct niu * np) xcvr_10g_set_lb_bcm870x() argument
1554 xcvr_init_10g_bcm8706(struct niu * np) xcvr_init_10g_bcm8706() argument
1591 xcvr_init_10g_bcm8704(struct niu * np) xcvr_init_10g_bcm8704() argument
1614 xcvr_init_10g(struct niu * np) xcvr_init_10g() argument
1646 mii_reset(struct niu * np) mii_reset() argument
1672 xcvr_init_1g_rgmii(struct niu * np) xcvr_init_1g_rgmii() argument
1732 mii_init_common(struct niu * np) mii_init_common() argument
1867 xcvr_init_1g(struct niu * np) xcvr_init_1g() argument
1879 niu_xcvr_init(struct niu * np) niu_xcvr_init() argument
1891 niu_serdes_init(struct niu * np) niu_serdes_init() argument
1906 niu_link_status_common(struct niu * np,int link_up) niu_link_status_common() argument
1937 link_status_10g_mrvl(struct niu * np,int * link_up_p) link_status_10g_mrvl() argument
1993 link_status_10g_bcm8706(struct niu * np,int * link_up_p) link_status_10g_bcm8706() argument
2044 link_status_10g_bcom(struct niu * np,int * link_up_p) link_status_10g_bcom() argument
2093 link_status_10g(struct niu * np,int * link_up_p) link_status_10g() argument
2123 niu_10g_phy_present(struct niu * np) niu_10g_phy_present() argument
2160 link_status_10g_hotplug(struct niu * np,int * link_up_p) link_status_10g_hotplug() argument
2214 niu_link_status(struct niu * np,int * link_up_p) niu_link_status() argument
2228 struct niu *np = timer_container_of(np, t, timer); niu_timer() local
2369 serdes_init_10g_serdes(struct niu * np) serdes_init_10g_serdes() argument
2498 niu_determine_phy_disposition(struct niu * np) niu_determine_phy_disposition() argument
2604 niu_init_link(struct niu * np) niu_init_link() argument
2625 niu_set_primary_mac(struct niu * np,const unsigned char * addr) niu_set_primary_mac() argument
2642 niu_num_alt_addr(struct niu * np) niu_num_alt_addr() argument
2650 niu_set_alt_mac(struct niu * np,int index,unsigned char * addr) niu_set_alt_mac() argument
2672 niu_enable_alt_mac(struct niu * np,int index,int on) niu_enable_alt_mac() argument
2698 __set_rdc_table_num_hw(struct niu * np,unsigned long reg,int num,int mac_pref) __set_rdc_table_num_hw() argument
2709 __set_rdc_table_num(struct niu * np,int xmac_index,int bmac_index,int rdc_table_num,int mac_pref) __set_rdc_table_num() argument
2725 niu_set_primary_mac_rdc_table(struct niu * np,int table_num,int mac_pref) niu_set_primary_mac_rdc_table() argument
2731 niu_set_multicast_mac_rdc_table(struct niu * np,int table_num,int mac_pref) niu_set_multicast_mac_rdc_table() argument
2737 niu_set_alt_mac_rdc_table(struct niu * np,int idx,int table_num,int mac_pref) niu_set_alt_mac_rdc_table() argument
2766 vlan_tbl_write(struct niu * np,unsigned long index,int port,int vpr,int rdc_table) vlan_tbl_write() argument
2784 vlan_tbl_clear(struct niu * np) vlan_tbl_clear() argument
2792 tcam_wait_bit(struct niu * np,u64 bit) tcam_wait_bit() argument
2807 tcam_flush(struct niu * np,int index) tcam_flush() argument
2838 tcam_write(struct niu * np,int index,u64 * key,u64 * mask) tcam_write() argument
2868 tcam_assoc_write(struct niu * np,int index,u64 assoc_data) tcam_assoc_write() argument
2876 tcam_enable(struct niu * np,int on) tcam_enable() argument
2887 tcam_set_lat_and_ratio(struct niu * np,u64 latency,u64 ratio) tcam_set_lat_and_ratio() argument
2903 tcam_user_eth_class_enable(struct niu * np,unsigned long class,int on) tcam_user_eth_class_enable() argument
2946 tcam_user_ip_class_enable(struct niu * np,unsigned long class,int on) tcam_user_ip_class_enable() argument
2967 tcam_user_ip_class_set(struct niu * np,unsigned long class,int ipv6,u64 protocol_id,u64 tos_mask,u64 tos_val) tcam_user_ip_class_set() argument
2995 tcam_early_init(struct niu * np) tcam_early_init() argument
3018 tcam_flush_all(struct niu * np) tcam_flush_all() argument
3055 hash_write(struct niu * np,unsigned long partition,unsigned long index,unsigned long num_entries,u64 * data) hash_write() argument
3073 fflp_reset(struct niu * np) fflp_reset() argument
3085 fflp_set_timings(struct niu * np) fflp_set_timings() argument
3104 fflp_set_partition(struct niu * np,u64 partition,u64 mask,u64 base,int enable) fflp_set_partition() argument
3128 fflp_disable_all_partitions(struct niu * np) fflp_disable_all_partitions() argument
3140 fflp_llcsnap_enable(struct niu * np,int on) fflp_llcsnap_enable() argument
3151 fflp_errors_enable(struct niu * np,int on) fflp_errors_enable() argument
3162 fflp_hash_clear(struct niu * np) fflp_hash_clear() argument
3179 fflp_early_init(struct niu * np) fflp_early_init() argument
3238 niu_set_flow_key(struct niu * np,unsigned long class_code,u64 key) niu_set_flow_key() argument
3248 niu_set_tcam_key(struct niu * np,unsigned long class_code,u64 key) niu_set_tcam_key() argument
3259 tcam_get_index(struct niu * np,u16 idx) tcam_get_index() argument
3267 tcam_get_size(struct niu * np) tcam_get_size() argument
3273 tcam_get_valid_entry_cnt(struct niu * np) tcam_get_valid_entry_cnt() argument
3326 niu_rbr_add_page(struct niu * np,struct rx_ring_info * rp,gfp_t mask,int start_index) niu_rbr_add_page() argument
3358 niu_rbr_refill(struct niu * np,struct rx_ring_info * rp,gfp_t mask) niu_rbr_refill() argument
3383 niu_rx_pkt_ignore(struct niu * np,struct rx_ring_info * rp) niu_rx_pkt_ignore() argument
3423 niu_process_rx_pkt(struct napi_struct * napi,struct niu * np,struct rx_ring_info * rp) niu_process_rx_pkt() argument
3513 niu_rbr_fill(struct niu * np,struct rx_ring_info * rp,gfp_t mask) niu_rbr_fill() argument
3531 niu_rbr_free(struct niu * np,struct rx_ring_info * rp) niu_rbr_free() argument
3559 release_tx_packet(struct niu * np,struct tx_ring_info * rp,int idx) release_tx_packet() argument
3603 niu_tx_work(struct niu * np,struct tx_ring_info * rp) niu_tx_work() argument
3645 niu_sync_rx_discard_stats(struct niu * np,struct rx_ring_info * rp,const int limit) niu_sync_rx_discard_stats() argument
3697 niu_rx_work(struct napi_struct * napi,struct niu * np,struct rx_ring_info * rp,int budget) niu_rx_work() argument
3746 niu_poll_core(struct niu * np,struct niu_ldg * lp,int budget) niu_poll_core() argument
3784 struct niu *np = lp->np; niu_poll() local
3796 niu_log_rxchan_errors(struct niu * np,struct rx_ring_info * rp,u64 stat) niu_log_rxchan_errors() argument
3833 niu_rx_error(struct niu * np,struct rx_ring_info * rp) niu_rx_error() argument
3857 niu_log_txchan_errors(struct niu * np,struct tx_ring_info * rp,u64 cs) niu_log_txchan_errors() argument
3882 niu_tx_error(struct niu * np,struct tx_ring_info * rp) niu_tx_error() argument
3901 niu_mif_interrupt(struct niu * np) niu_mif_interrupt() argument
3919 niu_xmac_interrupt(struct niu * np) niu_xmac_interrupt() argument
3989 niu_bmac_interrupt(struct niu * np) niu_bmac_interrupt() argument
4025 niu_mac_interrupt(struct niu * np) niu_mac_interrupt() argument
4035 niu_log_device_error(struct niu * np,u64 stat) niu_log_device_error() argument
4065 niu_device_error(struct niu * np) niu_device_error() argument
4077 niu_slowpath_interrupt(struct niu * np,struct niu_ldg * lp,u64 v0,u64 v1,u64 v2) niu_slowpath_interrupt() argument
4142 niu_rxchan_intr(struct niu * np,struct rx_ring_info * rp,int ldn) niu_rxchan_intr() argument
4156 niu_txchan_intr(struct niu * np,struct tx_ring_info * rp,int ldn) niu_txchan_intr() argument
4165 __niu_fastpath_interrupt(struct niu * np,int ldg,u64 v0) __niu_fastpath_interrupt() argument
4199 niu_schedule_napi(struct niu * np,struct niu_ldg * lp,u64 v0,u64 v1,u64 v2) niu_schedule_napi() argument
4214 struct niu *np = lp->np; niu_interrupt() local
4255 niu_free_rx_ring_info(struct niu * np,struct rx_ring_info * rp) niu_free_rx_ring_info() argument
4285 niu_free_tx_ring_info(struct niu * np,struct tx_ring_info * rp) niu_free_tx_ring_info() argument
4312 niu_free_channels(struct niu * np) niu_free_channels() argument
4339 niu_alloc_rx_ring_info(struct niu * np,struct rx_ring_info * rp) niu_alloc_rx_ring_info() argument
4389 niu_set_max_burst(struct niu * np,struct tx_ring_info * rp) niu_set_max_burst() argument
4401 niu_alloc_tx_ring_info(struct niu * np,struct tx_ring_info * rp) niu_alloc_tx_ring_info() argument
4441 niu_size_rbr(struct niu * np,struct rx_ring_info * rp) niu_size_rbr() argument
4468 niu_alloc_channels(struct niu * np) niu_alloc_channels() argument
4555 niu_tx_cs_sng_poll(struct niu * np,int channel) niu_tx_cs_sng_poll() argument
4567 niu_tx_channel_stop(struct niu * np,int channel) niu_tx_channel_stop() argument
4577 niu_tx_cs_reset_poll(struct niu * np,int channel) niu_tx_cs_reset_poll() argument
4589 niu_tx_channel_reset(struct niu * np,int channel) niu_tx_channel_reset() argument
4604 niu_tx_channel_lpage_init(struct niu * np,int channel) niu_tx_channel_lpage_init() argument
4625 niu_txc_enable_port(struct niu * np,int on) niu_txc_enable_port() argument
4644 niu_txc_set_imask(struct niu * np,u64 imask) niu_txc_set_imask() argument
4656 niu_txc_port_dma_enable(struct niu * np,int on) niu_txc_port_dma_enable() argument
4669 niu_init_one_tx_channel(struct niu * np,struct tx_ring_info * rp) niu_init_one_tx_channel() argument
4723 niu_init_rdc_groups(struct niu * np) niu_init_rdc_groups() argument
4741 niu_init_drr_weight(struct niu * np) niu_init_drr_weight() argument
4759 niu_init_hostinfo(struct niu * np) niu_init_hostinfo() argument
4783 niu_rx_channel_reset(struct niu * np,int channel) niu_rx_channel_reset() argument
4790 niu_rx_channel_lpage_init(struct niu * np,int channel) niu_rx_channel_lpage_init() argument
4809 niu_rx_channel_wred_init(struct niu * np,struct rx_ring_info * rp) niu_rx_channel_wred_init() argument
4900 niu_enable_rx_channel(struct niu * np,int channel,int on) niu_enable_rx_channel() argument
4922 niu_init_one_rx_channel(struct niu * np,struct rx_ring_info * rp) niu_init_one_rx_channel() argument
4975 niu_init_rx_channels(struct niu * np) niu_init_rx_channels() argument
5006 niu_set_ip_frag_rule(struct niu * np) niu_set_ip_frag_rule() argument
5036 niu_init_classifier_hw(struct niu * np) niu_init_classifier_hw() argument
5085 niu_zcp_write(struct niu * np,int index,u64 * data) niu_zcp_write() argument
5102 niu_zcp_read(struct niu * np,int index,u64 * data) niu_zcp_read() argument
5136 niu_zcp_cfifo_reset(struct niu * np) niu_zcp_cfifo_reset() argument
5148 niu_init_zcp(struct niu * np) niu_init_zcp() argument
5185 niu_ipp_write(struct niu * np,int index,u64 * data) niu_ipp_write() argument
5199 niu_ipp_read(struct niu * np,int index,u64 * data) niu_ipp_read() argument
5209 niu_ipp_reset(struct niu * np) niu_ipp_reset() argument
5215 niu_init_ipp(struct niu * np) niu_init_ipp() argument
5266 niu_handle_led(struct niu * np,int status) niu_handle_led() argument
5285 niu_init_xif_xmac(struct niu * np) niu_init_xif_xmac() argument
5342 niu_init_xif_bmac(struct niu * np) niu_init_xif_bmac() argument
5372 niu_init_xif(struct niu * np) niu_init_xif() argument
5380 niu_pcs_mii_reset(struct niu * np) niu_pcs_mii_reset() argument
5392 niu_xpcs_reset(struct niu * np) niu_xpcs_reset() argument
5404 niu_init_pcs(struct niu * np) niu_init_pcs() argument
5468 niu_reset_tx_xmac(struct niu * np) niu_reset_tx_xmac() argument
5476 niu_reset_tx_bmac(struct niu * np) niu_reset_tx_bmac() argument
5497 niu_reset_tx_mac(struct niu * np) niu_reset_tx_mac() argument
5505 niu_init_tx_xmac(struct niu * np,u64 min,u64 max) niu_init_tx_xmac() argument
5541 niu_init_tx_bmac(struct niu * np,u64 min,u64 max) niu_init_tx_bmac() argument
5558 niu_init_tx_mac(struct niu * np) niu_init_tx_mac() argument
5579 niu_reset_rx_xmac(struct niu * np) niu_reset_rx_xmac() argument
5602 niu_reset_rx_bmac(struct niu * np) niu_reset_rx_bmac() argument
5623 niu_reset_rx_mac(struct niu * np) niu_reset_rx_mac() argument
5631 niu_init_rx_xmac(struct niu * np) niu_init_rx_xmac() argument
5683 niu_init_rx_bmac(struct niu * np) niu_init_rx_bmac() argument
5718 niu_init_rx_mac(struct niu * np) niu_init_rx_mac() argument
5728 niu_enable_tx_xmac(struct niu * np,int on) niu_enable_tx_xmac() argument
5739 niu_enable_tx_bmac(struct niu * np,int on) niu_enable_tx_bmac() argument
5750 niu_enable_tx_mac(struct niu * np,int on) niu_enable_tx_mac() argument
5758 niu_enable_rx_xmac(struct niu * np,int on) niu_enable_rx_xmac() argument
5777 niu_enable_rx_bmac(struct niu * np,int on) niu_enable_rx_bmac() argument
5796 niu_enable_rx_mac(struct niu * np,int on) niu_enable_rx_mac() argument
5804 niu_init_mac(struct niu * np) niu_init_mac() argument
5835 niu_stop_one_tx_channel(struct niu * np,struct tx_ring_info * rp) niu_stop_one_tx_channel() argument
5840 niu_stop_tx_channels(struct niu * np) niu_stop_tx_channels() argument
5851 niu_reset_one_tx_channel(struct niu * np,struct tx_ring_info * rp) niu_reset_one_tx_channel() argument
5856 niu_reset_tx_channels(struct niu * np) niu_reset_tx_channels() argument
5867 niu_stop_one_rx_channel(struct niu * np,struct rx_ring_info * rp) niu_stop_one_rx_channel() argument
5872 niu_stop_rx_channels(struct niu * np) niu_stop_rx_channels() argument
5883 niu_reset_one_rx_channel(struct niu * np,struct rx_ring_info * rp) niu_reset_one_rx_channel() argument
5893 niu_reset_rx_channels(struct niu * np) niu_reset_rx_channels() argument
5904 niu_disable_ipp(struct niu * np) niu_disable_ipp() argument
5933 niu_init_hw(struct niu * np) niu_init_hw() argument
5995 niu_stop_hw(struct niu * np) niu_stop_hw() argument
6019 niu_set_irq_name(struct niu * np) niu_set_irq_name() argument
6042 niu_request_irq(struct niu * np) niu_request_irq() argument
6070 niu_free_irq(struct niu * np) niu_free_irq() argument
6081 niu_enable_napi(struct niu * np) niu_enable_napi() argument
6089 niu_disable_napi(struct niu * np) niu_disable_napi() argument
6099 struct niu *np = netdev_priv(dev); niu_open() local
6158 niu_full_shutdown(struct niu * np,struct net_device * dev) niu_full_shutdown() argument
6176 struct niu *np = netdev_priv(dev); niu_close() local
6189 niu_sync_xmac_stats(struct niu * np) niu_sync_xmac_stats() argument
6214 niu_sync_bmac_stats(struct niu * np) niu_sync_bmac_stats() argument
6227 niu_sync_mac_stats(struct niu * np) niu_sync_mac_stats() argument
6235 niu_get_rx_stats(struct niu * np,struct rtnl_link_stats64 * stats) niu_get_rx_stats() argument
6266 niu_get_tx_stats(struct niu * np,struct rtnl_link_stats64 * stats) niu_get_tx_stats() argument
6296 struct niu *np = netdev_priv(dev); niu_get_stats() local
6304 niu_load_hash_xmac(struct niu * np,u16 * hash) niu_load_hash_xmac() argument
6312 niu_load_hash_bmac(struct niu * np,u16 * hash) niu_load_hash_bmac() argument
6320 niu_load_hash(struct niu * np,u16 * hash) niu_load_hash() argument
6330 struct niu *np = netdev_priv(dev); niu_set_rx_mode() local
6400 struct niu *np = netdev_priv(dev); niu_set_mac_addr() local
6426 niu_netif_stop(struct niu * np) niu_netif_stop() argument
6435 niu_netif_start(struct niu * np) niu_netif_start() argument
6448 niu_reset_buffers(struct niu * np) niu_reset_buffers() argument
6499 struct niu *np = container_of(work, struct niu, reset_task); niu_reset_task() local
6539 struct niu *np = netdev_priv(dev); niu_tx_timeout() local
6627 struct niu *np = netdev_priv(dev); niu_start_xmit() local
6766 struct niu *np = netdev_priv(dev); niu_change_mtu() local
6818 struct niu *np = netdev_priv(dev); niu_get_drvinfo() local
6833 struct niu *np = netdev_priv(dev); niu_get_link_ksettings() local
6855 struct niu *np = netdev_priv(dev); niu_set_link_ksettings() local
6868 struct niu *np = netdev_priv(dev); niu_get_msglevel() local
6874 struct niu *np = netdev_priv(dev); niu_set_msglevel() local
6880 struct niu *np = netdev_priv(dev); niu_nway_reset() local
6890 struct niu *np = netdev_priv(dev); niu_get_eeprom_len() local
6898 struct niu *np = netdev_priv(dev); niu_get_eeprom() local
7097 struct niu *np = netdev_priv(dev); niu_get_rxfh_fields() local
7190 niu_get_ethtool_tcam_entry(struct niu * np,struct ethtool_rxnfc * nfc) niu_get_ethtool_tcam_entry() argument
7269 niu_get_ethtool_tcam_all(struct niu * np,struct ethtool_rxnfc * nfc,u32 * rule_locs) niu_get_ethtool_tcam_all() argument
7304 struct niu *np = netdev_priv(dev); niu_get_rx_ring_count() local
7312 struct niu *np = netdev_priv(dev); niu_get_nfc() local
7337 struct niu *np = netdev_priv(dev); niu_set_rxfh_fields() local
7453 niu_add_ethtool_tcam_entry(struct niu * np,struct ethtool_rxnfc * nfc) niu_add_ethtool_tcam_entry() argument
7612 niu_del_ethtool_tcam_entry(struct niu * np,u32 loc) niu_del_ethtool_tcam_entry() argument
7675 struct niu *np = netdev_priv(dev); niu_set_nfc() local
7773 struct niu *np = netdev_priv(dev); niu_get_strings() local
7802 struct niu *np = netdev_priv(dev); niu_get_sset_count() local
7817 struct niu *np = netdev_priv(dev); niu_get_ethtool_stats() local
7853 niu_led_state_save(struct niu * np) niu_led_state_save() argument
7861 niu_led_state_restore(struct niu * np,u64 val) niu_led_state_restore() argument
7869 niu_force_led(struct niu * np,int on) niu_force_led() argument
7893 struct niu *np = netdev_priv(dev); niu_set_phys_id() local
7939 niu_ldg_assign_ldn(struct niu * np,struct niu_parent * parent,int ldg,int ldn) niu_ldg_assign_ldn() argument
7967 niu_set_ldg_timer_res(struct niu * np,int res) niu_set_ldg_timer_res() argument
7978 niu_set_ldg_sid(struct niu * np,int ldg,int func,int vector) niu_set_ldg_sid() argument
7990 niu_pci_eeprom_read(struct niu * np,u32 addr) niu_pci_eeprom_read() argument
8033 niu_pci_eeprom_read16(struct niu * np,u32 off) niu_pci_eeprom_read16() argument
8049 niu_pci_eeprom_read16_swp(struct niu * np,u32 off) niu_pci_eeprom_read16_swp() argument
8067 niu_pci_vpd_get_propname(struct niu * np,u32 off,char * namebuf,int namebuf_len) niu_pci_vpd_get_propname() argument
8086 niu_vpd_parse_version(struct niu * np) niu_vpd_parse_version() argument
8113 niu_pci_vpd_scan_props(struct niu * np,u32 start,u32 end) niu_pci_vpd_scan_props() argument
8205 niu_pci_vpd_fetch(struct niu * np,u32 start) niu_pci_vpd_fetch() argument
8246 niu_pci_vpd_offset(struct niu * np) niu_pci_vpd_offset() argument
8301 niu_phy_type_prop_decode(struct niu * np,const char * phy_prop) niu_phy_type_prop_decode() argument
8335 niu_pci_vpd_get_nports(struct niu * np) niu_pci_vpd_get_nports() argument
8355 niu_pci_vpd_validate(struct niu * np) niu_pci_vpd_validate() argument
8402 niu_pci_probe_sprom(struct niu * np) niu_pci_probe_sprom() argument
8561 niu_get_and_validate_port(struct niu * np) niu_get_and_validate_port() argument
8797 fill_phy_probe_info(struct niu * np,struct niu_parent * parent,struct phy_probe_info * info) fill_phy_probe_info() argument
8839 walk_phys(struct niu * np,struct niu_parent * parent) walk_phys() argument
8968 niu_probe_ports(struct niu * np) niu_probe_ports() argument
8989 niu_classifier_swstate_init(struct niu * np) niu_classifier_swstate_init() argument
9001 niu_link_config_init(struct niu * np) niu_link_config_init() argument
9026 niu_init_mac_ipp_pcs_base(struct niu * np) niu_init_mac_ipp_pcs_base() argument
9065 niu_try_msix(struct niu * np,u8 * ldg_num_map) niu_try_msix() argument
9101 niu_n2_irq_init(struct niu * np,u8 * ldg_num_map) niu_n2_irq_init() argument
9125 niu_ldg_init(struct niu * np) niu_ldg_init() argument
9242 niu_ldg_free(struct niu * np) niu_ldg_free() argument
9248 niu_get_of_props(struct niu * np) niu_get_of_props() argument
9313 niu_get_invariants(struct niu * np) niu_get_invariants() argument
9495 niu_new_parent(struct niu * np,union niu_parent_id * id,u8 ptype) niu_new_parent() argument
9559 niu_get_parent(struct niu * np,union niu_parent_id * id,u8 ptype) niu_get_parent() argument
9594 niu_put_parent(struct niu * np) niu_put_parent() argument
9696 struct niu *np; niu_alloc_and_init() local
9741 niu_device_announce(struct niu * np) niu_device_announce() argument
9781 struct niu *np; niu_pci_init_one() local
9915 struct niu *np = netdev_priv(dev); niu_pci_remove_one() local
9936 struct niu *np = netdev_priv(dev); niu_suspend() local
9963 struct niu *np = netdev_priv(dev); niu_resume() local
10067 struct niu *np; niu_of_probe() local
10182 struct niu *np = netdev_priv(dev); niu_of_remove() local
[all...]
/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_nvram.c37 void sym_nvram_setup_host(struct Scsi_Host *shost, struct sym_hcb *np, struct sym_nvram *nvram) in sym_nvram_setup_host()
143 static void sym_display_Symbios_nvram(struct sym_device *np, Symbios_nvram *nvram) in sym_display_Symbios_nvram()
175 static void sym_display_Tekram_nvram(struct sym_device *np, Tekram_nvram *nvram) in sym_display_Tekram_nvram()
222 static void sym_display_Symbios_nvram(struct sym_device *np, Symbios_nvram *nvram) { (void)np; (voi… in sym_display_Symbios_nvram()
223 static void sym_display_Tekram_nvram(struct sym_device *np, Tekram_nvram *nvram) { (void)np; (void)… in sym_display_Tekram_nvram()
243 static void S24C16_set_bit(struct sym_device *np, u_char write_bit, u_char *gpreg, in S24C16_set_bit()
270 static void S24C16_start(struct sym_device *np, u_char *gpreg) in S24C16_start()
281 static void S24C16_stop(struct sym_device *np, u_char *gpreg) in S24C16_stop()
291 static void S24C16_do_bit(struct sym_device *np, u_char *read_bit, u_char write_bit, in S24C16_do_bit()
306 static void S24C16_write_ack(struct sym_device *np, u_char write_bit, u_char *gpreg, in S24C16_write_ack()
[all …]
H A Dsym_hipd.c68 static void sym_print_nego_msg(struct sym_hcb *np, int target, char *label, u_char *msg) in sym_print_nego_msg()
120 static void sym_chip_reset (struct sym_hcb *np) in sym_chip_reset()
139 static void sym_soft_reset (struct sym_hcb *np) in sym_soft_reset()
172 static void sym_start_reset(struct sym_hcb *np) in sym_start_reset()
177 int sym_reset_scsi_bus(struct sym_hcb *np, int enab_int) in sym_reset_scsi_bus()
232 static void sym_selectclock(struct sym_hcb *np, u_char scntl3) in sym_selectclock()
289 static unsigned getfreq (struct sym_hcb *np, int gen) in getfreq()
361 static unsigned sym_getfreq (struct sym_hcb *np) in sym_getfreq()
376 static void sym_getclock (struct sym_hcb *np, int mult) in sym_getclock()
433 static int sym_getpciclock (struct sym_hcb *np)
[all …]
/linux/drivers/clk/at91/
H A Ddt-compat.c31 static void __init of_sama5d2_clk_audio_pll_frac_setup(struct device_node *np) in of_sama5d2_clk_audio_pll_frac_setup() argument
57 static void __init of_sama5d2_clk_audio_pll_pad_setup(struct device_node *np) in of_sama5d2_clk_audio_pll_pad_setup() argument
83 of_sama5d2_clk_audio_pll_pmc_setup(struct device_node * np) of_sama5d2_clk_audio_pll_pmc_setup() argument
125 of_sama5d2_clk_generated_setup(struct device_node * np) of_sama5d2_clk_generated_setup() argument
189 of_sama5d4_clk_h32mx_setup(struct device_node * np) of_sama5d4_clk_h32mx_setup() argument
218 of_sama5d2_clk_i2s_mux_setup(struct device_node * np) of_sama5d2_clk_i2s_mux_setup() argument
254 of_at91rm9200_clk_main_osc_setup(struct device_node * np) of_at91rm9200_clk_main_osc_setup() argument
282 of_at91sam9x5_clk_main_rc_osc_setup(struct device_node * np) of_at91sam9x5_clk_main_rc_osc_setup() argument
310 of_at91rm9200_clk_main_setup(struct device_node * np) of_at91rm9200_clk_main_setup() argument
336 of_at91sam9x5_clk_main_setup(struct device_node * np) of_at91sam9x5_clk_main_setup() argument
369 of_at91_clk_master_get_characteristics(struct device_node * np) of_at91_clk_master_get_characteristics() argument
394 of_at91_clk_master_setup(struct device_node * np,const struct clk_master_layout * layout) of_at91_clk_master_setup() argument
442 of_at91rm9200_clk_master_setup(struct device_node * np) of_at91rm9200_clk_master_setup() argument
449 of_at91sam9x5_clk_master_setup(struct device_node * np) of_at91sam9x5_clk_master_setup() argument
457 of_at91_clk_periph_setup(struct device_node * np,u8 type) of_at91_clk_periph_setup() argument
529 of_at91rm9200_clk_periph_setup(struct device_node * np) of_at91rm9200_clk_periph_setup() argument
536 of_at91sam9x5_clk_periph_setup(struct device_node * np) of_at91sam9x5_clk_periph_setup() argument
544 of_at91_clk_pll_get_characteristics(struct device_node * np) of_at91_clk_pll_get_characteristics() argument
641 of_at91_clk_pll_setup(struct device_node * np,const struct clk_pll_layout * layout) of_at91_clk_pll_setup() argument
681 of_at91rm9200_clk_pll_setup(struct device_node * np) of_at91rm9200_clk_pll_setup() argument
688 of_at91sam9g45_clk_pll_setup(struct device_node * np) of_at91sam9g45_clk_pll_setup() argument
695 of_at91sam9g20_clk_pllb_setup(struct device_node * np) of_at91sam9g20_clk_pllb_setup() argument
702 of_sama5d3_clk_pll_setup(struct device_node * np) of_sama5d3_clk_pll_setup() argument
710 of_at91sam9x5_clk_plldiv_setup(struct device_node * np) of_at91sam9x5_clk_plldiv_setup() argument
738 of_at91_clk_prog_setup(struct device_node * np,const struct clk_programmable_layout * layout,u32 * mux_table) of_at91_clk_prog_setup() argument
784 of_at91rm9200_clk_prog_setup(struct device_node * np) of_at91rm9200_clk_prog_setup() argument
791 of_at91sam9g45_clk_prog_setup(struct device_node * np) of_at91sam9g45_clk_prog_setup() argument
798 of_at91sam9x5_clk_prog_setup(struct device_node * np) of_at91sam9x5_clk_prog_setup() argument
805 of_at91sam9260_clk_slow_setup(struct device_node * np) of_at91sam9260_clk_slow_setup() argument
840 of_at91sam9x5_clk_smd_setup(struct device_node * np) of_at91sam9x5_clk_smd_setup() argument
874 of_at91rm9200_clk_sys_setup(struct device_node * np) of_at91rm9200_clk_sys_setup() argument
927 of_at91sam9x5_clk_usb_setup(struct device_node * np) of_at91sam9x5_clk_usb_setup() argument
960 of_at91sam9n12_clk_usb_setup(struct device_node * np) of_at91sam9n12_clk_usb_setup() argument
989 of_at91rm9200_clk_usb_setup(struct device_node * np) of_at91rm9200_clk_usb_setup() argument
1024 of_at91sam9x5_clk_utmi_setup(struct device_node * np) of_at91sam9x5_clk_utmi_setup() argument
[all...]
H A Dat91sam9x5.c132 static void __init at91sam9x5_pmc_setup(struct device_node *np, in at91sam9x5_pmc_setup()
307 static void __init at91sam9g15_pmc_setup(struct device_node *np) in at91sam9g15_pmc_setup()
314 static void __init at91sam9g25_pmc_setup(struct device_node *np) in at91sam9g25_pmc_setup()
321 static void __init at91sam9g35_pmc_setup(struct device_node *np) in at91sam9g35_pmc_setup()
328 static void __init at91sam9x25_pmc_setup(struct device_node *np) in at91sam9x25_pmc_setup()
335 static void __init at91sam9x35_pmc_setup(struct device_node *np) in at91sam9x35_pmc_setup()
/linux/include/linux/
H A Dof_mdio.h21 struct device_node *np) in of_mdiobus_register()
31 struct device_node *np) in devm_of_mdiobus_register()
54 const struct device_node *np) in of_mdio_parse_addr()
81 static inline int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np) in of_mdiobus_register()
93 struct device_node *np) in devm_of_mdiobus_register()
98 static inline struct mdio_device *of_mdio_find_device(struct device_node *np) in of_mdio_find_device()
117 of_phy_get_and_connect(struct net_device *dev, struct device_node *np, in of_phy_get_and_connect()
129 const struct device_node *np) in of_mdio_parse_addr()
133 static inline int of_phy_register_fixed_link(struct device_node *np) in of_phy_register_fixed_link()
137 static inline void of_phy_deregister_fixed_link(struct device_node *np) in of_phy_deregister_fixed_link()
[all …]
H A Dof.h72 struct device_node *np; member
261 static inline const char *of_node_full_name(const struct device_node *np) in of_node_full_name() argument
503 of_node_name_eq(const struct device_node * np,const char * name) of_node_name_eq() argument
508 of_node_name_prefix(const struct device_node * np,const char * prefix) of_node_name_prefix() argument
513 of_node_full_name(const struct device_node * np) of_node_full_name() argument
639 of_find_property(const struct device_node * np,const char * name,int * lenp) of_find_property() argument
654 of_property_read_bool(const struct device_node * np,const char * propname) of_property_read_bool() argument
660 of_property_count_elems_of_size(const struct device_node * np,const char * propname,int elem_size) of_property_count_elems_of_size() argument
666 of_property_read_u8_index(const struct device_node * np,const char * propname,u32 index,u8 * out_value) of_property_read_u8_index() argument
672 of_property_read_u16_index(const struct device_node * np,const char * propname,u32 index,u16 * out_value) of_property_read_u16_index() argument
678 of_property_read_u32_index(const struct device_node * np,const char * propname,u32 index,u32 * out_value) of_property_read_u32_index() argument
684 of_property_read_u64_index(const struct device_node * np,const char * propname,u32 index,u64 * out_value) of_property_read_u64_index() argument
708 of_cpu_node_to_id(struct device_node * np) of_cpu_node_to_id() argument
724 of_n_addr_cells(struct device_node * np) of_n_addr_cells() argument
729 of_n_size_cells(struct device_node * np) of_n_size_cells() argument
734 of_property_read_variable_u8_array(const struct device_node * np,const char * propname,u8 * out_values,size_t sz_min,size_t sz_max) of_property_read_variable_u8_array() argument
741 of_property_read_variable_u16_array(const struct device_node * np,const char * propname,u16 * out_values,size_t sz_min,size_t sz_max) of_property_read_variable_u16_array() argument
748 of_property_read_variable_u32_array(const struct device_node * np,const char * propname,u32 * out_values,size_t sz_min,size_t sz_max) of_property_read_variable_u32_array() argument
757 of_property_read_u64(const struct device_node * np,const char * propname,u64 * out_value) of_property_read_u64() argument
763 of_property_read_variable_u64_array(const struct device_node * np,const char * propname,u64 * out_values,size_t sz_min,size_t sz_max) of_property_read_variable_u64_array() argument
772 of_property_read_string(const struct device_node * np,const char * propname,const char ** out_string) of_property_read_string() argument
779 of_property_match_string(const struct device_node * np,const char * propname,const char * string) of_property_match_string() argument
786 of_property_read_string_helper(const struct device_node * np,const char * propname,const char ** out_strs,size_t sz,int index) of_property_read_string_helper() argument
793 __of_parse_phandle_with_args(const struct device_node * np,const char * list_name,const char * cells_name,int cell_count,int index,struct of_phandle_args * out_args) __of_parse_phandle_with_args() argument
803 of_parse_phandle_with_args_map(const struct device_node * np,const char * list_name,const char * stem_name,int index,struct of_phandle_args * out_args) of_parse_phandle_with_args_map() argument
812 of_count_phandle_with_args(const struct device_node * np,const char * list_name,const char * cells_name) of_count_phandle_with_args() argument
819 of_modalias(const struct device_node * np,char * str,ssize_t len) of_modalias() argument
825 of_request_module(const struct device_node * np) of_request_module() argument
831 of_phandle_iterator_init(struct of_phandle_iterator * it,const struct device_node * np,const char * list_name,const char * cells_name,int cell_count) of_phandle_iterator_init() argument
851 of_alias_get_id(struct device_node * np,const char * stem) of_alias_get_id() argument
877 of_add_property(struct device_node * np,struct property * prop) of_add_property() argument
882 of_remove_property(struct device_node * np,struct property * prop) of_remove_property() argument
953 of_map_id(const struct device_node * np,u32 id,const char * map_name,const char * cells_name,const char * map_mask_name,struct device_node * const * filter_np,struct of_phandle_args * arg) of_map_id() argument
962 of_map_iommu_id(const struct device_node * np,u32 id,struct of_phandle_args * arg) of_map_iommu_id() argument
968 of_map_msi_id(const struct device_node * np,u32 id,struct device_node * const * filter_np,struct of_phandle_args * arg) of_map_msi_id() argument
975 of_dma_get_max_cpu_address(struct device_node * np) of_dma_get_max_cpu_address() argument
1029 of_node_get_device_type(const struct device_node * np) of_node_get_device_type() argument
1034 of_node_is_type(const struct device_node * np,const char * type) of_node_is_type() argument
1051 of_parse_phandle(const struct device_node * np,const char * phandle_name,int index) of_parse_phandle() argument
1096 of_parse_phandle_with_args(const struct device_node * np,const char * list_name,const char * cells_name,int index,struct of_phandle_args * out_args) of_parse_phandle_with_args() argument
1142 of_parse_phandle_with_fixed_args(const struct device_node * np,const char * list_name,int cell_count,int index,struct of_phandle_args * out_args) of_parse_phandle_with_fixed_args() argument
1167 of_parse_phandle_with_optional_args(const struct device_node * np,const char * list_name,const char * cells_name,int index,struct of_phandle_args * out_args) of_parse_phandle_with_optional_args() argument
1206 of_property_count_u8_elems(const struct device_node * np,const char * propname) of_property_count_u8_elems() argument
1225 of_property_count_u16_elems(const struct device_node * np,const char * propname) of_property_count_u16_elems() argument
1244 of_property_count_u32_elems(const struct device_node * np,const char * propname) of_property_count_u32_elems() argument
1263 of_property_count_u64_elems(const struct device_node * np,const char * propname) of_property_count_u64_elems() argument
1282 of_property_read_string_array(const struct device_node * np,const char * propname,const char ** out_strs,size_t sz) of_property_read_string_array() argument
1302 of_property_count_strings(const struct device_node * np,const char * propname) of_property_count_strings() argument
1327 of_property_read_string_index(const struct device_node * np,const char * propname,int index,const char ** output) of_property_read_string_index() argument
1344 of_property_present(const struct device_node * np,const char * propname) of_property_present() argument
1371 of_property_read_u8_array(const struct device_node * np,const char * propname,u8 * out_values,size_t sz) of_property_read_u8_array() argument
1403 of_property_read_u16_array(const struct device_node * np,const char * propname,u16 * out_values,size_t sz) of_property_read_u16_array() argument
1433 of_property_read_u32_array(const struct device_node * np,const char * propname,u32 * out_values,size_t sz) of_property_read_u32_array() argument
1463 of_property_read_u64_array(const struct device_node * np,const char * propname,u64 * out_values,size_t sz) of_property_read_u64_array() argument
1475 of_property_read_u8(const struct device_node * np,const char * propname,u8 * out_value) of_property_read_u8() argument
1482 of_property_read_u16(const struct device_node * np,const char * propname,u16 * out_value) of_property_read_u16() argument
1489 of_property_read_u32(const struct device_node * np,const char * propname,u32 * out_value) of_property_read_u32() argument
1496 of_property_read_s32(const struct device_node * np,const char * propname,s32 * out_value) of_property_read_s32() argument
1503 of_property_read_s32_index(const struct device_node * np,const char * propname,u32 index,s32 * out_value) of_property_read_s32_index() argument
1510 of_for_each_phandle(it,err,np,ln,cn,cc) global() argument
1516 of_property_for_each_u32(np,propname,u) global() argument
1523 of_property_for_each_string(np,propname,prop,s) global() argument
1589 of_get_child_count(const struct device_node * np) of_get_child_count() argument
1600 of_get_available_child_count(const struct device_node * np) of_get_available_child_count() argument
1657 struct device_node *np; global() member
1700 of_changeset_attach_node(struct of_changeset * ocs,struct device_node * np) of_changeset_attach_node() argument
1706 of_changeset_detach_node(struct of_changeset * ocs,struct device_node * np) of_changeset_detach_node() argument
1712 of_changeset_add_property(struct of_changeset * ocs,struct device_node * np,struct property * prop) of_changeset_add_property() argument
1718 of_changeset_remove_property(struct of_changeset * ocs,struct device_node * np,struct property * prop) of_changeset_remove_property() argument
1724 of_changeset_update_property(struct of_changeset * ocs,struct device_node * np,struct property * prop) of_changeset_update_property() argument
1744 of_changeset_add_prop_u32(struct of_changeset * ocs,struct device_node * np,const char * prop_name,const u32 val) of_changeset_add_prop_u32() argument
1785 of_device_is_system_power_controller(const struct device_node * np) of_device_is_system_power_controller() argument
[all...]
H A Dof_net.h21 static inline int of_get_phy_mode(struct device_node *np, in of_get_phy_mode()
27 static inline int of_get_mac_address(struct device_node *np, u8 *mac) in of_get_mac_address()
32 static inline int of_get_mac_address_nvmem(struct device_node *np, u8 *mac) in of_get_mac_address_nvmem()
37 static inline int of_get_ethdev_address(struct device_node *np, struct net_device *dev) in of_get_ethdev_address()
42 static inline struct net_device *of_find_net_device_by_node(struct device_node *np) in of_find_net_device_by_node()
/linux/drivers/of/
H A Dbase.c60 bool of_node_name_eq(const struct device_node *np, const char *name) in of_node_name_eq()
75 bool of_node_name_prefix(const struct device_node *np, const char *prefix) in of_node_name_prefix()
84 static bool __of_node_is_type(const struct device_node *np, const char *type) in __of_node_is_type()
112 int of_bus_n_addr_cells(struct device_node *np) in of_bus_n_addr_cells()
130 int of_n_addr_cells(struct device_node *np) in of_n_addr_cells()
139 int of_bus_n_size_cells(struct device_node *np) in of_bus_n_size_cells()
157 int of_n_size_cells(struct device_node *np) in of_n_size_cells()
167 int __weak of_node_to_nid(struct device_node *np) in of_node_to_nid()
189 struct device_node *np; in __of_phandle_cache_inv_entry() local
203 struct device_node *np; in of_core_init() local
[all …]
H A Dproperty.c45 bool of_property_read_bool(const struct device_node *np, const char *propname) in of_property_read_bool() argument
95 int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size() argument
131 static void *of_find_property_value_of_size(const struct device_node *np, in of_find_property_value_of_size() argument
168 of_property_read_u8_index(const struct device_node * np,const char * propname,u32 index,u8 * out_value) of_property_read_u8_index() argument
201 of_property_read_u16_index(const struct device_node * np,const char * propname,u32 index,u16 * out_value) of_property_read_u16_index() argument
234 of_property_read_u32_index(const struct device_node * np,const char * propname,u32 index,u32 * out_value) of_property_read_u32_index() argument
268 of_property_read_u64_index(const struct device_node * np,const char * propname,u32 index,u64 * out_value) of_property_read_u64_index() argument
308 of_property_read_variable_u8_array(const struct device_node * np,const char * propname,u8 * out_values,size_t sz_min,size_t sz_max) of_property_read_variable_u8_array() argument
358 of_property_read_variable_u16_array(const struct device_node * np,const char * propname,u16 * out_values,size_t sz_min,size_t sz_max) of_property_read_variable_u16_array() argument
405 of_property_read_variable_u32_array(const struct device_node * np,const char * propname,u32 * out_values,size_t sz_min,size_t sz_max) of_property_read_variable_u32_array() argument
446 of_property_read_u64(const struct device_node * np,const char * propname,u64 * out_value) of_property_read_u64() argument
483 of_property_read_variable_u64_array(const struct device_node * np,const char * propname,u64 * out_values,size_t sz_min,size_t sz_max) of_property_read_variable_u64_array() argument
530 of_property_read_string(const struct device_node * np,const char * propname,const char ** out_string) of_property_read_string() argument
560 of_property_match_string(const struct device_node * np,const char * propname,const char * string) of_property_match_string() argument
599 of_property_read_string_helper(const struct device_node * np,const char * propname,const char ** out_strs,size_t sz,int skip) of_property_read_string_helper() argument
962 struct device_node *np; of_graph_get_remote_port() local
978 of_graph_get_endpoint_count(const struct device_node * np) of_graph_get_endpoint_count() argument
996 of_graph_get_port_count(struct device_node * np) of_graph_get_port_count() argument
1223 struct device_node *np; of_fwnode_graph_get_port_parent() local
1297 parse_prop_cells(struct device_node * np,const char * prop_name,int index,const char * list_name,const char * cells_name) parse_prop_cells() argument
1340 parse_suffix_prop_cells(struct device_node * np,const char * prop_name,int index,const char * suffix,const char * cells_name) parse_suffix_prop_cells() argument
1421 parse_pinctrl_n(struct device_node * np,const char * prop_name,int index) parse_pinctrl_n() argument
1433 parse_gpios(struct device_node * np,const char * prop_name,int index) parse_gpios() argument
1443 parse_iommu_maps(struct device_node * np,const char * prop_name,int index) parse_iommu_maps() argument
1452 parse_gpio_compat(struct device_node * np,const char * prop_name,int index) parse_gpio_compat() argument
1474 parse_interrupts(struct device_node * np,const char * prop_name,int index) parse_interrupts() argument
1489 parse_interrupt_map(struct device_node * np,const char * prop_name,int index) parse_interrupt_map() argument
1530 parse_remote_endpoint(struct device_node * np,const char * prop_name,int index) parse_remote_endpoint() argument
[all...]
H A Daddress.c137 static bool of_node_is_pcie(const struct device_node *np) in of_node_is_pcie()
147 static int of_bus_pci_match(struct device_node *np) in of_bus_pci_match()
162 static void of_bus_pci_count_cells(struct device_node *np, in of_bus_pci_count_cells()
220 const struct device_node *np, struct resource *res) in of_pci_range_to_resource()
262 int of_range_to_resource(struct device_node *np, int index, struct resource *res) in of_range_to_resource()
284 static int of_bus_isa_match(struct device_node *np) in of_bus_isa_match()
320 static int of_bus_default_flags_match(struct device_node *np) in of_bus_default_flags_match()
329 static int of_bus_default_match(struct device_node *np) in of_bus_default_match()
386 static const struct of_bus *of_match_bus(struct device_node *np) in of_match_bus()
396 static int of_empty_ranges_quirk(const struct device_node *np) in of_empty_ranges_quirk()
[all …]
/linux/drivers/mfd/
H A Dsyscon.c28 struct device_node *np; member
40 static struct syscon *of_syscon_register(struct device_node *np, bool check_res) in of_syscon_register()
168 static struct regmap *device_node_get_regmap(struct device_node *np, in device_node_get_regmap()
207 int of_syscon_register_regmap(struct device_node *np, struct regmap *regmap) in of_syscon_register_regmap()
255 struct regmap *device_node_to_regmap(struct device_node *np) in device_node_to_regmap()
272 struct regmap *syscon_node_to_regmap(struct device_node *np) in syscon_node_to_regmap()
294 struct regmap *syscon_regmap_lookup_by_phandle(struct device_node *np, in syscon_regmap_lookup_by_phandle()
317 struct regmap *syscon_regmap_lookup_by_phandle_args(struct device_node *np, in syscon_regmap_lookup_by_phandle_args()
351 struct regmap *syscon_regmap_lookup_by_phandle_optional(struct device_node *np, in syscon_regmap_lookup_by_phandle_optional()
/linux/include/linux/mfd/
H A Dsyscon.h34 static inline struct regmap *device_node_to_regmap(struct device_node *np) in device_node_to_regmap()
39 static inline struct regmap *syscon_node_to_regmap(struct device_node *np) in syscon_node_to_regmap()
50 struct device_node *np, in syscon_regmap_lookup_by_phandle()
57 struct device_node *np, in syscon_regmap_lookup_by_phandle_args()
66 struct device_node *np, in syscon_regmap_lookup_by_phandle_optional()
72 static inline int of_syscon_register_regmap(struct device_node *np, in of_syscon_register_regmap()
/linux/net/ncsi/
H A Dncsi-manage.c36 struct ncsi_package *np; in ncsi_channel_is_last() local
54 struct ncsi_package *np; in ncsi_report_link() local
92 struct ncsi_package *np = nc->package; in ncsi_channel_monitor() local
195 struct ncsi_channel *ncsi_find_channel(struct ncsi_package *np, in ncsi_find_channel() argument
208 ncsi_add_channel(struct ncsi_package * np,unsigned char id) ncsi_add_channel() argument
247 struct ncsi_package *np = nc->package; ncsi_remove_channel() local
272 struct ncsi_package *np; ncsi_find_package() local
285 struct ncsi_package *np, *tmp; ncsi_add_package() local
313 ncsi_remove_package(struct ncsi_package * np) ncsi_remove_package() argument
334 ncsi_find_package_and_channel(struct ncsi_dev_priv * ndp,unsigned char id,struct ncsi_package ** np,struct ncsi_channel ** nc) ncsi_find_package_and_channel() argument
436 struct ncsi_package *np; ncsi_request_timeout() local
470 struct ncsi_package *np; ncsi_suspend_channel() local
861 struct ncsi_package *np; ncsi_channel_is_tx() local
905 struct ncsi_package *np; ncsi_update_tx_channel() local
988 struct ncsi_package *np = ndp->active_package; ncsi_configure_channel() local
1242 struct ncsi_package *np; ncsi_choose_active_channel() local
1327 struct ncsi_package *np; ncsi_check_hwa() local
1361 struct ncsi_package *np; ncsi_probe_channel() local
1619 struct ncsi_package *np; ncsi_kick_channels() local
1760 struct device_node *np; ncsi_register_dev() local
1840 struct ncsi_package *np; ncsi_stop_dev() local
1873 struct ncsi_package *np; ncsi_reset_dev() local
1958 struct ncsi_package *np, *tmp; ncsi_unregister_dev() local
[all...]
/linux/drivers/gpio/
H A Dgpiolib-of.c66 static int of_gpio_named_count(const struct device_node *np, in of_gpio_named_count() argument
89 static int of_gpio_spi_cs_get_count(const struct device_node *np, in of_gpio_spi_cs_get_count() argument
105 const struct device_node *np in of_gpio_count() local
157 of_gpio_quirk_polarity(const struct device_node * np,bool active_high,enum of_gpio_flags * flags) of_gpio_quirk_polarity() argument
179 of_gpio_try_fixup_polarity(const struct device_node * np,const char * propname,enum of_gpio_flags * flags) of_gpio_try_fixup_polarity() argument
264 of_gpio_set_polarity_by_property(const struct device_node * np,const char * propname,enum of_gpio_flags * flags) of_gpio_set_polarity_by_property() argument
343 of_gpio_flags_quirks(const struct device_node * np,const char * propname,enum of_gpio_flags * flags,int index) of_gpio_flags_quirks() argument
417 of_get_named_gpiod_flags(const struct device_node * np,const char * propname,int index,enum of_gpio_flags * flags) of_get_named_gpiod_flags() argument
487 of_find_gpio_rename(struct device_node * np,const char * con_id,unsigned int idx,enum of_gpio_flags * of_flags) of_find_gpio_rename() argument
624 of_find_mt2701_gpio(struct device_node * np,const char * con_id,unsigned int idx,enum of_gpio_flags * of_flags) of_find_mt2701_gpio() argument
663 of_find_trigger_gpio(struct device_node * np,const char * con_id,unsigned int idx,enum of_gpio_flags * of_flags) of_find_trigger_gpio() argument
697 of_find_gpio(struct device_node * np,const char * con_id,unsigned int idx,unsigned long * flags) of_find_gpio() argument
768 of_find_gpio_device_by_node(struct device_node * np) of_find_gpio_device_by_node() argument
916 struct device_node *np; of_gpiochip_add_pin_range() local
1050 struct device_node *np; of_gpiochip_add() local
1082 struct device_node *np = dev_of_node(&chip->gpiodev->dev); of_gpiochip_remove() local
[all...]
/linux/drivers/net/ethernet/nvidia/
H A Dforcedeth.c961 static bool nv_optimized(struct fe_priv *np) in nv_optimized()
998 struct fe_priv *np = get_nvpriv(dev); in setup_hw_rings() local
1020 struct fe_priv *np = get_nvpriv(dev); in free_rings() local
1043 struct fe_priv *np = get_nvpriv(dev); in using_multi_irqs() local
1054 struct fe_priv *np = get_nvpriv(dev); in nv_txrx_gate() local
1071 struct fe_priv *np = get_nvpriv(dev); in nv_enable_irq() local
1087 struct fe_priv *np = get_nvpriv(dev); in nv_disable_irq() local
1111 struct fe_priv *np = get_nvpriv(dev); in nv_disable_hw_interrupts() local
1166 struct fe_priv *np = netdev_priv(dev); in phy_reset() local
1188 static int init_realtek_8211b(struct net_device *dev, struct fe_priv *np) in init_realtek_8211b()
[all …]
/linux/drivers/pci/pwrctrl/
H A Dcore.c152 static bool pci_pwrctrl_is_required(struct device_node *np) in pci_pwrctrl_is_required() argument
194 static void pci_pwrctrl_power_off_device(struct device_node *np) in pci_pwrctrl_power_off_device() argument
231 struct device_node *np in pci_pwrctrl_power_off_devices() local
252 pci_pwrctrl_power_on_device(struct device_node * np) pci_pwrctrl_power_on_device() argument
299 struct device_node *np = parent->of_node; pci_pwrctrl_power_on_devices() local
323 pci_pwrctrl_create_device(struct device_node * np,struct device * parent) pci_pwrctrl_create_device() argument
384 pci_pwrctrl_destroy_device(struct device_node * np) pci_pwrctrl_destroy_device() argument
411 struct device_node *np = parent->of_node; pci_pwrctrl_destroy_devices() local
[all...]
/linux/drivers/net/wireless/mediatek/mt76/
H A Deeprom.c22 struct device_node *np = dev->dev->of_node; in mt76_get_of_eeprom_data() local
41 struct device_node *np = dev->dev->of_node; in mt76_get_of_data_from_mtd() local
124 struct device_node *np in mt76_get_of_data_from_nvmem() local
156 struct device_node *np = dev->dev->of_node; mt76_get_of_eeprom() local
177 struct device_node *np = dev->dev->of_node; mt76_eeprom_override() local
212 struct device_node *np = dev->dev->of_node; mt76_find_power_limits_node() local
251 mt76_get_of_array(struct device_node * np,char * name,size_t * len,int min) mt76_get_of_array() argument
264 mt76_get_of_array_s8(struct device_node * np,char * name,size_t * len,int min) mt76_get_of_array_s8() argument
277 mt76_find_channel_node(struct device_node * np,struct ieee80211_channel * chan) mt76_find_channel_node() argument
303 mt76_get_txs_delta(struct device_node * np,u8 nss) mt76_get_txs_delta() argument
432 struct device_node *np; mt76_get_rate_power_limits() local
[all...]
/linux/net/core/
H A Dof_net.c27 int of_get_phy_mode(struct device_node *np, phy_interface_t *interface) in of_get_phy_mode()
50 static int of_get_mac_addr(struct device_node *np, const char *name, u8 *addr) in of_get_mac_addr()
61 int of_get_mac_address_nvmem(struct device_node *np, u8 *addr) in of_get_mac_address_nvmem()
126 int of_get_mac_address(struct device_node *np, u8 *addr) in of_get_mac_address()
162 int of_get_ethdev_address(struct device_node *np, struct net_device *dev) in of_get_ethdev_address()
/linux/drivers/clk/hisilicon/
H A Dclk-hi3660.c474 static void hi3660_clk_iomcu_init(struct device_node *np) in hi3660_clk_iomcu_init()
488 static void hi3660_clk_pmuctrl_init(struct device_node *np) in hi3660_clk_pmuctrl_init()
501 static void hi3660_clk_pctrl_init(struct device_node *np) in hi3660_clk_pctrl_init()
513 static void hi3660_clk_sctrl_init(struct device_node *np) in hi3660_clk_sctrl_init()
536 static void hi3660_clk_crgctrl_early_init(struct device_node *np) in hi3660_clk_crgctrl_early_init()
560 static void hi3660_clk_crgctrl_init(struct device_node *np) in hi3660_clk_crgctrl_init()
613 struct device_node *np = pdev->dev.of_node; in hi3660_clk_probe() local
H A Dclk-hi3670.c825 static void hi3670_clk_crgctrl_init(struct device_node *np) in hi3670_clk_crgctrl_init()
860 static void hi3670_clk_pctrl_init(struct device_node *np) in hi3670_clk_pctrl_init()
872 static void hi3670_clk_pmuctrl_init(struct device_node *np) in hi3670_clk_pmuctrl_init()
885 static void hi3670_clk_sctrl_init(struct device_node *np) in hi3670_clk_sctrl_init()
911 static void hi3670_clk_iomcu_init(struct device_node *np) in hi3670_clk_iomcu_init()
929 static void hi3670_clk_media1_init(struct device_node *np) in hi3670_clk_media1_init()
956 static void hi3670_clk_media2_init(struct device_node *np) in hi3670_clk_media2_init()
992 struct device_node *np = pdev->dev.of_node; in hi3670_clk_probe() local
/linux/arch/powerpc/kernel/
H A Dlegacy_serial.c33 struct device_node *np; member
76 static int __init add_legacy_port(struct device_node *np, int want_index, in add_legacy_port()
164 static int __init add_legacy_soc_port(struct device_node *np, in add_legacy_soc_port()
205 static int __init add_legacy_isa_port(struct device_node *np, in add_legacy_isa_port()
254 static int __init add_legacy_pci_port(struct device_node *np, in add_legacy_pci_port()
395 struct device_node *np, *stdout = NULL; in find_legacy_serial_ports() local
491 struct device_node *np, in fixup_port_irq()
524 struct device_node *np, in fixup_port_pio()
548 struct device_node *np, in fixup_port_mmio()
584 struct device_node *np = legacy_serial_infos[i].np; in serial_dev_init() local
/linux/drivers/pci/
H A Dof_property.c96 struct device_node *np) in of_pci_prop_bus_range() argument
110 struct device_node *np) in of_pci_prop_ranges() argument
166 struct device_node *np) in of_pci_prop_reg() argument
179 struct device_node *np) in of_pci_prop_interrupts() argument
195 struct device_node *np) in of_pci_prop_intr_ctrl() argument
215 of_pci_prop_intr_map(struct pci_dev * pdev,struct of_changeset * ocs,struct device_node * np) of_pci_prop_intr_map() argument
336 of_pci_prop_compatible(struct pci_dev * pdev,struct of_changeset * ocs,struct device_node * np) of_pci_prop_compatible() argument
357 of_pci_add_properties(struct pci_dev * pdev,struct of_changeset * ocs,struct device_node * np) of_pci_add_properties() argument
427 of_pci_host_bridge_prop_ranges(struct pci_host_bridge * bridge,struct of_changeset * ocs,struct device_node * np) of_pci_host_bridge_prop_ranges() argument
491 of_pci_add_host_bridge_properties(struct pci_host_bridge * bridge,struct of_changeset * ocs,struct device_node * np) of_pci_add_host_bridge_properties() argument
[all...]
/linux/drivers/thermal/
H A Dthermal_of.c44 static int thermal_of_get_trip_type(struct device_node *np, in thermal_of_get_trip_type() argument
63 static int thermal_of_populate_trip(struct device_node *np, in thermal_of_populate_trip() argument
96 thermal_of_trips_init(struct device_node * np,int * ntrips) thermal_of_trips_init() argument
175 thermal_of_monitor_init(struct device_node * np,int * delay,int * pdelay) thermal_of_monitor_init() argument
198 thermal_of_parameters_init(struct device_node * np,struct thermal_zone_params * tzp) thermal_of_parameters_init() argument
227 struct device_node *np, *tz_np; thermal_of_zone_get_by_name() local
392 struct device_node *np; thermal_of_zone_register() local
550 thermal_of_cooling_device_register(struct device_node * np,u32 cdev_id,const char * type,void * devdata,const struct thermal_cooling_device_ops * ops) thermal_of_cooling_device_register() argument
580 __devm_thermal_of_cooling_device_register(struct device * dev,struct device_node * np,u32 cdev_id,const char * type,void * devdata,const struct thermal_cooling_device_ops * ops) __devm_thermal_of_cooling_device_register() argument
646 devm_thermal_of_child_cooling_device_register(struct device * dev,struct device_node * np,const char * type,void * devdata,const struct thermal_cooling_device_ops * ops) devm_thermal_of_child_cooling_device_register() argument
[all...]
/linux/drivers/phy/tegra/
H A Dxusb.c88 struct device_node *pads, *np; tegra_xusb_find_pad_node() local
103 struct device_node *np, *lanes; tegra_xusb_pad_find_phy_node() local
116 tegra_xusb_lane_parse_dt(struct tegra_xusb_lane * lane,struct device_node * np) tegra_xusb_lane_parse_dt() argument
161 tegra_xusb_pad_init(struct tegra_xusb_pad * pad,struct tegra_xusb_padctl * padctl,struct device_node * np) tegra_xusb_pad_init() argument
207 struct device_node *np = tegra_xusb_pad_find_phy_node(pad, i); tegra_xusb_pad_register() local
269 struct device_node *np; tegra_xusb_pad_create() local
454 struct device_node *ports, *np; tegra_xusb_find_port_node() local
478 struct device_node *np; tegra_xusb_find_port() local
534 tegra_xusb_port_init(struct tegra_xusb_port * port,struct tegra_xusb_padctl * padctl,struct device_node * np,const char * name,unsigned int index) tegra_xusb_port_init() argument
746 struct device_node *np = port->dev.of_node; tegra_xusb_usb2_port_parse_dt() local
788 struct device_node *np; tegra_xusb_add_usb2_port() local
848 struct device_node *np = port->dev.of_node; tegra_xusb_ulpi_port_parse_dt() local
859 struct device_node *np; tegra_xusb_add_ulpi_port() local
915 struct device_node *np; tegra_xusb_add_hsic_port() local
963 struct device_node *np = port->dev.of_node; tegra_xusb_usb3_port_parse_dt() local
995 struct device_node *np; tegra_xusb_add_usb3_port() local
1057 struct device_node *np; tegra_xusb_find_unused_usb3_port() local
1177 struct device_node *np = pdev->dev.of_node; tegra_xusb_padctl_probe() local
1338 struct device_node *np; tegra_xusb_padctl_get() local
[all...]

12345678910>>...59