Home
last modified time | relevance | path

Searched refs:hp (Results 1 – 25 of 294) sorted by relevance

12345678910>>...12

/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunhme.c565 hme_write32(hp, hp->bigmacregs + BMAC_TXCFG, in set_happy_link_modes()
572 hme_write32(hp, hp->bigmacregs + BMAC_TXCFG, in set_happy_link_modes()
581 hme_write32(hp, hp->bigmacregs + BMAC_TXCFG, in set_happy_link_modes()
1215 hp->rx_new = hp->rx_old = hp->tx_new = hp->tx_old = 0; in happy_meal_init_rings()
1921 happy_meal_stop(hp, hp->gregs); in happy_meal_close()
1941 hme_read32(hp, hp->gregs + GREG_STAT), in happy_meal_tx_timeout()
1942 hme_read32(hp, hp->etxregs + ETX_CFG), in happy_meal_tx_timeout()
2066 hp->tx_skbs[hp->tx_new] = NULL; in happy_meal_start_xmit()
2139 hp->sw_bmcr = happy_meal_tcvr_read(hp, hp->tcvregs, MII_BMCR); in hme_get_link_ksettings()
2140 hp->sw_lpa = happy_meal_tcvr_read(hp, hp->tcvregs, MII_LPA); in hme_get_link_ksettings()
[all …]
H A Dldmvsw.c178 u64 target = mdesc_arc_target(hp, a); in vsw_get_vnet()
185 local_mac = mdesc_get_property(hp, target, in vsw_get_vnet()
187 cfghandle = mdesc_get_property(hp, target, in vsw_get_vnet()
277 struct mdesc_handle *hp; in vsw_port_probe() local
287 hp = mdesc_grab(); in vsw_port_probe()
289 if (!hp) in vsw_port_probe()
296 mdesc_release(hp); in vsw_port_probe()
304 mdesc_release(hp); in vsw_port_probe()
309 vp = vsw_get_vnet(hp, vdev->mp, &handle); in vsw_port_probe()
313 mdesc_release(hp); in vsw_port_probe()
[all …]
/openbmc/linux/drivers/tty/hvc/
H A Dhvc_console.c365 rc = hp->ops->notifier_add(hp, hp->data); in hvc_open()
379 hp->ops->dtr_rts(hp, true); in hvc_open()
409 hp->ops->dtr_rts(hp, false); in hvc_close()
412 hp->ops->notifier_del(hp, hp->data); in hvc_close()
427 hp->vtermno, hp->port.count); in hvc_close()
469 hp->ops->notifier_hangup(hp, hp->data); in hvc_hangup()
480 n = hp->ops->put_chars(hp->vtermno, hp->outbuf, hp->n_outbuf); in hvc_push()
492 memmove(hp->outbuf, hp->outbuf + n, hp->n_outbuf); in hvc_push()
840 if (!hp || !hp->ops->tiocmget) in hvc_tiocmget()
842 return hp->ops->tiocmget(hp); in hvc_tiocmget()
[all …]
H A Dhvsi.c177 hp->inbuf_end = hp->inbuf + remaining; in compact_inbuf()
298 hp->index); in hvsi_version_respond()
397 chunklen = hvsi_read(hp, hp->inbuf_end, HVSI_MAX_READ); in hvsi_load_chunk()
467 hvsi_insert_chars(hp, hp->throttle_buf, hp->n_throttle); in hvsi_send_overflow()
737 ret = hvsi_set_mctrl(hp, hp->mctrl | TIOCM_DTR); in hvsi_open()
809 hp - hvsi_ports, hp->port.count); in hvsi_close()
837 n = hvsi_put_chars(hp, hp->outbuf, hp->n_outbuf); in hvsi_push()
934 memcpy(hp->outbuf + hp->n_outbuf, source, chunksize); in hvsi_write()
1087 free_irq(hp->virq, hp); in hvsi_init()
1159 ret = hvsi_set_mctrl(hp, hp->mctrl | TIOCM_DTR); in hvsi_console_setup()
[all …]
H A Dhvc_console.h60 int (*notifier_add)(struct hvc_struct *hp, int irq);
61 void (*notifier_del)(struct hvc_struct *hp, int irq);
62 void (*notifier_hangup)(struct hvc_struct *hp, int irq);
65 int (*tiocmget)(struct hvc_struct *hp);
69 void (*dtr_rts)(struct hvc_struct *hp, bool active);
80 extern int hvc_remove(struct hvc_struct *hp);
83 int hvc_poll(struct hvc_struct *hp);
93 spin_lock_irqsave(&hp->lock, flags); in hvc_resize()
94 __hvc_resize(hp, ws); in hvc_resize()
95 spin_unlock_irqrestore(&hp->lock, flags); in hvc_resize()
[all …]
H A Dhvc_irq.c29 int notifier_add_irq(struct hvc_struct *hp, int irq) in notifier_add_irq() argument
34 hp->irq_requested = 0; in notifier_add_irq()
37 rc = request_irq(irq, hvc_handle_interrupt, hp->flags, in notifier_add_irq()
38 "hvc_console", hp); in notifier_add_irq()
40 hp->irq_requested = 1; in notifier_add_irq()
44 void notifier_del_irq(struct hvc_struct *hp, int irq) in notifier_del_irq() argument
46 if (!hp->irq_requested) in notifier_del_irq()
48 free_irq(irq, hp); in notifier_del_irq()
49 hp->irq_requested = 0; in notifier_del_irq()
52 void notifier_hangup_irq(struct hvc_struct *hp, int irq) in notifier_hangup_irq() argument
[all …]
H A Dhvc_opal.c101 hvsilib_close(&pv->hvsi, hp); in hvc_opal_hvsi_close()
103 notifier_del_irq(hp, data); in hvc_opal_hvsi_close()
112 hvsilib_close(&pv->hvsi, hp); in hvc_opal_hvsi_hangup()
114 notifier_hangup_irq(hp, data); in hvc_opal_hvsi_hangup()
132 hp->vtermno, set, clear); in hvc_opal_hvsi_tiocmset()
156 struct hvc_struct *hp; in hvc_opal_probe() local
225 if (IS_ERR(hp)) in hvc_opal_probe()
226 return PTR_ERR(hp); in hvc_opal_probe()
229 hp->flags = IRQF_SHARED; in hvc_opal_probe()
240 termno = hp->vtermno; in hvc_opal_remove()
[all …]
H A Dhvc_vio.c163 rc = notifier_add_irq(hp, data); in hvterm_hvsi_open()
167 return hvsilib_open(&pv->hvsi, hp); in hvterm_hvsi_open()
176 hvsilib_close(&pv->hvsi, hp); in hvterm_hvsi_close()
178 notifier_del_irq(hp, data); in hvterm_hvsi_close()
187 hvsilib_close(&pv->hvsi, hp); in hvterm_hvsi_hangup()
189 notifier_hangup_irq(hp, data); in hvterm_hvsi_hangup()
300 struct hvc_struct *hp; in hvc_vio_probe() local
351 if (IS_ERR(hp)) in hvc_vio_probe()
352 return PTR_ERR(hp); in hvc_vio_probe()
353 dev_set_drvdata(&vdev->dev, hp); in hvc_vio_probe()
[all …]
H A Dhvc_udbg.c55 struct hvc_struct *hp; in hvc_udbg_init() local
62 hp = hvc_alloc(0, 0, &hvc_udbg_ops, 16); in hvc_udbg_init()
63 if (IS_ERR(hp)) in hvc_udbg_init()
64 return PTR_ERR(hp); in hvc_udbg_init()
66 hvc_udbg_dev = hp; in hvc_udbg_init()
/openbmc/linux/drivers/char/agp/
H A Dhp-agp.c86 hp->io_tlb_ps = readq(hp->ioc_regs+HP_ZX1_TCNFG); in hp_zx1_ioc_shared()
99 hp->io_page_size = 1 << hp->io_tlb_shift; in hp_zx1_ioc_shared()
106 hp->gatt_entries = hp->gart_size / hp->io_page_size; in hp_zx1_ioc_shared()
109 hp->gatt = &hp->io_pdir[HP_ZX1_IOVA_TO_PDIR(hp->gart_base)]; in hp_zx1_ioc_shared()
146 hp->io_page_size = 1 << hp->io_tlb_shift; in hp_zx1_ioc_owner()
151 hp->gart_base = hp->iova_base + HP_ZX1_IOVA_SIZE - hp->gart_size; in hp_zx1_ioc_owner()
153 hp->gatt_entries = hp->gart_size / hp->io_page_size; in hp_zx1_ioc_owner()
249 writel(hp->io_tlb_ps, hp->ioc_regs+HP_ZX1_TCNFG); in hp_zx1_configure()
283 writeq(hp->gart_base | ilog2(hp->gart_size), hp->ioc_regs+HP_ZX1_PCOM); in hp_zx1_tlbflush()
303 memset(hp->io_pdir, 0, hp->io_pdir_size); in hp_zx1_create_gatt_table()
[all …]
/openbmc/linux/arch/sparc/kernel/
H A Dmdesc.c175 hp = NULL; in mdesc_memblock_alloc()
178 mdesc_handle_init(hp, handle_size, hp); in mdesc_memblock_alloc()
180 return hp; in mdesc_memblock_alloc()
221 return hp; in mdesc_kmalloc()
242 if (hp) in mdesc_alloc()
245 return hp; in mdesc_alloc()
250 hp->mops->free(hp); in mdesc_free()
264 if (hp) in mdesc_grab()
268 return hp; in mdesc_grab()
279 hp->mops->free(hp); in mdesc_release()
[all …]
H A Dvio.c213 target = mdesc_arc_target(hp, a); in vio_cfg_handle()
263 target = mdesc_arc_target(hp, a); in vio_fill_channel_info()
304 type = mdesc_node_name(hp, mp); in vio_create_one()
418 struct mdesc_handle *hp; member
443 node_data.hp = hp; in vio_remove()
502 struct mdesc_handle *hp; in vio_init() local
515 hp = mdesc_grab(); in vio_init()
516 if (!hp) in vio_init()
522 mdesc_release(hp); in vio_init()
564 mdesc_release(hp); in vio_init()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dtransobj.c332 mlx5_core_destroy_sq(hp->peer_mdev, hp->sqn[j]); in mlx5_hairpin_create_queues()
336 mlx5_core_destroy_rq(hp->func_mdev, hp->rqn[j]); in mlx5_hairpin_create_queues()
345 mlx5_core_destroy_rq(hp->func_mdev, hp->rqn[i]); in mlx5_hairpin_destroy_queues()
347 mlx5_core_destroy_sq(hp->peer_mdev, hp->sqn[i]); in mlx5_hairpin_destroy_queues()
459 if (!hp) in mlx5_core_hairpin_create()
466 hp->rqn = (void *)hp + sizeof(*hp); in mlx5_core_hairpin_create()
467 hp->sqn = hp->rqn + params->num_channels; in mlx5_core_hairpin_create()
478 return hp; in mlx5_core_hairpin_create()
483 kfree(hp); in mlx5_core_hairpin_create()
491 kfree(hp); in mlx5_core_hairpin_destroy()
[all …]
/openbmc/linux/net/ipv6/
H A Dexthdrs_core.c80 struct ipv6_opt_hdr _hdr, *hp; in ipv6_skip_exthdr() local
86 if (!hp) in ipv6_skip_exthdr()
103 hdrlen = ipv6_authlen(hp); in ipv6_skip_exthdr()
105 hdrlen = ipv6_optlen(hp); in ipv6_skip_exthdr()
107 nexthdr = hp->nexthdr; in ipv6_skip_exthdr()
209 struct ipv6_opt_hdr _hdr, *hp; in ipv6_find_hdr() local
220 if (!hp) in ipv6_find_hdr()
257 return hp->nexthdr; in ipv6_find_hdr()
269 hdrlen = ipv6_authlen(hp); in ipv6_find_hdr()
271 hdrlen = ipv6_optlen(hp); in ipv6_find_hdr()
[all …]
/openbmc/linux/net/ipv4/netfilter/
H A Dnf_tproxy_ipv4.c23 struct tcphdr _hdr, *hp; in nf_tproxy_handle_time_wait4() local
25 hp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_hdr), &_hdr); in nf_tproxy_handle_time_wait4()
26 if (hp == NULL) { in nf_tproxy_handle_time_wait4()
31 if (hp->syn && !hp->rst && !hp->ack && !hp->fin) { in nf_tproxy_handle_time_wait4()
38 hp->source, lport ? lport : hp->dest, in nf_tproxy_handle_time_wait4()
89 struct tcphdr _hdr, *hp; in nf_tproxy_get_sock_v4() local
91 hp = skb_header_pointer(skb, ip_hdrlen(skb), in nf_tproxy_get_sock_v4()
93 if (hp == NULL) in nf_tproxy_get_sock_v4()
99 ip_hdrlen(skb) + __tcp_hdrlen(hp), in nf_tproxy_get_sock_v4()
/openbmc/linux/net/sunrpc/
H A Dsvcauth.c197 struct auth_domain *hp; in auth_domain_lookup() local
204 hlist_for_each_entry(hp, head, hash) { in auth_domain_lookup()
205 if (strcmp(hp->name, name)==0) { in auth_domain_lookup()
206 kref_get(&hp->ref); in auth_domain_lookup()
208 return hp; in auth_domain_lookup()
220 struct auth_domain *hp; in auth_domain_find() local
227 if (strcmp(hp->name, name)==0) { in auth_domain_find()
229 hp = NULL; in auth_domain_find()
231 return hp; in auth_domain_find()
254 struct auth_domain *hp; in auth_domain_cleanup() local
[all …]
/openbmc/linux/net/ipv6/netfilter/
H A Dnf_tproxy_ipv6.c46 struct tcphdr _hdr, *hp; in nf_tproxy_handle_time_wait6() local
48 hp = skb_header_pointer(skb, thoff, sizeof(_hdr), &_hdr); in nf_tproxy_handle_time_wait6()
49 if (hp == NULL) { in nf_tproxy_handle_time_wait6()
54 if (hp->syn && !hp->rst && !hp->ack && !hp->fin) { in nf_tproxy_handle_time_wait6()
62 hp->source, in nf_tproxy_handle_time_wait6()
63 lport ? lport : hp->dest, in nf_tproxy_handle_time_wait6()
88 struct tcphdr _hdr, *hp; in nf_tproxy_get_sock_v6() local
90 hp = skb_header_pointer(skb, thoff, in nf_tproxy_get_sock_v6()
92 if (hp == NULL) in nf_tproxy_get_sock_v6()
98 thoff + __tcp_hdrlen(hp), in nf_tproxy_get_sock_v6()
H A Dnf_socket_ipv6.c115 struct udphdr *hp; in nf_sk_lookup_slow_v6() local
117 hp = skb_header_pointer(skb, thoff, tproto == IPPROTO_UDP ? in nf_sk_lookup_slow_v6()
118 sizeof(*hp) : sizeof(_hdr), &_hdr); in nf_sk_lookup_slow_v6()
119 if (hp == NULL) in nf_sk_lookup_slow_v6()
123 sport = hp->source; in nf_sk_lookup_slow_v6()
125 dport = hp->dest; in nf_sk_lookup_slow_v6()
128 thoff + __tcp_hdrlen((struct tcphdr *)hp) : in nf_sk_lookup_slow_v6()
129 thoff + sizeof(*hp); in nf_sk_lookup_slow_v6()
H A Dip6t_ipv6header.c46 const struct ipv6_opt_hdr *hp; in ipv6header_mt6() local
64 hp = skb_header_pointer(skb, ptr, sizeof(_hdr), &_hdr); in ipv6header_mt6()
65 if (!hp) { in ipv6header_mt6()
74 hdrlen = ipv6_authlen(hp); in ipv6header_mt6()
76 hdrlen = ipv6_optlen(hp); in ipv6header_mt6()
99 nexthdr = hp->nexthdr; in ipv6header_mt6()
/openbmc/linux/drivers/pci/hotplug/
H A Dacpiphp.h109 struct acpi_hotplug_context hp; member
115 static inline struct acpiphp_context *to_acpiphp_context(struct acpi_hotplug_context *hp) in to_acpiphp_context() argument
117 return container_of(hp, struct acpiphp_context, hp); in to_acpiphp_context()
127 return func_to_context(func)->hp.self; in func_to_acpi_device()
136 struct acpi_hotplug_context hp; member
140 static inline struct acpiphp_root_context *to_acpiphp_root_context(struct acpi_hotplug_context *hp) in to_acpiphp_root_context() argument
142 return container_of(hp, struct acpiphp_root_context, hp); in to_acpiphp_root_context()
/openbmc/linux/net/netfilter/
H A Dxt_TPROXY.c40 struct udphdr _hdr, *hp; in tproxy_tg4() local
44 if (hp == NULL) in tproxy_tg4()
53 hp->source, hp->dest, in tproxy_tg4()
58 lport = hp->dest; in tproxy_tg4()
69 hp->source, lport, in tproxy_tg4()
109 struct udphdr _hdr, *hp; in tproxy_tg6_v1() local
120 hp = skb_header_pointer(skb, thoff, sizeof(_hdr), &_hdr); in tproxy_tg6_v1()
121 if (!hp) in tproxy_tg6_v1()
130 hp->source, hp->dest, in tproxy_tg6_v1()
134 lport = tgi->lport ? tgi->lport : hp->dest; in tproxy_tg6_v1()
[all …]
H A Dnft_tproxy.c28 struct udphdr _hdr, *hp; in nft_tproxy_eval_v4() local
40 if (!hp) { in nft_tproxy_eval_v4()
51 hp->source, hp->dest, in nft_tproxy_eval_v4()
61 tport = hp->dest; in nft_tproxy_eval_v4()
73 hp->source, tport, in nft_tproxy_eval_v4()
92 struct udphdr _hdr, *hp; in nft_tproxy_eval_v6() local
107 hp = skb_header_pointer(skb, thoff, sizeof(_hdr), &_hdr); in nft_tproxy_eval_v6()
108 if (hp == NULL) { in nft_tproxy_eval_v6()
119 hp->source, hp->dest, in nft_tproxy_eval_v6()
129 tport = hp->dest; in nft_tproxy_eval_v6()
[all …]
/openbmc/linux/drivers/scsi/
H A Dsg.c577 if ((hp->mx_sb_len > 0) && hp->sbp) { in sg_new_read()
581 sb_len = (hp->mx_sb_len > sb_len) ? sb_len : hp->mx_sb_len; in sg_new_read()
592 if (hp->masked_status || hp->host_status || hp->driver_status) in sg_new_read()
686 hp->sbp = NULL; in sg_write()
761 if ((!hp->cmdp) || (hp->cmd_len < 6) || (hp->cmd_len > sizeof (cmnd))) { in sg_new_write()
765 if (copy_from_user(cmnd, hp->cmdp, hp->cmd_len)) { in sg_new_write()
790 hp->status = 0; in sg_common_write()
793 hp->info = 0; in sg_common_write()
796 hp->resid = 0; in sg_common_write()
1821 res = blk_rq_map_user_io(rq, md, hp->dxferp, hp->dxfer_len, in sg_start_req()
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-pci-devices-cciss4 Contact: iss_storagedev@hp.com
11 Contact: iss_storagedev@hp.com
18 Contact: iss_storagedev@hp.com
25 Contact: iss_storagedev@hp.com
32 Contact: iss_storagedev@hp.com
38 Contact: iss_storagedev@hp.com
45 Contact: iss_storagedev@hp.com
52 Contact: iss_storagedev@hp.com
59 Contact: iss_storagedev@hp.com
66 Contact: iss_storagedev@hp.com
[all …]
/openbmc/linux/Documentation/sound/hd-audio/
H A Dmodels.rst41 hp-z200
58 hp-eapd
193 hp-gpio4
203 hp-9480m
500 hp-530
533 hp-dock
689 hp-m4
691 hp-dv5
693 hp-hdx
739 hp-led
[all …]

12345678910>>...12