Searched refs:np (Results 1 - 25 of 795) sorted by relevance

1234567891011>>

/drivers/clk/at91/
H A Dsckc.h15 extern void __init of_at91sam9x5_clk_slow_osc_setup(struct device_node *np,
17 extern void __init of_at91sam9x5_clk_slow_rc_osc_setup(struct device_node *np,
19 extern void __init of_at91sam9x5_clk_slow_setup(struct device_node *np,
H A Dpmc.h58 int of_at91_get_clk_range(struct device_node *np, const char *propname,
61 extern void __init of_at91sam9260_clk_slow_setup(struct device_node *np,
64 extern void __init of_at91rm9200_clk_main_osc_setup(struct device_node *np,
66 extern void __init of_at91sam9x5_clk_main_rc_osc_setup(struct device_node *np,
68 extern void __init of_at91rm9200_clk_main_setup(struct device_node *np,
70 extern void __init of_at91sam9x5_clk_main_setup(struct device_node *np,
73 extern void __init of_at91rm9200_clk_pll_setup(struct device_node *np,
75 extern void __init of_at91sam9g45_clk_pll_setup(struct device_node *np,
77 extern void __init of_at91sam9g20_clk_pllb_setup(struct device_node *np,
79 extern void __init of_sama5d3_clk_pll_setup(struct device_node *np,
[all...]
/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.c54 static void sym_int_ma (struct sym_hcb *np);
56 static struct sym_ccb *sym_alloc_ccb(struct sym_hcb *np);
57 static struct sym_ccb *sym_ccb_from_dsa(struct sym_hcb *np, u32 dsa);
58 static void sym_alloc_lcb_tags (struct sym_hcb *np, u_char tn, u_char ln);
59 static void sym_complete_error (struct sym_hcb *np, struct sym_ccb *cp);
60 static void sym_complete_ok (struct sym_hcb *np, struct sym_ccb *cp);
61 static int sym_compute_residual(struct sym_hcb *np, struct sym_ccb *cp);
81 static void sym_print_nego_msg(struct sym_hcb *np, int target, char *label, u_char *msg) argument
83 struct sym_tcb *tp = &np->target[target];
133 static void sym_chip_reset (struct sym_hcb *np) argument
152 sym_soft_reset(struct sym_hcb *np) argument
185 sym_start_reset(struct sym_hcb *np) argument
190 sym_reset_scsi_bus(struct sym_hcb *np, int enab_int) argument
245 sym_selectclock(struct sym_hcb *np, u_char scntl3) argument
302 getfreq(struct sym_hcb *np, int gen) argument
374 sym_getfreq(struct sym_hcb *np) argument
389 sym_getclock(struct sym_hcb *np, int mult) argument
446 sym_getpciclock(struct sym_hcb *np) argument
482 sym_getsync(struct sym_hcb *np, u_char dt, u_char sfac, u_char *divp, u_char *fakp) argument
602 sym_init_burst(struct sym_hcb *np, u_char bc) argument
627 sym_save_initial_setting(struct sym_hcb *np) argument
654 sym_set_bus_mode(struct sym_hcb *np, struct sym_nvram *nvram) argument
682 sym_prepare_setting(struct Scsi_Host *shost, struct sym_hcb *np, struct sym_nvram *nvram) argument
975 sym_regtest(struct sym_hcb *np) argument
998 sym_regtest(struct sym_hcb *np) argument
1004 sym_snooptest(struct sym_hcb *np) argument
1132 struct sym_hcb *np = sym_get_hcb(shost); local
1190 struct sym_hcb *np = sym_get_hcb(shost); local
1315 sym_lookup_dmap(struct sym_hcb *np, u32 h, int s) argument
1348 sym_update_dmap_regs(struct sym_hcb *np) argument
1364 sym_check_goals(struct sym_hcb *np, struct scsi_target *starget, struct sym_trans *goal) argument
1419 sym_prepare_nego(struct sym_hcb *np, struct sym_ccb *cp, u_char *msgptr) argument
1480 sym_put_start_queue(struct sym_hcb *np, struct sym_ccb *cp) argument
1540 sym_start_next_ccbs(struct sym_hcb *np, struct sym_lcb *lp, int maxn) argument
1594 sym_wakeup_done(struct sym_hcb *np) argument
1641 sym_flush_comp_queue(struct sym_hcb *np, int cam_status) argument
1684 sym_flush_busy_queue(struct sym_hcb *np, int cam_status) argument
1707 struct sym_hcb *np = sym_data->ncb; local
1944 sym_settrans(struct sym_hcb *np, int target, u_char opts, u_char ofs, u_char per, u_char wide, u_char div, u_char fak) argument
2075 sym_setwide(struct sym_hcb *np, int target, u_char wide) argument
2104 sym_setsync(struct sym_hcb *np, int target, u_char ofs, u_char per, u_char div, u_char fak) argument
2137 sym_setpprot(struct sym_hcb *np, int target, u_char opts, u_char ofs, u_char per, u_char wide, u_char div, u_char fak) argument
2186 sym_recover_scsi_int(struct sym_hcb *np, u_char hsts) argument
2237 sym_int_sto(struct sym_hcb *np) argument
2252 sym_int_udc(struct sym_hcb *np) argument
2270 struct sym_hcb *np = sym_get_hcb(shost); local
2310 sym_int_par(struct sym_hcb *np, u_short sist) argument
2399 sym_int_ma(struct sym_hcb *np) argument
2815 struct sym_hcb *np = sym_data->ncb; local
2978 sym_dequeue_from_squeue(struct sym_hcb *np, int i, int target, int lun, int task) argument
3043 sym_sir_bad_scsi_status(struct sym_hcb *np, int num, struct sym_ccb *cp) argument
3198 sym_clear_tasks(struct sym_hcb *np, int cam_status, int target, int lun, int task) argument
3281 sym_sir_task_recovery(struct sym_hcb *np, int num) argument
3639 sym_evaluate_dp(struct sym_hcb *np, struct sym_ccb *cp, u32 scr, int *ofs) argument
3757 sym_modify_dp(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp, int ofs) argument
3856 sym_compute_residual(struct sym_hcb *np, struct sym_ccb *cp) argument
3958 sym_sync_nego_check(struct sym_hcb *np, int req, struct sym_ccb *cp) argument
4036 sym_sync_nego(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp) argument
4073 sym_ppr_nego_check(struct sym_hcb *np, int req, int target) argument
4173 sym_ppr_nego(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp) argument
4210 sym_wide_nego_check(struct sym_hcb *np, int req, struct sym_ccb *cp) argument
4273 sym_wide_nego(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp) argument
4337 sym_nego_default(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp) argument
4368 sym_nego_rejected(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp) argument
4377 sym_int_sir(struct sym_hcb *np) argument
4650 sym_get_ccb(struct sym_hcb *np, struct scsi_cmnd *cmd, u_char tag_order) argument
4777 sym_free_ccb(struct sym_hcb *np, struct sym_ccb *cp) argument
4869 sym_alloc_ccb(struct sym_hcb *np) argument
4937 sym_ccb_from_dsa(struct sym_hcb *np, u32 dsa) argument
4957 sym_init_tcb(struct sym_hcb *np, u_char tn) argument
4973 sym_alloc_lcb(struct sym_hcb *np, u_char tn, u_char ln) argument
5057 sym_alloc_lcb_tags(struct sym_hcb *np, u_char tn, u_char ln) argument
5104 sym_free_lcb(struct sym_hcb *np, u_char tn, u_char ln) argument
5140 sym_queue_scsiio(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) argument
5281 sym_reset_scsi_target(struct sym_hcb *np, int target) argument
5300 sym_abort_ccb(struct sym_hcb *np, struct sym_ccb *cp, int timed_out) argument
5330 sym_abort_scsiio(struct sym_hcb *np, struct scsi_cmnd *cmd, int timed_out) argument
5360 sym_complete_error(struct sym_hcb *np, struct sym_ccb *cp) argument
5491 sym_complete_ok(struct sym_hcb *np, struct sym_ccb *cp) argument
5582 struct sym_hcb *np = sym_get_hcb(shost); local
5803 sym_hcb_free(struct sym_hcb *np) argument
[all...]
H A Dsym_nvram.c50 void sym_nvram_setup_host(struct Scsi_Host *shost, struct sym_hcb *np, struct sym_nvram *nvram) argument
59 np->rv_scntl0 &= ~0x0a;
60 np->myaddr = nvram->data.Symbios.host_id & 0x0f;
62 np->verbose += 1;
66 np->usrflags |= SYM_AVOID_BUS_RESET;
69 np->myaddr = nvram->data.Tekram.host_id & 0x0f;
74 np->myaddr = nvram->data.parisc.host_id;
76 np->minsync = nvram->data.parisc.factor;
78 np->maxwide = nvram->data.parisc.width;
80 case 0: np
156 sym_display_Symbios_nvram(struct sym_device *np, Symbios_nvram *nvram) argument
188 sym_display_Tekram_nvram(struct sym_device *np, Tekram_nvram *nvram) argument
235 sym_display_Symbios_nvram(struct sym_device *np, Symbios_nvram *nvram) argument
236 sym_display_Tekram_nvram(struct sym_device *np, Tekram_nvram *nvram) argument
256 S24C16_set_bit(struct sym_device *np, u_char write_bit, u_char *gpreg, int bit_mode) argument
283 S24C16_start(struct sym_device *np, u_char *gpreg) argument
294 S24C16_stop(struct sym_device *np, u_char *gpreg) argument
304 S24C16_do_bit(struct sym_device *np, u_char *read_bit, u_char write_bit, u_char *gpreg) argument
319 S24C16_write_ack(struct sym_device *np, u_char write_bit, u_char *gpreg, u_char *gpcntl) argument
331 S24C16_read_ack(struct sym_device *np, u_char *read_bit, u_char *gpreg, u_char *gpcntl) argument
343 S24C16_write_byte(struct sym_device *np, u_char *ack_data, u_char write_data, u_char *gpreg, u_char *gpcntl) argument
358 S24C16_read_byte(struct sym_device *np, u_char *read_data, u_char ack_data, u_char *gpreg, u_char *gpcntl) argument
377 sym_write_S24C16_nvram(struct sym_device *np, int offset, u_char *data, int len) argument
431 sym_read_S24C16_nvram(struct sym_device *np, int offset, u_char *data, int len) argument
510 sym_read_Symbios_nvram(struct sym_device *np, Symbios_nvram *nvram) argument
551 T93C46_Clk(struct sym_device *np, u_char *gpreg) argument
562 T93C46_Read_Bit(struct sym_device *np, u_char *read_bit, u_char *gpreg) argument
572 T93C46_Write_Bit(struct sym_device *np, u_char write_bit, u_char *gpreg) argument
591 T93C46_Stop(struct sym_device *np, u_char *gpreg) argument
604 T93C46_Send_Command(struct sym_device *np, u_short write_data, u_char *read_bit, u_char *gpreg) argument
619 T93C46_Read_Word(struct sym_device *np, unsigned short *nvram_data, unsigned char *gpreg) argument
639 T93C46_Read_Data(struct sym_device *np, unsigned short *data, int len, unsigned char *gpreg) argument
660 sym_read_T93C46_nvram(struct sym_device *np, Tekram_nvram *nvram) argument
692 sym_read_Tekram_nvram(struct sym_device *np, Tekram_nvram *nvram) argument
733 sym_read_parisc_pdc(struct sym_device *np, struct pdc_initiator *pdc) argument
743 sym_read_parisc_pdc(struct sym_device *np, struct pdc_initiator *x) argument
753 sym_read_nvram(struct sym_device *np, struct sym_nvram *nvp) argument
[all...]
/drivers/isdn/capi/
H A Dcapilib.c31 static inline void mq_init(struct capilib_ncci *np) argument
34 np->msgidqueue = NULL;
35 np->msgidlast = NULL;
36 np->nmsg = 0;
37 memset(np->msgidpool, 0, sizeof(np->msgidpool));
38 np->msgidfree = &np->msgidpool[0];
39 for (i = 1; i < np->winsize; i++) {
40 np
45 mq_enqueue(struct capilib_ncci *np, u16 msgid) argument
62 mq_dequeue(struct capilib_ncci *np, u16 msgid) argument
82 struct capilib_ncci *np; local
107 struct capilib_ncci *np; local
128 struct capilib_ncci *np; local
145 struct capilib_ncci *np; local
160 struct capilib_ncci *np; local
183 struct capilib_ncci *np; local
[all...]
/drivers/clk/shmobile/
H A Dclk-emev2.c52 struct device_node *np; local
54 np = of_find_matching_node(NULL, smu_id);
55 BUG_ON(!np);
56 smu_base = of_iomap(np, 0);
58 of_node_put(np);
71 static void __init emev2_smu_clkdiv_init(struct device_node *np) argument
75 const char *parent_name = of_clk_get_parent_name(np, 0);
76 if (WARN_ON(of_property_read_u32_array(np, "reg", reg, 2)))
80 clk = clk_register_divider(NULL, np->name, parent_name, 0,
82 of_clk_add_provider(np, of_clk_src_simple_ge
89 emev2_smu_gclk_init(struct device_node *np) argument
[all...]
/drivers/net/ethernet/
H A Dfealnx.c483 struct netdev_private *np; local
549 np = netdev_priv(dev);
550 np->mem = ioaddr;
551 spin_lock_init(&np->lock);
552 np->pci_dev = pdev;
553 np->flags = skel_netdrv_tbl[chip_id].flags;
555 np->mii.dev = dev;
556 np->mii.mdio_read = mdio_read;
557 np->mii.mdio_write = mdio_write;
558 np
692 struct netdev_private *np = netdev_priv(dev); local
758 struct netdev_private *np = netdev_priv(dev); local
797 struct netdev_private *np = netdev_priv(dev); local
829 struct netdev_private *np = netdev_priv(dev); local
934 struct netdev_private *np = netdev_priv(dev); local
961 struct netdev_private *np = netdev_priv(dev); local
1064 struct netdev_private *np = netdev_priv(dev); local
1089 struct netdev_private *np = netdev_priv(dev); local
1126 struct netdev_private *np = netdev_priv(dev); local
1152 struct netdev_private *np = netdev_priv(dev); local
1178 struct netdev_private *np = netdev_priv(dev); local
1201 struct netdev_private *np = netdev_priv(dev); local
1239 struct netdev_private *np = netdev_priv(dev); local
1302 struct netdev_private *np = netdev_priv(dev); local
1380 struct netdev_private *np = netdev_priv(dev); local
1414 struct netdev_private *np = netdev_priv(dev); local
1436 struct netdev_private *np = netdev_priv(dev); local
1614 struct netdev_private *np = netdev_priv(dev); local
1749 struct netdev_private *np = netdev_priv(dev); local
1778 struct netdev_private *np = netdev_priv(dev); local
1814 struct netdev_private *np = netdev_priv(dev); local
1823 struct netdev_private *np = netdev_priv(dev); local
1835 struct netdev_private *np = netdev_priv(dev); local
1847 struct netdev_private *np = netdev_priv(dev); local
1853 struct netdev_private *np = netdev_priv(dev); local
1879 struct netdev_private *np = netdev_priv(dev); local
1895 struct netdev_private *np = netdev_priv(dev); local
[all...]
/drivers/of/
H A Dof_private.h19 * @np: Pointer to device_node that the alias stands for
29 struct device_node *np; member in struct:alias_prop
45 extern int of_property_notify(int action, struct device_node *np,
49 static inline int of_property_notify(int action, struct device_node *np, argument
66 extern const void *__of_get_property(const struct device_node *np,
68 extern int __of_add_property(struct device_node *np, struct property *prop);
69 extern int __of_add_property_sysfs(struct device_node *np,
71 extern int __of_remove_property(struct device_node *np, struct property *prop);
72 extern void __of_remove_property_sysfs(struct device_node *np,
74 extern int __of_update_property(struct device_node *np,
[all...]
H A Ddynamic.c44 void __of_detach_node_sysfs(struct device_node *np) argument
51 BUG_ON(!of_node_is_initialized(np));
56 if (of_node_is_attached(np)) {
57 for_each_property_of_node(np, pp)
58 sysfs_remove_bin_file(&np->kobj, &pp->attr);
59 kobject_del(&np->kobj);
63 of_node_put(np);
88 int of_property_notify(int action, struct device_node *np, argument
94 if (!of_node_is_attached(np))
97 pr.dn = np;
103 __of_attach_node(struct device_node *np) argument
129 of_attach_node(struct device_node *np) argument
146 __of_detach_node(struct device_node *np) argument
188 of_detach_node(struct device_node *np) argument
642 of_changeset_action(struct of_changeset *ocs, unsigned long action, struct device_node *np, struct property *prop) argument
[all...]
H A Dselftest.c45 struct device_node *np; local
47 np = of_find_node_by_path("/testcase-data");
48 selftest(np && !strcmp("/testcase-data", np->full_name),
50 of_node_put(np);
53 np = of_find_node_by_path("/testcase-data/");
54 selftest(!np, "trailing '/' on /testcase-data/ should fail\n");
56 np = of_find_node_by_path("/testcase-data/phandle-tests/consumer-a");
57 selftest(np && !strcmp("/testcase-data/phandle-tests/consumer-a", np
90 struct device_node *np; local
149 of_selftest_check_node_linkage(struct device_node *np) argument
180 struct device_node *np; local
198 struct device_node *np; member in struct:node_hash
204 struct device_node *np; local
242 struct device_node *np; local
345 struct device_node *np; local
500 struct device_node *np; local
572 struct device_node *np; local
676 struct device_node *np; local
708 struct device_node *np, *child; local
757 update_node_properties(struct device_node *np, struct device_node *dup) argument
776 attach_node_and_children(struct device_node *np) argument
817 struct device_node *selftest_data_node, *np; local
871 detach_node_and_children(struct device_node *np) argument
884 struct device_node *np; local
920 struct device_node *np; local
[all...]
H A Dof_mtd.c30 * @np: Pointer to the given device_node
35 int of_get_nand_ecc_mode(struct device_node *np) argument
40 err = of_property_read_string(np, "nand-ecc-mode", &pm);
55 * @np: Pointer to the given device_node
59 int of_get_nand_ecc_step_size(struct device_node *np) argument
64 ret = of_property_read_u32(np, "nand-ecc-step-size", &val);
72 * @np: Pointer to the given device_node
76 int of_get_nand_ecc_strength(struct device_node *np) argument
81 ret = of_property_read_u32(np, "nand-ecc-strength", &val);
88 * @np
92 of_get_nand_bus_width(struct device_node *np) argument
115 of_get_nand_on_flash_bbt(struct device_node *np) argument
[all...]
H A Dbase.c56 int of_n_addr_cells(struct device_node *np) argument
61 if (np->parent)
62 np = np->parent;
63 ip = of_get_property(np, "#address-cells", NULL);
66 } while (np->parent);
72 int of_n_size_cells(struct device_node *np) argument
77 if (np->parent)
78 np = np
89 of_node_to_nid(struct device_node *np) argument
134 __of_add_property_sysfs(struct device_node *np, struct property *pp) argument
158 __of_attach_node_sysfs(struct device_node *np) argument
193 struct device_node *np; local
214 __of_find_property(const struct device_node *np, const char *name, int *lenp) argument
233 of_find_property(const struct device_node *np, const char *name, int *lenp) argument
258 struct device_node *np; local
276 __of_get_property(const struct device_node *np, const char *name, int *lenp) argument
288 of_get_property(const struct device_node *np, const char *name, int *lenp) argument
563 struct device_node *np; local
734 struct device_node *np = NULL; local
789 struct device_node *np; local
819 struct device_node *np; local
851 struct device_node *np; local
882 struct device_node *np; local
962 struct device_node *np; local
1021 struct device_node *np; local
1049 of_property_count_elems_of_size(const struct device_node *np, const char *propname, int elem_size) argument
1082 of_find_property_value_of_size(const struct device_node *np, const char *propname, u32 len) argument
1112 of_property_read_u32_index(const struct device_node *np, const char *propname, u32 index, u32 *out_value) argument
1145 of_property_read_u8_array(const struct device_node *np, const char *propname, u8 *out_values, size_t sz) argument
1178 of_property_read_u16_array(const struct device_node *np, const char *propname, u16 *out_values, size_t sz) argument
1209 of_property_read_u32_array(const struct device_node *np, const char *propname, u32 *out_values, size_t sz) argument
1238 of_property_read_u64(const struct device_node *np, const char *propname, u64 *out_value) argument
1267 of_property_read_string(struct device_node *np, const char *propname, const char **out_string) argument
1291 of_property_match_string(struct device_node *np, const char *propname, const char *string) argument
1330 of_property_read_string_helper(struct device_node *np, const char *propname, const char **out_strs, size_t sz, int skip) argument
1365 __of_parse_phandle_with_args(const struct device_node *np, const char *list_name, const char *cells_name, int cell_count, int index, struct of_phandle_args *out_args) argument
1491 of_parse_phandle(const struct device_node *np, const char *phandle_name, int index) argument
1539 of_parse_phandle_with_args(const struct device_node *np, const char *list_name, const char *cells_name, int index, struct of_phandle_args *out_args) argument
1580 of_parse_phandle_with_fixed_args(const struct device_node *np, const char *list_name, int cell_count, int index, struct of_phandle_args *out_args) argument
1606 of_count_phandle_with_args(const struct device_node *np, const char *list_name, const char *cells_name) argument
1617 __of_add_property(struct device_node *np, struct property *prop) argument
1638 of_add_property(struct device_node *np, struct property *prop) argument
1660 __of_remove_property(struct device_node *np, struct property *prop) argument
1679 __of_remove_property_sysfs(struct device_node *np, struct property *prop) argument
1697 of_remove_property(struct device_node *np, struct property *prop) argument
1719 __of_update_property(struct device_node *np, struct property *newprop, struct property **oldpropp) argument
1745 __of_update_property_sysfs(struct device_node *np, struct property *newprop, struct property *oldprop) argument
1769 of_update_property(struct device_node *np, struct property *newprop) argument
1795 of_alias_add(struct alias_prop *ap, struct device_node *np, int id, const char *stem, int stem_len) argument
1843 struct device_node *np; local
1884 of_alias_get_id(struct device_node *np, const char *stem) argument
1972 of_find_next_cache_node(const struct device_node *np) argument
2111 struct device_node *np; local
2136 struct device_node *np; local
[all...]
/drivers/cpufreq/
H A Darm_big_little_dt.c36 struct device_node *np = of_cpu_device_node_get(cpu); local
38 if (!of_get_property(np, "operating-points", NULL)) {
39 of_node_put(np);
40 np = NULL;
43 return np;
48 struct device_node *np; local
51 np = of_node_get(cpu_dev->of_node);
52 if (!np) {
58 of_node_put(np);
65 struct device_node *np; local
89 struct device_node *np; local
[all...]
/drivers/net/ethernet/nvidia/
H A Dforcedeth.c794 * Locking: Within irq hander or disable_irq+spin_lock(&np->lock);
818 * Locking: Within irq hander or disable_irq+spin_lock(&np->lock);
964 static bool nv_optimized(struct fe_priv *np) argument
966 if (np->desc_ver == DESC_VER_1 || np->desc_ver == DESC_VER_2)
1001 struct fe_priv *np = get_nvpriv(dev); local
1004 if (!nv_optimized(np)) {
1006 writel(dma_low(np->ring_addr), base + NvRegRxRingPhysAddr);
1008 writel(dma_low(np->ring_addr + np
1023 struct fe_priv *np = get_nvpriv(dev); local
1040 struct fe_priv *np = get_nvpriv(dev); local
1052 struct fe_priv *np = get_nvpriv(dev); local
1069 struct fe_priv *np = get_nvpriv(dev); local
1085 struct fe_priv *np = get_nvpriv(dev); local
1109 struct fe_priv *np = get_nvpriv(dev); local
1123 struct fe_priv *np = get_nvpriv(dev); local
1130 struct fe_priv *np = get_nvpriv(dev); local
1178 struct fe_priv *np = netdev_priv(dev); local
1200 init_realtek_8211b(struct net_device *dev, struct fe_priv *np) argument
1224 init_realtek_8211c(struct net_device *dev, struct fe_priv *np) argument
1259 init_realtek_8201(struct net_device *dev, struct fe_priv *np) argument
1275 init_realtek_8201_cross(struct net_device *dev, struct fe_priv *np) argument
1298 init_cicada(struct net_device *dev, struct fe_priv *np, u32 phyinterface) argument
1322 init_vitesse(struct net_device *dev, struct fe_priv *np) argument
1386 struct fe_priv *np = get_nvpriv(dev); local
1531 struct fe_priv *np = netdev_priv(dev); local
1552 struct fe_priv *np = netdev_priv(dev); local
1573 struct fe_priv *np = netdev_priv(dev); local
1586 struct fe_priv *np = netdev_priv(dev); local
1620 struct fe_priv *np = netdev_priv(dev); local
1632 struct fe_priv *np = netdev_priv(dev); local
1663 struct fe_priv *np = netdev_priv(dev); local
1741 struct fe_priv *np = netdev_priv(dev); local
1807 struct fe_priv *np = netdev_priv(dev); local
1848 struct fe_priv *np = netdev_priv(dev); local
1892 struct fe_priv *np = netdev_priv(dev); local
1900 struct fe_priv *np = netdev_priv(dev); local
1929 struct fe_priv *np = netdev_priv(dev); local
1967 struct fe_priv *np = netdev_priv(dev); local
1978 nv_unmap_txskb(struct fe_priv *np, struct nv_skb_map *tx_skb) argument
1993 nv_release_txskb(struct fe_priv *np, struct nv_skb_map *tx_skb) argument
2006 struct fe_priv *np = netdev_priv(dev); local
2037 struct fe_priv *np = netdev_priv(dev); local
2068 nv_get_empty_tx_slots(struct fe_priv *np) argument
2187 struct fe_priv *np = netdev_priv(dev); local
2334 struct fe_priv *np = netdev_priv(dev); local
2510 struct fe_priv *np = netdev_priv(dev); local
2533 struct fe_priv *np = netdev_priv(dev); local
2597 struct fe_priv *np = netdev_priv(dev); local
2655 struct fe_priv *np = netdev_priv(dev); local
2800 struct fe_priv *np = netdev_priv(dev); local
2905 struct fe_priv *np = netdev_priv(dev); local
2994 struct fe_priv *np = netdev_priv(dev); local
3008 struct fe_priv *np = netdev_priv(dev); local
3087 struct fe_priv *np = netdev_priv(dev); local
3124 struct fe_priv *np = netdev_priv(dev); local
3184 struct fe_priv *np = netdev_priv(dev); local
3221 struct fe_priv *np = netdev_priv(dev); local
3299 struct fe_priv *np = netdev_priv(dev); local
3550 nv_msi_workaround(struct fe_priv *np) argument
3566 struct fe_priv *np = netdev_priv(dev); local
3595 struct fe_priv *np = netdev_priv(dev); local
3628 struct fe_priv *np = netdev_priv(dev); local
3657 struct fe_priv *np = netdev_priv(dev); local
3697 struct fe_priv *np = container_of(napi, struct fe_priv, napi); local
3769 struct fe_priv *np = netdev_priv(dev); local
3814 struct fe_priv *np = netdev_priv(dev); local
3881 struct fe_priv *np = netdev_priv(dev); local
3931 struct fe_priv *np = get_nvpriv(dev); local
4056 struct fe_priv *np = get_nvpriv(dev); local
4076 struct fe_priv *np = netdev_priv(dev); local
4195 struct fe_priv *np = netdev_priv(dev); local
4211 struct fe_priv *np = netdev_priv(dev); local
4219 struct fe_priv *np = netdev_priv(dev); local
4230 struct fe_priv *np = netdev_priv(dev); local
4251 struct fe_priv *np = netdev_priv(dev); local
4329 struct fe_priv *np = netdev_priv(dev); local
4500 struct fe_priv *np = netdev_priv(dev); local
4506 struct fe_priv *np = netdev_priv(dev); local
4520 struct fe_priv *np = netdev_priv(dev); local
4567 struct fe_priv *np = netdev_priv(dev); local
4578 struct fe_priv *np = netdev_priv(dev); local
4690 struct fe_priv *np = netdev_priv(dev); local
4699 struct fe_priv *np = netdev_priv(dev); local
4769 struct fe_priv *np = netdev_priv(dev); local
4834 struct fe_priv *np = get_nvpriv(dev); local
4855 struct fe_priv *np = netdev_priv(dev); local
4888 struct fe_priv *np = netdev_priv(dev); local
4915 struct fe_priv *np = netdev_priv(dev); local
4926 struct fe_priv *np = netdev_priv(dev); local
4969 struct fe_priv *np = netdev_priv(dev); local
5032 struct fe_priv *np = netdev_priv(dev); local
5158 struct fe_priv *np = netdev_priv(dev); local
5272 struct fe_priv *np = netdev_priv(dev); local
5307 struct fe_priv *np = netdev_priv(dev); local
5323 struct fe_priv *np = netdev_priv(dev); local
5352 struct fe_priv *np = netdev_priv(dev); local
5524 struct fe_priv *np = netdev_priv(dev); local
5607 struct fe_priv *np; local
6046 struct fe_priv *np = netdev_priv(dev); local
6069 struct fe_priv *np = netdev_priv(dev); local
6107 struct fe_priv *np = netdev_priv(dev); local
6128 struct fe_priv *np = netdev_priv(dev); local
6161 struct fe_priv *np = netdev_priv(dev); local
[all...]
/drivers/clocksource/
H A Dclksrc-of.c28 struct device_node *np; local
33 for_each_matching_node_and_match(np, __clksrc_of_table, &match) {
34 if (!of_device_is_available(np))
38 init_func(np);
/drivers/net/ethernet/dlink/
H A Ddl2k.c60 static void dl2k_enable_int(struct netdev_private *np) argument
62 void __iomem *ioaddr = np->ioaddr;
117 struct netdev_private *np; local
142 dev = alloc_etherdev (sizeof (*np));
147 np = netdev_priv(dev);
153 np->eeprom_addr = ioaddr;
161 np->ioaddr = ioaddr;
162 np->chip_id = chip_idx;
163 np->pdev = pdev;
164 spin_lock_init (&np
315 struct netdev_private *np = netdev_priv(dev); local
337 struct netdev_private *np = netdev_priv(dev); local
412 struct netdev_private *np = netdev_priv(dev); local
492 struct netdev_private *np = netdev_priv(dev); local
535 struct netdev_private *np = netdev_priv(dev); local
549 struct netdev_private *np = netdev_priv(dev); local
602 struct netdev_private *np = netdev_priv(dev); local
671 struct netdev_private *np = netdev_priv(dev); local
715 struct netdev_private *np = netdev_priv(dev); local
763 struct netdev_private *np = netdev_priv(dev); local
821 struct netdev_private *np = netdev_priv(dev); local
925 struct netdev_private *np = netdev_priv(dev); local
976 struct netdev_private *np = netdev_priv(dev); local
1038 struct netdev_private *np = netdev_priv(dev); local
1094 struct netdev_private *np = netdev_priv(dev); local
1109 struct netdev_private *np = netdev_priv(dev); local
1155 struct netdev_private *np = netdev_priv(dev); local
1164 struct netdev_private *np = netdev_priv(dev); local
1202 struct netdev_private *np = netdev_priv(dev); local
1239 struct netdev_private *np = netdev_priv(dev); local
1254 struct netdev_private *np = netdev_priv(dev); local
1280 read_eeprom(struct netdev_private *np, int eep_addr) argument
1302 struct netdev_private *np = netdev_priv(dev); local
1315 struct netdev_private *np = netdev_priv(dev); local
1385 struct netdev_private *np; local
1406 struct netdev_private *np; local
1492 struct netdev_private *np; local
1579 struct netdev_private *np; local
1636 struct netdev_private *np; local
1685 struct netdev_private *np = netdev_priv(dev); local
1734 struct netdev_private *np = netdev_priv(dev); local
[all...]
H A Dsundance.c455 struct netdev_private *np = netdev_priv(dev); local
456 void __iomem *ioaddr = np->base + ASICCtrl;
475 struct netdev_private *np = netdev_priv(dev); local
477 disable_irq(np->pci_dev->irq);
478 intr_handler(np->pci_dev->irq, dev);
479 enable_irq(np->pci_dev->irq);
503 struct netdev_private *np; local
532 dev = alloc_etherdev(sizeof(*np));
548 np = netdev_priv(dev);
549 np
772 struct netdev_private *np = netdev_priv(dev); local
802 struct netdev_private *np = netdev_priv(dev); local
832 struct netdev_private *np; local
848 struct netdev_private *np = netdev_priv(dev); local
928 struct netdev_private *np = netdev_priv(dev); local
957 struct netdev_private *np = netdev_priv(dev); local
974 struct netdev_private *np = netdev_priv(dev); local
1027 struct netdev_private *np = netdev_priv(dev); local
1075 struct netdev_private *np = netdev_priv(dev); local
1101 struct netdev_private *np = netdev_priv(dev); local
1150 struct netdev_private *np = netdev_priv(dev); local
1188 struct netdev_private *np = netdev_priv(dev); local
1334 struct netdev_private *np = netdev_priv(dev); local
1428 struct netdev_private *np = netdev_priv(dev); local
1462 struct netdev_private *np = netdev_priv(dev); local
1527 struct netdev_private *np = netdev_priv(dev); local
1569 struct netdev_private *np = netdev_priv(dev); local
1610 struct netdev_private *np = netdev_priv(dev); local
1659 struct netdev_private *np = netdev_priv(dev); local
1667 struct netdev_private *np = netdev_priv(dev); local
1676 struct netdev_private *np = netdev_priv(dev); local
1686 struct netdev_private *np = netdev_priv(dev); local
1692 struct netdev_private *np = netdev_priv(dev); local
1698 struct netdev_private *np = netdev_priv(dev); local
1704 struct netdev_private *np = netdev_priv(dev); local
1728 struct netdev_private *np = netdev_priv(dev); local
1749 struct netdev_private *np = netdev_priv(dev); local
1769 struct netdev_private *np = netdev_priv(dev); local
1816 struct netdev_private *np = netdev_priv(dev); local
1831 struct netdev_private *np = netdev_priv(dev); local
1934 struct netdev_private *np = netdev_priv(dev); local
1951 struct netdev_private *np = netdev_priv(dev); local
[all...]
/drivers/char/hw_random/
H A Dn2-drv.c146 static unsigned long n2rng_control_settle_v2(struct n2rng *np, int unit) argument
148 unsigned long ra = __pa(&np->scratch_control[0]);
153 static unsigned long n2rng_write_ctl_one(struct n2rng *np, int unit, argument
161 if (np->hvapi_major == 1) {
168 hv_err = n2rng_control_settle_v2(np, unit);
200 static unsigned long n2rng_read_diag_data_one(struct n2rng *np, argument
208 if (np->hvapi_major == 1) {
219 static int n2rng_generic_read_diag_data(struct n2rng *np, argument
228 hv_err = n2rng_read_diag_data_one(np, unit,
248 static int n2rng_generic_write_control(struct n2rng *np, argument
278 n2rng_try_read_ctl(struct n2rng *np) argument
326 n2rng_control_swstate_init(struct n2rng *np) argument
348 n2rng_grab_diag_control(struct n2rng *np) argument
370 n2rng_init_control(struct n2rng *np) argument
389 struct n2rng *np = (struct n2rng *) rng->priv; local
422 n2rng_guest_check(struct n2rng *np) argument
429 n2rng_entropy_diag_read(struct n2rng *np, unsigned long unit, u64 *pre_control, u64 pre_state, u64 *buffer, unsigned long buf_len, u64 *post_control, u64 post_state) argument
467 n2rng_test_buffer_find(struct n2rng *np, u64 val) argument
479 n2rng_dump_test_buffer(struct n2rng *np) argument
488 n2rng_check_selftest_buffer(struct n2rng *np, unsigned long unit) argument
512 n2rng_control_selftest(struct n2rng *np, unsigned long unit) argument
536 n2rng_control_check(struct n2rng *np) argument
551 n2rng_control_configure_units(struct n2rng *np) argument
590 struct n2rng *np = container_of(work, struct n2rng, work.work); local
627 struct n2rng *np; local
718 struct n2rng *np = platform_get_drvdata(op); local
[all...]
/drivers/memory/
H A Dof_memory.c22 * @np: pointer to ddr device tree node
30 const struct lpddr2_min_tck *of_get_min_tck(struct device_node *np, argument
40 ret |= of_property_read_u32(np, "tRPab-min-tck", &min->tRPab);
41 ret |= of_property_read_u32(np, "tRCD-min-tck", &min->tRCD);
42 ret |= of_property_read_u32(np, "tWR-min-tck", &min->tWR);
43 ret |= of_property_read_u32(np, "tRASmin-min-tck", &min->tRASmin);
44 ret |= of_property_read_u32(np, "tRRD-min-tck", &min->tRRD);
45 ret |= of_property_read_u32(np, "tWTR-min-tck", &min->tWTR);
46 ret |= of_property_read_u32(np, "tXP-min-tck", &min->tXP);
47 ret |= of_property_read_u32(np, "tRT
65 of_do_get_timings(struct device_node *np, struct lpddr2_timings *tim) argument
[all...]
/drivers/net/ethernet/dec/tulip/
H A Dwinbond-840.c332 static void free_rxtx_rings(struct netdev_private *np);
336 static void free_ringdesc(struct netdev_private *np);
364 struct netdev_private *np; local
383 dev = alloc_etherdev(sizeof(*np));
402 np = netdev_priv(dev);
403 np->pci_dev = pdev;
404 np->chip_id = chip_idx;
405 np->drv_flags = pci_id_tbl[chip_idx].drv_flags;
406 spin_lock_init(&np->lock);
407 np
569 struct netdev_private *np = netdev_priv(dev); local
599 struct netdev_private *np = netdev_priv(dev); local
631 struct netdev_private *np = netdev_priv(dev); local
674 struct netdev_private *np = netdev_priv(dev); local
740 struct netdev_private *np = netdev_priv(dev); local
781 struct netdev_private *np = netdev_priv(dev); local
797 struct netdev_private *np = netdev_priv(dev); local
842 free_rxtx_rings(struct netdev_private* np) argument
871 struct netdev_private *np = netdev_priv(dev); local
929 struct netdev_private *np = netdev_priv(dev); local
976 struct netdev_private *np = netdev_priv(dev); local
990 free_ringdesc(struct netdev_private *np) argument
1001 struct netdev_private *np = netdev_priv(dev); local
1063 struct netdev_private *np = netdev_priv(dev); local
1116 struct netdev_private *np = netdev_priv(dev); local
1180 struct netdev_private *np = netdev_priv(dev); local
1288 struct netdev_private *np = netdev_priv(dev); local
1330 struct netdev_private *np = netdev_priv(dev); local
1345 struct netdev_private *np = netdev_priv(dev); local
1379 struct netdev_private *np = netdev_priv(dev); local
1388 struct netdev_private *np = netdev_priv(dev); local
1397 struct netdev_private *np = netdev_priv(dev); local
1409 struct netdev_private *np = netdev_priv(dev); local
1421 struct netdev_private *np = netdev_priv(dev); local
1427 struct netdev_private *np = netdev_priv(dev); local
1454 struct netdev_private *np = netdev_priv(dev); local
1479 struct netdev_private *np = netdev_priv(dev); local
1538 struct netdev_private *np = netdev_priv(dev); local
1574 struct netdev_private *np = netdev_priv(dev); local
1609 struct netdev_private *np = netdev_priv(dev); local
[all...]
/drivers/char/tpm/
H A Dtpm_of.c25 struct device_node *np; local
34 np = of_find_node_by_name(NULL, "ibm,vtpm");
35 if (!np) {
40 sizep = of_get_property(np, "linux,sml-size", NULL);
50 basep = of_get_property(np, "linux,sml-base", NULL);
56 of_node_put(np);
71 of_node_put(np);
/drivers/input/touchscreen/
H A Dof_touchscreen.c26 struct device_node *np = dev->dev.parent->of_node; local
34 of_property_read_u32(np, "touchscreen-size-x", &absinfo->maximum);
35 of_property_read_u32(np, "touchscreen-fuzz-x", &absinfo->fuzz);
38 of_property_read_u32(np, "touchscreen-size-y", &absinfo->maximum);
39 of_property_read_u32(np, "touchscreen-fuzz-y", &absinfo->fuzz);
42 of_property_read_u32(np, "touchscreen-max-pressure", &absinfo->maximum);
43 of_property_read_u32(np, "touchscreen-fuzz-pressure", &absinfo->fuzz);
/drivers/net/ethernet/sun/
H A Dniu.c71 #define nr64(reg) readq(np->regs + (reg))
72 #define nw64(reg, val) writeq((val), np->regs + (reg))
74 #define nr64_mac(reg) readq(np->mac_regs + (reg))
75 #define nw64_mac(reg, val) writeq((val), np->mac_regs + (reg))
77 #define nr64_ipp(reg) readq(np->regs + np->ipp_off + (reg))
78 #define nw64_ipp(reg, val) writeq((val), np->regs + np->ipp_off + (reg))
80 #define nr64_pcs(reg) readq(np->regs + np
100 __niu_wait_bits_clear_mac(struct niu *np, unsigned long reg, u64 bits, int limit, int delay) argument
115 __niu_set_and_wait_clear_mac(struct niu *np, unsigned long reg, u64 bits, int limit, int delay, const char *reg_name) argument
135 __niu_wait_bits_clear_ipp(struct niu *np, unsigned long reg, u64 bits, int limit, int delay) argument
150 __niu_set_and_wait_clear_ipp(struct niu *np, unsigned long reg, u64 bits, int limit, int delay, const char *reg_name) argument
174 __niu_wait_bits_clear(struct niu *np, unsigned long reg, u64 bits, int limit, int delay) argument
194 __niu_set_and_wait_clear(struct niu *np, unsigned long reg, u64 bits, int limit, int delay, const char *reg_name) argument
214 niu_ldg_rearm(struct niu *np, struct niu_ldg *lp, int on) argument
224 niu_ldn_irq_enable(struct niu *np, int ldn, int on) argument
250 niu_enable_ldn_in_ldg(struct niu *np, struct niu_ldg *lp, int on) argument
268 niu_enable_interrupts(struct niu *np, int on) argument
296 mdio_wait(struct niu *np) argument
312 mdio_read(struct niu *np, int port, int dev, int reg) argument
325 mdio_write(struct niu *np, int port, int dev, int reg, int data) argument
342 mii_read(struct niu *np, int port, int reg) argument
348 mii_write(struct niu *np, int port, int reg, int data) argument
360 esr2_set_tx_cfg(struct niu *np, unsigned long channel, u32 val) argument
374 esr2_set_rx_cfg(struct niu *np, unsigned long channel, u32 val) argument
389 serdes_init_niu_10g_fiber(struct niu *np) argument
426 serdes_init_niu_1g_serdes(struct niu *np) argument
523 serdes_init_niu_10g_serdes(struct niu *np) argument
638 esr_read_rxtx_ctrl(struct niu *np, unsigned long chan, u32 *val) argument
654 esr_read_glue0(struct niu *np, unsigned long chan, u32 *val) argument
672 esr_read_reset(struct niu *np, u32 *val) argument
690 esr_write_rxtx_ctrl(struct niu *np, unsigned long chan, u32 val) argument
702 esr_write_glue0(struct niu *np, unsigned long chan, u32 val) argument
714 esr_reset(struct niu *np) argument
753 serdes_init_10g(struct niu *np) argument
879 serdes_init_1g(struct niu *np) argument
906 serdes_init_1g_serdes(struct niu *np) argument
1027 link_status_1g_serdes(struct niu *np, int *link_up_p) argument
1058 link_status_10g_serdes(struct niu *np, int *link_up_p) argument
1092 link_status_mii(struct niu *np, int *link_up_p) argument
1205 link_status_1g_rgmii(struct niu *np, int *link_up_p) argument
1258 link_status_1g(struct niu *np, int *link_up_p) argument
1274 bcm8704_reset(struct niu *np) argument
1308 bcm8704_user_dev3_readback(struct niu *np, int reg) argument
1319 bcm8706_init_user_dev3(struct niu *np) argument
1341 bcm8704_init_user_dev3(struct niu *np) argument
1391 mrvl88x2011_act_led(struct niu *np, int val) argument
1407 mrvl88x2011_led_blink_rate(struct niu *np, int rate) argument
1424 xcvr_init_10g_mrvl88x2011(struct niu *np) argument
1471 xcvr_diag_bcm870x(struct niu *np) argument
1529 xcvr_10g_set_lb_bcm870x(struct niu *np) argument
1552 xcvr_init_10g_bcm8706(struct niu *np) argument
1589 xcvr_init_10g_bcm8704(struct niu *np) argument
1612 xcvr_init_10g(struct niu *np) argument
1644 mii_reset(struct niu *np) argument
1670 xcvr_init_1g_rgmii(struct niu *np) argument
1730 mii_init_common(struct niu *np) argument
1865 xcvr_init_1g(struct niu *np) argument
1877 niu_xcvr_init(struct niu *np) argument
1889 niu_serdes_init(struct niu *np) argument
1904 niu_link_status_common(struct niu *np, int link_up) argument
1935 link_status_10g_mrvl(struct niu *np, int *link_up_p) argument
1991 link_status_10g_bcm8706(struct niu *np, int *link_up_p) argument
2042 link_status_10g_bcom(struct niu *np, int *link_up_p) argument
2091 link_status_10g(struct niu *np, int *link_up_p) argument
2121 niu_10g_phy_present(struct niu *np) argument
2158 link_status_10g_hotplug(struct niu *np, int *link_up_p) argument
2212 niu_link_status(struct niu *np, int *link_up_p) argument
2226 struct niu *np = (struct niu *) __opaque; local
2367 serdes_init_10g_serdes(struct niu *np) argument
2496 niu_determine_phy_disposition(struct niu *np) argument
2602 niu_init_link(struct niu *np) argument
2623 niu_set_primary_mac(struct niu *np, unsigned char *addr) argument
2640 niu_num_alt_addr(struct niu *np) argument
2648 niu_set_alt_mac(struct niu *np, int index, unsigned char *addr) argument
2670 niu_enable_alt_mac(struct niu *np, int index, int on) argument
2696 __set_rdc_table_num_hw(struct niu *np, unsigned long reg, int num, int mac_pref) argument
2707 __set_rdc_table_num(struct niu *np, int xmac_index, int bmac_index, int rdc_table_num, int mac_pref) argument
2723 niu_set_primary_mac_rdc_table(struct niu *np, int table_num, int mac_pref) argument
2729 niu_set_multicast_mac_rdc_table(struct niu *np, int table_num, int mac_pref) argument
2735 niu_set_alt_mac_rdc_table(struct niu *np, int idx, int table_num, int mac_pref) argument
2764 vlan_tbl_write(struct niu *np, unsigned long index, int port, int vpr, int rdc_table) argument
2782 vlan_tbl_clear(struct niu *np) argument
2790 tcam_wait_bit(struct niu *np, u64 bit) argument
2805 tcam_flush(struct niu *np, int index) argument
2836 tcam_write(struct niu *np, int index, u64 *key, u64 *mask) argument
2866 tcam_assoc_write(struct niu *np, int index, u64 assoc_data) argument
2874 tcam_enable(struct niu *np, int on) argument
2885 tcam_set_lat_and_ratio(struct niu *np, u64 latency, u64 ratio) argument
2901 tcam_user_eth_class_enable(struct niu *np, unsigned long class, int on) argument
2944 tcam_user_ip_class_enable(struct niu *np, unsigned long class, int on) argument
2965 tcam_user_ip_class_set(struct niu *np, unsigned long class, int ipv6, u64 protocol_id, u64 tos_mask, u64 tos_val) argument
2993 tcam_early_init(struct niu *np) argument
3016 tcam_flush_all(struct niu *np) argument
3053 hash_write(struct niu *np, unsigned long partition, unsigned long index, unsigned long num_entries, u64 *data) argument
3071 fflp_reset(struct niu *np) argument
3083 fflp_set_timings(struct niu *np) argument
3102 fflp_set_partition(struct niu *np, u64 partition, u64 mask, u64 base, int enable) argument
3126 fflp_disable_all_partitions(struct niu *np) argument
3138 fflp_llcsnap_enable(struct niu *np, int on) argument
3149 fflp_errors_enable(struct niu *np, int on) argument
3160 fflp_hash_clear(struct niu *np) argument
3177 fflp_early_init(struct niu *np) argument
3236 niu_set_flow_key(struct niu *np, unsigned long class_code, u64 key) argument
3246 niu_set_tcam_key(struct niu *np, unsigned long class_code, u64 key) argument
3257 tcam_get_index(struct niu *np, u16 idx) argument
3265 tcam_get_size(struct niu *np) argument
3271 tcam_get_valid_entry_cnt(struct niu *np) argument
3324 niu_rbr_add_page(struct niu *np, struct rx_ring_info *rp, gfp_t mask, int start_index) argument
3357 niu_rbr_refill(struct niu *np, struct rx_ring_info *rp, gfp_t mask) argument
3382 niu_rx_pkt_ignore(struct niu *np, struct rx_ring_info *rp) argument
3422 niu_process_rx_pkt(struct napi_struct *napi, struct niu *np, struct rx_ring_info *rp) argument
3513 niu_rbr_fill(struct niu *np, struct rx_ring_info *rp, gfp_t mask) argument
3531 niu_rbr_free(struct niu *np, struct rx_ring_info *rp) argument
3559 release_tx_packet(struct niu *np, struct tx_ring_info *rp, int idx) argument
3603 niu_tx_work(struct niu *np, struct tx_ring_info *rp) argument
3645 niu_sync_rx_discard_stats(struct niu *np, struct rx_ring_info *rp, const int limit) argument
3697 niu_rx_work(struct napi_struct *napi, struct niu *np, struct rx_ring_info *rp, int budget) argument
3746 niu_poll_core(struct niu *np, struct niu_ldg *lp, int budget) argument
3784 struct niu *np = lp->np; local
3796 niu_log_rxchan_errors(struct niu *np, struct rx_ring_info *rp, u64 stat) argument
3833 niu_rx_error(struct niu *np, struct rx_ring_info *rp) argument
3857 niu_log_txchan_errors(struct niu *np, struct tx_ring_info *rp, u64 cs) argument
3882 niu_tx_error(struct niu *np, struct tx_ring_info *rp) argument
3901 niu_mif_interrupt(struct niu *np) argument
3919 niu_xmac_interrupt(struct niu *np) argument
3991 niu_bmac_interrupt(struct niu *np) argument
4027 niu_mac_interrupt(struct niu *np) argument
4037 niu_log_device_error(struct niu *np, u64 stat) argument
4067 niu_device_error(struct niu *np) argument
4079 niu_slowpath_interrupt(struct niu *np, struct niu_ldg *lp, u64 v0, u64 v1, u64 v2) argument
4144 niu_rxchan_intr(struct niu *np, struct rx_ring_info *rp, int ldn) argument
4158 niu_txchan_intr(struct niu *np, struct tx_ring_info *rp, int ldn) argument
4167 __niu_fastpath_interrupt(struct niu *np, int ldg, u64 v0) argument
4201 niu_schedule_napi(struct niu *np, struct niu_ldg *lp, u64 v0, u64 v1, u64 v2) argument
4216 struct niu *np = lp->np; local
4257 niu_free_rx_ring_info(struct niu *np, struct rx_ring_info *rp) argument
4287 niu_free_tx_ring_info(struct niu *np, struct tx_ring_info *rp) argument
4314 niu_free_channels(struct niu *np) argument
4341 niu_alloc_rx_ring_info(struct niu *np, struct rx_ring_info *rp) argument
4392 niu_set_max_burst(struct niu *np, struct tx_ring_info *rp) argument
4404 niu_alloc_tx_ring_info(struct niu *np, struct tx_ring_info *rp) argument
4444 niu_size_rbr(struct niu *np, struct rx_ring_info *rp) argument
4471 niu_alloc_channels(struct niu *np) argument
4560 niu_tx_cs_sng_poll(struct niu *np, int channel) argument
4572 niu_tx_channel_stop(struct niu *np, int channel) argument
4582 niu_tx_cs_reset_poll(struct niu *np, int channel) argument
4594 niu_tx_channel_reset(struct niu *np, int channel) argument
4609 niu_tx_channel_lpage_init(struct niu *np, int channel) argument
4630 niu_txc_enable_port(struct niu *np, int on) argument
4649 niu_txc_set_imask(struct niu *np, u64 imask) argument
4661 niu_txc_port_dma_enable(struct niu *np, int on) argument
4674 niu_init_one_tx_channel(struct niu *np, struct tx_ring_info *rp) argument
4728 niu_init_rdc_groups(struct niu *np) argument
4746 niu_init_drr_weight(struct niu *np) argument
4764 niu_init_hostinfo(struct niu *np) argument
4788 niu_rx_channel_reset(struct niu *np, int channel) argument
4795 niu_rx_channel_lpage_init(struct niu *np, int channel) argument
4814 niu_rx_channel_wred_init(struct niu *np, struct rx_ring_info *rp) argument
4905 niu_enable_rx_channel(struct niu *np, int channel, int on) argument
4927 niu_init_one_rx_channel(struct niu *np, struct rx_ring_info *rp) argument
4980 niu_init_rx_channels(struct niu *np) argument
5011 niu_set_ip_frag_rule(struct niu *np) argument
5041 niu_init_classifier_hw(struct niu *np) argument
5090 niu_zcp_write(struct niu *np, int index, u64 *data) argument
5107 niu_zcp_read(struct niu *np, int index, u64 *data) argument
5141 niu_zcp_cfifo_reset(struct niu *np) argument
5153 niu_init_zcp(struct niu *np) argument
5190 niu_ipp_write(struct niu *np, int index, u64 *data) argument
5204 niu_ipp_read(struct niu *np, int index, u64 *data) argument
5214 niu_ipp_reset(struct niu *np) argument
5220 niu_init_ipp(struct niu *np) argument
5271 niu_handle_led(struct niu *np, int status) argument
5290 niu_init_xif_xmac(struct niu *np) argument
5347 niu_init_xif_bmac(struct niu *np) argument
5377 niu_init_xif(struct niu *np) argument
5385 niu_pcs_mii_reset(struct niu *np) argument
5397 niu_xpcs_reset(struct niu *np) argument
5409 niu_init_pcs(struct niu *np) argument
5473 niu_reset_tx_xmac(struct niu *np) argument
5481 niu_reset_tx_bmac(struct niu *np) argument
5502 niu_reset_tx_mac(struct niu *np) argument
5510 niu_init_tx_xmac(struct niu *np, u64 min, u64 max) argument
5546 niu_init_tx_bmac(struct niu *np, u64 min, u64 max) argument
5563 niu_init_tx_mac(struct niu *np) argument
5584 niu_reset_rx_xmac(struct niu *np) argument
5607 niu_reset_rx_bmac(struct niu *np) argument
5628 niu_reset_rx_mac(struct niu *np) argument
5636 niu_init_rx_xmac(struct niu *np) argument
5688 niu_init_rx_bmac(struct niu *np) argument
5723 niu_init_rx_mac(struct niu *np) argument
5733 niu_enable_tx_xmac(struct niu *np, int on) argument
5744 niu_enable_tx_bmac(struct niu *np, int on) argument
5755 niu_enable_tx_mac(struct niu *np, int on) argument
5763 niu_enable_rx_xmac(struct niu *np, int on) argument
5782 niu_enable_rx_bmac(struct niu *np, int on) argument
5801 niu_enable_rx_mac(struct niu *np, int on) argument
5809 niu_init_mac(struct niu *np) argument
5840 niu_stop_one_tx_channel(struct niu *np, struct tx_ring_info *rp) argument
5845 niu_stop_tx_channels(struct niu *np) argument
5856 niu_reset_one_tx_channel(struct niu *np, struct tx_ring_info *rp) argument
5861 niu_reset_tx_channels(struct niu *np) argument
5872 niu_stop_one_rx_channel(struct niu *np, struct rx_ring_info *rp) argument
5877 niu_stop_rx_channels(struct niu *np) argument
5888 niu_reset_one_rx_channel(struct niu *np, struct rx_ring_info *rp) argument
5898 niu_reset_rx_channels(struct niu *np) argument
5909 niu_disable_ipp(struct niu *np) argument
5938 niu_init_hw(struct niu *np) argument
6000 niu_stop_hw(struct niu *np) argument
6024 niu_set_irq_name(struct niu *np) argument
6047 niu_request_irq(struct niu *np) argument
6075 niu_free_irq(struct niu *np) argument
6086 niu_enable_napi(struct niu *np) argument
6094 niu_disable_napi(struct niu *np) argument
6104 struct niu *np = netdev_priv(dev); local
6163 niu_full_shutdown(struct niu *np, struct net_device *dev) argument
6181 struct niu *np = netdev_priv(dev); local
6194 niu_sync_xmac_stats(struct niu *np) argument
6219 niu_sync_bmac_stats(struct niu *np) argument
6232 niu_sync_mac_stats(struct niu *np) argument
6240 niu_get_rx_stats(struct niu *np, struct rtnl_link_stats64 *stats) argument
6271 niu_get_tx_stats(struct niu *np, struct rtnl_link_stats64 *stats) argument
6301 struct niu *np = netdev_priv(dev); local
6311 niu_load_hash_xmac(struct niu *np, u16 *hash) argument
6319 niu_load_hash_bmac(struct niu *np, u16 *hash) argument
6327 niu_load_hash(struct niu *np, u16 *hash) argument
6337 struct niu *np = netdev_priv(dev); local
6407 struct niu *np = netdev_priv(dev); local
6433 niu_netif_stop(struct niu *np) argument
6442 niu_netif_start(struct niu *np) argument
6455 niu_reset_buffers(struct niu *np) argument
6507 struct niu *np = container_of(work, struct niu, reset_task); local
6545 struct niu *np = netdev_priv(dev); local
6633 struct niu *np = netdev_priv(dev); local
6762 struct niu *np = netdev_priv(dev); local
6817 struct niu *np = netdev_priv(dev); local
6831 struct niu *np = netdev_priv(dev); local
6852 struct niu *np = netdev_priv(dev); local
6864 struct niu *np = netdev_priv(dev); local
6870 struct niu *np = netdev_priv(dev); local
6876 struct niu *np = netdev_priv(dev); local
6886 struct niu *np = netdev_priv(dev); local
6894 struct niu *np = netdev_priv(dev); local
7090 niu_get_hash_opts(struct niu *np, struct ethtool_rxnfc *nfc) argument
7184 niu_get_ethtool_tcam_entry(struct niu *np, struct ethtool_rxnfc *nfc) argument
7265 niu_get_ethtool_tcam_all(struct niu *np, struct ethtool_rxnfc *nfc, u32 *rule_locs) argument
7301 struct niu *np = netdev_priv(dev); local
7328 niu_set_hash_opts(struct niu *np, struct ethtool_rxnfc *nfc) argument
7445 niu_add_ethtool_tcam_entry(struct niu *np, struct ethtool_rxnfc *nfc) argument
7603 niu_del_ethtool_tcam_entry(struct niu *np, u32 loc) argument
7666 struct niu *np = netdev_priv(dev); local
7767 struct niu *np = netdev_priv(dev); local
7796 struct niu *np = netdev_priv(dev); local
7811 struct niu *np = netdev_priv(dev); local
7847 niu_led_state_save(struct niu *np) argument
7855 niu_led_state_restore(struct niu *np, u64 val) argument
7863 niu_force_led(struct niu *np, int on) argument
7887 struct niu *np = netdev_priv(dev); local
7930 niu_ldg_assign_ldn(struct niu *np, struct niu_parent *parent, int ldg, int ldn) argument
7958 niu_set_ldg_timer_res(struct niu *np, int res) argument
7969 niu_set_ldg_sid(struct niu *np, int ldg, int func, int vector) argument
7981 niu_pci_eeprom_read(struct niu *np, u32 addr) argument
8024 niu_pci_eeprom_read16(struct niu *np, u32 off) argument
8040 niu_pci_eeprom_read16_swp(struct niu *np, u32 off) argument
8058 niu_pci_vpd_get_propname(struct niu *np, u32 off, char *namebuf, int namebuf_len) argument
8077 niu_vpd_parse_version(struct niu *np) argument
8104 niu_pci_vpd_scan_props(struct niu *np, u32 start, u32 end) argument
8190 niu_pci_vpd_fetch(struct niu *np, u32 start) argument
8225 niu_pci_vpd_offset(struct niu *np) argument
8280 niu_phy_type_prop_decode(struct niu *np, const char *phy_prop) argument
8314 niu_pci_vpd_get_nports(struct niu *np) argument
8334 niu_pci_vpd_validate(struct niu *np) argument
8378 niu_pci_probe_sprom(struct niu *np) argument
8534 niu_get_and_validate_port(struct niu *np) argument
8770 fill_phy_probe_info(struct niu *np, struct niu_parent *parent, struct phy_probe_info *info) argument
8812 walk_phys(struct niu *np, struct niu_parent *parent) argument
8941 niu_probe_ports(struct niu *np) argument
8962 niu_classifier_swstate_init(struct niu *np) argument
8974 niu_link_config_init(struct niu *np) argument
8999 niu_init_mac_ipp_pcs_base(struct niu *np) argument
9038 niu_try_msix(struct niu *np, u8 *ldg_num_map) argument
9072 niu_n2_irq_init(struct niu *np, u8 *ldg_num_map) argument
9096 niu_ldg_init(struct niu *np) argument
9213 niu_ldg_free(struct niu *np) argument
9219 niu_get_of_props(struct niu *np) argument
9286 niu_get_invariants(struct niu *np) argument
9465 niu_new_parent(struct niu *np, union niu_parent_id *id, u8 ptype) argument
9529 niu_get_parent(struct niu *np, union niu_parent_id *id, u8 ptype) argument
9564 niu_put_parent(struct niu *np) argument
9660 struct niu *np; local
9705 niu_device_announce(struct niu *np) argument
9745 struct niu *np; local
9883 struct niu *np = netdev_priv(dev); local
9904 struct niu *np = netdev_priv(dev); local
9933 struct niu *np = netdev_priv(dev); local
10030 struct niu *np; local
10145 struct niu *np = netdev_priv(dev); local
[all...]
/drivers/video/
H A Dof_display_timing.c18 * @np: device_node with the property
26 static int parse_timing_property(const struct device_node *np, const char *name, argument
32 prop = of_find_property(np, name, &length);
35 of_node_full_name(np), name);
41 ret = of_property_read_u32(np, name, &result->typ);
45 ret = of_property_read_u32_array(np, name, &result->min, cells);
48 of_node_full_name(np), name);
57 * @np: device_node with the properties
59 static int of_parse_display_timing(const struct device_node *np, argument
67 ret |= parse_timing_property(np, "hbac
113 of_get_display_timing(struct device_node *np, const char *name, struct display_timing *dt) argument
136 of_get_display_timings(struct device_node *np) argument
251 of_display_timings_exist(struct device_node *np) argument
[all...]
/drivers/scsi/
H A Dncr53c8xx.c513 #define _m_calloc_dma(np, s, n) __m_calloc_dma(np->dev, s, n)
514 #define _m_free_dma(np, p, s, n) __m_free_dma(np->dev, p, s, n)
515 #define m_calloc_dma(s, n) _m_calloc_dma(np, s, n)
516 #define m_free_dma(p, s, n) _m_free_dma(np, p, s, n)
517 #define _vtobus(np, p) __vtobus(np->dev, p)
518 #define vtobus(p) _vtobus(np, p)
552 #define unmap_scsi_data(np, cm
1964 ncr_name(struct ncb *np) argument
3524 ncr_script_copy_and_bind(struct ncb *np, ncrcmd *src, ncrcmd *dst, int len) argument
3728 ncr_init_burst(struct ncb *np, u_char bc) argument
3744 ncr_prepare_setting(struct ncb *np) argument
4028 ncr_queue_done_cmd(struct ncb *np, struct scsi_cmnd *cmd) argument
4060 ncr_prepare_nego(struct ncb *np, struct ccb *cp, u_char *msgptr) argument
4119 ncr_queue_command(struct ncb *np, struct scsi_cmnd *cmd) argument
4428 ncr_start_next_ccb(struct ncb *np, struct lcb *lp, int maxn) argument
4449 ncr_put_start_queue(struct ncb *np, struct ccb *cp) argument
4480 ncr_reset_scsi_bus(struct ncb *np, int enab_int, int settle_delay) argument
4546 ncr_start_reset(struct ncb *np) argument
4562 ncr_reset_bus(struct ncb *np, struct scsi_cmnd *cmd, int sync_reset) argument
4704 ncr_detach(struct ncb *np) argument
4816 ncr_complete(struct ncb *np, struct ccb *cp) argument
5092 ncr_ccb_skipped(struct ncb *np, struct ccb *cp) argument
5116 ncr_wakeup_done(struct ncb *np) argument
5162 ncr_wakeup(struct ncb *np, u_long code) argument
5183 ncr_chip_reset(struct ncb *np, int delay) argument
5205 ncr_init(struct ncb *np, int reset, char * msg, u_long code) argument
5368 ncr_negotiate(struct ncb* np, struct tcb* tp) argument
5426 ncr_getsync(struct ncb *np, u_char sfac, u_char *fakp, u_char *scntl3p) argument
5495 ncr_set_sync_wide_status(struct ncb *np, u_char target) argument
5530 ncr_setsync(struct ncb *np, struct ccb *cp, u_char scntl3, u_char sxfer) argument
5587 ncr_setwide(struct ncb *np, struct ccb *cp, u_char wide, u_char ack) argument
5632 ncr_setup_tags(struct ncb *np, struct scsi_device *sdev) argument
5735 ncr_timeout(struct ncb *np) argument
5823 ncr_log_hard_error(struct ncb *np, u16 sist, u_char dstat) argument
5903 ncr_exception(struct ncb *np) argument
6086 ncr_int_sto(struct ncb *np) argument
6131 ncr_int_sbmc(struct ncb *np) argument
6163 ncr_int_par(struct ncb *np) argument
6243 ncr_int_ma(struct ncb *np) argument
6541 ncr_sir_to_redo(struct ncb *np, int num, struct ccb *cp) argument
6692 ncr_int_sir(struct ncb *np) argument
7143 ncr_get_ccb(struct ncb *np, struct scsi_cmnd *cmd) argument
7254 ncr_free_ccb(struct ncb *np, struct ccb *cp) argument
7316 ncr_init_ccb(struct ncb *np, struct ccb *cp) argument
7355 ncr_alloc_ccb(struct ncb *np, u_char tn, u_char ln) argument
7404 ncr_init_tcb(struct ncb *np, u_char tn) argument
7491 ncr_alloc_lcb(struct ncb *np, u_char tn, u_char ln) argument
7581 ncr_setup_lcb(struct ncb *np, struct scsi_device *sdev) argument
7647 ncr_scatter(struct ncb *np, struct ccb *cp, struct scsi_cmnd *cmd) argument
7690 ncr_regtest(struct ncb* np) argument
7713 ncr_snooptest(struct ncb* np) argument
7820 ncr_selectclock(struct ncb *np, u_char scntl3) argument
7849 ncrgetfreq(struct ncb *np, int gen) argument
7900 ncr_getclock(struct ncb *np, int mult) argument
7966 struct ncb *np = ((struct host_data *) host->hostdata)->ncb; local
7976 struct ncb *np = ((struct host_data *) host->hostdata)->ncb; local
8033 struct ncb *np = ((struct host_data *) cmd->device->host->hostdata)->ncb; local
8077 struct ncb *np = host_data->ncb; local
8101 struct ncb *np = (struct ncb *) npref; local
8117 struct ncb *np = ((struct host_data *) cmd->device->host->hostdata)->ncb; local
8181 insert_into_waiting_list(struct ncb *np, struct scsi_cmnd *cmd) argument
8197 retrieve_from_waiting_list(int to_remove, struct ncb *np, struct scsi_cmnd *cmd) argument
8217 process_waiting_list(struct ncb *np, int sts) argument
8301 struct ncb *np = NULL; local
8544 struct ncb *np = ((struct host_data *)shost->hostdata)->ncb; local
8560 struct ncb *np = ((struct host_data *)shost->hostdata)->ncb; local
8576 struct ncb *np = ((struct host_data *)shost->hostdata)->ncb; local
8591 struct ncb *np = ((struct host_data *)shost->hostdata)->ncb; local
[all...]

Completed in 617 milliseconds

1234567891011>>