/linux-3.3/drivers/net/ethernet/sun/ |
D | niu.c | 93 #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-3.3/drivers/scsi/sym53c8xx_2/ |
D | sym_nvram.c | 50 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 …]
|
D | sym_hipd.c | 81 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 …]
|
D | sym_glue.c | 140 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 …]
|
D | sym_fw.c | 109 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()
|
/linux-3.3/drivers/of/ |
D | base.c | 41 struct device_node *np; member 59 int of_n_addr_cells(struct device_node *np) in of_n_addr_cells() 75 int of_n_size_cells(struct device_node *np) in of_n_size_cells() 166 struct property *of_find_property(const struct device_node *np, in of_find_property() 199 struct device_node *np; in of_find_all_nodes() local 216 const void *of_get_property(const struct device_node *np, const char *name, in of_get_property() 305 struct device_node *np; in of_get_parent() local 375 struct device_node *np = allnodes; in of_find_node_by_path() local 402 struct device_node *np; in of_find_node_by_name() local 431 struct device_node *np; in of_find_node_by_type() local [all …]
|
D | gpio.c | 34 int of_get_named_gpio_flags(struct device_node *np, const char *propname, in of_get_named_gpio_flags() 96 unsigned int of_gpio_count(struct device_node *np) in of_gpio_count() 171 int of_mm_gpiochip_add(struct device_node *np, in of_mm_gpiochip_add() 236 struct gpio_chip *of_node_to_gpiochip(struct device_node *np) in of_node_to_gpiochip()
|
/linux-3.3/drivers/char/hw_random/ |
D | n2-drv.c | 147 static unsigned long n2rng_control_settle_v2(struct n2rng *np, int unit) in n2rng_control_settle_v2() 154 static unsigned long n2rng_write_ctl_one(struct n2rng *np, int unit, in n2rng_write_ctl_one() 201 static unsigned long n2rng_read_diag_data_one(struct n2rng *np, in n2rng_read_diag_data_one() 220 static int n2rng_generic_read_diag_data(struct n2rng *np, in n2rng_generic_read_diag_data() 249 static int n2rng_generic_write_control(struct n2rng *np, in n2rng_generic_write_control() 279 static int n2rng_try_read_ctl(struct n2rng *np) in n2rng_try_read_ctl() 327 static void n2rng_control_swstate_init(struct n2rng *np) in n2rng_control_swstate_init() 349 static int n2rng_grab_diag_control(struct n2rng *np) in n2rng_grab_diag_control() 371 static int n2rng_init_control(struct n2rng *np) in n2rng_init_control() 390 struct n2rng *np = (struct n2rng *) rng->priv; in n2rng_data_read() local [all …]
|
/linux-3.3/drivers/net/ethernet/dlink/ |
D | dl2k.c | 105 struct netdev_private *np; in rio_probe1() local 303 struct netdev_private *np; in find_miiphy() local 332 struct netdev_private *np = netdev_priv(dev); in parse_eeprom() local 409 struct netdev_private *np = netdev_priv(dev); in rio_open() local 493 struct netdev_private *np = netdev_priv(dev); in rio_timer() local 549 struct netdev_private *np = netdev_priv(dev); in alloc_list() local 604 struct netdev_private *np = netdev_priv(dev); in start_xmit() local 674 struct netdev_private *np; in rio_interrupt() local 720 struct netdev_private *np = netdev_priv(dev); in rio_free_tx() local 768 struct netdev_private *np; in tx_error() local [all …]
|
D | sundance.c | 445 struct netdev_private *np = netdev_priv(dev); in sundance_reset() local 479 struct netdev_private *np; in sundance_probe1() local 753 struct netdev_private *np = netdev_priv(dev); in mdio_read() local 783 struct netdev_private *np = netdev_priv(dev); in mdio_write() local 813 struct netdev_private *np; in mdio_wait_link() local 829 struct netdev_private *np = netdev_priv(dev); in netdev_open() local 904 struct netdev_private *np = netdev_priv(dev); in check_duplex() local 933 struct netdev_private *np = netdev_priv(dev); in netdev_timer() local 950 struct netdev_private *np = netdev_priv(dev); in tx_timeout() local 1003 struct netdev_private *np = netdev_priv(dev); in init_ring() local [all …]
|
/linux-3.3/drivers/net/cris/ |
D | eth_v10.c | 289 struct net_local* np; in etrax_ethernet_init() local 424 struct net_local *np = netdev_priv(dev); in e100_set_mac_address() local 642 struct net_local *np = netdev_priv(dev); in generic_check_speed() local 656 struct net_local *np = netdev_priv(dev); in tdk_check_speed() local 667 struct net_local *np = netdev_priv(dev); in broadcom_check_speed() local 678 struct net_local *np = netdev_priv(dev); in intel_check_speed() local 689 struct net_local *np = netdev_priv(dev); in e100_check_speed() local 724 struct net_local *np = netdev_priv(dev); in e100_negotiate() local 794 struct net_local *np = netdev_priv(dev); in e100_set_speed() local 808 struct net_local *np = netdev_priv(dev); in e100_check_duplex() local [all …]
|
/linux-3.3/drivers/net/ethernet/dec/tulip/ |
D | winbond-840.c | 365 struct netdev_private *np; in w840_probe1() local 574 struct netdev_private *np = netdev_priv(dev); in mdio_read() local 604 struct netdev_private *np = netdev_priv(dev); in mdio_write() local 636 struct netdev_private *np = netdev_priv(dev); in netdev_open() local 678 struct netdev_private *np = netdev_priv(dev); in update_link() local 744 struct netdev_private *np = netdev_priv(dev); in update_csr6() local 785 struct netdev_private *np = netdev_priv(dev); in netdev_timer() local 801 struct netdev_private *np = netdev_priv(dev); in init_rxtx_rings() local 846 static void free_rxtx_rings(struct netdev_private* np) in free_rxtx_rings() 875 struct netdev_private *np = netdev_priv(dev); in init_registers() local [all …]
|
/linux-3.3/drivers/isdn/capi/ |
D | capilib.c | 31 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
|
/linux-3.3/drivers/net/ethernet/natsemi/ |
D | natsemi.c | 669 struct netdev_private *np = netdev_priv(to_net_dev(dev)); in natsemi_show_dspcfg_workaround() local 678 struct netdev_private *np = netdev_priv(to_net_dev(dev)); in natsemi_set_dspcfg_workaround() local 719 struct netdev_private *np = netdev_priv(dev); in move_int_phy() local 744 struct netdev_private *np = netdev_priv(dev); in natsemi_init_media() local 801 struct netdev_private *np; in natsemi_probe1() local 1121 struct netdev_private *np = netdev_priv(dev); in mdio_read() local 1136 struct netdev_private *np = netdev_priv(dev); in mdio_write() local 1148 struct netdev_private *np = netdev_priv(dev); in init_phy_fixup() local 1261 struct netdev_private *np = netdev_priv(dev); in switch_port_external() local 1294 struct netdev_private *np = netdev_priv(dev); in switch_port_internal() local [all …]
|
/linux-3.3/arch/powerpc/sysdev/ |
D | mv64x60_dev.c | 34 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() 229 static int __init mv64x60_eth_device_setup(struct device_node *np, int id, in mv64x60_eth_device_setup() 326 static int __init mv64x60_i2c_device_setup(struct device_node *np, int id) in mv64x60_i2c_device_setup() 382 static int __init mv64x60_wdt_device_setup(struct device_node *np, int id) in mv64x60_wdt_device_setup() 433 struct device_node *np, *np2; in mv64x60_device_setup() local 500 struct device_node *np = NULL; in mv64x60_add_mpsc_console() local
|
/linux-3.3/arch/powerpc/kernel/ |
D | legacy_serial.c | 31 struct device_node *np; member 69 static int __init add_legacy_port(struct device_node *np, int want_index, in add_legacy_port() 151 static int __init add_legacy_soc_port(struct device_node *np, in add_legacy_soc_port() 193 static int __init add_legacy_isa_port(struct device_node *np, in add_legacy_isa_port() 236 static int __init add_legacy_pci_port(struct device_node *np, in add_legacy_pci_port() 336 struct device_node *np, *stdout = NULL; in find_legacy_serial_ports() local 425 struct device_node *np, in fixup_port_irq() 452 struct device_node *np, in fixup_port_pio() 476 struct device_node *np, in fixup_port_mmio() 512 struct device_node *np = legacy_serial_infos[i].np; in serial_dev_init() local
|
/linux-3.3/arch/powerpc/platforms/pseries/ |
D | reconfig.c | 35 static void add_node_proc_entries(struct device_node *np) in add_node_proc_entries() 44 static void remove_node_proc_entries(struct device_node *np) in remove_node_proc_entries() 57 static void add_node_proc_entries(struct device_node *np) in add_node_proc_entries() 62 static void remove_node_proc_entries(struct device_node *np) in remove_node_proc_entries() 122 struct device_node *np; in pSeries_reconfig_add_node() local 166 static int pSeries_reconfig_remove_node(struct device_node *np) in pSeries_reconfig_remove_node() 304 struct device_node *np; in do_add_node() local 382 struct device_node *np; in do_add_property() local 406 struct device_node *np; in do_remove_property() local 428 struct device_node *np; in do_update_property() local
|
/linux-3.3/include/linux/ |
D | of_gpio.h | 68 static inline int of_get_named_gpio_flags(struct device_node *np, in of_get_named_gpio_flags() 74 static inline unsigned int of_gpio_count(struct device_node *np) in of_gpio_count() 101 static inline int of_get_gpio_flags(struct device_node *np, int index, in of_get_gpio_flags() 116 static inline int of_get_named_gpio(struct device_node *np, in of_get_named_gpio() 130 static inline int of_get_gpio(struct device_node *np, int index) in of_get_gpio()
|
/linux-3.3/drivers/net/ethernet/nvidia/ |
D | forcedeth.c | 967 static bool nv_optimized(struct fe_priv *np) in nv_optimized() 1004 struct fe_priv *np = get_nvpriv(dev); in setup_hw_rings() local 1026 struct fe_priv *np = get_nvpriv(dev); in free_rings() local 1043 struct fe_priv *np = get_nvpriv(dev); in using_multi_irqs() local 1055 struct fe_priv *np = get_nvpriv(dev); in nv_txrx_gate() local 1072 struct fe_priv *np = get_nvpriv(dev); in nv_enable_irq() local 1088 struct fe_priv *np = get_nvpriv(dev); in nv_disable_irq() local 1112 struct fe_priv *np = get_nvpriv(dev); in nv_disable_hw_interrupts() local 1126 struct fe_priv *np = get_nvpriv(dev); in nv_napi_enable() local 1133 struct fe_priv *np = get_nvpriv(dev); in nv_napi_disable() local [all …]
|
/linux-3.3/drivers/net/ |
D | xen-netfront.c | 178 static struct sk_buff *xennet_get_rx_skb(struct netfront_info *np, in xennet_get_rx_skb() 187 static grant_ref_t xennet_get_rx_ref(struct netfront_info *np, in xennet_get_rx_ref() 213 struct netfront_info *np = netdev_priv(dev); in rx_refill_timeout() local 217 static int netfront_tx_slot_available(struct netfront_info *np) in netfront_tx_slot_available() 225 struct netfront_info *np = netdev_priv(dev); in xennet_maybe_wake_tx() local 236 struct netfront_info *np = netdev_priv(dev); in xennet_alloc_rx_buffers() local 337 struct netfront_info *np = netdev_priv(dev); in xennet_open() local 359 struct netfront_info *np = netdev_priv(dev); in xennet_tx_buf_gc() local 414 struct netfront_info *np = netdev_priv(dev); in xennet_make_frags() local 480 struct netfront_info *np = netdev_priv(dev); in xennet_start_xmit() local [all …]
|
/linux-3.3/net/core/ |
D | netpoll.c | 257 static struct sk_buff *find_skb(struct netpoll *np, int len, int reserve) in find_skb() 294 void netpoll_send_skb_on_dev(struct netpoll *np, struct sk_buff *skb, in netpoll_send_skb_on_dev() 352 void netpoll_send_udp(struct netpoll *np, const char *msg, int len) in netpoll_send_udp() 423 struct netpoll *np, *tmp; in arp_reply() local 541 struct netpoll *np, *tmp; in __netpoll_rx() local 628 void netpoll_print_options(struct netpoll *np) in netpoll_print_options() 645 int netpoll_parse_options(struct netpoll *np, char *opt) in netpoll_parse_options() 714 int __netpoll_setup(struct netpoll *np) in __netpoll_setup() 779 int netpoll_setup(struct netpoll *np) in netpoll_setup() 885 void __netpoll_cleanup(struct netpoll *np) in __netpoll_cleanup() [all …]
|
/linux-3.3/arch/powerpc/platforms/iseries/ |
D | vio.c | 65 struct property *np = kzalloc(sizeof(*np) + strlen(name) + 1 + length, in new_property() local 78 static void free_property(struct property *np) in free_property() 86 struct device_node *np = kzalloc(sizeof(*np), GFP_KERNEL); in new_node() local 101 static void free_node(struct device_node *np) in free_node() 117 static int add_string_property(struct device_node *np, const char *name, in add_string_property() 128 static int add_raw_property(struct device_node *np, const char *name, in add_raw_property() 143 struct device_node *np; in do_device_node() local 193 struct device_node *np; in vio_create_viodasd() local
|
/linux-3.3/arch/powerpc/platforms/cell/ |
D | cbe_regs.c | 51 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
|
/linux-3.3/arch/powerpc/platforms/512x/ |
D | mpc512x_shared.c | 37 struct device_node *np; in mpc512x_restart_init() local 98 struct device_node *np; in mpc512x_set_pixel_clock() local 235 struct device_node *np; in mpc512x_init_diu() local 339 struct device_node *np; in mpc512x_init_IRQ() local 366 struct device_node *np; in mpc512x_declare_of_platform_devices() 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
|
/linux-3.3/drivers/net/fddi/skfp/ |
D | pcmplc.c | 240 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 …]
|