/linux/drivers/net/ethernet/sun/ |
A D | niu.c | 94 #define niu_lock_parent(np, flags) \ argument 96 #define niu_unlock_parent(np, flags) \ argument 297 static int mdio_wait(struct niu *np) in mdio_wait() 715 static int esr_reset(struct niu *np) in esr_reset() 1627 static int mii_reset(struct niu *np) in mii_reset() 3765 struct niu *np = lp->np; in niu_poll() local 4195 struct niu *np = lp->np; in niu_interrupt() local 6083 struct niu *np = netdev_priv(dev); in niu_open() local 9644 struct niu *np; in niu_alloc_and_init() local 9729 struct niu *np; in niu_pci_init_one() local [all …]
|
/linux/drivers/clk/at91/ |
A D | dt-compat.c | 30 static void __init of_sama5d2_clk_audio_pll_frac_setup(struct device_node *np) in of_sama5d2_clk_audio_pll_frac_setup() 177 static void __init of_sama5d4_clk_h32mx_setup(struct device_node *np) in of_sama5d4_clk_h32mx_setup() 203 static void __init of_sama5d2_clk_i2s_mux_setup(struct device_node *np) in of_sama5d2_clk_i2s_mux_setup() 342 of_at91_clk_master_get_characteristics(struct device_node *np) in of_at91_clk_master_get_characteristics() 367 of_at91_clk_master_setup(struct device_node *np, in of_at91_clk_master_setup() 428 of_at91_clk_periph_setup(struct device_node *np, u8 type) in of_at91_clk_periph_setup() 501 of_at91_clk_pll_get_characteristics(struct device_node *np) in of_at91_clk_pll_get_characteristics() 597 of_at91_clk_pll_setup(struct device_node *np, in of_at91_clk_pll_setup() 655 static void __init of_sama5d3_clk_pll_setup(struct device_node *np) in of_sama5d3_clk_pll_setup() 663 of_at91sam9x5_clk_plldiv_setup(struct device_node *np) in of_at91sam9x5_clk_plldiv_setup() [all …]
|
/linux/drivers/scsi/sym53c8xx_2/ |
A D | sym_nvram.c | 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() 364 static int sym_write_S24C16_nvram(struct sym_device *np, int offset, in sym_write_S24C16_nvram() 538 static void T93C46_Clk(struct sym_device *np, u_char *gpreg) in T93C46_Clk() 578 static void T93C46_Stop(struct sym_device *np, u_char *gpreg) in T93C46_Stop() 591 static void T93C46_Send_Command(struct sym_device *np, u_short write_data, in T93C46_Send_Command() 606 static void T93C46_Read_Word(struct sym_device *np, in T93C46_Read_Word() 626 static int T93C46_Read_Data(struct sym_device *np, unsigned short *data, in T93C46_Read_Data() 647 static int sym_read_T93C46_nvram(struct sym_device *np, Tekram_nvram *nvram) in sym_read_T93C46_nvram() 731 static inline int sym_read_parisc_pdc(struct sym_device *np, in sym_read_parisc_pdc() [all …]
|
A D | sym_hipd.c | 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() 962 static int sym_regtest(struct sym_hcb *np) 1119 struct sym_hcb *np = sym_get_hcb(shost); local 1177 struct sym_hcb *np = sym_get_hcb(shost); local 1694 struct sym_hcb *np = sym_data->ncb; local 2257 struct sym_hcb *np = sym_get_hcb(shost); local 2802 struct sym_hcb *np = sym_data->ncb; local 5580 struct sym_hcb *np = sym_get_hcb(shost); local [all …]
|
A D | sym_glue.c | 424 static void sym_timer(struct sym_hcb *np) in sym_timer() 491 struct sym_hcb *np = SYM_SOFTC_PTR(cmd); in sym53c8xx_queue_command_lck() local 576 struct sym_hcb *np = sym_data->ncb; in sym_eh_handler() local 1014 struct sym_hcb *np = sym_get_hcb(shost); in sym_user_command() local 1159 struct sym_hcb *np = sym_data->ncb; in sym_show_info() local 1232 struct sym_hcb *np = NULL; in sym_attach() local 1604 struct sym_hcb *np = sym_get_hcb(shost); in sym_detach() local 1803 struct sym_hcb *np = sym_get_hcb(shost); in sym2_io_slot_reset() local 1860 struct sym_hcb *np = sym_get_hcb(shost); in sym2_get_signalling() local 1883 struct sym_hcb *np = sym_get_hcb(shost); in sym2_set_offset() local [all …]
|
/linux/drivers/net/ethernet/dlink/ |
A D | dl2k.c | 106 struct netdev_private *np; in rio_probe1() local 306 struct netdev_private *np = netdev_priv(dev); in find_miiphy() local 328 struct netdev_private *np = netdev_priv(dev); in parse_eeprom() local 406 struct netdev_private *np = netdev_priv(dev); in rio_set_led_mode() local 433 struct netdev_private *np = netdev_priv(dev); in free_list() local 481 struct netdev_private *np = netdev_priv(dev); in alloc_list() local 1476 struct netdev_private *np; in mii_wait_link() local 1497 struct netdev_private *np; in mii_get_media() local 1583 struct netdev_private *np; in mii_set_media() local 1670 struct netdev_private *np; in mii_get_media_pcs() local [all …]
|
/linux/drivers/char/hw_random/ |
A D | n2-drv.c | 249 static int n2rng_generic_write_control(struct n2rng *np, in n2rng_generic_write_control() 279 static int n2rng_try_read_ctl(struct n2rng *np) in n2rng_try_read_ctl() 358 static void n2rng_control_swstate_init(struct n2rng *np) in n2rng_control_swstate_init() 380 static int n2rng_grab_diag_control(struct n2rng *np) in n2rng_grab_diag_control() 402 static int n2rng_init_control(struct n2rng *np) in n2rng_init_control() 421 struct n2rng *np = (struct n2rng *) rng->priv; in n2rng_data_read() local 455 static int n2rng_guest_check(struct n2rng *np) in n2rng_guest_check() 512 static void n2rng_dump_test_buffer(struct n2rng *np) in n2rng_dump_test_buffer() 599 static int n2rng_control_check(struct n2rng *np) in n2rng_control_check() 700 struct n2rng *np; in n2rng_probe() local [all …]
|
/linux/include/linux/ |
A D | of_mdio.h | 38 const struct device_node *np) in of_mdio_parse_addr() 65 static inline int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np) in of_mdiobus_register() 77 struct device_node *np) in devm_of_mdiobus_register() 82 static inline struct mdio_device *of_mdio_find_device(struct device_node *np) in of_mdio_find_device() 101 of_phy_get_and_connect(struct net_device *dev, struct device_node *np, in of_phy_get_and_connect() 113 const struct device_node *np) in of_mdio_parse_addr() 117 static inline int of_phy_register_fixed_link(struct device_node *np) in of_phy_register_fixed_link() 121 static inline void of_phy_deregister_fixed_link(struct device_node *np) in of_phy_deregister_fixed_link() 124 static inline bool of_phy_is_fixed_link(struct device_node *np) in of_phy_is_fixed_link()
|
A D | of.h | 75 struct device_node *np; member 799 static inline int of_n_addr_cells(struct device_node *np) in of_n_addr_cells() 804 static inline int of_n_size_cells(struct device_node *np) in of_n_size_cells() 908 const struct device_node *np, in of_phandle_iterator_init() 1267 #define of_for_each_phandle(it, err, np, ln, cn, cc) \ argument 1384 struct device_node *np; member 1425 struct device_node *np) in of_changeset_attach_node() 1431 struct device_node *np) in of_changeset_detach_node() 1437 struct device_node *np, struct property *prop) in of_changeset_add_property() 1443 struct device_node *np, struct property *prop) in of_changeset_remove_property() [all …]
|
A D | of_gpio.h | 58 static inline int of_mm_gpiochip_add(struct device_node *np, in of_mm_gpiochip_add() 70 static inline int of_get_named_gpio_flags(const struct device_node *np, in of_get_named_gpio_flags() 101 static inline int of_gpio_named_count(const struct device_node *np, in of_gpio_named_count() 113 static inline int of_gpio_count(const struct device_node *np) in of_gpio_count() 118 static inline int of_get_gpio_flags(const struct device_node *np, int index, in of_get_gpio_flags() 133 static inline int of_get_named_gpio(const struct device_node *np, in of_get_named_gpio() 147 static inline int of_get_gpio(const struct device_node *np, int index) in of_get_gpio()
|
A D | of_net.h | 20 static inline int of_get_phy_mode(struct device_node *np, in of_get_phy_mode() 26 static inline int of_get_mac_address(struct device_node *np, u8 *mac) in of_get_mac_address() 31 static inline int of_get_ethdev_address(struct device_node *np, struct net_device *dev) in of_get_ethdev_address() 36 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/ |
A D | base.c | 155 struct device_node *np; in __of_phandle_cache_inv_entry() local 169 struct device_node *np; in of_core_init() local 228 struct device_node *np; in __of_find_all_nodes() local 253 struct device_node *np; in of_find_all_nodes() local 427 struct device_node *np; in of_cpu_node_to_id() local 685 struct device_node *np; in of_get_parent() local 995 struct device_node *np; in of_find_node_by_name() local 1023 struct device_node *np; in of_find_node_by_type() local 1053 struct device_node *np; in of_find_compatible_node() local 1082 struct device_node *np; in of_find_node_with_property() local [all …]
|
A D | of_private.h | 27 struct device_node *np; member 55 static inline int of_property_notify(int action, struct device_node *np, in of_property_notify() 71 static inline int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs() 75 static inline void __of_remove_property_sysfs(struct device_node *np, struct property *prop) {} in __of_remove_property_sysfs() 76 static inline void __of_update_property_sysfs(struct device_node *np, in __of_update_property_sysfs() 78 static inline int __of_attach_node_sysfs(struct device_node *np) in __of_attach_node_sysfs() 82 static inline void __of_detach_node_sysfs(struct device_node *np) {} in __of_detach_node_sysfs() 159 static inline int of_dma_get_range(struct device_node *np, in of_dma_get_range()
|
A D | property.c | 70 int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size() 143 int of_property_read_u32_index(const struct device_node *np, in of_property_read_u32_index() 177 int of_property_read_u64_index(const struct device_node *np, in of_property_read_u64_index() 217 int of_property_read_variable_u8_array(const struct device_node *np, in of_property_read_variable_u8_array() 267 int of_property_read_variable_u16_array(const struct device_node *np, in of_property_read_variable_u16_array() 499 int of_property_read_string_helper(const struct device_node *np, in of_property_read_string_helper() 778 struct device_node *np, *pp; in of_graph_get_remote_port_parent() local 800 struct device_node *np; in of_graph_get_remote_port() local 810 int of_graph_get_endpoint_count(const struct device_node *np) in of_graph_get_endpoint_count() 1008 struct device_node *np; in of_fwnode_graph_get_port_parent() local [all …]
|
A D | unittest.c | 68 struct device_node *np; in of_unittest_find_node_by_name() local 167 struct device_node *np; in of_unittest_dynamic() local 253 struct device_node *np; in of_unittest_check_tree_linkage() local 306 struct device_node *np; in of_unittest_printf() local 340 struct device_node *np; member 346 struct device_node *np; in of_unittest_check_phandles() local 384 struct device_node *np; in of_unittest_parse_phandle_with_args() local 686 struct device_node *np; in of_unittest_property_string() local 875 struct device_node *np; in of_unittest_dma_get_max_cpu_address() local 897 struct device_node *np; in of_unittest_dma_ranges_one() local [all …]
|
/linux/drivers/clk/samsung/ |
A D | clk-exynos5260.c | 143 static void __init exynos5260_clk_aud_init(struct device_node *np) in exynos5260_clk_aud_init() 333 static void __init exynos5260_clk_disp_init(struct device_node *np) in exynos5260_clk_disp_init() 397 static void __init exynos5260_clk_egl_init(struct device_node *np) in exynos5260_clk_egl_init() 497 static void __init exynos5260_clk_fsys_init(struct device_node *np) in exynos5260_clk_fsys_init() 588 static void __init exynos5260_clk_g2d_init(struct device_node *np) in exynos5260_clk_g2d_init() 651 static void __init exynos5260_clk_g3d_init(struct device_node *np) in exynos5260_clk_g3d_init() 784 static void __init exynos5260_clk_gscl_init(struct device_node *np) in exynos5260_clk_gscl_init() 903 static void __init exynos5260_clk_isp_init(struct device_node *np) in exynos5260_clk_isp_init() 967 static void __init exynos5260_clk_kfc_init(struct device_node *np) in exynos5260_clk_kfc_init() 1023 static void __init exynos5260_clk_mfc_init(struct device_node *np) in exynos5260_clk_mfc_init() [all …]
|
/linux/drivers/net/ethernet/dec/tulip/ |
A D | winbond-840.c | 353 struct netdev_private *np; in w840_probe1() local 558 struct netdev_private *np = netdev_priv(dev); in mdio_read() local 588 struct netdev_private *np = netdev_priv(dev); in mdio_write() local 620 struct netdev_private *np = netdev_priv(dev); in netdev_open() local 662 struct netdev_private *np = netdev_priv(dev); in update_link() local 728 struct netdev_private *np = netdev_priv(dev); in update_csr6() local 785 struct netdev_private *np = netdev_priv(dev); in init_rxtx_rings() local 857 struct netdev_private *np = netdev_priv(dev); in init_registers() local 915 struct netdev_private *np = netdev_priv(dev); in tx_timeout() local 962 struct netdev_private *np = netdev_priv(dev); in alloc_ringdesc() local [all …]
|
/linux/drivers/net/ethernet/natsemi/ |
A D | natsemi.c | 705 struct netdev_private *np = netdev_priv(dev); in ns_ioaddr() local 724 struct netdev_private *np = netdev_priv(dev); in move_int_phy() local 749 struct netdev_private *np = netdev_priv(dev); in natsemi_init_media() local 805 struct netdev_private *np; in natsemi_probe1() local 1120 struct netdev_private *np = netdev_priv(dev); in mdio_read() local 1135 struct netdev_private *np = netdev_priv(dev); in mdio_write() local 1147 struct netdev_private *np = netdev_priv(dev); in init_phy_fixup() local 1260 struct netdev_private *np = netdev_priv(dev); in switch_port_external() local 1293 struct netdev_private *np = netdev_priv(dev); in switch_port_internal() local 1345 struct netdev_private *np = netdev_priv(dev); in find_mii() local [all …]
|
/linux/net/core/ |
A D | netpoll.c | 66 #define np_info(np, fmt, ...) \ argument 68 #define np_err(np, fmt, ...) \ argument 70 #define np_notice(np, fmt, ...) \ argument 383 void netpoll_send_udp(struct netpoll *np, const char *msg, int len) in netpoll_send_udp() 487 void netpoll_print_options(struct netpoll *np) in netpoll_print_options() 524 int netpoll_parse_options(struct netpoll *np, char *opt) in netpoll_parse_options() 606 int __netpoll_setup(struct netpoll *np, struct net_device *ndev) in __netpoll_setup() 660 int netpoll_setup(struct netpoll *np) in netpoll_setup() 815 void __netpoll_cleanup(struct netpoll *np) in __netpoll_cleanup() 839 void __netpoll_free(struct netpoll *np) in __netpoll_free() [all …]
|
/linux/include/linux/mfd/ |
A D | syscon.h | 35 static inline struct regmap *device_node_to_regmap(struct device_node *np) in device_node_to_regmap() 40 static inline struct regmap *syscon_node_to_regmap(struct device_node *np) in syscon_node_to_regmap() 51 struct device_node *np, in syscon_regmap_lookup_by_phandle() 58 struct device_node *np, in syscon_regmap_lookup_by_phandle_args() 67 struct device_node *np, in syscon_regmap_lookup_by_phandle_optional()
|
/linux/drivers/misc/cxl/ |
A D | of.c | 16 static const __be32 *read_prop_string(const struct device_node *np, in read_prop_string() 27 static const __be32 *read_prop_dword(const struct device_node *np, in read_prop_dword() 40 static const __be64 *read_prop64_dword(const struct device_node *np, in read_prop64_dword() 54 static int read_handle(struct device_node *np, u64 *handle) in read_handle() 69 static int read_phys_addr(struct device_node *np, char *prop_name, in read_phys_addr() 140 int cxl_of_read_afu_properties(struct cxl_afu *afu, struct device_node *np) in cxl_of_read_afu_properties() 283 static int read_adapter_irq_config(struct cxl *adapter, struct device_node *np) in read_adapter_irq_config() 336 int cxl_of_read_adapter_handle(struct cxl *adapter, struct device_node *np) in cxl_of_read_adapter_handle() 345 int cxl_of_read_adapter_properties(struct cxl *adapter, struct device_node *np) in cxl_of_read_adapter_properties() 455 struct device_node *np = NULL; in cxl_of_probe() local
|
/linux/drivers/mfd/ |
A D | syscon.c | 32 struct device_node *np; member 43 static struct syscon *of_syscon_register(struct device_node *np, bool check_clk) in of_syscon_register() 153 static struct regmap *device_node_get_regmap(struct device_node *np, in device_node_get_regmap() 177 struct regmap *device_node_to_regmap(struct device_node *np) in device_node_to_regmap() 183 struct regmap *syscon_node_to_regmap(struct device_node *np) in syscon_node_to_regmap() 208 struct regmap *syscon_regmap_lookup_by_phandle(struct device_node *np, in syscon_regmap_lookup_by_phandle() 229 struct regmap *syscon_regmap_lookup_by_phandle_args(struct device_node *np, in syscon_regmap_lookup_by_phandle_args() 263 struct regmap *syscon_regmap_lookup_by_phandle_optional(struct device_node *np, in syscon_regmap_lookup_by_phandle_optional()
|
/linux/net/ncsi/ |
A D | ncsi-manage.c | 36 struct ncsi_package *np; in ncsi_channel_is_last() local 54 struct ncsi_package *np; in ncsi_report_link() local 272 struct ncsi_package *np; in ncsi_find_package() local 436 struct ncsi_package *np; in ncsi_request_timeout() local 470 struct ncsi_package *np; in ncsi_suspend_channel() local 867 struct ncsi_package *np; in ncsi_channel_is_tx() local 911 struct ncsi_package *np; in ncsi_update_tx_channel() local 1233 struct ncsi_package *np; in ncsi_choose_active_channel() local 1318 struct ncsi_package *np; in ncsi_check_hwa() local 1352 struct ncsi_package *np; in ncsi_probe_channel() local [all …]
|
/linux/drivers/net/ethernet/nvidia/ |
A D | forcedeth.c | 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 1125 struct fe_priv *np = get_nvpriv(dev); in nv_napi_enable() local 1132 struct fe_priv *np = get_nvpriv(dev); in nv_napi_disable() local 1388 struct fe_priv *np = get_nvpriv(dev); in phy_init() local [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_ethtool.c | 32 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_q_stats_len() local 197 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_get_drvinfo() local 216 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_get_regs() local 230 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_get_msglevel() local 244 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_set_msglevel() local 259 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_get_eeprom_len() local 269 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_get_eeprom() local 344 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_link_test() local 371 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_eeprom_test() local 428 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_reg_test() local [all …]
|