Home
last modified time | relevance | path

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

12345678

/linux-4.4.14/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.4.14/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.4.14/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()
226 struct device_node *np; in of_unittest_check_tree_linkage() local
245 struct device_node *np; member
251 struct device_node *np; in of_unittest_check_phandles() local
289 struct device_node *np; in of_unittest_parse_phandle_with_args() local
393 struct device_node *np; in of_unittest_property_string() local
502 struct device_node *n1, *n2, *n21, *nremove, *parent, *np; in of_unittest_changeset() local
552 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.c95 int of_mdio_parse_addr(struct device *dev, const struct device_node *np) in of_mdio_parse_addr()
125 int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np) in of_mdiobus_register()
286 bool of_phy_is_fixed_link(struct device_node *np) in of_phy_is_fixed_link()
312 int of_phy_register_fixed_link(struct device_node *np) in of_phy_register_fixed_link()
Dirq.c489 struct device_node *np, *parent = NULL; in of_irq_init() local
586 static u32 __of_msi_map_rid(struct device *dev, struct device_node **np, in __of_msi_map_rid()
690 static struct irq_domain *__of_get_msi_domain(struct device_node *np, in __of_get_msi_domain()
714 struct device_node *np = NULL; in of_msi_map_get_device_domain() local
732 struct device_node *np, in of_msi_get_domain()
772 void of_msi_configure(struct device *dev, struct device_node *np) in of_msi_configure()
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()
211 struct platform_device *of_platform_device_create(struct device_node *np, in of_platform_device_create()
297 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()
355 static int of_bus_isa_match(struct device_node *np) in of_bus_isa_match()
448 static struct of_bus *of_match_bus(struct device_node *np) in of_match_bus()
459 static int of_empty_ranges_quirk(struct device_node *np) in of_empty_ranges_quirk()
873 void __iomem *of_iomap(struct device_node *np, int index) in of_iomap()
898 void __iomem *of_io_request_and_map(struct device_node *np, int index, in of_io_request_and_map()
937 int of_dma_get_range(struct device_node *np, u64 *dma_addr, u64 *paddr, u64 *size) in of_dma_get_range()
1014 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.4.14/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.4.14/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
328 struct netdev_private *np = netdev_priv(dev); in find_miiphy() local
350 struct netdev_private *np = netdev_priv(dev); in parse_eeprom() local
429 struct netdev_private *np = netdev_priv(dev); in rio_set_led_mode() local
452 struct netdev_private *np = netdev_priv(dev); in rio_open() local
536 struct netdev_private *np = netdev_priv(dev); in rio_timer() local
579 struct netdev_private *np = netdev_priv(dev); in rio_tx_timeout() local
593 struct netdev_private *np = netdev_priv(dev); in alloc_list() local
646 struct netdev_private *np = netdev_priv(dev); in start_xmit() 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.4.14/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
234 static inline const char *of_node_full_name(const struct device_node *np) in of_node_full_name()
396 static inline const char* of_node_full_name(const struct device_node *np) in of_node_full_name()
488 static inline struct property *of_find_property(const struct device_node *np, in of_find_property()
503 static inline int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size()
509 static inline int of_property_read_u32_index(const struct device_node *np, in of_property_read_u32_index()
515 static inline int of_property_read_u8_array(const struct device_node *np, in of_property_read_u8_array()
521 static inline int of_property_read_u16_array(const struct device_node *np, in of_property_read_u16_array()
527 static inline int of_property_read_u32_array(const struct device_node *np, in of_property_read_u32_array()
534 static inline int of_property_read_u64_array(const struct device_node *np, in of_property_read_u64_array()
[all …]
Dof_gpio.h67 static inline int of_get_named_gpio_flags(struct device_node *np, in of_get_named_gpio_flags()
105 static inline int of_gpio_named_count(struct device_node *np, const char* propname) in of_gpio_named_count()
116 static inline int of_gpio_count(struct device_node *np) in of_gpio_count()
121 static inline int of_get_gpio_flags(struct device_node *np, int index, in of_get_gpio_flags()
136 static inline int of_get_named_gpio(struct device_node *np, in of_get_named_gpio()
150 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()
Dcpu_cooling.h63 of_cpufreq_cooling_register(struct device_node *np, in of_cpufreq_cooling_register()
70 of_cpufreq_power_cooling_register(struct device_node *np, in of_cpufreq_power_cooling_register()
100 of_cpufreq_cooling_register(struct device_node *np, in of_cpufreq_cooling_register()
107 of_cpufreq_power_cooling_register(struct device_node *np, in of_cpufreq_power_cooling_register()
Dof_dma.h58 static inline int of_dma_controller_register(struct device_node *np, in of_dma_controller_register()
66 static inline void of_dma_controller_free(struct device_node *np) in of_dma_controller_free()
70 static inline int of_dma_router_register(struct device_node *np, in of_dma_router_register()
80 static inline struct dma_chan *of_dma_request_slave_channel(struct device_node *np, in of_dma_request_slave_channel()
Dof_address.h11 int np; member
61 static inline u64 of_translate_address(struct device_node *np, in of_translate_address()
99 static inline int of_dma_get_range(struct device_node *np, u64 *dma_addr, in of_dma_get_range()
105 static inline bool of_dma_is_coherent(struct device_node *np) in of_dma_is_coherent()
160 struct device_node *np, in of_pci_range_to_resource()
Ddevfreq_cooling.h57 of_devfreq_cooling_register_power(struct device_node *np, struct devfreq *df, in of_devfreq_cooling_register_power()
64 of_devfreq_cooling_register(struct device_node *np, struct devfreq *df) in of_devfreq_cooling_register()
Dof_irq.h81 struct device_node *np, in of_msi_get_domain()
91 static inline void of_msi_configure(struct device *dev, struct device_node *np) in of_msi_configure()
/linux-4.4.14/drivers/clk/samsung/
Dclk-exynos5260.c134 static void __init exynos5260_clk_aud_init(struct device_node *np) in exynos5260_clk_aud_init()
324 static void __init exynos5260_clk_disp_init(struct device_node *np) in exynos5260_clk_disp_init()
388 static void __init exynos5260_clk_egl_init(struct device_node *np) in exynos5260_clk_egl_init()
490 static void __init exynos5260_clk_fsys_init(struct device_node *np) in exynos5260_clk_fsys_init()
579 static void __init exynos5260_clk_g2d_init(struct device_node *np) in exynos5260_clk_g2d_init()
640 static void __init exynos5260_clk_g3d_init(struct device_node *np) in exynos5260_clk_g3d_init()
775 static void __init exynos5260_clk_gscl_init(struct device_node *np) in exynos5260_clk_gscl_init()
894 static void __init exynos5260_clk_isp_init(struct device_node *np) in exynos5260_clk_isp_init()
958 static void __init exynos5260_clk_kfc_init(struct device_node *np) in exynos5260_clk_kfc_init()
1014 static void __init exynos5260_clk_mfc_init(struct device_node *np) in exynos5260_clk_mfc_init()
[all …]
Dclk-exynos7.c206 static void __init exynos7_clk_topc_init(struct device_node *np) in exynos7_clk_topc_init()
398 static void __init exynos7_clk_top0_init(struct device_node *np) in exynos7_clk_top0_init()
574 static void __init exynos7_clk_top1_init(struct device_node *np) in exynos7_clk_top1_init()
619 static void __init exynos7_clk_ccore_init(struct device_node *np) in exynos7_clk_ccore_init()
686 static void __init exynos7_clk_peric0_init(struct device_node *np) in exynos7_clk_peric0_init()
810 static void __init exynos7_clk_peric1_init(struct device_node *np) in exynos7_clk_peric1_init()
865 static void __init exynos7_clk_peris_init(struct device_node *np) in exynos7_clk_peris_init()
977 static void __init exynos7_clk_fsys0_init(struct device_node *np) in exynos7_clk_fsys0_init()
1108 static void __init exynos7_clk_fsys1_init(struct device_node *np) in exynos7_clk_fsys1_init()
1221 static void __init exynos7_clk_mscl_init(struct device_node *np) in exynos7_clk_mscl_init()
[all …]
Dclk-s3c2410.c363 void __init s3c2410_common_clk_init(struct device_node *np, unsigned long xti_f, in s3c2410_common_clk_init()
471 static void __init s3c2410_clk_init(struct device_node *np) in s3c2410_clk_init()
477 static void __init s3c2440_clk_init(struct device_node *np) in s3c2440_clk_init()
483 static void __init s3c2442_clk_init(struct device_node *np) in s3c2442_clk_init()
Dclk-s3c2443.c388 void __init s3c2443_common_clk_init(struct device_node *np, unsigned long xti_f, in s3c2443_common_clk_init()
469 static void __init s3c2416_clk_init(struct device_node *np) in s3c2416_clk_init()
475 static void __init s3c2443_clk_init(struct device_node *np) in s3c2443_clk_init()
481 static void __init s3c2450_clk_init(struct device_node *np) in s3c2450_clk_init()
Dclk-exynos5433.c812 static void __init exynos5433_cmu_top_init(struct device_node *np) in exynos5433_cmu_top_init()
882 static void __init exynos5433_cmu_cpif_init(struct device_node *np) in exynos5433_cmu_cpif_init()
1546 static void __init exynos5433_cmu_mif_init(struct device_node *np) in exynos5433_cmu_mif_init()
1736 static void __init exynos5433_cmu_peric_init(struct device_node *np) in exynos5433_cmu_peric_init()
1928 static void __init exynos5433_cmu_peris_init(struct device_node *np) in exynos5433_cmu_peris_init()
2338 static void __init exynos5433_cmu_fsys_init(struct device_node *np) in exynos5433_cmu_fsys_init()
2464 static void __init exynos5433_cmu_g2d_init(struct device_node *np) in exynos5433_cmu_g2d_init()
2890 static void __init exynos5433_cmu_disp_init(struct device_node *np) in exynos5433_cmu_disp_init()
3063 static void __init exynos5433_cmu_aud_init(struct device_node *np) in exynos5433_cmu_aud_init()
3352 static void __init exynos5433_cmu_g3d_init(struct device_node *np) in exynos5433_cmu_g3d_init()
[all …]
Dclk-s3c64xx.c458 void __init s3c64xx_clk_init(struct device_node *np, unsigned long xtal_f, in s3c64xx_clk_init()
529 static void __init s3c6400_clk_init(struct device_node *np) in s3c6400_clk_init()
535 static void __init s3c6410_clk_init(struct device_node *np) in s3c6410_clk_init()
Dclk-s3c2412.c254 void __init s3c2412_common_clk_init(struct device_node *np, unsigned long xti_f, in s3c2412_common_clk_init()
299 static void __init s3c2412_clk_init(struct device_node *np) in s3c2412_clk_init()
Dclk.c59 struct samsung_clk_provider *__init samsung_clk_init(struct device_node *np, in samsung_clk_init()
85 void __init samsung_clk_of_add_provider(struct device_node *np, in samsung_clk_of_add_provider()
383 struct device_node *np, in samsung_cmu_register_one()
/linux-4.4.14/net/core/
Dnetpoll.c65 #define np_info(np, fmt, ...) \ argument
67 #define np_err(np, fmt, ...) \ argument
69 #define np_notice(np, fmt, ...) \ argument
285 static struct sk_buff *find_skb(struct netpoll *np, int len, int reserve) in find_skb()
323 void netpoll_send_skb_on_dev(struct netpoll *np, struct sk_buff *skb, in netpoll_send_skb_on_dev()
378 void netpoll_send_udp(struct netpoll *np, const char *msg, int len) in netpoll_send_udp()
481 void netpoll_print_options(struct netpoll *np) in netpoll_print_options()
518 int netpoll_parse_options(struct netpoll *np, char *opt) in netpoll_parse_options()
600 int __netpoll_setup(struct netpoll *np, struct net_device *ndev) in __netpoll_setup()
656 int netpoll_setup(struct netpoll *np) in netpoll_setup()
[all …]
/linux-4.4.14/drivers/clk/at91/
Dpmc.c45 int of_at91_get_clk_range(struct device_node *np, const char *propname, in of_at91_get_clk_range()
225 static struct at91_pmc *__init at91_pmc_init(struct device_node *np, in at91_pmc_init()
389 static void __init of_at91_pmc_setup(struct device_node *np, in of_at91_pmc_setup()
418 static void __init of_at91rm9200_pmc_setup(struct device_node *np) in of_at91rm9200_pmc_setup()
425 static void __init of_at91sam9260_pmc_setup(struct device_node *np) in of_at91sam9260_pmc_setup()
432 static void __init of_at91sam9g45_pmc_setup(struct device_node *np) in of_at91sam9g45_pmc_setup()
439 static void __init of_at91sam9n12_pmc_setup(struct device_node *np) in of_at91sam9n12_pmc_setup()
446 static void __init of_at91sam9x5_pmc_setup(struct device_node *np) in of_at91sam9x5_pmc_setup()
453 static void __init of_sama5d2_pmc_setup(struct device_node *np) in of_sama5d2_pmc_setup()
460 static void __init of_sama5d3_pmc_setup(struct device_node *np) in of_sama5d3_pmc_setup()
Dclk-master.c195 of_at91_clk_master_get_characteristics(struct device_node *np) in of_at91_clk_master_get_characteristics()
220 of_at91_clk_master_setup(struct device_node *np, struct at91_pmc *pmc, in of_at91_clk_master_setup()
259 void __init of_at91rm9200_clk_master_setup(struct device_node *np, in of_at91rm9200_clk_master_setup()
265 void __init of_at91sam9x5_clk_master_setup(struct device_node *np, in of_at91sam9x5_clk_master_setup()
Dclk-programmable.c229 of_at91_clk_prog_setup(struct device_node *np, struct at91_pmc *pmc, in of_at91_clk_prog_setup()
268 void __init of_at91rm9200_clk_prog_setup(struct device_node *np, in of_at91rm9200_clk_prog_setup()
274 void __init of_at91sam9g45_clk_prog_setup(struct device_node *np, in of_at91sam9g45_clk_prog_setup()
280 void __init of_at91sam9x5_clk_prog_setup(struct device_node *np, in of_at91sam9x5_clk_prog_setup()
Dclk-pll.c390 of_at91_clk_pll_get_characteristics(struct device_node *np) in of_at91_clk_pll_get_characteristics()
486 of_at91_clk_pll_setup(struct device_node *np, struct at91_pmc *pmc, in of_at91_clk_pll_setup()
523 void __init of_at91rm9200_clk_pll_setup(struct device_node *np, in of_at91rm9200_clk_pll_setup()
529 void __init of_at91sam9g45_clk_pll_setup(struct device_node *np, in of_at91sam9g45_clk_pll_setup()
535 void __init of_at91sam9g20_clk_pllb_setup(struct device_node *np, in of_at91sam9g20_clk_pllb_setup()
541 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()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c477 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_get_settings() local
590 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_set_settings() local
768 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_nway_reset() local
792 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_get_pauseparam() local
827 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_set_pauseparam() local
920 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_get_msglevel() local
928 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_set_msglevel() local
950 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_get_regs() local
981 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_get_eeprom() local
1072 struct i40e_netdev_priv *np = netdev_priv(netdev); in i40e_get_eeprom_len() local
[all …]
Di40e_fcoe.c256 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.4.14/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
/linux-4.4.14/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()
252 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.4.14/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, *pnode; in qoriq_cpufreq_cpu_init() local
348 struct device_node *np; in qoriq_cpufreq_init() local
/linux-4.4.14/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.4.14/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.4.14/include/linux/usb/
Dof.h19 static inline bool of_usb_host_tpl_support(struct device_node *np) in of_usb_host_tpl_support()
23 static inline int of_usb_update_otg_caps(struct device_node *np, in of_usb_update_otg_caps()
33 static inline enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np) in of_usb_get_phy_mode()
/linux-4.4.14/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.4.14/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.4.14/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
178 struct device_node *np; in of_iommu_init() local
/linux-4.4.14/drivers/dma/
Dof-dma.c104 int of_dma_controller_register(struct device_node *np, in of_dma_controller_register()
139 void of_dma_controller_free(struct device_node *np) in of_dma_controller_free()
171 int of_dma_router_register(struct device_node *np, in of_dma_router_register()
212 static int of_dma_match_channel(struct device_node *np, const char *name, in of_dma_match_channel()
237 struct dma_chan *of_dma_request_slave_channel(struct device_node *np, in of_dma_request_slave_channel()
/linux-4.4.14/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.4.14/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()
475 cell_iommu_setup_window(struct cbe_iommu *iommu, struct device_node *np, in cell_iommu_setup_window()
706 static int __init cell_iommu_get_window(struct device_node *np, in cell_iommu_get_window()
725 static struct cbe_iommu * __init cell_iommu_alloc(struct device_node *np) in cell_iommu_alloc()
765 static void __init cell_iommu_init_one(struct device_node *np, in cell_iommu_init_one()
819 struct device_node *np = NULL; in cell_iommu_init_disabled() local
904 struct device_node *np; in cell_iommu_get_fixed_address() local
1007 struct device_node *np, unsigned long dbase, unsigned long dsize, in cell_iommu_setup_fixed_ptab()
1046 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.4.14/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.4.14/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.4.14/drivers/target/iscsi/
Discsi_target_login.c695 struct iscsi_np *np, in iscsi_post_login_handler()
823 struct iscsi_np *np = (struct iscsi_np *) data; in iscsi_handle_login_thread_timeout() local
841 static void iscsi_start_login_thread_timer(struct iscsi_np *np) in iscsi_start_login_thread_timer()
861 static void iscsi_stop_login_thread_timer(struct iscsi_np *np) in iscsi_stop_login_thread_timer()
879 struct iscsi_np *np, in iscsit_setup_np()
977 struct iscsi_np *np, in iscsi_target_setup_login_socket()
998 int iscsit_accept_np(struct iscsi_np *np, struct iscsi_conn *conn) in iscsit_accept_np()
1134 struct iscsi_np *np, bool zero_tsih, bool new_sess) in iscsi_target_login_sess_out()
1207 static int __iscsi_target_login_thread(struct iscsi_np *np) in __iscsi_target_login_thread()
1422 struct iscsi_np *np = arg; in iscsi_target_login_thread() local
Discsi_target_tpg.c130 struct iscsi_np *np, in iscsit_get_tpg_from_np()
439 struct iscsi_np *np; in iscsit_tpg_check_network_portal() local
467 struct iscsi_np *np; in iscsit_tpg_add_network_portal() local
527 struct iscsi_np *np) in iscsit_tpg_release_np()
548 struct iscsi_np *np; in iscsit_tpg_del_network_portal() local
/linux-4.4.14/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_parse_own_gpio(struct device_node *np, in of_parse_own_gpio()
208 struct device_node *np; in of_gpiochip_scan_gpios() local
283 int of_mm_gpiochip_add(struct device_node *np, in of_mm_gpiochip_add()
340 struct device_node *np = chip->of_node; in of_gpiochip_add_pin_range() local
/linux-4.4.14/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.4.14/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.c233 struct device_node *np = NULL; in mpc85xx_cds_8259_attach() local
281 struct device_node *np; in mpc85xx_cds_pci_assign_primary() local
310 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.4.14/drivers/clk/versatile/
Dclk-versatile.c58 static void __init cm_osc_setup(struct device_node *np, in cm_osc_setup()
87 static void __init of_integrator_cm_osc_setup(struct device_node *np) in of_integrator_cm_osc_setup()
94 static void __init of_versatile_cm_osc_setup(struct device_node *np) in of_versatile_cm_osc_setup()
/linux-4.4.14/drivers/clk/hisilicon/
Dclk-hi6220.c73 static void __init hi6220_clk_ao_init(struct device_node *np) in hi6220_clk_ao_init()
179 static void __init hi6220_clk_sys_init(struct device_node *np) in hi6220_clk_sys_init()
236 static void __init hi6220_clk_media_init(struct device_node *np) in hi6220_clk_media_init()
270 static void __init hi6220_clk_power_init(struct device_node *np) in hi6220_clk_power_init()
Dclk-hip04.c44 static void __init hip04_clk_init(struct device_node *np) in hip04_clk_init()
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dreconfig.c29 struct device_node *np; in pSeries_reconfig_add_node() local
69 static int pSeries_reconfig_remove_node(struct device_node *np) in pSeries_reconfig_remove_node()
202 struct device_node *np; in do_add_node() local
280 struct device_node *np; in do_add_property() local
304 struct device_node *np; in do_remove_property() local
326 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.4.14/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.4.14/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.4.14/drivers/clk/shmobile/
Dclk-emev2.c54 struct device_node *np; in emev2_smu_init() local
77 static void __init emev2_smu_clkdiv_init(struct device_node *np) in emev2_smu_clkdiv_init()
95 static void __init emev2_smu_gclk_init(struct device_node *np) in emev2_smu_gclk_init()
Dclk-rz.c33 rz_cpg_register_clock(struct device_node *np, struct rz_cpg *cpg, const char *name) in rz_cpg_register_clock()
68 static void __init rz_cpg_clocks_init(struct device_node *np) in rz_cpg_clocks_init()
Dclk-mstp.c162 static void __init cpg_mstp_clocks_init(struct device_node *np) in cpg_mstp_clocks_init()
250 struct device_node *np = dev->of_node; in cpg_mstp_attach_dev() local
306 void __init cpg_mstp_add_clk_domain(struct device_node *np) in cpg_mstp_add_clk_domain()
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.4.14/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.4.14/drivers/clk/mmp/
Dclk-of-pxa1928.c184 static void pxa1928_clk_reset_init(struct device_node *np, in pxa1928_clk_reset_init()
208 static void __init pxa1928_mpmu_clk_init(struct device_node *np) in pxa1928_mpmu_clk_init()
226 static void __init pxa1928_apmu_clk_init(struct device_node *np) in pxa1928_apmu_clk_init()
246 static void __init pxa1928_apbc_clk_init(struct device_node *np) in pxa1928_apbc_clk_init()
/linux-4.4.14/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.4.14/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 const 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
261 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_bind() local
415 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_destroy_sock() local
452 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_getname() local
646 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_sk_rebuild_header() local
689 const struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_opt_accepted() local
Dinet6_connection_sock.c74 const struct ipv6_pinfo *np = inet6_sk(sk); in inet6_csk_route_req() local
123 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_csk_route_socket() local
155 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_csk_xmit() 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
/linux-4.4.14/arch/arm/mach-shmobile/
Dpm-rmobile.c185 static void __init add_special_pd(struct device_node *np, enum pd_types type) in add_special_pd()
216 struct device_node *np; in get_special_pds() local
251 static void __init rmobile_setup_pm_domain(struct device_node *np, in rmobile_setup_pm_domain()
305 struct device_node *np; in rmobile_add_pm_domains() local
337 struct device_node *np, *pmd; in rmobile_init_pm_domains() local
/linux-4.4.14/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.4.14/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
303 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_conn_request() local
394 const struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_request_recv_sock() local
548 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_do_rcv() local
765 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_connect() local
/linux-4.4.14/arch/arm/mach-mvebu/
Dpmsu.c164 struct device_node *np; in mvebu_v7_pmsu_init() local
382 static int broken_idle(struct device_node *np) in broken_idle()
394 struct device_node *np; in armada_370_cpuidle_init() local
428 struct device_node *np; in armada_38x_cpuidle_init() local
477 struct device_node *np; in armada_xp_cpuidle_init() local
497 struct device_node *np; in mvebu_v7_cpu_pm_init() local
618 struct device_node *np; in armada_xp_pmsu_cpufreq_init() local
Dcoherency.c128 static void __init armada_370_coherency_init(struct device_node *np) in armada_370_coherency_init()
184 static void __init armada_375_380_coherency_init(struct device_node *np) in armada_375_380_coherency_init()
216 struct device_node *np; in coherency_type() local
282 struct device_node *np; in coherency_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
Dboard-v7.c45 struct device_node *np = in mvebu_scu_enable() local
117 struct device_node *np; in i2c_quirk() local
Dpm.c91 struct device_node *np; in mvebu_internal_reg_base() local
238 struct device_node *np; in mvebu_pm_suspend_init() local
/linux-4.4.14/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.4.14/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.4.14/drivers/pinctrl/
Dpinconf-generic.c190 static void parse_dt_cfg(struct device_node *np, in parse_dt_cfg()
225 int pinconf_generic_parse_dt_config(struct device_node *np, in pinconf_generic_parse_dt_config()
278 struct device_node *np, struct pinctrl_map **map, in pinconf_generic_dt_subnode_to_map()
367 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.4.14/arch/arm/mach-ux500/
Dplatsmp.c37 struct device_node *np; in wakeup_secondary() local
70 struct device_node *np; in ux500_smp_prepare_cpus() local
/linux-4.4.14/drivers/clk/rockchip/
Dclk-rk3188.c724 static void __init rk3188_common_clk_init(struct device_node *np) in rk3188_common_clk_init()
757 static void __init rk3066a_clk_init(struct device_node *np) in rk3066a_clk_init()
774 static void __init rk3188a_clk_init(struct device_node *np) in rk3188a_clk_init()
813 static void __init rk3188_clk_init(struct device_node *np) in rk3188_clk_init()
/linux-4.4.14/drivers/memory/
Dpl172.c60 const struct device_node *np, const char *name, in pl172_timing_prop()
86 struct device_node *np, u32 cs) in pl172_setup_static()
175 struct device_node *np) in pl172_parse_cs_config()
199 struct device_node *child_np, *np = adev->dev.of_node; in pl172_probe() local
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.4.14/drivers/irqchip/
Dirq-mxs.c171 static void __init icoll_add_domain(struct device_node *np, in icoll_add_domain()
181 static void __iomem * __init icoll_init_iobase(struct device_node *np) in icoll_init_iobase()
191 static int __init icoll_of_init(struct device_node *np, in icoll_of_init()
218 static int __init asm9260_of_init(struct device_node *np, in asm9260_of_init()
Dspear-shirq.c219 struct device_node *np) in shirq_init()
266 static int __init spear300_shirq_of_init(struct device_node *np, in spear300_shirq_of_init()
274 static int __init spear310_shirq_of_init(struct device_node *np, in spear310_shirq_of_init()
282 static int __init spear320_shirq_of_init(struct device_node *np, in spear320_shirq_of_init()
Dirq-orion.c52 static int __init orion_irq_init(struct device_node *np, in orion_irq_init()
138 static int __init orion_bridge_irq_init(struct device_node *np, in orion_bridge_irq_init()
/linux-4.4.14/sound/soc/sh/rcar/
Drsrc-card.c151 struct device_node *np, in rsrc_card_parse_daifmt()
183 static int rsrc_card_parse_links(struct device_node *np, in rsrc_card_parse_links()
273 static int rsrc_card_parse_clk(struct device_node *np, in rsrc_card_parse_clk()
309 struct device_node *np, in rsrc_card_dai_link_of()
348 struct device_node *np; in rsrc_card_parse_of() local
423 struct device_node *np = pdev->dev.of_node; in rsrc_card_probe() local
/linux-4.4.14/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()
/linux-4.4.14/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.4.14/drivers/clocksource/
Dtime-armada-370-xp.c263 static void __init armada_370_xp_timer_common_init(struct device_node *np) in armada_370_xp_timer_common_init()
332 static void __init armada_xp_timer_init(struct device_node *np) in armada_xp_timer_init()
346 static void __init armada_375_timer_init(struct device_node *np) in armada_375_timer_init()
374 static void __init armada_370_timer_init(struct device_node *np) in armada_370_timer_init()
Dtime-lpc32xx.c119 static int __init lpc32xx_clocksource_init(struct device_node *np) in lpc32xx_clocksource_init()
178 static int __init lpc32xx_clockevent_init(struct device_node *np) in lpc32xx_clockevent_init()
251 static void __init lpc32xx_timer_init(struct device_node *np) in lpc32xx_timer_init()
Dclksrc_st_lpc.c69 static int __init st_clksrc_setup_clk(struct device_node *np) in st_clksrc_setup_clk()
95 static void __init st_clksrc_of_register(struct device_node *np) in st_clksrc_of_register()
Dsamsung_pwm_timer.c420 static void __init samsung_pwm_alloc(struct device_node *np, in samsung_pwm_alloc()
461 static void __init s3c2410_pwm_clocksource_init(struct device_node *np) in s3c2410_pwm_clocksource_init()
474 static void __init s3c64xx_pwm_clocksource_init(struct device_node *np) in s3c64xx_pwm_clocksource_init()
487 static void __init s5p64x0_pwm_clocksource_init(struct device_node *np) in s5p64x0_pwm_clocksource_init()
500 static void __init s5p_pwm_clocksource_init(struct device_node *np) in s5p_pwm_clocksource_init()
Dtime-efm32.c132 static int __init efm32_clocksource_init(struct device_node *np) in efm32_clocksource_init()
190 static int __init efm32_clockevent_init(struct device_node *np) in efm32_clockevent_init()
258 static void __init efm32_timer_init(struct device_node *np) in efm32_timer_init()
Dtimer-imx-gpt.c472 static void __init mxc_timer_init_dt(struct device_node *np, enum imx_gpt_type type) in mxc_timer_init_dt()
502 static void __init imx1_timer_init_dt(struct device_node *np) in imx1_timer_init_dt()
507 static void __init imx21_timer_init_dt(struct device_node *np) in imx21_timer_init_dt()
512 static void __init imx31_timer_init_dt(struct device_node *np) in imx31_timer_init_dt()
528 static void __init imx6dl_timer_init_dt(struct device_node *np) in imx6dl_timer_init_dt()
Dfsl_ftm_timer.c251 static int __init __ftm_clk_init(struct device_node *np, char *cnt_name, in __ftm_clk_init()
282 static unsigned long __init ftm_clk_init(struct device_node *np) in ftm_clk_init()
319 static void __init ftm_timer_init(struct device_node *np) in ftm_timer_init()
Dclksrc-probe.c29 struct device_node *np; in clocksource_probe() local
/linux-4.4.14/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()
124 static enum fsl_usb2_controller_ver usb_get_ver_info(struct device_node *np) in usb_get_ver_info()
172 struct device_node *np = ofdev->dev.of_node; in fsl_usb2_mph_dr_of_probe() local
/linux-4.4.14/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-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-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-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.4.14/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.4.14/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
/linux-4.4.14/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.4.14/drivers/thermal/
Dof-thermal.c464 struct device_node *np, *child, *sensor_np; in thermal_zone_of_sensor_register() local
578 static int thermal_of_populate_bind_params(struct device_node *np, in thermal_of_populate_bind_params()
653 static int thermal_of_get_trip_type(struct device_node *np, in thermal_of_get_trip_type()
682 static int thermal_of_populate_trip(struct device_node *np, in thermal_of_populate_trip()
730 thermal_of_build_thermal_zone(struct device_node *np) in thermal_of_build_thermal_zone()
874 struct device_node *np, *child; in of_parse_thermal_zones() local
963 struct device_node *np, *child; in of_thermal_destroy_zones() local
/linux-4.4.14/drivers/usb/common/
Dcommon.c134 bool of_usb_host_tpl_support(struct device_node *np) in of_usb_host_tpl_support()
151 int of_usb_update_otg_caps(struct device_node *np, in of_usb_update_otg_caps()
/linux-4.4.14/arch/powerpc/platforms/embedded6xx/
Dflipper-pic.c111 static int flipper_pic_match(struct irq_domain *h, struct device_node *np, in flipper_pic_match()
135 struct irq_domain * __init flipper_pic_init(struct device_node *np) in flipper_pic_init()
197 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.4.14/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.4.14/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.4.14/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.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_dpi.c179 struct device_node *np; in of_get_child_by_name_reg() local
222 struct device_node *np; in of_graph_get_remote_port_parent() local
246 struct device_node *np, *ep; in exynos_dpi_of_find_panel_node() local
267 struct device_node *np; in exynos_dpi_parse_dt() local
/linux-4.4.14/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.4.14/arch/arm/mach-prima2/
Dpm.c98 struct device_node *np; in sirfsoc_of_pwrc_init() local
126 struct device_node *np = op->dev.of_node; in sirfsoc_memc_probe() local
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Ddss-of.c93 struct device_node *np; in dss_of_port_get_parent_device() local
129 struct device_node *np; in omapdss_of_get_remote_port() local
/linux-4.4.14/drivers/pci/host/
Dpci-host-generic.c114 struct device_node *np = dev->of_node; in gen_pci_parse_request_of_pci_ranges() local
171 struct device_node *np = dev->of_node; in gen_pci_parse_map_cfg_windows() local
217 struct device_node *np = dev->of_node; in gen_pci_probe() local
/linux-4.4.14/arch/arm/kernel/
Dsmp_twd.c245 static void twd_get_clock(struct device_node *np) in twd_get_clock()
332 static int __init twd_local_timer_common_register(struct device_node *np) in twd_local_timer_common_register()
393 static void __init twd_local_timer_of_register(struct device_node *np) in twd_local_timer_of_register()
/linux-4.4.14/drivers/firmware/
Dpsci.c190 static int get_set_conduit_method(struct device_node *np) in get_set_conduit_method()
365 static int __init psci_0_2_init(struct device_node *np) in psci_0_2_init()
390 static int __init psci_0_1_init(struct device_node *np) in psci_0_1_init()
436 struct device_node *np; in psci_dt_init() local
/linux-4.4.14/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.4.14/drivers/clk/st/
Dclkgen-mux.c25 static const char ** __init clkgen_mux_get_parents(struct device_node *np, in clkgen_mux_get_parents()
371 static void __iomem * __init clkgen_get_register_base(struct device_node *np) in clkgen_get_register_base()
386 static void __init st_of_clkgena_divmux_setup(struct device_node *np) in st_of_clkgena_divmux_setup()
488 static void __init st_of_clkgena_prediv_setup(struct device_node *np) in st_of_clkgena_prediv_setup()
630 static void __init st_of_clkgen_mux_setup(struct device_node *np) in st_of_clkgen_mux_setup()
709 static void __init st_of_clkgen_vcc_setup(struct device_node *np) in st_of_clkgen_vcc_setup()
/linux-4.4.14/arch/arm/mach-omap2/
Dtimer.c171 struct device_node *np; in omap_get_timer_dt() local
204 struct device_node *np; in omap_dmtimer_init() local
237 struct device_node *np; in omap_dm_timer_init_one() local
402 struct device_node *np = NULL; in omap2_sync32k_clocksource_init() local
/linux-4.4.14/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.4.14/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.4.14/arch/mips/bmips/
Dsetup.c127 struct device_node *np; in plat_time_init() local
171 struct device_node *np; in device_tree_init() local
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dpci-p5ioc2.c122 static void __init pnv_pci_init_p5ioc2_phb(struct device_node *np, u64 hub_id, in pnv_pci_init_p5ioc2_phb()
212 void __init pnv_pci_init_p5ioc2_hub(struct device_node *np) in pnv_pci_init_p5ioc2_hub()
/linux-4.4.14/drivers/video/fbdev/
Dsimplefb.c101 struct device_node *np = pdev->dev.of_node; in simplefb_parse_dt() local
201 struct device_node *np = pdev->dev.of_node; in simplefb_clocks_init() local
400 struct device_node *np; in simplefb_init() local
/linux-4.4.14/arch/powerpc/platforms/powermac/
Dpic.c455 static struct mpic * __init pmac_setup_one_mpic(struct device_node *np, in pmac_setup_one_mpic()
485 struct device_node *np, *master = NULL, *slave = NULL; in pmac_pic_probe_mpic() local
550 struct device_node *np; in pmac_pic_init() local
598 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.4.14/drivers/pinctrl/freescale/
Dpinctrl-imx.c104 struct device_node *np, in imx_dt_node_to_map()
502 static int imx_pinctrl_parse_groups(struct device_node *np, in imx_pinctrl_parse_groups()
586 static int imx_pinctrl_parse_functions(struct device_node *np, in imx_pinctrl_parse_functions()
623 static bool imx_pinctrl_dt_is_flat_functions(struct device_node *np) in imx_pinctrl_dt_is_flat_functions()
644 struct device_node *np = pdev->dev.of_node; in imx_pinctrl_probe_dt() local
696 struct device_node *np; in imx_pinctrl_probe() local
/linux-4.4.14/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
/linux-4.4.14/drivers/reset/
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.4.14/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.4.14/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.4.14/net/l2tp/
Dl2tp_ip6.c263 struct ipv6_pinfo *np = inet6_sk(sk); in l2tp_ip6_bind() local
418 struct ipv6_pinfo *np = inet6_sk(sk); in l2tp_ip6_getname() local
490 struct ipv6_pinfo *np = inet6_sk(sk); in l2tp_ip6_sendmsg() local
654 struct ipv6_pinfo *np = inet6_sk(sk); in l2tp_ip6_recvmsg() local
/linux-4.4.14/include/linux/clk/
Dshmobile.h32 static inline void cpg_mstp_add_clk_domain(struct device_node *np) {} in cpg_mstp_add_clk_domain()
/linux-4.4.14/drivers/clk/zte/
Dclk-zx296702.c228 static void __init zx296702_top_clocks_init(struct device_node *np) in zx296702_top_clocks_init()
597 static void __init zx296702_lsp0_clocks_init(struct device_node *np) in zx296702_lsp0_clocks_init()
681 static void __init zx296702_lsp1_clocks_init(struct device_node *np) in zx296702_lsp1_clocks_init()
/linux-4.4.14/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.4.14/drivers/scsi/ufs/
Dufshcd-pltfrm.c49 struct device_node *np = dev->of_node; in ufshcd_parse_clock_info() local
134 struct device_node *np = dev->of_node; in ufshcd_populate_vreg() local
/linux-4.4.14/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()
/linux-4.4.14/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.4.14/arch/mips/xilfpga/
Dtime.c21 struct device_node *np; in plat_time_init() local
/linux-4.4.14/drivers/power/reset/
Dat91-poweroff.c76 static int at91_poweroff_get_wakeup_mode(struct device_node *np) in at91_poweroff_get_wakeup_mode()
95 struct device_node *np = pdev->dev.of_node; in at91_poweroff_dt_set_wakeup_mode() local
/linux-4.4.14/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.4.14/drivers/char/tpm/
Dtpm_of.c25 struct device_node *np; in read_log() local
/linux-4.4.14/drivers/gpu/drm/rcar-du/
Drcar_du_hdmienc.h29 struct device_node *np) in rcar_du_hdmienc_init()
/linux-4.4.14/drivers/clk/sunxi/
Dclk-sun9i-mmc.c93 struct device_node *np = pdev->dev.of_node; in sun9i_a80_mmc_config_clk_probe() local
188 struct device_node *np = pdev->dev.of_node; in sun9i_a80_mmc_config_clk_remove() local
/linux-4.4.14/drivers/devfreq/event/
Dexynos-ppmu.c355 static struct devfreq_event_ops *exynos_bus_get_ops(struct device_node *np) in exynos_bus_get_ops()
363 static int of_get_devfreq_events(struct device_node *np, in of_get_devfreq_events()
422 struct device_node *np = dev->of_node; in exynos_ppmu_parse_dt() local
/linux-4.4.14/drivers/clk/imx/
Dclk-imx51-imx53.c331 static void __init mx50_clocks_init(struct device_node *np) in mx50_clocks_init()
393 static void __init mx51_clocks_init(struct device_node *np) in mx51_clocks_init()
482 static void __init mx53_clocks_init(struct device_node *np) in mx53_clocks_init()
/linux-4.4.14/drivers/usb/phy/
Dof.c32 enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np) in of_usb_get_phy_mode()

12345678