Home
last modified time | relevance | path

Searched defs:np (Results 1 – 200 of 1286) sorted by relevance

1234567

/linux-4.1.27/drivers/net/ethernet/sun/
Dniu.c93 #define niu_lock_parent(np, flags) \ argument
95 #define niu_unlock_parent(np, flags) \ argument
100 static int __niu_wait_bits_clear_mac(struct niu *np, unsigned long reg, in __niu_wait_bits_clear_mac()
115 static int __niu_set_and_wait_clear_mac(struct niu *np, unsigned long reg, in __niu_set_and_wait_clear_mac()
135 static int __niu_wait_bits_clear_ipp(struct niu *np, unsigned long reg, in __niu_wait_bits_clear_ipp()
150 static int __niu_set_and_wait_clear_ipp(struct niu *np, unsigned long reg, in __niu_set_and_wait_clear_ipp()
174 static int __niu_wait_bits_clear(struct niu *np, unsigned long reg, in __niu_wait_bits_clear()
194 static int __niu_set_and_wait_clear(struct niu *np, unsigned long reg, in __niu_set_and_wait_clear()
214 static void niu_ldg_rearm(struct niu *np, struct niu_ldg *lp, int on) in niu_ldg_rearm()
224 static int niu_ldn_irq_enable(struct niu *np, int ldn, int on) in niu_ldn_irq_enable()
[all …]
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
Dsym_nvram.c50 void sym_nvram_setup_host(struct Scsi_Host *shost, struct sym_hcb *np, struct sym_nvram *nvram) in sym_nvram_setup_host()
156 static void sym_display_Symbios_nvram(struct sym_device *np, Symbios_nvram *nvram) in sym_display_Symbios_nvram()
188 static void sym_display_Tekram_nvram(struct sym_device *np, Tekram_nvram *nvram) in sym_display_Tekram_nvram()
235 static void sym_display_Symbios_nvram(struct sym_device *np, Symbios_nvram *nvram) { (void)np; (voi… in sym_display_Symbios_nvram()
236 static void sym_display_Tekram_nvram(struct sym_device *np, Tekram_nvram *nvram) { (void)np; (void)… in sym_display_Tekram_nvram()
256 static void S24C16_set_bit(struct sym_device *np, u_char write_bit, u_char *gpreg, in S24C16_set_bit()
283 static void S24C16_start(struct sym_device *np, u_char *gpreg) in S24C16_start()
294 static void S24C16_stop(struct sym_device *np, u_char *gpreg) in S24C16_stop()
304 static void S24C16_do_bit(struct sym_device *np, u_char *read_bit, u_char write_bit, in S24C16_do_bit()
319 static void S24C16_write_ack(struct sym_device *np, u_char write_bit, u_char *gpreg, in S24C16_write_ack()
[all …]
Dsym_hipd.c81 static void sym_print_nego_msg(struct sym_hcb *np, int target, char *label, u_char *msg) in sym_print_nego_msg()
133 static void sym_chip_reset (struct sym_hcb *np) in sym_chip_reset()
152 static void sym_soft_reset (struct sym_hcb *np) in sym_soft_reset()
185 static void sym_start_reset(struct sym_hcb *np) in sym_start_reset()
190 int sym_reset_scsi_bus(struct sym_hcb *np, int enab_int) in sym_reset_scsi_bus()
245 static void sym_selectclock(struct sym_hcb *np, u_char scntl3) in sym_selectclock()
302 static unsigned getfreq (struct sym_hcb *np, int gen) in getfreq()
374 static unsigned sym_getfreq (struct sym_hcb *np) in sym_getfreq()
389 static void sym_getclock (struct sym_hcb *np, int mult) in sym_getclock()
446 static int sym_getpciclock (struct sym_hcb *np)
[all …]
Dsym_glue.c140 void sym_xpt_done(struct sym_hcb *np, struct scsi_cmnd *cmd) in sym_xpt_done()
155 void sym_xpt_async_bus_reset(struct sym_hcb *np) in sym_xpt_async_bus_reset()
187 void sym_set_cam_result_error(struct sym_hcb *np, struct sym_ccb *cp, int resid) in sym_set_cam_result_error()
258 static int sym_scatter(struct sym_hcb *np, struct sym_ccb *cp, struct scsi_cmnd *cmd) in sym_scatter()
300 static int sym_queue_command(struct sym_hcb *np, struct scsi_cmnd *cmd) in sym_queue_command()
332 static inline int sym_setup_cdb(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) in sym_setup_cdb()
345 int sym_setup_data_and_start(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) in sym_setup_data_and_start()
443 static void sym_timer(struct sym_hcb *np) in sym_timer()
511 struct sym_hcb *np = SYM_SOFTC_PTR(cmd); in sym53c8xx_queue_command_lck() local
570 struct sym_hcb *np = (struct sym_hcb *)npref; in sym53c8xx_timer() local
[all …]
Dsym_fw.c109 struct sym_hcb *np = sym_get_hcb(shost); in sym_fw1_patch() local
153 struct sym_hcb *np = sym_data->ncb; in sym_fw2_patch() local
258 sym_fw_setup_bus_addresses(struct sym_hcb *np, struct sym_fw *fw) in sym_fw_setup_bus_addresses()
295 sym_fw1_setup(struct sym_hcb *np, struct sym_fw *fw) in sym_fw1_setup()
319 sym_fw2_setup(struct sym_hcb *np, struct sym_fw *fw) in sym_fw2_setup()
365 void sym_fw_bind_script(struct sym_hcb *np, u32 *start, int len) in sym_fw_bind_script()
Dsym_hipd.h197 #define INB_OFF(np, o) ioread8(np->s.ioaddr + (o)) argument
198 #define INW_OFF(np, o) ioread16(np->s.ioaddr + (o)) argument
199 #define INL_OFF(np, o) ioread32(np->s.ioaddr + (o)) argument
201 #define OUTB_OFF(np, o, val) iowrite8((val), np->s.ioaddr + (o)) argument
202 #define OUTW_OFF(np, o, val) iowrite16((val), np->s.ioaddr + (o)) argument
203 #define OUTL_OFF(np, o, val) iowrite32((val), np->s.ioaddr + (o)) argument
205 #define INB(np, r) INB_OFF(np, offsetof(struct sym_reg, r)) argument
206 #define INW(np, r) INW_OFF(np, offsetof(struct sym_reg, r)) argument
207 #define INL(np, r) INL_OFF(np, offsetof(struct sym_reg, r)) argument
209 #define OUTB(np, r, v) OUTB_OFF(np, offsetof(struct sym_reg, r), (v)) argument
[all …]
Dsym_fw.h165 #define SCRIPTA_BA(np, label) (np->fwa_bas.label) argument
166 #define SCRIPTB_BA(np, label) (np->fwb_bas.label) argument
167 #define SCRIPTZ_BA(np, label) (np->fwz_bas.label) argument
/linux-4.1.27/drivers/of/
Dbase.c57 int of_n_addr_cells(struct device_node *np) in of_n_addr_cells()
73 int of_n_size_cells(struct device_node *np) in of_n_size_cells()
90 int __weak of_node_to_nid(struct device_node *np) in of_node_to_nid()
135 int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs()
159 int __of_attach_node_sysfs(struct device_node *np) in __of_attach_node_sysfs()
194 struct device_node *np; in of_core_init() local
213 static struct property *__of_find_property(const struct device_node *np, in __of_find_property()
232 struct property *of_find_property(const struct device_node *np, in of_find_property()
249 struct device_node *np; in __of_find_all_nodes() local
274 struct device_node *np; in of_find_all_nodes() local
[all …]
Dof_mtd.c35 int of_get_nand_ecc_mode(struct device_node *np) in of_get_nand_ecc_mode()
59 int of_get_nand_ecc_step_size(struct device_node *np) in of_get_nand_ecc_step_size()
76 int of_get_nand_ecc_strength(struct device_node *np) in of_get_nand_ecc_strength()
92 int of_get_nand_bus_width(struct device_node *np) in of_get_nand_bus_width()
115 bool of_get_nand_on_flash_bbt(struct device_node *np) in of_get_nand_on_flash_bbt()
Dunittest.c49 struct device_node *np; in of_unittest_find_node_by_name() local
140 struct device_node *np; in of_unittest_dynamic() local
199 static int __init of_unittest_check_node_linkage(struct device_node *np) in of_unittest_check_node_linkage()
222 struct device_node *np; in of_unittest_check_tree_linkage() local
241 struct device_node *np; member
247 struct device_node *np; in of_unittest_check_phandles() local
285 struct device_node *np; in of_unittest_parse_phandle_with_args() local
389 struct device_node *np; in of_unittest_property_string() local
498 struct device_node *n1, *n2, *n21, *nremove, *parent, *np; in of_unittest_changeset() local
548 struct device_node *np; in of_unittest_parse_interrupts() local
[all …]
Dof_net.c22 int of_get_phy_mode(struct device_node *np) in of_get_phy_mode()
41 static const void *of_get_mac_addr(struct device_node *np, const char *name) in of_get_mac_addr()
68 const void *of_get_mac_address(struct device_node *np) in of_get_mac_address()
Ddynamic.c44 void __of_detach_node_sysfs(struct device_node *np) in __of_detach_node_sysfs()
202 int of_property_notify(int action, struct device_node *np, in of_property_notify()
217 void __of_attach_node(struct device_node *np) in __of_attach_node()
241 int of_attach_node(struct device_node *np) in of_attach_node()
262 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()
406 struct device_node *__of_node_dup(const struct device_node *np, const char *fmt, ...) in __of_node_dup()
761 struct device_node *np, struct property *prop) in of_changeset_action()
Dof_mdio.c91 int of_mdio_parse_addr(struct device *dev, const struct device_node *np) in of_mdio_parse_addr()
121 int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np) in of_mdiobus_register()
263 bool of_phy_is_fixed_link(struct device_node *np) in of_phy_is_fixed_link()
289 int of_phy_register_fixed_link(struct device_node *np) in of_phy_register_fixed_link()
Dplatform.c46 struct platform_device *of_find_device_by_node(struct device_node *np) in of_find_device_by_node()
105 struct platform_device *of_device_alloc(struct device_node *np, in of_device_alloc()
169 struct device_node *np, in of_platform_device_create_pdata()
210 struct platform_device *of_platform_device_create(struct device_node *np, in of_platform_device_create()
296 struct device_node *np) in of_dev_lookup()
Daddress.c101 static int of_bus_pci_match(struct device_node *np) in of_bus_pci_match()
112 static void of_bus_pci_count_cells(struct device_node *np, in of_bus_pci_count_cells()
314 struct device_node *np, struct resource *res) in of_pci_range_to_resource()
349 static int of_bus_isa_match(struct device_node *np) in of_bus_isa_match()
442 static struct of_bus *of_match_bus(struct device_node *np) in of_match_bus()
453 static int of_empty_ranges_quirk(struct device_node *np) in of_empty_ranges_quirk()
866 void __iomem *of_iomap(struct device_node *np, int index) in of_iomap()
891 void __iomem *of_io_request_and_map(struct device_node *np, int index, in of_io_request_and_map()
930 int of_dma_get_range(struct device_node *np, u64 *dma_addr, u64 *paddr, u64 *size) in of_dma_get_range()
1007 bool of_dma_is_coherent(struct device_node *np) in of_dma_is_coherent()
Dof_private.h29 struct device_node *np; member
49 static inline int of_property_notify(int action, struct device_node *np, in of_property_notify()
/linux-4.1.27/drivers/char/hw_random/
Dn2-drv.c146 static unsigned long n2rng_control_settle_v2(struct n2rng *np, int unit) in n2rng_control_settle_v2()
153 static unsigned long n2rng_write_ctl_one(struct n2rng *np, int unit, in n2rng_write_ctl_one()
200 static unsigned long n2rng_read_diag_data_one(struct n2rng *np, in n2rng_read_diag_data_one()
219 static int n2rng_generic_read_diag_data(struct n2rng *np, in n2rng_generic_read_diag_data()
248 static int n2rng_generic_write_control(struct n2rng *np, in n2rng_generic_write_control()
278 static int n2rng_try_read_ctl(struct n2rng *np) in n2rng_try_read_ctl()
326 static void n2rng_control_swstate_init(struct n2rng *np) in n2rng_control_swstate_init()
348 static int n2rng_grab_diag_control(struct n2rng *np) in n2rng_grab_diag_control()
370 static int n2rng_init_control(struct n2rng *np) in n2rng_init_control()
389 struct n2rng *np = (struct n2rng *) rng->priv; in n2rng_data_read() local
[all …]
/linux-4.1.27/include/linux/
Dof_mtd.h23 static inline int of_get_nand_ecc_mode(struct device_node *np) in of_get_nand_ecc_mode()
28 static inline int of_get_nand_ecc_step_size(struct device_node *np) in of_get_nand_ecc_step_size()
33 static inline int of_get_nand_ecc_strength(struct device_node *np) in of_get_nand_ecc_strength()
38 static inline int of_get_nand_bus_width(struct device_node *np) in of_get_nand_bus_width()
43 static inline bool of_get_nand_on_flash_bbt(struct device_node *np) in of_get_nand_on_flash_bbt()
Dof.h73 struct device_node *np; member
233 static inline const char *of_node_full_name(const struct device_node *np) in of_node_full_name()
395 static inline const char* of_node_full_name(const struct device_node *np) in of_node_full_name()
482 static inline struct property *of_find_property(const struct device_node *np, in of_find_property()
497 static inline int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size()
503 static inline int of_property_read_u32_index(const struct device_node *np, in of_property_read_u32_index()
509 static inline int of_property_read_u8_array(const struct device_node *np, in of_property_read_u8_array()
515 static inline int of_property_read_u16_array(const struct device_node *np, in of_property_read_u16_array()
521 static inline int of_property_read_u32_array(const struct device_node *np, in of_property_read_u32_array()
528 static inline int of_property_read_u64_array(const struct device_node *np, in of_property_read_u64_array()
[all …]
Dof_gpio.h66 static inline int of_get_named_gpio_flags(struct device_node *np, in of_get_named_gpio_flags()
104 static inline int of_gpio_named_count(struct device_node *np, const char* propname) in of_gpio_named_count()
115 static inline int of_gpio_count(struct device_node *np) in of_gpio_count()
120 static inline int of_get_gpio_flags(struct device_node *np, int index, in of_get_gpio_flags()
135 static inline int of_get_named_gpio(struct device_node *np, in of_get_named_gpio()
149 static inline int of_get_gpio(struct device_node *np, int index) in of_get_gpio()
Dof_net.h18 static inline int of_get_phy_mode(struct device_node *np) in of_get_phy_mode()
23 static inline const void *of_get_mac_address(struct device_node *np) in of_get_mac_address()
28 static inline struct net_device *of_find_net_device_by_node(struct device_node *np) in of_find_net_device_by_node()
Dof_mdio.h30 static inline int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np) in of_mdiobus_register()
66 const struct device_node *np) in of_mdio_parse_addr()
76 static inline int of_phy_register_fixed_link(struct device_node *np) in of_phy_register_fixed_link()
80 static inline bool of_phy_is_fixed_link(struct device_node *np) in of_phy_is_fixed_link()
Dof_dma.h47 static inline int of_dma_controller_register(struct device_node *np, in of_dma_controller_register()
55 static inline void of_dma_controller_free(struct device_node *np) in of_dma_controller_free()
59 static inline struct dma_chan *of_dma_request_slave_channel(struct device_node *np, in of_dma_request_slave_channel()
Dcpu_cooling.h50 of_cpufreq_cooling_register(struct device_node *np, in of_cpufreq_cooling_register()
71 of_cpufreq_cooling_register(struct device_node *np, in of_cpufreq_cooling_register()
Dof_address.h11 int np; member
92 static inline int of_dma_get_range(struct device_node *np, u64 *dma_addr, in of_dma_get_range()
98 static inline bool of_dma_is_coherent(struct device_node *np) in of_dma_is_coherent()
153 struct device_node *np, in of_pci_range_to_resource()
/linux-4.1.27/drivers/net/ethernet/dlink/
Ddl2k.c60 static void dl2k_enable_int(struct netdev_private *np) in dl2k_enable_int()
117 struct netdev_private *np; in rio_probe1() local
315 struct netdev_private *np = netdev_priv(dev); in find_miiphy() local
337 struct netdev_private *np = netdev_priv(dev); in parse_eeprom() local
412 struct netdev_private *np = netdev_priv(dev); in rio_open() local
492 struct netdev_private *np = netdev_priv(dev); in rio_timer() local
535 struct netdev_private *np = netdev_priv(dev); in rio_tx_timeout() local
549 struct netdev_private *np = netdev_priv(dev); in alloc_list() local
602 struct netdev_private *np = netdev_priv(dev); in start_xmit() local
671 struct netdev_private *np = netdev_priv(dev); in rio_interrupt() local
[all …]
Dsundance.c455 struct netdev_private *np = netdev_priv(dev); in sundance_reset() local
475 struct netdev_private *np = netdev_priv(dev); in sundance_poll_controller() local
503 struct netdev_private *np; in sundance_probe1() local
772 struct netdev_private *np = netdev_priv(dev); in mdio_read() local
802 struct netdev_private *np = netdev_priv(dev); in mdio_write() local
832 struct netdev_private *np; in mdio_wait_link() local
848 struct netdev_private *np = netdev_priv(dev); in netdev_open() local
928 struct netdev_private *np = netdev_priv(dev); in check_duplex() local
957 struct netdev_private *np = netdev_priv(dev); in netdev_timer() local
974 struct netdev_private *np = netdev_priv(dev); in tx_timeout() local
[all …]
/linux-4.1.27/drivers/clk/samsung/
Dclk-exynos5260.c136 static void __init exynos5260_clk_aud_init(struct device_node *np) in exynos5260_clk_aud_init()
326 static void __init exynos5260_clk_disp_init(struct device_node *np) in exynos5260_clk_disp_init()
390 static void __init exynos5260_clk_egl_init(struct device_node *np) in exynos5260_clk_egl_init()
492 static void __init exynos5260_clk_fsys_init(struct device_node *np) in exynos5260_clk_fsys_init()
581 static void __init exynos5260_clk_g2d_init(struct device_node *np) in exynos5260_clk_g2d_init()
642 static void __init exynos5260_clk_g3d_init(struct device_node *np) in exynos5260_clk_g3d_init()
777 static void __init exynos5260_clk_gscl_init(struct device_node *np) in exynos5260_clk_gscl_init()
896 static void __init exynos5260_clk_isp_init(struct device_node *np) in exynos5260_clk_isp_init()
960 static void __init exynos5260_clk_kfc_init(struct device_node *np) in exynos5260_clk_kfc_init()
1016 static void __init exynos5260_clk_mfc_init(struct device_node *np) in exynos5260_clk_mfc_init()
[all …]
Dclk-exynos7.c177 static void __init exynos7_clk_topc_init(struct device_node *np) in exynos7_clk_topc_init()
356 static void __init exynos7_clk_top0_init(struct device_node *np) in exynos7_clk_top0_init()
488 static void __init exynos7_clk_top1_init(struct device_node *np) in exynos7_clk_top1_init()
533 static void __init exynos7_clk_ccore_init(struct device_node *np) in exynos7_clk_ccore_init()
600 static void __init exynos7_clk_peric0_init(struct device_node *np) in exynos7_clk_peric0_init()
724 static void __init exynos7_clk_peric1_init(struct device_node *np) in exynos7_clk_peric1_init()
779 static void __init exynos7_clk_peris_init(struct device_node *np) in exynos7_clk_peris_init()
888 static void __init exynos7_clk_fsys0_init(struct device_node *np) in exynos7_clk_fsys0_init()
939 static void __init exynos7_clk_fsys1_init(struct device_node *np) in exynos7_clk_fsys1_init()
1052 static void __init exynos7_clk_mscl_init(struct device_node *np) in exynos7_clk_mscl_init()
[all …]
Dclk-s3c2410.c365 void __init s3c2410_common_clk_init(struct device_node *np, unsigned long xti_f, in s3c2410_common_clk_init()
473 static void __init s3c2410_clk_init(struct device_node *np) in s3c2410_clk_init()
479 static void __init s3c2440_clk_init(struct device_node *np) in s3c2440_clk_init()
485 static void __init s3c2442_clk_init(struct device_node *np) in s3c2442_clk_init()
Dclk-s3c2443.c390 void __init s3c2443_common_clk_init(struct device_node *np, unsigned long xti_f, in s3c2443_common_clk_init()
471 static void __init s3c2416_clk_init(struct device_node *np) in s3c2416_clk_init()
477 static void __init s3c2443_clk_init(struct device_node *np) in s3c2443_clk_init()
483 static void __init s3c2450_clk_init(struct device_node *np) in s3c2450_clk_init()
Dclk-exynos5433.c814 static void __init exynos5433_cmu_top_init(struct device_node *np) in exynos5433_cmu_top_init()
883 static void __init exynos5433_cmu_cpif_init(struct device_node *np) in exynos5433_cmu_cpif_init()
1547 static void __init exynos5433_cmu_mif_init(struct device_node *np) in exynos5433_cmu_mif_init()
1737 static void __init exynos5433_cmu_peric_init(struct device_node *np) in exynos5433_cmu_peric_init()
1929 static void __init exynos5433_cmu_peris_init(struct device_node *np) in exynos5433_cmu_peris_init()
2339 static void __init exynos5433_cmu_fsys_init(struct device_node *np) in exynos5433_cmu_fsys_init()
2465 static void __init exynos5433_cmu_g2d_init(struct device_node *np) in exynos5433_cmu_g2d_init()
2891 static void __init exynos5433_cmu_disp_init(struct device_node *np) in exynos5433_cmu_disp_init()
3064 static void __init exynos5433_cmu_aud_init(struct device_node *np) in exynos5433_cmu_aud_init()
3353 static void __init exynos5433_cmu_g3d_init(struct device_node *np) in exynos5433_cmu_g3d_init()
[all …]
Dclk-s3c64xx.c459 void __init s3c64xx_clk_init(struct device_node *np, unsigned long xtal_f, in s3c64xx_clk_init()
530 static void __init s3c6400_clk_init(struct device_node *np) in s3c6400_clk_init()
536 static void __init s3c6410_clk_init(struct device_node *np) in s3c6410_clk_init()
Dclk-s3c2412.c256 void __init s3c2412_common_clk_init(struct device_node *np, unsigned long xti_f, in s3c2412_common_clk_init()
301 static void __init s3c2412_clk_init(struct device_node *np) in s3c2412_clk_init()
Dclk.c55 struct samsung_clk_provider *__init samsung_clk_init(struct device_node *np, in samsung_clk_init()
81 void __init samsung_clk_of_add_provider(struct device_node *np, in samsung_clk_of_add_provider()
378 struct device_node *np, in samsung_cmu_register_one()
/linux-4.1.27/include/linux/usb/
Dof.h19 static inline enum usb_dr_mode of_usb_get_dr_mode(struct device_node *np) in of_usb_get_dr_mode()
25 of_usb_get_maximum_speed(struct device_node *np) in of_usb_get_maximum_speed()
29 static inline bool of_usb_host_tpl_support(struct device_node *np) in of_usb_host_tpl_support()
38 static inline enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np) in of_usb_get_phy_mode()
/linux-4.1.27/drivers/net/ethernet/dec/tulip/
Dwinbond-840.c364 struct netdev_private *np; in w840_probe1() local
569 struct netdev_private *np = netdev_priv(dev); in mdio_read() local
599 struct netdev_private *np = netdev_priv(dev); in mdio_write() local
631 struct netdev_private *np = netdev_priv(dev); in netdev_open() local
674 struct netdev_private *np = netdev_priv(dev); in update_link() local
740 struct netdev_private *np = netdev_priv(dev); in update_csr6() local
781 struct netdev_private *np = netdev_priv(dev); in netdev_timer() local
797 struct netdev_private *np = netdev_priv(dev); in init_rxtx_rings() local
842 static void free_rxtx_rings(struct netdev_private* np) in free_rxtx_rings()
871 struct netdev_private *np = netdev_priv(dev); in init_registers() local
[all …]
/linux-4.1.27/net/core/
Dnetpoll.c65 #define np_info(np, fmt, ...) \ argument
67 #define np_err(np, fmt, ...) \ argument
69 #define np_notice(np, fmt, ...) \ argument
280 static struct sk_buff *find_skb(struct netpoll *np, int len, int reserve) in find_skb()
318 void netpoll_send_skb_on_dev(struct netpoll *np, struct sk_buff *skb, in netpoll_send_skb_on_dev()
373 void netpoll_send_udp(struct netpoll *np, const char *msg, int len) in netpoll_send_udp()
474 void netpoll_print_options(struct netpoll *np) in netpoll_print_options()
511 int netpoll_parse_options(struct netpoll *np, char *opt) in netpoll_parse_options()
593 int __netpoll_setup(struct netpoll *np, struct net_device *ndev) in __netpoll_setup()
649 int netpoll_setup(struct netpoll *np) in netpoll_setup()
[all …]
/linux-4.1.27/drivers/isdn/capi/
Dcapilib.c31 static inline void mq_init(struct capilib_ncci *np) in mq_init()
45 static inline int mq_enqueue(struct capilib_ncci *np, u16 msgid) in mq_enqueue()
62 static inline int mq_dequeue(struct capilib_ncci *np, u16 msgid) in mq_dequeue()
82 struct capilib_ncci *np; in capilib_new_ncci() local
107 struct capilib_ncci *np; in capilib_free_ncci() local
128 struct capilib_ncci *np; in capilib_release_appl() local
145 struct capilib_ncci *np; in capilib_release() local
160 struct capilib_ncci *np; in capilib_data_b3_req() local
183 struct capilib_ncci *np; in capilib_data_b3_conf() local
Dcapi.c294 static void capincci_alloc_minor(struct capidev *cdev, struct capincci *np) in capincci_alloc_minor()
300 static void capincci_free_minor(struct capincci *np) in capincci_free_minor()
316 static inline unsigned int capincci_minor_opencount(struct capincci *np) in capincci_minor_opencount()
335 capincci_alloc_minor(struct capidev *cdev, struct capincci *np) { } in capincci_alloc_minor()
336 static inline void capincci_free_minor(struct capincci *np) { } in capincci_free_minor()
342 struct capincci *np; in capincci_alloc() local
359 struct capincci *np, *tmp; in capincci_free() local
372 struct capincci *np; in capincci_find() local
574 struct capincci *np; in capi_recv_message() local
1363 struct capincci *np; in capi20ncci_proc_show() local
/linux-4.1.27/drivers/net/ethernet/natsemi/
Dnatsemi.c670 struct netdev_private *np = netdev_priv(to_net_dev(dev)); in natsemi_show_dspcfg_workaround() local
679 struct netdev_private *np = netdev_priv(to_net_dev(dev)); in natsemi_set_dspcfg_workaround() local
703 struct netdev_private *np = netdev_priv(dev); in ns_ioaddr() local
722 struct netdev_private *np = netdev_priv(dev); in move_int_phy() local
747 struct netdev_private *np = netdev_priv(dev); in natsemi_init_media() local
803 struct netdev_private *np; in natsemi_probe1() local
1115 struct netdev_private *np = netdev_priv(dev); in mdio_read() local
1130 struct netdev_private *np = netdev_priv(dev); in mdio_write() local
1142 struct netdev_private *np = netdev_priv(dev); in init_phy_fixup() local
1255 struct netdev_private *np = netdev_priv(dev); in switch_port_external() local
[all …]
/linux-4.1.27/drivers/net/cris/
Deth_v10.c288 struct net_local* np; in etrax_ethernet_init() local
423 struct net_local *np = netdev_priv(dev); in e100_set_mac_address() local
641 struct net_local *np = netdev_priv(dev); in generic_check_speed() local
655 struct net_local *np = netdev_priv(dev); in tdk_check_speed() local
666 struct net_local *np = netdev_priv(dev); in broadcom_check_speed() local
677 struct net_local *np = netdev_priv(dev); in intel_check_speed() local
688 struct net_local *np = netdev_priv(dev); in e100_check_speed() local
723 struct net_local *np = netdev_priv(dev); in e100_negotiate() local
793 struct net_local *np = netdev_priv(dev); in e100_set_speed() local
807 struct net_local *np = netdev_priv(dev); in e100_check_duplex() local
[all …]
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c461 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_get_settings() local
543 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_set_settings() local
701 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_nway_reset() local
724 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_get_pauseparam() local
759 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_set_pauseparam() local
849 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_get_msglevel() local
857 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_set_msglevel() local
879 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_get_regs() local
910 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_get_eeprom() local
1003 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_get_eeprom_len() local
[all …]
Di40e_fcoe.c253 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_fcoe_ddp_put() local
425 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_fcoe_enable() local
454 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_fcoe_disable() local
820 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_fcoe_ddp_setup() local
1357 struct i40e_netdev_priv *np = netdev_priv(skb->dev); in i40e_fcoe_xmit_frame() local
1437 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_fcoe_set_features() local
/linux-4.1.27/arch/powerpc/sysdev/
Dmv64x60_dev.c34 static int __init mv64x60_mpsc_register_shared_pdev(struct device_node *np) in mv64x60_mpsc_register_shared_pdev()
89 static int __init mv64x60_mpsc_device_setup(struct device_node *np, int id) in mv64x60_mpsc_device_setup()
214 struct device_node *np, int id) in mv64x60_eth_register_shared_pdev()
241 static int __init mv64x60_eth_device_setup(struct device_node *np, int id, in mv64x60_eth_device_setup()
338 static int __init mv64x60_i2c_device_setup(struct device_node *np, int id) in mv64x60_i2c_device_setup()
394 static int __init mv64x60_wdt_device_setup(struct device_node *np, int id) in mv64x60_wdt_device_setup()
445 struct device_node *np, *np2; in mv64x60_device_setup() local
512 struct device_node *np = NULL; in mv64x60_add_mpsc_console() local
Dppc4xx_pci.c99 int np = pna + 5; in ppc4xx_parse_dma_ranges() local
323 static void __init ppc4xx_probe_pci_bridge(struct device_node *np) in ppc4xx_probe_pci_bridge()
530 static void __init ppc4xx_probe_pcix_bridge(struct device_node *np) in ppc4xx_probe_pcix_bridge()
735 static int __init ppc440spe_pciex_check_reset(struct device_node *np) in ppc440spe_pciex_check_reset()
810 static int __init ppc440spe_pciex_core_init(struct device_node *np) in ppc440spe_pciex_core_init()
947 static int __init ppc460ex_pciex_core_init(struct device_node *np) in ppc460ex_pciex_core_init()
1058 static int __init apm821xx_pciex_core_init(struct device_node *np) in apm821xx_pciex_core_init()
1126 static int __init ppc460sx_pciex_core_init(struct device_node *np) in ppc460sx_pciex_core_init()
1278 static int __init ppc405ex_pciex_core_init(struct device_node *np) in ppc405ex_pciex_core_init()
1373 static int __init ppc_476fpe_pciex_core_init(struct device_node *np) in ppc_476fpe_pciex_core_init()
[all …]
Dppc4xx_soc.c76 struct device_node *np; in ppc4xx_l2c_probe() local
200 struct device_node *np; in ppc4xx_reset_system() local
Dmv64x60_pci.c85 struct device_node *np; in mv64x60_sysfs_init() local
167 struct device_node *np; in mv64x60_pci_init() local
Dsimple_gpio.c88 static int __init u8_simple_gpiochip_add(struct device_node *np) in u8_simple_gpiochip_add()
122 struct device_node *np; in simple_gpiochip_init() local
Dmpc5xxx_clocks.c16 struct device_node *np; in mpc5xxx_get_bus_frequency() local
Drtc_cmos_setup.c22 struct device_node *np; in add_rtc() local
Ddcr.c128 unsigned int dcr_resource_start(const struct device_node *np, in dcr_resource_start()
141 unsigned int dcr_resource_len(const struct device_node *np, unsigned int index) in dcr_resource_len()
/linux-4.1.27/drivers/video/
Dof_display_timing.c26 static int parse_timing_property(const struct device_node *np, const char *name, in parse_timing_property()
59 static int of_parse_display_timing(const struct device_node *np, in of_parse_display_timing()
113 int of_get_display_timing(struct device_node *np, const char *name, in of_get_display_timing()
136 struct display_timings *of_get_display_timings(struct device_node *np) in of_get_display_timings()
251 int of_display_timings_exist(struct device_node *np) in of_display_timings_exist()
Dof_videomode.c31 int of_get_videomode(struct device_node *np, struct videomode *vm, in of_get_videomode()
/linux-4.1.27/drivers/clk/at91/
Dpmc.c45 int of_at91_get_clk_range(struct device_node *np, const char *propname, in of_at91_get_clk_range()
218 static struct at91_pmc *__init at91_pmc_init(struct device_node *np, in at91_pmc_init()
376 static void __init of_at91_pmc_setup(struct device_node *np, in of_at91_pmc_setup()
405 static void __init of_at91rm9200_pmc_setup(struct device_node *np) in of_at91rm9200_pmc_setup()
412 static void __init of_at91sam9260_pmc_setup(struct device_node *np) in of_at91sam9260_pmc_setup()
419 static void __init of_at91sam9g45_pmc_setup(struct device_node *np) in of_at91sam9g45_pmc_setup()
426 static void __init of_at91sam9n12_pmc_setup(struct device_node *np) in of_at91sam9n12_pmc_setup()
433 static void __init of_at91sam9x5_pmc_setup(struct device_node *np) in of_at91sam9x5_pmc_setup()
440 static void __init of_sama5d3_pmc_setup(struct device_node *np) in of_sama5d3_pmc_setup()
Dclk-master.c191 of_at91_clk_master_get_characteristics(struct device_node *np) in of_at91_clk_master_get_characteristics()
216 of_at91_clk_master_setup(struct device_node *np, struct at91_pmc *pmc, in of_at91_clk_master_setup()
260 void __init of_at91rm9200_clk_master_setup(struct device_node *np, in of_at91rm9200_clk_master_setup()
266 void __init of_at91sam9x5_clk_master_setup(struct device_node *np, in of_at91sam9x5_clk_master_setup()
Dclk-programmable.c228 of_at91_clk_prog_setup(struct device_node *np, struct at91_pmc *pmc, in of_at91_clk_prog_setup()
272 void __init of_at91rm9200_clk_prog_setup(struct device_node *np, in of_at91rm9200_clk_prog_setup()
278 void __init of_at91sam9g45_clk_prog_setup(struct device_node *np, in of_at91sam9g45_clk_prog_setup()
284 void __init of_at91sam9x5_clk_prog_setup(struct device_node *np, in of_at91sam9x5_clk_prog_setup()
Dclk-pll.c386 of_at91_clk_pll_get_characteristics(struct device_node *np) in of_at91_clk_pll_get_characteristics()
482 of_at91_clk_pll_setup(struct device_node *np, struct at91_pmc *pmc, in of_at91_clk_pll_setup()
519 void __init of_at91rm9200_clk_pll_setup(struct device_node *np, in of_at91rm9200_clk_pll_setup()
525 void __init of_at91sam9g45_clk_pll_setup(struct device_node *np, in of_at91sam9g45_clk_pll_setup()
531 void __init of_at91sam9g20_clk_pllb_setup(struct device_node *np, in of_at91sam9g20_clk_pllb_setup()
537 void __init of_sama5d3_clk_pll_setup(struct device_node *np, in of_sama5d3_clk_pll_setup()
Dclk-plldiv.c112 of_at91_clk_plldiv_setup(struct device_node *np, struct at91_pmc *pmc) in of_at91_clk_plldiv_setup()
131 void __init of_at91sam9x5_clk_plldiv_setup(struct device_node *np, in of_at91sam9x5_clk_plldiv_setup()
Dsckc.c38 static void __init of_at91sam9x5_sckc_setup(struct device_node *np) in of_at91sam9x5_sckc_setup()
Dclk-utmi.c132 of_at91_clk_utmi_setup(struct device_node *np, struct at91_pmc *pmc) in of_at91_clk_utmi_setup()
155 void __init of_at91sam9x5_clk_utmi_setup(struct device_node *np, in of_at91sam9x5_clk_utmi_setup()
/linux-4.1.27/drivers/cpufreq/
Darm_big_little_dt.c36 struct device_node *np = of_cpu_device_node_get(cpu); in get_cpu_node_with_valid_op() local
48 struct device_node *np; in dt_init_opp_table() local
65 struct device_node *np; in dt_get_transition_latency() local
90 struct device_node *np; in generic_bL_probe() local
Dqoriq-cpufreq.c104 struct device_node *np, *clk_np; in cpu_to_clk_node() local
125 struct device_node *np, *clk_np; in set_affected_cpus() local
199 struct device_node *np; in qoriq_cpufreq_cpu_init() local
338 struct device_node *np; in qoriq_cpufreq_init() local
/linux-4.1.27/arch/powerpc/kernel/
Dlegacy_serial.c31 struct device_node *np; member
72 static int __init add_legacy_port(struct device_node *np, int want_index, in add_legacy_port()
161 static int __init add_legacy_soc_port(struct device_node *np, in add_legacy_soc_port()
202 static int __init add_legacy_isa_port(struct device_node *np, in add_legacy_isa_port()
250 static int __init add_legacy_pci_port(struct device_node *np, in add_legacy_pci_port()
365 struct device_node *np, *stdout = NULL; in find_legacy_serial_ports() local
457 struct device_node *np, in fixup_port_irq()
484 struct device_node *np, in fixup_port_pio()
508 struct device_node *np, in fixup_port_mmio()
544 struct device_node *np = legacy_serial_infos[i].np; in serial_dev_init() local
Dsetup-common.c558 struct device_node *np; in add_pcspkr() local
614 struct device_node *parent, *np = NULL; in check_legacy_ioport() local
705 struct device_node *np; in check_cache_coherency() local
/linux-4.1.27/drivers/net/ethernet/nvidia/
Dforcedeth.c964 static bool nv_optimized(struct fe_priv *np) in nv_optimized()
1001 struct fe_priv *np = get_nvpriv(dev); in setup_hw_rings() local
1023 struct fe_priv *np = get_nvpriv(dev); in free_rings() local
1040 struct fe_priv *np = get_nvpriv(dev); in using_multi_irqs() local
1052 struct fe_priv *np = get_nvpriv(dev); in nv_txrx_gate() local
1069 struct fe_priv *np = get_nvpriv(dev); in nv_enable_irq() local
1085 struct fe_priv *np = get_nvpriv(dev); in nv_disable_irq() local
1109 struct fe_priv *np = get_nvpriv(dev); in nv_disable_hw_interrupts() local
1123 struct fe_priv *np = get_nvpriv(dev); in nv_napi_enable() local
1130 struct fe_priv *np = get_nvpriv(dev); in nv_napi_disable() local
[all …]
/linux-4.1.27/drivers/clk/pistachio/
Dclk-pistachio.c173 static void __init pistachio_clk_init(struct device_node *np) in pistachio_clk_init()
256 static void __init pistachio_clk_periph_init(struct device_node *np) in pistachio_clk_periph_init()
303 static void __init pistachio_cr_periph_init(struct device_node *np) in pistachio_cr_periph_init()
324 static void __init pistachio_cr_top_init(struct device_node *np) in pistachio_cr_top_init()
/linux-4.1.27/include/video/
Dof_display_timing.h24 static inline int of_get_display_timing(struct device_node *np, const char *name, in of_get_display_timing()
29 static inline struct display_timings *of_get_display_timings(struct device_node *np) in of_get_display_timings()
33 static inline int of_display_timings_exist(struct device_node *np) in of_display_timings_exist()
/linux-4.1.27/drivers/iommu/
Dof_iommu.c100 struct device_node *np; member
106 void of_iommu_set_ops(struct device_node *np, struct iommu_ops *ops) in of_iommu_set_ops()
121 struct iommu_ops *of_iommu_get_ops(struct device_node *np) in of_iommu_get_ops()
140 struct device_node *np; in of_iommu_configure() local
176 struct device_node *np; in of_iommu_init() local
/linux-4.1.27/arch/powerpc/platforms/512x/
Dmpc512x_shared.c38 struct device_node *np; in mpc512x_restart_init() local
75 struct device_node *np; in mpc512x_set_pixel_clock() local
223 struct device_node *np; in mpc512x_init_diu() local
320 struct device_node *np; in mpc512x_init_IRQ() local
381 static unsigned int __init get_fifo_size(struct device_node *np, in get_fifo_size()
402 struct device_node *np; in mpc512x_psc_fifo_init() local
494 struct device_node *np; in mpc512x_cs_config() local
/linux-4.1.27/arch/powerpc/platforms/cell/
Dcbe_regs.c51 static struct cbe_regs_map *cbe_find_map(struct device_node *np) in cbe_find_map()
81 struct cbe_pmd_regs __iomem *cbe_get_pmd_regs(struct device_node *np) in cbe_get_pmd_regs()
99 struct cbe_pmd_shadow_regs *cbe_get_pmd_shadow_regs(struct device_node *np) in cbe_get_pmd_shadow_regs()
115 struct cbe_iic_regs __iomem *cbe_get_iic_regs(struct device_node *np) in cbe_get_iic_regs()
131 struct cbe_mic_tm_regs __iomem *cbe_get_mic_tm_regs(struct device_node *np) in cbe_get_mic_tm_regs()
169 struct device_node *np; in cbe_get_be_node() local
195 struct device_node *be, *np; in cbe_fill_regs_map() local
Diommu.c271 struct device_node *np; in cell_iommu_find_ioc() local
455 static inline u32 cell_iommu_get_ioid(struct device_node *np) in cell_iommu_get_ioid()
470 cell_iommu_setup_window(struct cbe_iommu *iommu, struct device_node *np, in cell_iommu_setup_window()
700 static int __init cell_iommu_get_window(struct device_node *np, in cell_iommu_get_window()
719 static struct cbe_iommu * __init cell_iommu_alloc(struct device_node *np) in cell_iommu_alloc()
759 static void __init cell_iommu_init_one(struct device_node *np, in cell_iommu_init_one()
813 struct device_node *np = NULL; in cell_iommu_init_disabled() local
898 struct device_node *np; in cell_iommu_get_fixed_address() local
1001 struct device_node *np, unsigned long dbase, unsigned long dsize, in cell_iommu_setup_fixed_ptab()
1040 struct device_node *np; in cell_iommu_fixed_mapping_init() local
[all …]
Dspu_manage.c80 struct device_node *np) in spu_map_interrupts_old()
178 static int __init spu_map_interrupts(struct spu *spu, struct device_node *np) in spu_map_interrupts()
214 struct device_node *np = spu->devnode; in spu_map_resource() local
233 struct device_node *np = spu->devnode; in spu_map_device() local
Dsetup.c124 struct device_node *np; in cell_setup_phb() local
161 struct device_node *np; in cell_publish_devices() local
/linux-4.1.27/drivers/net/fddi/skfp/
Dpcmplc.c240 int np ; in pcm_init() local
536 int np = phy->np ; /* PHY index */ in plc_send_bits() local
595 void pcm(struct s_smc *smc, const int np, int event) in pcm()
677 int np = phy->np ; /* PHY index */ in pcm_fsm() local
1179 int np ; in sm_lem_evaluate() local
1229 static void sm_ph_lem_start(struct s_smc *smc, int np, int threshold) in sm_ph_lem_start()
1247 static void sm_ph_lem_stop(struct s_smc *smc, int np) in sm_ph_lem_stop()
1412 int np = phy->np ; in pc_tcode_actions() local
1608 void pcm_status_state(struct s_smc *smc, int np, int *type, int *state, in pcm_status_state()
1647 void plc_irq(struct s_smc *smc, int np, unsigned int cmd) in plc_irq()
[all …]
/linux-4.1.27/drivers/target/iscsi/
Discsi_target_login.c750 struct iscsi_np *np, in iscsi_post_login_handler()
879 struct iscsi_np *np = (struct iscsi_np *) data; in iscsi_handle_login_thread_timeout() local
897 static void iscsi_start_login_thread_timer(struct iscsi_np *np) in iscsi_start_login_thread_timer()
917 static void iscsi_stop_login_thread_timer(struct iscsi_np *np) in iscsi_stop_login_thread_timer()
935 struct iscsi_np *np, in iscsit_setup_np()
1033 struct iscsi_np *np, in iscsi_target_setup_login_socket()
1054 int iscsit_accept_np(struct iscsi_np *np, struct iscsi_conn *conn) in iscsit_accept_np()
1192 struct iscsi_np *np, bool zero_tsih, bool new_sess) in iscsi_target_login_sess_out()
1265 static int __iscsi_target_login_thread(struct iscsi_np *np) in __iscsi_target_login_thread()
1480 struct iscsi_np *np = arg; in iscsi_target_login_thread() local
Discsi_target_tpg.c128 struct iscsi_np *np, in iscsit_get_tpg_from_np()
438 struct iscsi_np *np; in iscsit_tpg_check_network_portal() local
466 struct iscsi_np *np; in iscsit_tpg_add_network_portal() local
526 struct iscsi_np *np) in iscsit_tpg_release_np()
547 struct iscsi_np *np; in iscsit_tpg_del_network_portal() local
/linux-4.1.27/drivers/gpio/
Dgpiolib-of.c74 struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np, in of_get_named_gpiod_flags()
107 int of_get_named_gpio_flags(struct device_node *np, const char *list_name, in of_get_named_gpio_flags()
132 static struct gpio_desc *of_get_gpio_hog(struct device_node *np, in of_get_gpio_hog()
211 struct device_node *np; in of_gpiochip_scan_hogs() local
286 int of_mm_gpiochip_add(struct device_node *np, in of_mm_gpiochip_add()
343 struct device_node *np = chip->of_node; in of_gpiochip_add_pin_range() local
/linux-4.1.27/drivers/net/ethernet/
Dfealnx.c483 struct netdev_private *np; in fealnx_init_one() local
692 struct netdev_private *np = netdev_priv(dev); in fealnx_remove_one() local
758 struct netdev_private *np = netdev_priv(dev); in mdio_read() local
797 struct netdev_private *np = netdev_priv(dev); in mdio_write() local
829 struct netdev_private *np = netdev_priv(dev); in netdev_open() local
934 struct netdev_private *np = netdev_priv(dev); in getlinkstatus() local
961 struct netdev_private *np = netdev_priv(dev); in getlinktype() local
1064 struct netdev_private *np = netdev_priv(dev); in allocate_rx_buffers() local
1089 struct netdev_private *np = netdev_priv(dev); in netdev_timer() local
1126 struct netdev_private *np = netdev_priv(dev); in reset_and_disable_rxtx() local
[all …]
/linux-4.1.27/drivers/clk/versatile/
Dclk-versatile.c60 static void __init cm_osc_setup(struct device_node *np, in cm_osc_setup()
89 static void __init of_integrator_cm_osc_setup(struct device_node *np) in of_integrator_cm_osc_setup()
96 static void __init of_versatile_cm_osc_setup(struct device_node *np) in of_versatile_cm_osc_setup()
/linux-4.1.27/arch/powerpc/platforms/85xx/
Dcommon.c66 struct device_node *np; in mpc85xx_cpm2_pic_init() local
91 struct device_node *np; in mpc85xx_qe_init() local
115 struct device_node *np; in mpc85xx_qe_par_io_init() local
Dtwr_p102x.c39 struct device_node *np; in twr_p1025_pic_init() local
68 struct device_node *np; in twr_p1025_setup_arch() local
Dmpc85xx_mds.c163 struct device_node *np; in mpc85xx_mds_reset_ucc_phys() local
239 struct device_node *np; in mpc85xx_mds_qe_init() local
275 struct device_node *np; in mpc85xx_mds_qeic_init() local
Dmpc85xx_cds.c234 struct device_node *np = NULL; in mpc85xx_cds_8259_attach() local
282 struct device_node *np; in mpc85xx_cds_pci_assign_primary() local
311 struct device_node *np; in mpc85xx_cds_setup_arch() local
Dge_imp3a.c48 struct device_node *np; in ge_imp3a_pic_init() local
89 struct device_node *np; in ge_imp3a_pci_assign_primary() local
/linux-4.1.27/drivers/dma/
Dof-dma.c60 int of_dma_controller_register(struct device_node *np, in of_dma_controller_register()
95 void of_dma_controller_free(struct device_node *np) in of_dma_controller_free()
123 static int of_dma_match_channel(struct device_node *np, const char *name, in of_dma_match_channel()
148 struct dma_chan *of_dma_request_slave_channel(struct device_node *np, in of_dma_request_slave_channel()
/linux-4.1.27/drivers/scsi/
Dncr53c8xx.c513 #define _m_calloc_dma(np, s, n) __m_calloc_dma(np->dev, s, n) argument
514 #define _m_free_dma(np, p, s, n) __m_free_dma(np->dev, p, s, n) argument
517 #define _vtobus(np, p) __vtobus(np->dev, p) argument
552 #define unmap_scsi_data(np, cmd) __unmap_scsi_data(np->dev, cmd) argument
553 #define map_scsi_sg_data(np, cmd) __map_scsi_sg_data(np->dev, cmd) argument
1761 #define NCB_SCRIPT_PHYS(np,lbl) (np->p_script + offsetof (struct script, lbl)) argument
1762 #define NCB_SCRIPTH_PHYS(np,lbl) (np->p_scripth + offsetof (struct scripth,lbl)) argument
1959 #define remove_from_waiting_list(np, cmd) \ argument
1961 #define requeue_waiting_list(np) process_waiting_list((np), DID_OK) argument
1962 #define reset_waiting_list(np) process_waiting_list((np), DID_RESET) argument
[all …]
/linux-4.1.27/drivers/usb/common/
Dcommon.c99 enum usb_dr_mode of_usb_get_dr_mode(struct device_node *np) in of_usb_get_dr_mode()
124 enum usb_device_speed of_usb_get_maximum_speed(struct device_node *np) in of_usb_get_maximum_speed()
149 bool of_usb_host_tpl_support(struct device_node *np) in of_usb_host_tpl_support()
/linux-4.1.27/arch/powerpc/platforms/44x/
Dwarp.c71 struct device_node *np; in warp_post_info() local
175 struct device_node *np, *child; in pika_setup_leds() local
194 static void pika_setup_critical_temp(struct device_node *np, in pika_setup_critical_temp()
237 struct device_node *np; in pika_dtm_thread() local
279 struct device_node *np; in pika_dtm_start() local
Dppc476.c125 struct device_node *np; in ppc47x_init_irq() local
227 struct device_node *np = NULL; in ppc47x_get_board_rev() local
/linux-4.1.27/drivers/clk/shmobile/
Dclk-emev2.c52 struct device_node *np; in emev2_smu_init() local
71 static void __init emev2_smu_clkdiv_init(struct device_node *np) in emev2_smu_clkdiv_init()
89 static void __init emev2_smu_gclk_init(struct device_node *np) in emev2_smu_gclk_init()
Dclk-rz.c32 rz_cpg_register_clock(struct device_node *np, struct rz_cpg *cpg, const char *name) in rz_cpg_register_clock()
67 static void __init rz_cpg_clocks_init(struct device_node *np) in rz_cpg_clocks_init()
Dclk-r8a7778.c52 r8a7778_cpg_register_clock(struct device_node *np, struct r8a7778_cpg *cpg, in r8a7778_cpg_register_clock()
80 static void __init r8a7778_cpg_clocks_init(struct device_node *np) in r8a7778_cpg_clocks_init()
Dclk-r8a7740.c65 r8a7740_cpg_register_clock(struct device_node *np, struct r8a7740_cpg *cpg, in r8a7740_cpg_register_clock()
147 static void __init r8a7740_cpg_clocks_init(struct device_node *np) in r8a7740_cpg_clocks_init()
Dclk-r8a7779.c94 r8a7779_cpg_register_clock(struct device_node *np, struct r8a7779_cpg *cpg, in r8a7779_cpg_register_clock()
123 static void __init r8a7779_cpg_clocks_init(struct device_node *np) in r8a7779_cpg_clocks_init()
Dclk-r8a73a4.c63 r8a73a4_cpg_register_clock(struct device_node *np, struct r8a73a4_cpg *cpg, in r8a73a4_cpg_register_clock()
192 static void __init r8a73a4_cpg_clocks_init(struct device_node *np) in r8a73a4_cpg_clocks_init()
Dclk-rcar-gen2.c167 struct device_node *np) in cpg_rcan_clk_register()
301 rcar_gen2_cpg_register_clock(struct device_node *np, struct rcar_gen2_cpg *cpg, in rcar_gen2_cpg_register_clock()
367 static void __init rcar_gen2_cpg_clocks_init(struct device_node *np) in rcar_gen2_cpg_clocks_init()
/linux-4.1.27/drivers/macintosh/
Dmacio_asic.c186 static int macio_resource_quirks(struct device_node *np, struct resource *res, in macio_resource_quirks()
251 struct device_node *np = dev->ofdev.dev.of_node; in macio_add_missing_resources() local
292 struct device_node *np = dev->ofdev.dev.of_node; in macio_setup_interrupts() local
320 struct device_node *np = dev->ofdev.dev.of_node; in macio_setup_resources() local
360 struct device_node *np, in macio_add_one_device()
436 static int macio_skip_device(struct device_node *np) in macio_skip_device()
458 struct device_node *np, *pnode; in macio_pci_add_devices() local
686 struct device_node* np; in macio_pci_probe() local
/linux-4.1.27/arch/powerpc/platforms/pseries/
Dreconfig.c59 struct device_node *np; in pSeries_reconfig_add_node() local
99 static int pSeries_reconfig_remove_node(struct device_node *np) in pSeries_reconfig_remove_node()
232 struct device_node *np; in do_add_node() local
310 struct device_node *np; in do_add_property() local
334 struct device_node *np; in do_remove_property() local
356 struct device_node *np; in do_update_property() local
Dhotplug-cpu.c245 static int pseries_add_processor(struct device_node *np) in pseries_add_processor()
311 static void pseries_remove_processor(struct device_node *np) in pseries_remove_processor()
383 struct device_node *np; in pseries_cpu_hotplug_init() local
/linux-4.1.27/arch/arm/mach-mvebu/
Dcoherency.c100 static void __init armada_370_coherency_init(struct device_node *np) in armada_370_coherency_init()
138 static void __init armada_375_380_coherency_init(struct device_node *np) in armada_375_380_coherency_init()
170 struct device_node *np; in coherency_type() local
217 struct device_node *np; in coherency_init() local
Dpmsu.c164 struct device_node *np; in mvebu_v7_pmsu_init() local
384 struct device_node *np; in armada_370_cpuidle_init() local
414 struct device_node *np; in armada_38x_cpuidle_init() local
458 struct device_node *np; in armada_xp_cpuidle_init() local
474 struct device_node *np; in mvebu_v7_cpu_pm_init() local
595 struct device_node *np; in armada_xp_pmsu_cpufreq_init() local
Dcpu-reset.c42 static int mvebu_cpu_reset_map(struct device_node *np, int res_idx) in mvebu_cpu_reset_map()
71 struct device_node *np; in mvebu_cpu_reset_init() local
Dpm.c91 struct device_node *np; in mvebu_internal_reg_base() local
182 struct device_node *np; in mvebu_pm_init() local
Dboard-v7.c47 struct device_node *np = in mvebu_scu_enable() local
151 struct device_node *np; in i2c_quirk() local
/linux-4.1.27/drivers/mfd/
Dsyscon.c34 struct device_node *np; member
45 static struct syscon *of_syscon_register(struct device_node *np) in of_syscon_register()
95 struct regmap *syscon_node_to_regmap(struct device_node *np) in syscon_node_to_regmap()
156 struct regmap *syscon_regmap_lookup_by_phandle(struct device_node *np, in syscon_regmap_lookup_by_phandle()
/linux-4.1.27/arch/powerpc/platforms/83xx/
Dmisc.c76 struct device_node *np; in mpc83xx_ipic_init_IRQ() local
98 struct device_node *np; in mpc83xx_qe_init_IRQ() local
137 struct device_node *np; in mpc83xx_setup_pci() local
Dusb.c31 struct device_node *np = NULL; in mpc834x_usb_cfg() local
107 struct device_node *np = NULL; in mpc831x_usb_cfg() local
219 struct device_node *np = NULL; in mpc837x_usb_cfg() local
Dmpc836x_mds.c66 struct device_node *np; in mpc836x_mds_setup_arch() local
149 struct device_node *np; in mpc836x_usb_cfg() local
Dmpc832x_rdb.c49 struct device_node *np; in of_fsl_spi_probe() local
197 struct device_node *np; in mpc832x_rdb_setup_arch() local
/linux-4.1.27/net/ipv6/
Ddatagram.c47 struct ipv6_pinfo *np = inet6_sk(sk); in __ip6_datagram_connect() local
237 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_icmp_error() local
271 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_local_error() local
310 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_local_rxpmtu() local
388 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_recv_error() local
482 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_recv_rxpmtu() local
530 struct ipv6_pinfo *np = inet6_sk(sk); in ip6_datagram_recv_common_ctl() local
555 struct ipv6_pinfo *np = inet6_sk(sk); in ip6_datagram_recv_specific_ctl() local
Daf_inet6.c104 struct ipv6_pinfo *np; in inet6_create() local
260 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_bind() local
412 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_destroy_sock() local
449 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_getname() local
643 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_sk_rebuild_header() local
686 const struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_opt_accepted() local
Dip6_flowlabel.c69 #define for_each_sk_fl_rcu(np, sfl) \ argument
244 struct ipv6_pinfo *np = inet6_sk(sk); in fl6_sock_lookup() local
265 struct ipv6_pinfo *np = inet6_sk(sk); in fl6_free_socklist() local
443 struct ipv6_pinfo *np = inet6_sk(sk); in mem_check() local
465 static inline void fl_link(struct ipv6_pinfo *np, struct ipv6_fl_socklist *sfl, in fl_link()
478 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_flowlabel_opt_get() local
516 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_flowlabel_opt() local
Dinet6_connection_sock.c73 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_csk_route_req() local
196 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_csk_route_socket() local
228 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_csk_xmit() local
/linux-4.1.27/include/linux/mfd/
Dsyscon.h30 static inline struct regmap *syscon_node_to_regmap(struct device_node *np) in syscon_node_to_regmap()
46 struct device_node *np, in syscon_regmap_lookup_by_phandle()
/linux-4.1.27/drivers/net/ethernet/adaptec/
Dstarfire.c600 struct netdev_private *np = netdev_priv(dev); in netdev_vlan_rx_add_vid() local
615 struct netdev_private *np = netdev_priv(dev); in netdev_vlan_rx_kill_vid() local
650 struct netdev_private *np; in starfire_init_one() local
850 struct netdev_private *np = netdev_priv(dev); in mdio_read() local
867 struct netdev_private *np = netdev_priv(dev); in mdio_write() local
878 struct netdev_private *np = netdev_priv(dev); in netdev_open() local
1076 struct netdev_private *np = netdev_priv(dev); in check_duplex() local
1111 struct netdev_private *np = netdev_priv(dev); in tx_timeout() local
1141 struct netdev_private *np = netdev_priv(dev); in init_ring() local
1184 struct netdev_private *np = netdev_priv(dev); in start_tx() local
[all …]
/linux-4.1.27/net/dccp/
Dipv6.c53 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_send_check() local
75 struct ipv6_pinfo *np; in dccp_v6_err() local
187 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_send_response() local
334 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_conn_request() local
422 struct ipv6_pinfo *newnp, *np = inet6_sk(sk); in dccp_v6_request_recv_sock() local
586 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_do_rcv() local
801 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_connect() local
/linux-4.1.27/drivers/clk/
Dclkdev.c31 static struct clk *__of_clk_get(struct device_node *np, int index, in __of_clk_get()
52 struct clk *of_clk_get(struct device_node *np, int index) in of_clk_get()
58 static struct clk *__of_clk_get_by_name(struct device_node *np, in __of_clk_get_by_name()
107 struct clk *of_clk_get_by_name(struct device_node *np, const char *name) in of_clk_get_by_name()
118 static struct clk *__of_clk_get_by_name(struct device_node *np, in __of_clk_get_by_name()
Dclk-qoriq.c67 static void __init core_mux_init(struct device_node *np) in core_mux_init()
158 static void __init core_pll_init(struct device_node *np) in core_pll_init()
255 struct device_node *np = of_get_parent(node); in sysclk_init() local
275 static void __init pltfrm_pll_init(struct device_node *np) in pltfrm_pll_init()
Dclk-efm32gg.c25 static void __init efm32gg_cmu_init(struct device_node *np) in efm32gg_cmu_init()
/linux-4.1.27/arch/powerpc/platforms/82xx/
Dpq2.c47 static void __init pq2_pci_add_bridge(struct device_node *np) in pq2_pci_add_bridge()
74 struct device_node *np; in pq2_init_pci() local
Dpq2fads.c36 struct device_node *np = of_find_compatible_node(NULL, NULL, "fsl,cpm2-pic"); in pq2fads_pic_init() local
120 struct device_node *np; in pq2fads_setup_arch() local
Dmpc8272_ads.c38 struct device_node *np = of_find_compatible_node(NULL, NULL, in mpc8272_ads_pic_init() local
138 struct device_node *np; in mpc8272_ads_setup_arch() local
/linux-4.1.27/drivers/input/touchscreen/
Dof_touchscreen.c17 static u32 of_get_optional_u32(struct device_node *np, in of_get_optional_u32()
59 struct device_node *np = dev->dev.parent->of_node; in touchscreen_parse_of_params() local
/linux-4.1.27/drivers/pinctrl/
Dpinconf-generic.c189 static void parse_dt_cfg(struct device_node *np, in parse_dt_cfg()
224 int pinconf_generic_parse_dt_config(struct device_node *np, in pinconf_generic_parse_dt_config()
277 struct device_node *np, struct pinctrl_map **map, in pinconf_generic_dt_subnode_to_map()
366 struct device_node *np; in pinconf_generic_dt_node_to_map() local
Dpinctrl-lantiq.c69 struct device_node *np, in ltq_pinctrl_dt_subnode_to_map()
140 static int ltq_pinctrl_dt_subnode_size(struct device_node *np) in ltq_pinctrl_dt_subnode_size()
156 struct device_node *np; in ltq_pinctrl_dt_node_to_map() local
/linux-4.1.27/arch/arm/mach-shmobile/
Dpm-rmobile.c245 static void __init add_special_pd(struct device_node *np, enum pd_types type) in add_special_pd()
276 struct device_node *np; in get_special_pds() local
311 static void __init rmobile_setup_pm_domain(struct device_node *np, in rmobile_setup_pm_domain()
365 struct device_node *np; in rmobile_add_pm_domains() local
395 struct device_node *np, *pmd; in rmobile_init_pm_domains() local
/linux-4.1.27/drivers/clk/rockchip/
Dclk-rk3188.c716 static void __init rk3188_common_clk_init(struct device_node *np) in rk3188_common_clk_init()
751 static void __init rk3066a_clk_init(struct device_node *np) in rk3066a_clk_init()
766 static void __init rk3188a_clk_init(struct device_node *np) in rk3188a_clk_init()
802 static void __init rk3188_clk_init(struct device_node *np) in rk3188_clk_init()
/linux-4.1.27/arch/arm/kernel/
Dpsci.c147 static int get_set_conduit_method(struct device_node *np) in get_set_conduit_method()
183 static int psci_0_2_init(struct device_node *np) in psci_0_2_init()
244 static int psci_0_1_init(struct device_node *np) in psci_0_1_init()
289 struct device_node *np; in psci_init() local
Dsmp_twd.c243 static void twd_get_clock(struct device_node *np) in twd_get_clock()
328 static int __init twd_local_timer_common_register(struct device_node *np) in twd_local_timer_common_register()
387 static void __init twd_local_timer_of_register(struct device_node *np) in twd_local_timer_of_register()
/linux-4.1.27/drivers/memory/
Dof_memory.c30 const struct lpddr2_min_tck *of_get_min_tck(struct device_node *np, in of_get_min_tck()
65 static int of_do_get_timings(struct device_node *np, in of_do_get_timings()
/linux-4.1.27/drivers/clocksource/
Dtime-armada-370-xp.c249 static void __init armada_370_xp_timer_common_init(struct device_node *np) in armada_370_xp_timer_common_init()
315 static void __init armada_xp_timer_init(struct device_node *np) in armada_xp_timer_init()
329 static void __init armada_375_timer_init(struct device_node *np) in armada_375_timer_init()
357 static void __init armada_370_timer_init(struct device_node *np) in armada_370_timer_init()
Dtime-efm32.c128 static int __init efm32_clocksource_init(struct device_node *np) in efm32_clocksource_init()
186 static int __init efm32_clockevent_init(struct device_node *np) in efm32_clockevent_init()
254 static void __init efm32_timer_init(struct device_node *np) in efm32_timer_init()
Dsamsung_pwm_timer.c423 static void __init samsung_pwm_alloc(struct device_node *np, in samsung_pwm_alloc()
464 static void __init s3c2410_pwm_clocksource_init(struct device_node *np) in s3c2410_pwm_clocksource_init()
477 static void __init s3c64xx_pwm_clocksource_init(struct device_node *np) in s3c64xx_pwm_clocksource_init()
490 static void __init s5p64x0_pwm_clocksource_init(struct device_node *np) in s5p64x0_pwm_clocksource_init()
503 static void __init s5p_pwm_clocksource_init(struct device_node *np) in s5p_pwm_clocksource_init()
Dfsl_ftm_timer.c252 static int __init __ftm_clk_init(struct device_node *np, char *cnt_name, in __ftm_clk_init()
283 static unsigned long __init ftm_clk_init(struct device_node *np) in ftm_clk_init()
320 static void __init ftm_timer_init(struct device_node *np) in ftm_timer_init()
Dclksrc-of.c28 struct device_node *np; in clocksource_of_init() local
/linux-4.1.27/sound/soc/ux500/
Dmop500.c72 struct device_node *np) in mop500_of_probe()
103 struct device_node *np = pdev->dev.of_node; in mop500_probe() local
/linux-4.1.27/drivers/irqchip/
Dspear-shirq.c222 struct device_node *np) in shirq_init()
269 static int __init spear300_shirq_of_init(struct device_node *np, in spear300_shirq_of_init()
277 static int __init spear310_shirq_of_init(struct device_node *np, in spear310_shirq_of_init()
285 static int __init spear320_shirq_of_init(struct device_node *np, in spear320_shirq_of_init()
Dirq-orion.c53 static int __init orion_irq_init(struct device_node *np, in orion_irq_init()
139 static int __init orion_bridge_irq_init(struct device_node *np, in orion_bridge_irq_init()
/linux-4.1.27/drivers/thermal/
Dof-thermal.c459 struct device_node *np, *child, *sensor_np; in thermal_zone_of_sensor_register() local
573 static int thermal_of_populate_bind_params(struct device_node *np, in thermal_of_populate_bind_params()
648 static int thermal_of_get_trip_type(struct device_node *np, in thermal_of_get_trip_type()
677 static int thermal_of_populate_trip(struct device_node *np, in thermal_of_populate_trip()
725 thermal_of_build_thermal_zone(struct device_node *np) in thermal_of_build_thermal_zone()
855 struct device_node *np, *child; in of_parse_thermal_zones() local
932 struct device_node *np, *child; in of_thermal_destroy_zones() local
/linux-4.1.27/drivers/usb/host/
Dehci-ppc-of.c102 struct device_node *np; in ehci_hcd_ppc_of_probe() local
190 struct device_node *np; in ehci_hcd_ppc_of_remove() local
Dfsl-mph-dr-of.c45 static struct fsl_usb2_dev_data *get_dr_mode_data(struct device_node *np) in get_dr_mode_data()
122 static int usb_get_ver_info(struct device_node *np) in usb_get_ver_info()
162 struct device_node *np = ofdev->dev.of_node; in fsl_usb2_mph_dr_of_probe() local
/linux-4.1.27/drivers/clk/mvebu/
Dorion.c84 static void __init mv88f5182_clk_init(struct device_node *np) in mv88f5182_clk_init()
141 static void __init mv88f5281_clk_init(struct device_node *np) in mv88f5281_clk_init()
205 static void __init mv88f6183_clk_init(struct device_node *np) in mv88f6183_clk_init()
Darmada-38x.c125 static void __init armada_38x_coreclk_init(struct device_node *np) in armada_38x_coreclk_init()
162 static void __init armada_38x_clk_gating_init(struct device_node *np) in armada_38x_clk_gating_init()
Darmada-375.c142 static void __init armada_375_coreclk_init(struct device_node *np) in armada_375_coreclk_init()
179 static void __init armada_375_clk_gating_init(struct device_node *np) in armada_375_clk_gating_init()
Darmada-39x.c129 static void __init armada_39x_coreclk_init(struct device_node *np) in armada_39x_coreclk_init()
151 static void __init armada_39x_clk_gating_init(struct device_node *np) in armada_39x_clk_gating_init()
/linux-4.1.27/arch/powerpc/platforms/52xx/
Dlite5200.c59 struct device_node *np; in lite5200_fix_clock_config() local
93 struct device_node *np; in lite5200_fix_port_config() local
Dmpc52xx_common.c59 struct device_node *np; in mpc5200_setup_xlb_arbiter() local
137 struct device_node *np; in mpc52xx_map_common_devices() local
/linux-4.1.27/arch/arm/mach-imx/
Dmach-imx6q.c185 struct device_node *np; in imx6q_1588_init() local
294 struct device_node *np; in imx6q_opp_check_speed_grading() local
340 struct device_node *np; in imx6q_opp_init() local
Dmach-imx25.c28 struct device_node *np; in mx25_init_irq() local
Dclk-imx51-imx53.c318 static void __init mx50_clocks_init(struct device_node *np) in mx50_clocks_init()
380 static void __init mx51_clocks_init(struct device_node *np) in mx51_clocks_init()
469 static void __init mx53_clocks_init(struct device_node *np) in mx53_clocks_init()
Dcpu-imx25.c26 struct device_node *np; in mx25_read_cpu_rev() local
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_dpi.c178 struct device_node *np; in of_get_child_by_name_reg() local
221 struct device_node *np; in of_graph_get_remote_port_parent() local
245 struct device_node *np, *ep; in exynos_dpi_of_find_panel_node() local
266 struct device_node *np; in exynos_dpi_parse_dt() local
/linux-4.1.27/arch/arm/mach-mxs/
Dmach-mxs.c92 struct device_node *np; in mxs_get_ocotp() local
166 struct device_node *np, *from = NULL; in update_fec_mac_prop() local
302 struct device_node *np; in tx28_post_init() local
362 struct device_node *np; in mxs_get_soc_id() local
435 struct device_node *np; in mxs_restart_init() local
/linux-4.1.27/drivers/regulator/
Ddb8500-prcmu.c420 struct device_node *np) in db8500_regulator_register()
475 struct device_node *np) in db8500_regulator_of_probe()
494 struct device_node *np = pdev->dev.of_node; in db8500_regulator_probe() local
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/
Dflipper-pic.c111 static int flipper_pic_match(struct irq_domain *h, struct device_node *np) in flipper_pic_match()
134 struct irq_domain * __init flipper_pic_init(struct device_node *np) in flipper_pic_init()
196 struct device_node *np; in flipper_pic_probe() local
Dmvme5100.c59 struct device_node *np; in mvme5100_pic_init() local
162 struct device_node *np; in mvme5100_setup_arch() local
/linux-4.1.27/arch/powerpc/platforms/amigaone/
Dsetup.c73 struct device_node *np; in amigaone_setup_arch() local
88 struct device_node *pic, *np = NULL; in amigaone_init_IRQ() local
/linux-4.1.27/drivers/mmc/core/
Dpwrseq.c35 static struct mmc_pwrseq_match *mmc_pwrseq_find(struct device_node *np) in mmc_pwrseq_find()
53 struct device_node *np; in mmc_pwrseq_alloc() local
/linux-4.1.27/arch/sparc/kernel/
Dof_device_32.c21 static int of_bus_pci_match(struct device_node *np) in of_bus_pci_match()
39 static void of_bus_pci_count_cells(struct device_node *np, in of_bus_pci_count_cells()
106 static int of_bus_ambapp_match(struct device_node *np) in of_bus_ambapp_match()
175 static struct of_bus *of_match_bus(struct device_node *np) in of_match_bus()
Dof_device_64.c45 static int of_bus_pci_match(struct device_node *np) in of_bus_pci_match()
68 static int of_bus_simba_match(struct device_node *np) in of_bus_simba_match()
92 static void of_bus_pci_count_cells(struct device_node *np, in of_bus_pci_count_cells()
169 static int of_bus_fhc_match(struct device_node *np) in of_bus_fhc_match()
229 static struct of_bus *of_match_bus(struct device_node *np) in of_match_bus()
/linux-4.1.27/arch/arm/mach-prima2/
Dpm.c97 struct device_node *np; in sirfsoc_of_pwrc_init() local
125 struct device_node *np = op->dev.of_node; in sirfsoc_memc_probe() local
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Ddss-of.c91 struct device_node *np; in dss_of_port_get_parent_device() local
127 struct device_node *np; in omapdss_of_get_remote_port() local
/linux-4.1.27/drivers/leds/
Dleds-syscon.c69 static int __init syscon_leds_spawn(struct device_node *np, in syscon_leds_spawn()
137 struct device_node *np; in syscon_leds_init() local
/linux-4.1.27/drivers/reset/
Dreset-berlin.c73 static int __berlin_reset_init(struct device_node *np) in __berlin_reset_init()
120 struct device_node *np; in berlin_reset_init() local
Dreset-sunxi.c78 static int sunxi_reset_init(struct device_node *np) in sunxi_reset_init()
132 struct device_node *np; in sun6i_reset_init() local
/linux-4.1.27/drivers/video/backlight/
Dgpio_backlight.c64 struct device_node *np = pdev->dev.of_node; in gpio_backlight_probe_dt() local
91 struct device_node *np = pdev->dev.of_node; in gpio_backlight_probe() local
/linux-4.1.27/arch/powerpc/platforms/powernv/
Dpci-p5ioc2.c98 static void __init pnv_pci_init_p5ioc2_phb(struct device_node *np, u64 hub_id, in pnv_pci_init_p5ioc2_phb()
177 void __init pnv_pci_init_p5ioc2_hub(struct device_node *np) in pnv_pci_init_p5ioc2_hub()
/linux-4.1.27/drivers/clk/st/
Dclkgen-mux.c23 static const char ** __init clkgen_mux_get_parents(struct device_node *np, in clkgen_mux_get_parents()
373 struct device_node *np) in clkgen_get_register_base()
388 void __init st_of_clkgena_divmux_setup(struct device_node *np) in st_of_clkgena_divmux_setup()
488 void __init st_of_clkgena_prediv_setup(struct device_node *np) in st_of_clkgena_prediv_setup()
625 void __init st_of_clkgen_mux_setup(struct device_node *np) in st_of_clkgen_mux_setup()
702 void __init st_of_clkgen_vcc_setup(struct device_node *np) in st_of_clkgen_vcc_setup()
/linux-4.1.27/arch/powerpc/sysdev/qe_lib/
Dqe_io.c33 int par_io_init(struct device_node *np) in par_io_init()
151 int par_io_of_config(struct device_node *np) in par_io_of_config()
/linux-4.1.27/arch/arm/mach-omap2/
Dtimer.c171 struct device_node *np; in omap_get_timer_dt() local
203 struct device_node *np; in omap_dmtimer_init() local
237 struct device_node *np; in omap_dm_timer_init_one() local
400 struct device_node *np = NULL; in omap2_sync32k_clocksource_init() local
/linux-4.1.27/sound/aoa/soundbus/i2sbus/
Dcore.c115 static int i2sbus_get_and_fixup_rsrc(struct device_node *np, int index, in i2sbus_get_and_fixup_rsrc()
154 struct device_node *np) in i2sbus_add_dev()
332 struct device_node *np = NULL; in i2sbus_probe() local
/linux-4.1.27/drivers/pci/host/
Dpci-host-generic.c104 struct device_node *np = dev->of_node; in gen_pci_parse_request_of_pci_ranges() local
161 struct device_node *np = dev->of_node; in gen_pci_parse_map_cfg_windows() local
215 struct device_node *np = dev->of_node; in gen_pci_probe() local
/linux-4.1.27/arch/mips/bmips/
Dsetup.c127 struct device_node *np; in plat_time_init() local
170 struct device_node *np; in device_tree_init() local
/linux-4.1.27/drivers/video/fbdev/
Dsimplefb.c100 struct device_node *np = pdev->dev.of_node; in simplefb_parse_dt() local
200 struct device_node *np = pdev->dev.of_node; in simplefb_clocks_init() local
399 struct device_node *np; in simplefb_init() local
/linux-4.1.27/arch/powerpc/platforms/powermac/
Dpic.c454 static struct mpic * __init pmac_setup_one_mpic(struct device_node *np, in pmac_setup_one_mpic()
484 struct device_node *np, *master = NULL, *slave = NULL; in pmac_pic_probe_mpic() local
549 struct device_node *np; in pmac_pic_init() local
597 struct device_node *np; in pmacpic_find_viaint() local
Dsetup.c107 struct device_node *np; in pmac_show_cpuinfo() local
252 struct device_node *np = of_find_node_by_name(NULL, "cpus"); in l2cr_init() local
490 struct device_node *np; in pmac_declare_of_platform_devices() local
/linux-4.1.27/drivers/mmc/host/
Dof_mmc_spi.c72 struct device_node *np = dev->of_node; in mmc_spi_get_pdata() local
150 struct device_node *np = dev->of_node; in mmc_spi_put_pdata() local
Dmmci_qcom_dml.c101 static int of_get_dml_pipe_index(struct device_node *np, const char *name) in of_get_dml_pipe_index()
122 int dml_hw_init(struct mmci_host *host, struct device_node *np) in dml_hw_init()
Dsdhci-pltfm.c55 static bool sdhci_of_wp_inverted(struct device_node *np) in sdhci_of_wp_inverted()
71 struct device_node *np = pdev->dev.of_node; in sdhci_get_of_property() local
Dmmci_qcom_dml.h22 static inline int dml_hw_init(struct mmci_host *host, struct device_node *np) in dml_hw_init()
/linux-4.1.27/arch/powerpc/platforms/chrp/
Dsetup.c217 struct device_node *np; in pegasos_set_l2cr() local
382 struct device_node *np, *root; in chrp_find_openpic() local
470 struct device_node *np, *pic = NULL; in chrp_find_8259() local
/linux-4.1.27/drivers/power/reset/
Dat91-poweroff.c74 static int at91_poweroff_get_wakeup_mode(struct device_node *np) in at91_poweroff_get_wakeup_mode()
93 struct device_node *np = pdev->dev.of_node; in at91_poweroff_dt_set_wakeup_mode() local
/linux-4.1.27/drivers/clk/hisilicon/
Dclk-hip04.c46 static void __init hip04_clk_init(struct device_node *np) in hip04_clk_init()
/linux-4.1.27/drivers/hwmon/
Dibmpowernv.c128 static void __init make_sensor_label(struct device_node *np, in make_sensor_label()
239 static int get_sensor_type(struct device_node *np) in get_sensor_type()
286 struct device_node *opal, *np; in populate_attr_groups() local
352 struct device_node *opal, *np; in create_device_attrs() local
/linux-4.1.27/net/l2tp/
Dl2tp_ip6.c261 struct ipv6_pinfo *np = inet6_sk(sk); in l2tp_ip6_bind() local
416 struct ipv6_pinfo *np = inet6_sk(sk); in l2tp_ip6_getname() local
488 struct ipv6_pinfo *np = inet6_sk(sk); in l2tp_ip6_sendmsg() local
652 struct ipv6_pinfo *np = inet6_sk(sk); in l2tp_ip6_recvmsg() local
/linux-4.1.27/drivers/bus/
Dimx-weim.c64 struct device_node *np = pdev->dev.of_node; in imx_weim_gpr_setup() local
112 static int __init weim_timing_setup(struct device_node *np, void __iomem *base, in weim_timing_setup()
Dsimple-pm-bus.c19 struct device_node *np = pdev->dev.of_node; in simple_pm_bus_probe() local
/linux-4.1.27/drivers/input/
Dmatrix-keymap.c56 struct device_node *np = dev->of_node; in matrix_keypad_parse_of_params() local
78 struct device_node *np = dev->of_node; in matrix_keypad_parse_of_keymap() local
/linux-4.1.27/arch/arm/mach-rockchip/
Dpm.c177 static int rk3288_suspend_init(struct device_node *np) in rk3288_suspend_init()
254 struct device_node *np; in rockchip_suspend_init() local
/linux-4.1.27/arch/arm/mach-bcm/
Dplatsmp-brcmstb.c247 static int __init setup_hifcpubiuctrl_regs(struct device_node *np) in setup_hifcpubiuctrl_regs()
292 static int __init setup_hifcont_regs(struct device_node *np) in setup_hifcont_regs()
325 struct device_node *np; in brcmstb_cpu_ctrl_setup() local
/linux-4.1.27/drivers/char/tpm/
Dtpm_of.c25 struct device_node *np; in read_log() local
/linux-4.1.27/drivers/gpu/drm/rcar-du/
Drcar_du_hdmienc.h29 struct device_node *np) in rcar_du_hdmienc_init()
/linux-4.1.27/drivers/usb/phy/
Dof.c32 enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np) in of_usb_get_phy_mode()
/linux-4.1.27/arch/arm/mach-ux500/
Dtimer.c28 struct device_node *np; in ux500_timer_init() local
/linux-4.1.27/arch/arm64/kernel/
Dpsci.c246 static int get_set_conduit_method(struct device_node *np) in get_set_conduit_method()
341 static int __init psci_0_2_init(struct device_node *np) in psci_0_2_init()
366 static int __init psci_0_1_init(struct device_node *np) in psci_0_1_init()
411 struct device_node *np; in psci_dt_init() local
/linux-4.1.27/drivers/iio/
Dinkern.c129 struct device_node *np, int index) in __of_iio_channel_get()
165 static struct iio_channel *of_iio_channel_get(struct device_node *np, int index) in of_iio_channel_get()
188 static struct iio_channel *of_iio_channel_get_by_name(struct device_node *np, in of_iio_channel_get_by_name()
270 of_iio_channel_get_by_name(struct device_node *np, const char *name) in of_iio_channel_get_by_name()
/linux-4.1.27/drivers/clk/sunxi/
Dclk-sun9i-mmc.c92 struct device_node *np = pdev->dev.of_node; in sun9i_a80_mmc_config_clk_probe() local
187 struct device_node *np = pdev->dev.of_node; in sun9i_a80_mmc_config_clk_remove() local
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dof.c30 struct device_node *np = dev->of_node; in brcmf_of_probe() local
/linux-4.1.27/arch/arm/common/
Dtimer-sp.c212 static void __init sp804_of_init(struct device_node *np) in sp804_of_init()
268 static void __init integrator_cp_of_init(struct device_node *np) in integrator_cp_of_init()

1234567