Home
last modified time | relevance | path

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

12345678910>>...66

/linux/drivers/net/ethernet/sun/
H A Dniu.c113 #define niu_lock_parent(np, flags) \ argument
115 #define niu_unlock_parent(np, flags) \ argument
120 static int __niu_wait_bits_clear_mac(struct niu *np, unsigned long reg, in __niu_wait_bits_clear_mac()
135 static int __niu_set_and_wait_clear_mac(struct niu *np, unsigned long reg, in __niu_set_and_wait_clear_mac()
155 static int __niu_wait_bits_clear_ipp(struct niu *np, unsigned long reg, in __niu_wait_bits_clear_ipp()
170 static int __niu_set_and_wait_clear_ipp(struct niu *np, unsigned long reg, in __niu_set_and_wait_clear_ipp()
194 static int __niu_wait_bits_clear(struct niu *np, unsigned long reg, in __niu_wait_bits_clear()
214 static int __niu_set_and_wait_clear(struct niu *np, unsigned long reg, in __niu_set_and_wait_clear()
234 static void niu_ldg_rearm(struct niu *np, struct niu_ldg *lp, int on) in niu_ldg_rearm()
244 static int niu_ldn_irq_enable(struct niu *np, int ldn, int on) in niu_ldn_irq_enable()
[all …]
/linux/drivers/scsi/sym53c8xx_2/
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 …]
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_glue.c127 void sym_xpt_done(struct sym_hcb *np, struct scsi_cmnd *cmd) in sym_xpt_done()
141 void sym_xpt_async_bus_reset(struct sym_hcb *np) in sym_xpt_async_bus_reset()
169 void sym_set_cam_result_error(struct sym_hcb *np, struct sym_ccb *cp, int resid) in sym_set_cam_result_error()
238 static int sym_scatter(struct sym_hcb *np, struct sym_ccb *cp, struct scsi_cmnd *cmd) in sym_scatter()
280 static int sym_queue_command(struct sym_hcb *np, struct scsi_cmnd *cmd) in sym_queue_command()
312 static inline int sym_setup_cdb(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) in sym_setup_cdb()
325 int sym_setup_data_and_start(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) in sym_setup_data_and_start()
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
548 struct sym_hcb *np = timer_container_of(np, t, s.timer); in sym53c8xx_timer() 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()
56 static void __init of_sama5d2_clk_audio_pll_pad_setup(struct device_node *np) in of_sama5d2_clk_audio_pll_pad_setup()
82 static void __init of_sama5d2_clk_audio_pll_pmc_setup(struct device_node *np) in of_sama5d2_clk_audio_pll_pmc_setup()
124 static void __init of_sama5d2_clk_generated_setup(struct device_node *np) in of_sama5d2_clk_generated_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()
253 static void __init of_at91rm9200_clk_main_osc_setup(struct device_node *np) in of_at91rm9200_clk_main_osc_setup()
281 static void __init of_at91sam9x5_clk_main_rc_osc_setup(struct device_node *np) in of_at91sam9x5_clk_main_rc_osc_setup()
309 static void __init of_at91rm9200_clk_main_setup(struct device_node *np) in of_at91rm9200_clk_main_setup()
335 static void __init of_at91sam9x5_clk_main_setup(struct device_node *np) in of_at91sam9x5_clk_main_setup()
[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/drivers/net/ethernet/dlink/
H A Ddl2k.c52 static void dl2k_enable_int(struct netdev_private *np) in dl2k_enable_int()
106 struct netdev_private *np; in rio_probe1() local
308 struct netdev_private *np = netdev_priv(dev); in find_miiphy() local
330 struct netdev_private *np = netdev_priv(dev); in parse_eeprom() local
408 struct netdev_private *np = netdev_priv(dev); in rio_set_led_mode() local
435 struct netdev_private *np = netdev_priv(dev); in free_list() local
464 static void rio_reset_ring(struct netdev_private *np) in rio_reset_ring()
483 struct netdev_private *np = netdev_priv(dev); in alloc_list() local
524 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/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_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/net/core/
H A Dnetpoll.c61 #define np_info(np, fmt, ...) \ argument
63 #define np_err(np, fmt, ...) \ argument
65 #define np_notice(np, fmt, ...) \ argument
234 static void refill_skbs(struct netpoll *np) in refill_skbs()
281 static struct sk_buff *find_skb(struct netpoll *np, int len, int reserve) in find_skb()
320 static netdev_tx_t __netpoll_send_skb(struct netpoll *np, struct sk_buff *skb) in __netpoll_send_skb()
382 netdev_tx_t netpoll_send_skb(struct netpoll *np, struct sk_buff *skb) in netpoll_send_skb()
399 int netpoll_send_udp(struct netpoll *np, const char *msg, int len) in netpoll_send_udp()
502 void netpoll_print_options(struct netpoll *np) in netpoll_print_options()
540 static void skb_pool_flush(struct netpoll *np) in skb_pool_flush()
[all …]
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/net/ethernet/natsemi/
H A 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
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
[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
766 struct netdev_private *np = timer_container_of(np, t, timer); in netdev_timer() local
783 struct netdev_private *np = netdev_priv(dev); in init_rxtx_rings() local
829 static void free_rxtx_rings(struct netdev_private* np) in free_rxtx_rings()
855 struct netdev_private *np = netdev_priv(dev); in init_registers() local
[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()
208 struct ncsi_channel *ncsi_add_channel(struct ncsi_package *np, unsigned char id) in ncsi_add_channel()
247 struct ncsi_package *np = nc->package; in ncsi_remove_channel() local
272 struct ncsi_package *np; in ncsi_find_package() local
285 struct ncsi_package *np, *tmp; in ncsi_add_package() local
313 void ncsi_remove_package(struct ncsi_package *np) in ncsi_remove_package()
334 struct ncsi_package **np, in ncsi_find_package_and_channel()
[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()
89 static int of_gpio_spi_cs_get_count(const struct device_node *np, in of_gpio_spi_cs_get_count()
105 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()
256 static void of_gpio_set_polarity_by_property(const struct device_node *np, in of_gpio_set_polarity_by_property()
335 static void of_gpio_flags_quirks(const struct device_node *np, in of_gpio_flags_quirks()
409 static struct gpio_desc *of_get_named_gpiod_flags(const struct device_node *np, in of_get_named_gpiod_flags()
461 int of_get_named_gpio(const struct device_node *np, const char *propname, in of_get_named_gpio()
505 static struct gpio_desc *of_find_gpio_rename(struct device_node *np, in of_find_gpio_rename()
[all …]
/linux/drivers/of/
H A Dof_private.h28 struct device_node *np; member
60 static inline int of_property_notify(int action, struct device_node *np, in of_property_notify()
82 static inline int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs()
86 static inline void __of_remove_property_sysfs(struct device_node *np, const struct property *prop) … in __of_remove_property_sysfs()
87 static inline void __of_update_property_sysfs(struct device_node *np, in __of_update_property_sysfs()
89 static inline int __of_attach_node_sysfs(struct device_node *np) in __of_attach_node_sysfs()
93 static inline void __of_detach_node_sysfs(struct device_node *np) {} in __of_detach_node_sysfs()
177 static inline int of_dma_get_range(struct device_node *np, in of_dma_get_range()
182 static inline struct device_node *__of_get_dma_parent(const struct device_node *np) in __of_get_dma_parent()
H A Dunittest.c82 struct device_node *np; in of_unittest_find_node_by_name() local
190 struct device_node *np; in of_unittest_dynamic() local
249 static int __init of_unittest_check_node_linkage(struct device_node *np) in of_unittest_check_node_linkage()
271 struct device_node *np; in of_unittest_check_tree_linkage() local
288 static void __init of_unittest_printf_one(struct device_node *np, const char *fmt, in of_unittest_printf_one()
324 struct device_node *np; in of_unittest_printf() local
358 struct device_node *np; member
364 struct device_node *np; in of_unittest_check_phandles() local
402 struct device_node *np; in of_unittest_parse_phandle_with_args() local
561 struct device_node *np, *p[6] = {}; in of_unittest_parse_phandle_with_args_map() local
[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()
390 static const struct of_bus *of_match_bus(struct device_node *np) in of_match_bus()
400 static int of_empty_ranges_quirk(const struct device_node *np) in of_empty_ranges_quirk()
[all …]
H A Ddynamic.c185 int of_property_notify(int action, struct device_node *np, in of_property_notify()
200 static void __of_attach_node(struct device_node *np) in __of_attach_node()
239 int of_attach_node(struct device_node *np) in of_attach_node()
255 void __of_detach_node(struct device_node *np) in __of_detach_node()
293 int of_detach_node(struct device_node *np) in of_detach_node()
452 struct device_node *__of_node_dup(const struct device_node *np, in __of_node_dup()
504 struct device_node *np; in of_changeset_create_node() local
904 struct device_node *np, struct property *prop) in of_changeset_action()
927 struct device_node *np, in of_changeset_add_prop_helper()
957 struct device_node *np, in of_changeset_add_prop_string()
[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/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
117 struct device_node *np = dev->dev->of_node; in mt76_get_of_data_from_nvmem() local
149 struct device_node *np = dev->dev->of_node; in mt76_get_of_eeprom() local
170 struct device_node *np = dev->dev->of_node; in mt76_eeprom_override() local
200 struct device_node *np = dev->dev->of_node; in mt76_find_power_limits_node() local
239 mt76_get_of_array(struct device_node *np, char *name, size_t *len, int min) in mt76_get_of_array()
252 mt76_find_channel_node(struct device_node *np, struct ieee80211_channel *chan) in mt76_find_channel_node()
279 mt76_get_txs_delta(struct device_node *np, u8 nss) in mt76_get_txs_delta()
343 struct device_node *np; in mt76_get_rate_power_limits() local
/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
/linux/arch/powerpc/kernel/
H A Dlegacy_serial.c33 struct device_node *np; member
75 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

12345678910>>...66