Home
last modified time | relevance | path

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

12345678910>>...83

/linux-5.10/drivers/net/ethernet/sun/
Dniu.c94 #define niu_lock_parent(np, flags) \ argument
96 #define niu_unlock_parent(np, flags) \ argument
101 static int __niu_wait_bits_clear_mac(struct niu *np, unsigned long reg, in __niu_wait_bits_clear_mac()
116 static int __niu_set_and_wait_clear_mac(struct niu *np, unsigned long reg, in __niu_set_and_wait_clear_mac()
136 static int __niu_wait_bits_clear_ipp(struct niu *np, unsigned long reg, in __niu_wait_bits_clear_ipp()
151 static int __niu_set_and_wait_clear_ipp(struct niu *np, unsigned long reg, in __niu_set_and_wait_clear_ipp()
175 static int __niu_wait_bits_clear(struct niu *np, unsigned long reg, in __niu_wait_bits_clear()
195 static int __niu_set_and_wait_clear(struct niu *np, unsigned long reg, in __niu_set_and_wait_clear()
215 static void niu_ldg_rearm(struct niu *np, struct niu_ldg *lp, int on) in niu_ldg_rearm()
225 static int niu_ldn_irq_enable(struct niu *np, int ldn, int on) in niu_ldn_irq_enable()
[all …]
/linux-5.10/drivers/clk/at91/
Ddt-compat.c28 static void __init of_sama5d2_clk_audio_pll_frac_setup(struct device_node *np) in of_sama5d2_clk_audio_pll_frac_setup()
51 static void __init of_sama5d2_clk_audio_pll_pad_setup(struct device_node *np) in of_sama5d2_clk_audio_pll_pad_setup()
74 static void __init of_sama5d2_clk_audio_pll_pmc_setup(struct device_node *np) in of_sama5d2_clk_audio_pll_pmc_setup()
113 static void __init of_sama5d2_clk_generated_setup(struct device_node *np) in of_sama5d2_clk_generated_setup()
175 static void __init of_sama5d4_clk_h32mx_setup(struct device_node *np) in of_sama5d4_clk_h32mx_setup()
201 static void __init of_sama5d2_clk_i2s_mux_setup(struct device_node *np) in of_sama5d2_clk_i2s_mux_setup()
237 static void __init of_at91rm9200_clk_main_osc_setup(struct device_node *np) in of_at91rm9200_clk_main_osc_setup()
262 static void __init of_at91sam9x5_clk_main_rc_osc_setup(struct device_node *np) in of_at91sam9x5_clk_main_rc_osc_setup()
287 static void __init of_at91rm9200_clk_main_setup(struct device_node *np) in of_at91rm9200_clk_main_setup()
310 static void __init of_at91sam9x5_clk_main_setup(struct device_node *np) in of_at91sam9x5_clk_main_setup()
[all …]
/linux-5.10/drivers/scsi/sym53c8xx_2/
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 …]
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 …]
Dsym_glue.c127 void sym_xpt_done(struct sym_hcb *np, struct scsi_cmnd *cmd) in sym_xpt_done()
142 void sym_xpt_async_bus_reset(struct sym_hcb *np) in sym_xpt_async_bus_reset()
170 void sym_set_cam_result_error(struct sym_hcb *np, struct sym_ccb *cp, int resid) in sym_set_cam_result_error()
241 static int sym_scatter(struct sym_hcb *np, struct sym_ccb *cp, struct scsi_cmnd *cmd) in sym_scatter()
283 static int sym_queue_command(struct sym_hcb *np, struct scsi_cmnd *cmd) in sym_queue_command()
315 static inline int sym_setup_cdb(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) in sym_setup_cdb()
328 int sym_setup_data_and_start(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) in sym_setup_data_and_start()
426 static void sym_timer(struct sym_hcb *np) in sym_timer()
494 struct sym_hcb *np = SYM_SOFTC_PTR(cmd); in sym53c8xx_queue_command_lck() local
553 struct sym_hcb *np = from_timer(np, t, s.timer); in sym53c8xx_timer() local
[all …]
/linux-5.10/drivers/net/ethernet/dlink/
Ddl2k.c52 static void dl2k_enable_int(struct netdev_private *np) in dl2k_enable_int()
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
407 struct netdev_private *np = netdev_priv(dev); in rio_set_led_mode() local
434 struct netdev_private *np = netdev_priv(dev); in free_list() local
463 static void rio_reset_ring(struct netdev_private *np) in rio_reset_ring()
482 struct netdev_private *np = netdev_priv(dev); in alloc_list() local
523 struct netdev_private *np = netdev_priv(dev); in rio_hw_init() local
611 struct netdev_private *np = netdev_priv(dev); in rio_hw_stop() local
[all …]
/linux-5.10/drivers/char/hw_random/
Dn2-drv.c147 static unsigned long n2rng_control_settle_v2(struct n2rng *np, int unit) in n2rng_control_settle_v2()
154 static unsigned long n2rng_write_ctl_one(struct n2rng *np, int unit, in n2rng_write_ctl_one()
201 static unsigned long n2rng_read_diag_data_one(struct n2rng *np, in n2rng_read_diag_data_one()
220 static int n2rng_generic_read_diag_data(struct n2rng *np, in n2rng_generic_read_diag_data()
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()
306 static u64 n2rng_control_default(struct n2rng *np, int ctl) in n2rng_control_default()
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()
[all …]
/linux-5.10/drivers/of/
Dbase.c58 bool of_node_name_eq(const struct device_node *np, const char *name) in of_node_name_eq()
73 bool of_node_name_prefix(const struct device_node *np, const char *prefix) in of_node_name_prefix()
82 static bool __of_node_is_type(const struct device_node *np, const char *type) in __of_node_is_type()
89 int of_bus_n_addr_cells(struct device_node *np) in of_bus_n_addr_cells()
101 int of_n_addr_cells(struct device_node *np) in of_n_addr_cells()
110 int of_bus_n_size_cells(struct device_node *np) in of_bus_n_size_cells()
122 int of_n_size_cells(struct device_node *np) in of_n_size_cells()
132 int __weak of_node_to_nid(struct device_node *np) in of_node_to_nid()
154 struct device_node *np; in __of_phandle_cache_inv_entry() local
168 struct device_node *np; in of_core_init() local
[all …]
Dof_private.h25 struct device_node *np; member
53 static inline int of_property_notify(int action, struct device_node *np, in of_property_notify()
69 static inline int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs()
73 static inline void __of_remove_property_sysfs(struct device_node *np, struct property *prop) {} in __of_remove_property_sysfs()
74 static inline void __of_update_property_sysfs(struct device_node *np, in __of_update_property_sysfs()
76 static inline int __of_attach_node_sysfs(struct device_node *np) in __of_attach_node_sysfs()
80 static inline void __of_detach_node_sysfs(struct device_node *np) {} in __of_detach_node_sysfs()
165 static inline int of_dma_get_range(struct device_node *np, in of_dma_get_range()
Dkobj.c63 int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs()
87 void __of_sysfs_remove_bin_file(struct device_node *np, struct property *prop) in __of_sysfs_remove_bin_file()
96 void __of_remove_property_sysfs(struct device_node *np, struct property *prop) in __of_remove_property_sysfs()
103 void __of_update_property_sysfs(struct device_node *np, struct property *newprop, in __of_update_property_sysfs()
115 int __of_attach_node_sysfs(struct device_node *np) in __of_attach_node_sysfs()
149 void __of_detach_node_sysfs(struct device_node *np) in __of_detach_node_sysfs()
Dunittest.c67 struct device_node *np; in of_unittest_find_node_by_name() local
166 struct device_node *np; in of_unittest_dynamic() local
225 static int __init of_unittest_check_node_linkage(struct device_node *np) in of_unittest_check_node_linkage()
252 struct device_node *np; in of_unittest_check_tree_linkage() local
269 static void __init of_unittest_printf_one(struct device_node *np, const char *fmt, in of_unittest_printf_one()
305 struct device_node *np; in of_unittest_printf() local
339 struct device_node *np; member
345 struct device_node *np; in of_unittest_check_phandles() local
383 struct device_node *np; in of_unittest_parse_phandle_with_args() local
539 struct device_node *np, *p0, *p1, *p2, *p3; in of_unittest_parse_phandle_with_args_map() local
[all …]
/linux-5.10/drivers/clk/samsung/
Dclk-exynos5260.c143 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-5.10/include/linux/
Dof.h75 struct device_node *np; member
259 static inline const char *of_node_full_name(const struct device_node *np) in of_node_full_name()
436 static inline int of_property_read_u8_array(const struct device_node *np, in of_property_read_u8_array()
466 static inline int of_property_read_u16_array(const struct device_node *np, in of_property_read_u16_array()
494 static inline int of_property_read_u32_array(const struct device_node *np, in of_property_read_u32_array()
522 static inline int of_property_read_u64_array(const struct device_node *np, in of_property_read_u64_array()
577 static inline bool of_node_name_eq(const struct device_node *np, const char *name) in of_node_name_eq()
582 static inline bool of_node_name_prefix(const struct device_node *np, const char *prefix) in of_node_name_prefix()
587 static inline const char* of_node_full_name(const struct device_node *np) in of_node_full_name()
698 static inline struct property *of_find_property(const struct device_node *np, in of_find_property()
[all …]
Dof_mdio.h41 const struct device_node *np) in of_mdio_parse_addr()
68 static inline int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np) in of_mdiobus_register()
78 static inline struct mdio_device *of_mdio_find_device(struct device_node *np) in of_mdio_find_device()
97 of_phy_get_and_connect(struct net_device *dev, struct device_node *np, in of_phy_get_and_connect()
116 const struct device_node *np) in of_mdio_parse_addr()
120 static inline int of_phy_register_fixed_link(struct device_node *np) in of_phy_register_fixed_link()
124 static inline void of_phy_deregister_fixed_link(struct device_node *np) in of_phy_deregister_fixed_link()
127 static inline bool of_phy_is_fixed_link(struct device_node *np) in of_phy_is_fixed_link()
Dof_gpio.h58 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(struct device_node *np, in of_get_named_gpio_flags()
101 static inline int of_gpio_named_count(struct device_node *np, const char* propname) in of_gpio_named_count()
112 static inline int of_gpio_count(struct device_node *np) in of_gpio_count()
117 static inline int of_get_gpio_flags(struct device_node *np, int index, in of_get_gpio_flags()
132 static inline int of_get_named_gpio(struct device_node *np, in of_get_named_gpio()
146 static inline int of_get_gpio(struct device_node *np, int index) in of_get_gpio()
/linux-5.10/drivers/net/ethernet/dec/tulip/
Dwinbond-840.c353 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
768 struct netdev_private *np = from_timer(np, t, timer); in netdev_timer() local
785 struct netdev_private *np = netdev_priv(dev); in init_rxtx_rings() local
831 static void free_rxtx_rings(struct netdev_private* np) in free_rxtx_rings()
857 struct netdev_private *np = netdev_priv(dev); in init_registers() local
[all …]
/linux-5.10/drivers/net/ethernet/natsemi/
Dnatsemi.c672 struct netdev_private *np = netdev_priv(to_net_dev(dev)); in natsemi_show_dspcfg_workaround() local
681 struct netdev_private *np = netdev_priv(to_net_dev(dev)); in natsemi_set_dspcfg_workaround() local
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
1121 struct netdev_private *np = netdev_priv(dev); in mdio_read() local
1136 struct netdev_private *np = netdev_priv(dev); in mdio_write() local
1148 struct netdev_private *np = netdev_priv(dev); in init_phy_fixup() local
1261 struct netdev_private *np = netdev_priv(dev); in switch_port_external() local
[all …]
/linux-5.10/net/core/
Dnetpoll.c66 #define np_info(np, fmt, ...) \ argument
68 #define np_err(np, fmt, ...) \ argument
70 #define np_notice(np, fmt, ...) \ argument
271 static struct sk_buff *find_skb(struct netpoll *np, int len, int reserve) in find_skb()
309 static netdev_tx_t __netpoll_send_skb(struct netpoll *np, struct sk_buff *skb) in __netpoll_send_skb()
366 netdev_tx_t netpoll_send_skb(struct netpoll *np, struct sk_buff *skb) in netpoll_send_skb()
383 void netpoll_send_udp(struct netpoll *np, const char *msg, int len) in netpoll_send_udp()
486 void netpoll_print_options(struct netpoll *np) in netpoll_print_options()
523 int netpoll_parse_options(struct netpoll *np, char *opt) in netpoll_parse_options()
605 int __netpoll_setup(struct netpoll *np, struct net_device *ndev) in __netpoll_setup()
[all …]
/linux-5.10/drivers/misc/cxl/
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()
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-5.10/net/ncsi/
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
189 struct ncsi_channel *ncsi_find_channel(struct ncsi_package *np, in ncsi_find_channel()
202 struct ncsi_channel *ncsi_add_channel(struct ncsi_package *np, unsigned char id) in ncsi_add_channel()
241 struct ncsi_package *np = nc->package; in ncsi_remove_channel() local
266 struct ncsi_package *np; in ncsi_find_package() local
279 struct ncsi_package *np, *tmp; in ncsi_add_package() local
307 void ncsi_remove_package(struct ncsi_package *np) in ncsi_remove_package()
328 struct ncsi_package **np, in ncsi_find_package_and_channel()
[all …]
/linux-5.10/drivers/opp/
Dof.c28 static struct device_node *_opp_of_get_opp_desc_node(struct device_node *np, in _opp_of_get_opp_desc_node()
45 struct device_node *np; in _managed_opp() local
95 static struct device_node *of_parse_required_opp(struct device_node *np, in of_parse_required_opp()
166 struct device_node *required_np, *np; in _opp_table_alloc_required_tables() local
222 struct device_node *np, *opp_np; in _of_init_opp_table() local
295 struct device_node *np; in _of_opp_alloc_required_opps() local
337 struct device_node *np, *opp_np; in _bandwidth_supported() local
375 struct device_node *np; in dev_pm_opp_of_find_icc_paths() local
435 struct device_node *np) in _opp_is_supported()
643 struct device_node *np, bool peak) in _read_bw()
[all …]
/linux-5.10/drivers/net/ethernet/nvidia/
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
1055 struct fe_priv *np = get_nvpriv(dev); in nv_txrx_gate() local
1072 struct fe_priv *np = get_nvpriv(dev); in nv_enable_irq() local
1088 struct fe_priv *np = get_nvpriv(dev); in nv_disable_irq() local
1112 struct fe_priv *np = get_nvpriv(dev); in nv_disable_hw_interrupts() local
1126 struct fe_priv *np = get_nvpriv(dev); in nv_napi_enable() local
1133 struct fe_priv *np = get_nvpriv(dev); in nv_napi_disable() local
[all …]
/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_ethtool.c31 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_q_stats_len() local
175 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_get_drvinfo() local
207 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_get_regs() local
221 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_get_msglevel() local
235 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_set_msglevel() local
250 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_get_eeprom_len() local
260 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_get_eeprom() local
335 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_link_test() local
362 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_eeprom_test() local
419 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_reg_test() local
[all …]
/linux-5.10/drivers/mfd/
Dsyscon.c32 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()
/linux-5.10/drivers/gpio/
Dgpiolib-of.c40 struct device_node *np = dev->of_node; in of_gpio_spi_cs_get_count() local
125 struct device_node *np = gc->of_node; in of_gpio_need_valid_mask() local
133 static void of_gpio_flags_quirks(struct device_node *np, in of_gpio_flags_quirks()
239 static struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np, in of_get_named_gpiod_flags()
278 int of_get_named_gpio_flags(struct device_node *np, const char *list_name, in of_get_named_gpio_flags()
376 struct device_node *np = dev->of_node; in of_find_spi_gpio() local
407 struct device_node *np = dev->of_node; in of_find_spi_cs_gpio() local
443 struct device_node *np = dev->of_node; in of_find_regulator_gpio() local
576 static struct gpio_desc *of_parse_own_gpio(struct device_node *np, in of_parse_own_gpio()
686 struct device_node *np; in of_gpiochip_scan_gpios() local
[all …]

12345678910>>...83