Home
last modified time | relevance | path

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

12345678910>>...84

/linux/drivers/net/ethernet/sun/
H A Dniu.c113 #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 …]
/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_nvram.c270 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 Dsym_hipd.c120 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 Dsym_glue.c423 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
576 struct sym_hcb *np = sym_data->ncb; in sym53c8xx_eh_abort_handler() local
628 struct sym_hcb *np = sym_data->ncb; in sym53c8xx_eh_target_reset_handler() local
678 struct sym_hcb *np = sym_data->ncb; in sym53c8xx_eh_bus_reset_handler() local
701 struct sym_hcb *np = sym_data->ncb; in sym53c8xx_eh_host_reset_handler() local
1066 struct sym_hcb *np = sym_get_hcb(shost); in sym_user_command() local
1211 struct sym_hcb *np = sym_data->ncb; in sym_show_info() local
1284 struct sym_hcb *np = NULL; in sym_attach() local
1656 struct sym_hcb *np = sym_get_hcb(shost); in sym_detach() local
[all …]
/linux/drivers/clk/at91/
H A Ddt-compat.c30 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 …]
/linux/drivers/net/ethernet/dlink/
H A Ddl2k.c106 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
1473 struct netdev_private *np; in mii_wait_link() local
1494 struct netdev_private *np; in mii_get_media() local
1580 struct netdev_private *np; in mii_set_media() local
1667 struct netdev_private *np; in mii_get_media_pcs() local
[all …]
H A Dsundance.c448 struct netdev_private *np = netdev_priv(dev); in sundance_reset() local
468 struct netdev_private *np = netdev_priv(dev); in sundance_poll_controller() local
496 struct netdev_private *np; in sundance_probe1() local
763 struct netdev_private *np = netdev_priv(dev); in mdio_read() local
793 struct netdev_private *np = netdev_priv(dev); in mdio_write() local
823 struct netdev_private *np; in mdio_wait_link() local
839 struct netdev_private *np = netdev_priv(dev); in netdev_open() local
917 struct netdev_private *np = netdev_priv(dev); in check_duplex() local
963 struct netdev_private *np = netdev_priv(dev); in tx_timeout() local
1016 struct netdev_private *np = netdev_priv(dev); in init_ring() local
[all …]
/linux/drivers/char/hw_random/
H A Dn2-drv.c250 static int n2rng_generic_write_control(struct n2rng *np, in n2rng_generic_write_control()
280 static int n2rng_try_read_ctl(struct n2rng *np) in n2rng_try_read_ctl()
359 static void n2rng_control_swstate_init(struct n2rng *np) in n2rng_control_swstate_init()
381 static int n2rng_grab_diag_control(struct n2rng *np) in n2rng_grab_diag_control()
403 static int n2rng_init_control(struct n2rng *np) in n2rng_init_control()
422 struct n2rng *np = (struct n2rng *) rng->priv; in n2rng_data_read() local
456 static int n2rng_guest_check(struct n2rng *np) in n2rng_guest_check()
513 static void n2rng_dump_test_buffer(struct n2rng *np) in n2rng_dump_test_buffer()
600 static int n2rng_control_check(struct n2rng *np) in n2rng_control_check()
700 struct n2rng *np; in n2rng_probe() local
[all …]
/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
669 static inline int of_n_addr_cells(struct device_node *np) in of_n_addr_cells()
674 static inline int of_n_size_cells(struct device_node *np) in of_n_size_cells()
776 const struct device_node *np, in of_phandle_iterator_init()
1561 struct device_node *np; member
1604 struct device_node *np) in of_changeset_attach_node()
1610 struct device_node *np) in of_changeset_detach_node()
1616 struct device_node *np, struct property *prop) in of_changeset_add_property()
1622 struct device_node *np, struct property *prop) in of_changeset_remove_property()
1628 struct device_node *np, struct property *prop) in of_changeset_update_property()
[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.c155 struct device_node *np; in __of_phandle_cache_inv_entry() local
169 struct device_node *np; in of_core_init() local
229 struct device_node *np; in __of_find_all_nodes() local
254 struct device_node *np; in of_find_all_nodes() local
552 struct device_node *np; in of_get_parent() local
889 struct device_node *np; in of_find_node_by_name() local
917 struct device_node *np; in of_find_node_by_type() local
947 struct device_node *np; in of_find_compatible_node() local
976 struct device_node *np; in of_find_node_with_property() local
1055 struct device_node *np; in of_find_matching_node_and_match() local
[all …]
H A Dof_private.h27 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()
171 static inline int of_dma_get_range(struct device_node *np, in of_dma_get_range()
176 static inline struct device_node *__of_get_dma_parent(const struct device_node *np) in __of_get_dma_parent()
H A Dproperty.c68 int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size()
141 int of_property_read_u32_index(const struct device_node *np, in of_property_read_u32_index()
175 int of_property_read_u64_index(const struct device_node *np, in of_property_read_u64_index()
215 int of_property_read_variable_u8_array(const struct device_node *np, in of_property_read_variable_u8_array()
265 int of_property_read_variable_u16_array(const struct device_node *np, in of_property_read_variable_u16_array()
312 int of_property_read_variable_u32_array(const struct device_node *np, in of_property_read_variable_u32_array()
501 int of_property_read_string_helper(const struct device_node *np, in of_property_read_string_helper()
776 struct device_node *np, *pp; in of_graph_get_remote_port_parent() local
798 struct device_node *np; in of_graph_get_remote_port() local
1028 struct device_node *np; in of_fwnode_graph_get_port_parent() local
[all …]
/linux/drivers/clk/samsung/
H A Dclk-exynos5260.c158 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 …]
/linux/drivers/net/ethernet/natsemi/
H A Dnatsemi.c705 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 …]
/linux/drivers/net/ethernet/dec/tulip/
H A Dwinbond-840.c353 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 …]
/linux/drivers/gpio/
H A Dgpiolib-of.c63 static int of_gpio_named_count(const struct device_node *np, in of_gpio_named_count()
81 static int of_gpio_spi_cs_get_count(const struct device_node *np, in of_gpio_spi_cs_get_count()
97 const struct device_node *np = to_of_node(fwnode); in of_gpio_count() local
157 static void of_gpio_quirk_polarity(const struct device_node *np, in of_gpio_quirk_polarity()
179 static void of_gpio_try_fixup_polarity(const struct device_node *np, in of_gpio_try_fixup_polarity()
297 static void of_gpio_flags_quirks(const struct device_node *np, in of_gpio_flags_quirks()
718 static struct gpio_desc *of_parse_own_gpio(struct device_node *np, in of_parse_own_gpio()
821 struct device_node *np; in of_gpiochip_scan_gpios() local
980 int of_mm_gpiochip_add_data(struct device_node *np, in of_mm_gpiochip_add_data()
1039 struct device_node *np; in of_gpiochip_add_pin_range() local
[all …]
/linux/net/core/
H A Dnetpoll.c66 #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 …]
/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
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
1230 struct ncsi_package *np; in ncsi_choose_active_channel() local
1315 struct ncsi_package *np; in ncsi_check_hwa() local
1349 struct ncsi_package *np; in ncsi_probe_channel() local
[all …]
/linux/drivers/misc/cxl/
H A Dof.c16 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()
453 struct device_node *np = NULL; in cxl_of_probe() local
/linux/drivers/net/ethernet/nvidia/
H A Dforcedeth.c998 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/include/linux/mfd/
H A Dsyscon.h32 static inline struct regmap *device_node_to_regmap(struct device_node *np) in device_node_to_regmap()
37 static inline struct regmap *syscon_node_to_regmap(struct device_node *np) in syscon_node_to_regmap()
48 struct device_node *np, in syscon_regmap_lookup_by_phandle()
55 struct device_node *np, in syscon_regmap_lookup_by_phandle_args()
64 struct device_node *np, in syscon_regmap_lookup_by_phandle_optional()
/linux/drivers/mfd/
H A Dsyscon.c33 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()
/linux/drivers/net/wireless/mediatek/mt76/
H A Deeprom.c15 struct device_node *np = dev->dev->of_node; in mt76_get_of_eeprom_data() local
34 struct device_node *np = dev->dev->of_node; in mt76_get_of_data_from_mtd() local
113 struct device_node *np = dev->dev->of_node; in mt76_get_of_data_from_nvmem() local
145 struct device_node *np = dev->dev->of_node; in mt76_get_of_eeprom() local
166 struct device_node *np = dev->dev->of_node; in mt76_eeprom_override() local
196 struct device_node *np = dev->dev->of_node; in mt76_find_power_limits_node() local
235 mt76_get_of_array(struct device_node *np, char *name, size_t *len, int min) in mt76_get_of_array()
248 mt76_find_channel_node(struct device_node *np, struct ieee80211_channel *chan) in mt76_find_channel_node()
275 mt76_get_txs_delta(struct device_node *np, u8 nss) in mt76_get_txs_delta()
339 struct device_node *np; in mt76_get_rate_power_limits() local

12345678910>>...84