/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | niu.c | 113 #define niu_lock_parent(np, flags) \ argument 115 #define niu_unlock_parent(np, flags) \ argument 316 static int mdio_wait(struct niu *np) in mdio_wait() 734 static int esr_reset(struct niu *np) in esr_reset() 1646 static int mii_reset(struct niu *np) in mii_reset() 3784 struct niu *np = lp->np; in niu_poll() local 4214 struct niu *np = lp->np; in niu_interrupt() local 6102 struct niu *np = netdev_priv(dev); in niu_open() local 9662 struct niu *np; in niu_alloc_and_init() local 9747 struct niu *np; in niu_pci_init_one() local [all …]
|
/openbmc/linux/drivers/scsi/sym53c8xx_2/ |
H 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 …]
|
H 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 …]
|
H A D | sym_glue.c | 423 static void sym_timer(struct sym_hcb *np) in sym_timer() 490 struct sym_hcb *np = SYM_SOFTC_PTR(cmd); in sym53c8xx_queue_command_lck() local 575 struct sym_hcb *np = sym_data->ncb; in sym_eh_handler() local 1013 struct sym_hcb *np = sym_get_hcb(shost); in sym_user_command() local 1158 struct sym_hcb *np = sym_data->ncb; in sym_show_info() local 1231 struct sym_hcb *np = NULL; in sym_attach() local 1603 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 …]
|
/openbmc/linux/drivers/clk/at91/ |
H 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() 188 static void __init of_sama5d4_clk_h32mx_setup(struct device_node *np) in of_sama5d4_clk_h32mx_setup() 217 static void __init of_sama5d2_clk_i2s_mux_setup(struct device_node *np) in of_sama5d2_clk_i2s_mux_setup() 368 of_at91_clk_master_get_characteristics(struct device_node *np) in of_at91_clk_master_get_characteristics() 393 of_at91_clk_master_setup(struct device_node *np, in of_at91_clk_master_setup() 456 of_at91_clk_periph_setup(struct device_node *np, u8 type) in of_at91_clk_periph_setup() 543 of_at91_clk_pll_get_characteristics(struct device_node *np) in of_at91_clk_pll_get_characteristics() 639 of_at91_clk_pll_setup(struct device_node *np, in of_at91_clk_pll_setup() 700 static void __init of_sama5d3_clk_pll_setup(struct device_node *np) in of_sama5d3_clk_pll_setup() 708 of_at91sam9x5_clk_plldiv_setup(struct device_node *np) in of_at91sam9x5_clk_plldiv_setup() [all …]
|
/openbmc/linux/drivers/net/ethernet/dlink/ |
H 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 1474 struct netdev_private *np; in mii_wait_link() local 1495 struct netdev_private *np; in mii_get_media() local 1581 struct netdev_private *np; in mii_set_media() local 1668 struct netdev_private *np; in mii_get_media_pcs() local [all …]
|
/openbmc/linux/include/linux/ |
H A D | of_mdio.h | 21 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 D | of.h | 72 struct device_node *np; member 661 static inline int of_n_addr_cells(struct device_node *np) in of_n_addr_cells() 666 static inline int of_n_size_cells(struct device_node *np) in of_n_size_cells() 768 const struct device_node *np, in of_phandle_iterator_init() 1526 struct device_node *np; member 1569 struct device_node *np) in of_changeset_attach_node() 1575 struct device_node *np) in of_changeset_detach_node() 1581 struct device_node *np, struct property *prop) in of_changeset_add_property() 1587 struct device_node *np, struct property *prop) in of_changeset_remove_property() 1593 struct device_node *np, struct property *prop) in of_changeset_update_property() [all …]
|
H A D | of_net.h | 21 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()
|
/openbmc/linux/drivers/char/hw_random/ |
H 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 …]
|
/openbmc/u-boot/drivers/core/ |
H A D | of_access.c | 61 struct device_node *np; member 66 int of_n_addr_cells(const struct device_node *np) in of_n_addr_cells() 82 int of_n_size_cells(const struct device_node *np) in of_n_size_cells() 98 int of_simple_addr_cells(const struct device_node *np) in of_simple_addr_cells() 145 struct device_node *np; in of_find_all_nodes() local 251 const struct device_node *np; in of_get_parent() local 313 struct device_node *np = NULL; in of_find_node_opts_by_path() local 368 struct device_node *np; in of_find_compatible_node() local 394 struct device_node *np; in of_find_node_by_prop_value() local 408 struct device_node *np; in of_find_node_by_phandle() local [all …]
|
/openbmc/linux/drivers/of/ |
H A D | base.c | 154 struct device_node *np; in __of_phandle_cache_inv_entry() local 168 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 521 struct device_node *np; in of_get_parent() local 836 struct device_node *np; in of_find_node_by_name() local 864 struct device_node *np; in of_find_node_by_type() local 894 struct device_node *np; in of_find_compatible_node() local 923 struct device_node *np; in of_find_node_with_property() local 1002 struct device_node *np; in of_find_matching_node_and_match() local [all …]
|
H A D | of_private.h | 27 struct device_node *np; member 56 static inline int of_property_notify(int action, struct device_node *np, in of_property_notify() 78 static inline int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs() 82 static inline void __of_remove_property_sysfs(struct device_node *np, struct property *prop) {} in __of_remove_property_sysfs() 83 static inline void __of_update_property_sysfs(struct device_node *np, in __of_update_property_sysfs() 85 static inline int __of_attach_node_sysfs(struct device_node *np) in __of_attach_node_sysfs() 89 static inline void __of_detach_node_sysfs(struct device_node *np) {} in __of_detach_node_sysfs() 170 static inline int of_dma_get_range(struct device_node *np, in of_dma_get_range() 175 static inline struct device_node *__of_get_dma_parent(const struct device_node *np) in __of_get_dma_parent()
|
H A D | property.c | 71 int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size() 144 int of_property_read_u32_index(const struct device_node *np, in of_property_read_u32_index() 178 int of_property_read_u64_index(const struct device_node *np, in of_property_read_u64_index() 218 int of_property_read_variable_u8_array(const struct device_node *np, in of_property_read_variable_u8_array() 268 int of_property_read_variable_u16_array(const struct device_node *np, in of_property_read_variable_u16_array() 503 int of_property_read_string_helper(const struct device_node *np, in of_property_read_string_helper() 784 struct device_node *np, *pp; in of_graph_get_remote_port_parent() local 806 struct device_node *np; in of_graph_get_remote_port() local 816 int of_graph_get_endpoint_count(const struct device_node *np) in of_graph_get_endpoint_count() 1030 struct device_node *np; in of_fwnode_graph_get_port_parent() local [all …]
|
/openbmc/linux/drivers/clk/samsung/ |
H A D | clk-exynos5260.c | 158 static void __init exynos5260_clk_aud_init(struct device_node *np) in exynos5260_clk_aud_init() 348 static void __init exynos5260_clk_disp_init(struct device_node *np) in exynos5260_clk_disp_init() 412 static void __init exynos5260_clk_egl_init(struct device_node *np) in exynos5260_clk_egl_init() 512 static void __init exynos5260_clk_fsys_init(struct device_node *np) in exynos5260_clk_fsys_init() 603 static void __init exynos5260_clk_g2d_init(struct device_node *np) in exynos5260_clk_g2d_init() 666 static void __init exynos5260_clk_g3d_init(struct device_node *np) in exynos5260_clk_g3d_init() 799 static void __init exynos5260_clk_gscl_init(struct device_node *np) in exynos5260_clk_gscl_init() 918 static void __init exynos5260_clk_isp_init(struct device_node *np) in exynos5260_clk_isp_init() 982 static void __init exynos5260_clk_kfc_init(struct device_node *np) in exynos5260_clk_kfc_init() 1038 static void __init exynos5260_clk_mfc_init(struct device_node *np) in exynos5260_clk_mfc_init() [all …]
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | ncsi.c | 92 unsigned int np, nc; in ncsi_active() local 226 unsigned int np, nc; in ncsi_rsp_ec() local 239 unsigned int np, nc; in ncsi_rsp_ecnt() local 250 unsigned int np, nc; in ncsi_rsp_ebf() local 261 unsigned int np, nc; in ncsi_rsp_sma() local 274 unsigned int np, nc; in ncsi_rsp_gc() local 330 unsigned int np, nc; in ncsi_rsp_gls() local 353 unsigned int np, nc; in ncsi_rsp_cis() local 394 unsigned int np; in ncsi_rsp_dp() local 406 unsigned int np; in ncsi_rsp_sp() local [all …]
|
/openbmc/linux/drivers/net/ethernet/dec/tulip/ |
H A D | winbond-840.c | 353 struct netdev_private *np; in w840_probe1() local 556 struct netdev_private *np = netdev_priv(dev); in mdio_read() local 586 struct netdev_private *np = netdev_priv(dev); in mdio_write() local 618 struct netdev_private *np = netdev_priv(dev); in netdev_open() local 660 struct netdev_private *np = netdev_priv(dev); in update_link() local 726 struct netdev_private *np = netdev_priv(dev); in update_csr6() local 783 struct netdev_private *np = netdev_priv(dev); in init_rxtx_rings() local 855 struct netdev_private *np = netdev_priv(dev); in init_registers() local 913 struct netdev_private *np = netdev_priv(dev); in tx_timeout() local 960 struct netdev_private *np = netdev_priv(dev); in alloc_ringdesc() local [all …]
|
/openbmc/linux/drivers/net/ethernet/natsemi/ |
H 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 1118 struct netdev_private *np = netdev_priv(dev); in mdio_read() local 1133 struct netdev_private *np = netdev_priv(dev); in mdio_write() local 1145 struct netdev_private *np = netdev_priv(dev); in init_phy_fixup() local 1258 struct netdev_private *np = netdev_priv(dev); in switch_port_external() local 1291 struct netdev_private *np = netdev_priv(dev); in switch_port_internal() local 1343 struct netdev_private *np = netdev_priv(dev); in find_mii() local [all …]
|
/openbmc/linux/include/linux/mfd/ |
H 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()
|
/openbmc/linux/net/core/ |
H 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 400 void netpoll_send_udp(struct netpoll *np, const char *msg, int len) in netpoll_send_udp() 504 void netpoll_print_options(struct netpoll *np) in netpoll_print_options() 541 int netpoll_parse_options(struct netpoll *np, char *opt) in netpoll_parse_options() 623 int __netpoll_setup(struct netpoll *np, struct net_device *ndev) in __netpoll_setup() 677 int netpoll_setup(struct netpoll *np) in netpoll_setup() 821 void __netpoll_cleanup(struct netpoll *np) in __netpoll_cleanup() 845 void __netpoll_free(struct netpoll *np) in __netpoll_free() [all …]
|
/openbmc/linux/drivers/misc/cxl/ |
H 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() 335 int cxl_of_read_adapter_handle(struct cxl *adapter, struct device_node *np) in cxl_of_read_adapter_handle() 344 int cxl_of_read_adapter_properties(struct cxl *adapter, struct device_node *np) in cxl_of_read_adapter_properties() 454 struct device_node *np = NULL; in cxl_of_probe() local
|
/openbmc/linux/net/ncsi/ |
H 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 861 struct ncsi_package *np; in ncsi_channel_is_tx() local 905 struct ncsi_package *np; in ncsi_update_tx_channel() local 1225 struct ncsi_package *np; in ncsi_choose_active_channel() local 1310 struct ncsi_package *np; in ncsi_check_hwa() local 1344 struct ncsi_package *np; in ncsi_probe_channel() local [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | syscon.c | 33 struct device_node *np; member 45 static struct syscon *of_syscon_register(struct device_node *np, bool check_res) in of_syscon_register() 171 static struct regmap *device_node_get_regmap(struct device_node *np, in device_node_get_regmap() 195 struct regmap *device_node_to_regmap(struct device_node *np) in device_node_to_regmap() 201 struct regmap *syscon_node_to_regmap(struct device_node *np) in syscon_node_to_regmap() 226 struct regmap *syscon_regmap_lookup_by_phandle(struct device_node *np, in syscon_regmap_lookup_by_phandle() 249 struct regmap *syscon_regmap_lookup_by_phandle_args(struct device_node *np, in syscon_regmap_lookup_by_phandle_args() 283 struct regmap *syscon_regmap_lookup_by_phandle_optional(struct device_node *np, in syscon_regmap_lookup_by_phandle_optional()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpiolib-of.c | 63 static int of_gpio_named_count(const struct device_node *np, in of_gpio_named_count() 83 struct device_node *np = dev->of_node; in of_gpio_spi_cs_get_count() local 156 static void of_gpio_quirk_polarity(const struct device_node *np, in of_gpio_quirk_polarity() 178 static void of_gpio_try_fixup_polarity(const struct device_node *np, in of_gpio_try_fixup_polarity() 305 static void of_gpio_flags_quirks(const struct device_node *np, in of_gpio_flags_quirks() 472 static struct gpio_desc *of_find_gpio_rename(struct device_node *np, in of_find_gpio_rename() 695 static struct gpio_desc *of_parse_own_gpio(struct device_node *np, in of_parse_own_gpio() 798 struct device_node *np; in of_gpiochip_scan_gpios() local 957 int of_mm_gpiochip_add_data(struct device_node *np, in of_mm_gpiochip_add_data() 1016 struct device_node *np; in of_gpiochip_add_pin_range() local [all …]
|
/openbmc/linux/drivers/net/ethernet/nvidia/ |
H 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 …]
|