/drivers/net/ethernet/sun/ |
D | sunhme.c | 110 static __inline__ void tx_add_log(struct happy_meal *hp, unsigned int a, unsigned int s) in tx_add_log() argument 118 tlp->tx_new = hp->tx_new; in tx_add_log() 119 tlp->tx_old = hp->tx_old; in tx_add_log() 138 static __inline__ void tx_dump_ring(struct happy_meal *hp) in tx_dump_ring() argument 140 struct hmeal_init_block *hb = hp->happy_block; in tx_dump_ring() 154 #define tx_add_log(hp, a, s) do { } while(0) argument 156 #define tx_dump_ring(hp) do { } while(0) argument 304 static inline u32 hme_read_desc32(struct happy_meal *hp, hme32 *p) in hme_read_desc32() argument 321 static void BB_PUT_BIT(struct happy_meal *hp, void __iomem *tregs, int bit) in BB_PUT_BIT() argument 323 hme_write32(hp, tregs + TCVR_BBDATA, bit); in BB_PUT_BIT() [all …]
|
D | sunhme.h | 364 #define TX_BUFFS_AVAIL(hp) \ argument 365 (((hp)->tx_old <= (hp)->tx_new) ? \ 366 (hp)->tx_old + (TX_RING_SIZE - 1) - (hp)->tx_new : \ 367 (hp)->tx_old - (hp)->tx_new - 1)
|
D | sunvnet.c | 616 struct hlist_head *hp = &vp->port_hash[hash]; in __tx_port_find() local 619 hlist_for_each_entry(port, hp, hash) { in __tx_port_find() 1088 static struct vnet *vnet_find_parent(struct mdesc_handle *hp, in vnet_find_parent() argument 1094 mdesc_for_each_arc(a, hp, port_node, MDESC_ARC_TYPE_BACK) { in vnet_find_parent() 1095 u64 target = mdesc_arc_target(hp, a); in vnet_find_parent() 1098 name = mdesc_get_property(hp, target, "name", NULL); in vnet_find_parent() 1102 local_mac = mdesc_get_property(hp, target, in vnet_find_parent() 1134 struct mdesc_handle *hp; in vnet_port_probe() local 1143 hp = mdesc_grab(); in vnet_port_probe() 1145 vp = vnet_find_parent(hp, vdev->mp); in vnet_port_probe() [all …]
|
/drivers/tty/hvc/ |
D | hvsi.c | 100 static int (*hvsi_wait)(struct hvsi_struct *hp, int state); 112 static inline int is_console(struct hvsi_struct *hp) in is_console() argument 114 return hp->flags & HVSI_CONSOLE; in is_console() 117 static inline int is_open(struct hvsi_struct *hp) in is_open() argument 120 return (hp->state == HVSI_OPEN) in is_open() 121 || (hp->state == HVSI_WAIT_FOR_MCTRL_RESPONSE); in is_open() 124 static inline void print_state(struct hvsi_struct *hp) in print_state() argument 135 const char *name = (hp->state < ARRAY_SIZE(state_names)) in print_state() 136 ? state_names[hp->state] : "UNKNOWN"; in print_state() 138 pr_debug("hvsi%i: state = %s\n", hp->index, name); in print_state() [all …]
|
D | hvc_console.c | 102 struct hvc_struct *hp; in hvc_get_by_index() local 107 list_for_each_entry(hp, &hvc_structs, next) { in hvc_get_by_index() 108 spin_lock_irqsave(&hp->lock, flags); in hvc_get_by_index() 109 if (hp->index == index) { in hvc_get_by_index() 110 tty_port_get(&hp->port); in hvc_get_by_index() 111 spin_unlock_irqrestore(&hp->lock, flags); in hvc_get_by_index() 113 return hp; in hvc_get_by_index() 115 spin_unlock_irqrestore(&hp->lock, flags); in hvc_get_by_index() 117 hp = NULL; in hvc_get_by_index() 120 return hp; in hvc_get_by_index() [all …]
|
D | hvc_console.h | 71 int (*notifier_add)(struct hvc_struct *hp, int irq); 72 void (*notifier_del)(struct hvc_struct *hp, int irq); 73 void (*notifier_hangup)(struct hvc_struct *hp, int irq); 76 int (*tiocmget)(struct hvc_struct *hp); 77 int (*tiocmset)(struct hvc_struct *hp, unsigned int set, unsigned int clear); 88 extern int hvc_remove(struct hvc_struct *hp); 91 int hvc_poll(struct hvc_struct *hp); 95 extern void __hvc_resize(struct hvc_struct *hp, struct winsize ws); 97 static inline void hvc_resize(struct hvc_struct *hp, struct winsize ws) in hvc_resize() argument 101 spin_lock_irqsave(&hp->lock, flags); in hvc_resize() [all …]
|
D | hvc_opal.c | 93 static int hvc_opal_hvsi_open(struct hvc_struct *hp, int data) in hvc_opal_hvsi_open() argument 95 struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; in hvc_opal_hvsi_open() 98 pr_devel("HVSI@%x: do open !\n", hp->vtermno); in hvc_opal_hvsi_open() 100 rc = notifier_add_irq(hp, data); in hvc_opal_hvsi_open() 104 return hvsilib_open(&pv->hvsi, hp); in hvc_opal_hvsi_open() 107 static void hvc_opal_hvsi_close(struct hvc_struct *hp, int data) in hvc_opal_hvsi_close() argument 109 struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; in hvc_opal_hvsi_close() 111 pr_devel("HVSI@%x: do close !\n", hp->vtermno); in hvc_opal_hvsi_close() 113 hvsilib_close(&pv->hvsi, hp); in hvc_opal_hvsi_close() 115 notifier_del_irq(hp, data); in hvc_opal_hvsi_close() [all …]
|
D | hvc_irq.c | 23 int notifier_add_irq(struct hvc_struct *hp, int irq) in notifier_add_irq() argument 28 hp->irq_requested = 0; in notifier_add_irq() 32 "hvc_console", hp); in notifier_add_irq() 34 hp->irq_requested = 1; in notifier_add_irq() 38 void notifier_del_irq(struct hvc_struct *hp, int irq) in notifier_del_irq() argument 40 if (!hp->irq_requested) in notifier_del_irq() 42 free_irq(irq, hp); in notifier_del_irq() 43 hp->irq_requested = 0; in notifier_del_irq() 46 void notifier_hangup_irq(struct hvc_struct *hp, int irq) in notifier_hangup_irq() argument 48 notifier_del_irq(hp, irq); in notifier_hangup_irq()
|
D | hvc_vio.c | 162 static int hvterm_hvsi_open(struct hvc_struct *hp, int data) in hvterm_hvsi_open() argument 164 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; in hvterm_hvsi_open() 169 rc = notifier_add_irq(hp, data); in hvterm_hvsi_open() 173 return hvsilib_open(&pv->hvsi, hp); in hvterm_hvsi_open() 176 static void hvterm_hvsi_close(struct hvc_struct *hp, int data) in hvterm_hvsi_close() argument 178 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; in hvterm_hvsi_close() 182 hvsilib_close(&pv->hvsi, hp); in hvterm_hvsi_close() 184 notifier_del_irq(hp, data); in hvterm_hvsi_close() 187 void hvterm_hvsi_hangup(struct hvc_struct *hp, int data) in hvterm_hvsi_hangup() argument 189 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; in hvterm_hvsi_hangup() [all …]
|
D | hvc_udbg.c | 68 struct hvc_struct *hp; in hvc_udbg_init() local 75 hp = hvc_alloc(0, 0, &hvc_udbg_ops, 16); in hvc_udbg_init() 76 if (IS_ERR(hp)) in hvc_udbg_init() 77 return PTR_ERR(hp); in hvc_udbg_init() 79 hvc_udbg_dev = hp; in hvc_udbg_init()
|
D | hvc_rtas.c | 81 struct hvc_struct *hp; in hvc_rtas_init() local 97 hp = hvc_alloc(hvc_rtas_cookie, 0, &hvc_rtas_get_put_ops, 16); in hvc_rtas_init() 98 if (IS_ERR(hp)) in hvc_rtas_init() 99 return PTR_ERR(hp); in hvc_rtas_init() 101 hvc_rtas_dev = hp; in hvc_rtas_init()
|
D | hvc_beat.c | 111 struct hvc_struct *hp; in hvc_beat_init() local 116 hp = hvc_alloc(0, 0, &hvc_beat_get_put_ops, 16); in hvc_beat_init() 117 if (IS_ERR(hp)) in hvc_beat_init() 118 return PTR_ERR(hp); in hvc_beat_init() 119 hvc_beat_dev = hp; in hvc_beat_init()
|
D | hvsi_lib.c | 375 int hvsilib_open(struct hvsi_priv *pv, struct hvc_struct *hp) in hvsilib_open() argument 380 pv->tty = tty_port_tty_get(&hp->port); in hvsilib_open() 387 void hvsilib_close(struct hvsi_priv *pv, struct hvc_struct *hp) in hvsilib_close() argument 398 spin_lock_irqsave(&hp->lock, flags); in hvsilib_close() 400 spin_unlock_irqrestore(&hp->lock, flags); in hvsilib_close()
|
D | hvc_iucv.c | 487 static int hvc_iucv_notifier_add(struct hvc_struct *hp, int id) in hvc_iucv_notifier_add() argument 633 static void hvc_iucv_notifier_hangup(struct hvc_struct *hp, int id) in hvc_iucv_notifier_hangup() argument 670 static void hvc_iucv_notifier_del(struct hvc_struct *hp, int id) in hvc_iucv_notifier_del() argument
|
/drivers/char/agp/ |
D | hp-agp.c | 79 struct _hp_private *hp = &hp_private; in hp_zx1_ioc_shared() local 89 hp->io_tlb_ps = readq(hp->ioc_regs+HP_ZX1_TCNFG); in hp_zx1_ioc_shared() 90 switch (hp->io_tlb_ps) { in hp_zx1_ioc_shared() 91 case 0: hp->io_tlb_shift = 12; break; in hp_zx1_ioc_shared() 92 case 1: hp->io_tlb_shift = 13; break; in hp_zx1_ioc_shared() 93 case 2: hp->io_tlb_shift = 14; break; in hp_zx1_ioc_shared() 94 case 3: hp->io_tlb_shift = 16; break; in hp_zx1_ioc_shared() 97 "configuration 0x%x\n", hp->io_tlb_ps); in hp_zx1_ioc_shared() 98 hp->gatt = NULL; in hp_zx1_ioc_shared() 99 hp->gatt_entries = 0; in hp_zx1_ioc_shared() [all …]
|
D | Makefile | 12 obj-$(CONFIG_AGP_HP_ZX1) += hp-agp.o
|
/drivers/scsi/ |
D | sg.c | 381 sg_io_hdr_t *hp; in sg_read() local 447 hp = &srp->header; in sg_read() 456 old_hdr->reply_len = (int) hp->timeout; in sg_read() 458 old_hdr->pack_id = hp->pack_id; in sg_read() 460 ((srp->data.cmd_opcode >= 0xc0) && (12 == hp->cmd_len)) ? 1 : 0; in sg_read() 461 old_hdr->target_status = hp->masked_status; in sg_read() 462 old_hdr->host_status = hp->host_status; in sg_read() 463 old_hdr->driver_status = hp->driver_status; in sg_read() 464 if ((CHECK_CONDITION & hp->masked_status) || in sg_read() 465 (DRIVER_SENSE & hp->driver_status)) in sg_read() [all …]
|
/drivers/sh/intc/ |
D | core.c | 78 struct intc_handle_int *hp; in intc_register_irq() local 138 hp = d->prio + d->nr_prio; in intc_register_irq() 139 hp->irq = irq; in intc_register_irq() 140 hp->handle = data[1]; in intc_register_irq() 147 hp->handle &= ~_INTC_MK(0x0f, 0, 0, 0, 0, 0); in intc_register_irq() 148 hp->handle |= _INTC_MK(REG_FN_ERR, 0, 0, 0, 0, 0); in intc_register_irq()
|
D | chip.c | 117 static struct intc_handle_int *intc_find_irq(struct intc_handle_int *hp, in intc_find_irq() argument 126 return bsearch(&key, hp, nr_hp, sizeof(*hp), intc_handle_int_cmp); in intc_find_irq()
|
/drivers/scsi/fcoe/ |
D | fcoe.c | 1590 struct fcoe_hdr *hp; in fcoe_xmit() local 1680 hp = (struct fcoe_hdr *)(eh + 1); in fcoe_xmit() 1681 memset(hp, 0, sizeof(*hp)); in fcoe_xmit() 1683 FC_FCOE_ENCAPS_VER(hp, FC_FCOE_VER); in fcoe_xmit() 1684 hp->fcoe_sof = sof; in fcoe_xmit() 1781 struct fcoe_hdr *hp; in fcoe_recv_frame() local 1806 hp = (struct fcoe_hdr *) skb_network_header(skb); in fcoe_recv_frame() 1809 if (unlikely(FC_FCOE_DECAPS_VER(hp) != FC_FCOE_VER)) { in fcoe_recv_frame() 1815 "%x\n", FC_FCOE_DECAPS_VER(hp), in fcoe_recv_frame() 1829 fr_sof(fp) = hp->fcoe_sof; in fcoe_recv_frame()
|
/drivers/block/ |
D | sunvdc.c | 738 struct mdesc_handle *hp; in vdc_port_probe() local 744 hp = mdesc_grab(); in vdc_port_probe() 794 mdesc_release(hp); in vdc_port_probe() 808 mdesc_release(hp); in vdc_port_probe()
|
/drivers/parisc/ |
D | README.dino | 13 ** http://h20000.www2.hp.com/bizsupport/TechSupport/Home.jsp?locale=en_US&prodTypeId=12454&prodSeri…
|
/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 252 struct fcoe_hdr *hp; in bnx2fc_xmit() local 364 hp = (struct fcoe_hdr *)(eh + 1); in bnx2fc_xmit() 365 memset(hp, 0, sizeof(*hp)); in bnx2fc_xmit() 367 FC_FCOE_ENCAPS_VER(hp, FC_FCOE_VER); in bnx2fc_xmit() 368 hp->fcoe_sof = sof; in bnx2fc_xmit() 498 struct fcoe_hdr *hp; in bnx2fc_recv_frame() local 514 hp = (struct fcoe_hdr *) skb_network_header(skb); in bnx2fc_recv_frame() 526 fr_sof(fp) = hp->fcoe_sof; in bnx2fc_recv_frame()
|
/drivers/platform/x86/ |
D | Makefile | 19 obj-$(CONFIG_HP_WMI) += hp-wmi.o
|
/drivers/net/ethernet/ |
D | Makefile | 30 obj-$(CONFIG_NET_VENDOR_HP) += hp/
|