Home
last modified time | relevance | path

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

1234567891011

/linux-6.6.21/drivers/net/ethernet/sun/
Dsunhme.c104 static __inline__ void tx_add_log(struct happy_meal *hp, unsigned int a, unsigned int s)
112 tlp->tx_new = hp->tx_new;
113 tlp->tx_old = hp->tx_old;
133 #define tx_add_log(hp, a, s) argument
252 static inline u32 hme_read_desc32(struct happy_meal *hp, hme32 *p) in hme_read_desc32() argument
261 static void BB_PUT_BIT(struct happy_meal *hp, void __iomem *tregs, int bit) in BB_PUT_BIT() argument
263 hme_write32(hp, tregs + TCVR_BBDATA, bit); in BB_PUT_BIT()
264 hme_write32(hp, tregs + TCVR_BBCLOCK, 0); in BB_PUT_BIT()
265 hme_write32(hp, tregs + TCVR_BBCLOCK, 1); in BB_PUT_BIT()
269 static u32 BB_GET_BIT(struct happy_meal *hp, void __iomem *tregs, int internal)
[all …]
Dldmvsw.c166 static struct vnet *vsw_get_vnet(struct mdesc_handle *hp, in vsw_get_vnet() argument
177 mdesc_for_each_arc(a, hp, port_node, MDESC_ARC_TYPE_BACK) { in vsw_get_vnet()
178 u64 target = mdesc_arc_target(hp, a); in vsw_get_vnet()
181 name = mdesc_get_property(hp, target, "name", NULL); 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()
292 rmac = mdesc_get_property(hp, vdev->mp, remote_macaddr_prop, &len); in vsw_port_probe()
[all …]
/linux-6.6.21/drivers/tty/hvc/
Dhvc_console.c92 struct hvc_struct *hp; in hvc_get_by_index() local
97 list_for_each_entry(hp, &hvc_structs, next) { in hvc_get_by_index()
98 spin_lock_irqsave(&hp->lock, flags); in hvc_get_by_index()
99 if (hp->index == index) { in hvc_get_by_index()
100 tty_port_get(&hp->port); in hvc_get_by_index()
101 spin_unlock_irqrestore(&hp->lock, flags); in hvc_get_by_index()
103 return hp; in hvc_get_by_index()
105 spin_unlock_irqrestore(&hp->lock, flags); in hvc_get_by_index()
107 hp = NULL; in hvc_get_by_index()
110 return hp; in hvc_get_by_index()
[all …]
Dhvsi.c87 static int (*hvsi_wait)(struct hvsi_struct *hp, int state);
99 static inline int is_console(struct hvsi_struct *hp) in is_console() argument
101 return hp->flags & HVSI_CONSOLE; in is_console()
104 static inline int is_open(struct hvsi_struct *hp) in is_open() argument
107 return (hp->state == HVSI_OPEN) in is_open()
108 || (hp->state == HVSI_WAIT_FOR_MCTRL_RESPONSE); in is_open()
111 static inline void print_state(struct hvsi_struct *hp) in print_state() argument
122 const char *name = (hp->state < ARRAY_SIZE(state_names)) in print_state()
123 ? state_names[hp->state] : "UNKNOWN"; in print_state()
125 pr_debug("hvsi%i: state = %s\n", hp->index, name); in print_state()
[all …]
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);
66 int (*tiocmset)(struct hvc_struct *hp, unsigned int set, unsigned int clear);
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);
87 extern void __hvc_resize(struct hvc_struct *hp, struct winsize ws);
89 static inline void hvc_resize(struct hvc_struct *hp, struct winsize ws) in hvc_resize() argument
[all …]
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 …]
Dhvc_opal.c81 static int hvc_opal_hvsi_open(struct hvc_struct *hp, int data) in hvc_opal_hvsi_open() argument
83 struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; in hvc_opal_hvsi_open()
86 pr_devel("HVSI@%x: do open !\n", hp->vtermno); in hvc_opal_hvsi_open()
88 rc = notifier_add_irq(hp, data); in hvc_opal_hvsi_open()
92 return hvsilib_open(&pv->hvsi, hp); in hvc_opal_hvsi_open()
95 static void hvc_opal_hvsi_close(struct hvc_struct *hp, int data) in hvc_opal_hvsi_close() argument
97 struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; in hvc_opal_hvsi_close()
99 pr_devel("HVSI@%x: do close !\n", hp->vtermno); in hvc_opal_hvsi_close()
101 hvsilib_close(&pv->hvsi, hp); in hvc_opal_hvsi_close()
103 notifier_del_irq(hp, data); in hvc_opal_hvsi_close()
[all …]
Dhvc_vio.c156 static int hvterm_hvsi_open(struct hvc_struct *hp, int data) in hvterm_hvsi_open() argument
158 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; in hvterm_hvsi_open()
163 rc = notifier_add_irq(hp, data); in hvterm_hvsi_open()
167 return hvsilib_open(&pv->hvsi, hp); in hvterm_hvsi_open()
170 static void hvterm_hvsi_close(struct hvc_struct *hp, int data) in hvterm_hvsi_close() argument
172 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; in hvterm_hvsi_close()
176 hvsilib_close(&pv->hvsi, hp); in hvterm_hvsi_close()
178 notifier_del_irq(hp, data); in hvterm_hvsi_close()
181 static void hvterm_hvsi_hangup(struct hvc_struct *hp, int data) in hvterm_hvsi_hangup() argument
183 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; in hvterm_hvsi_hangup()
[all …]
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()
/linux-6.6.21/drivers/char/agp/
Dhp-agp.c76 struct _hp_private *hp = &hp_private; in hp_zx1_ioc_shared() local
86 hp->io_tlb_ps = readq(hp->ioc_regs+HP_ZX1_TCNFG); in hp_zx1_ioc_shared()
87 switch (hp->io_tlb_ps) { in hp_zx1_ioc_shared()
88 case 0: hp->io_tlb_shift = 12; break; in hp_zx1_ioc_shared()
89 case 1: hp->io_tlb_shift = 13; break; in hp_zx1_ioc_shared()
90 case 2: hp->io_tlb_shift = 14; break; in hp_zx1_ioc_shared()
91 case 3: hp->io_tlb_shift = 16; break; in hp_zx1_ioc_shared()
94 "configuration 0x%x\n", hp->io_tlb_ps); in hp_zx1_ioc_shared()
95 hp->gatt = NULL; in hp_zx1_ioc_shared()
96 hp->gatt_entries = 0; in hp_zx1_ioc_shared()
[all …]
/linux-6.6.21/arch/sparc/kernel/
Dmdesc.c149 static void mdesc_handle_init(struct mdesc_handle *hp, in mdesc_handle_init() argument
153 BUG_ON(((unsigned long)&hp->mdesc) & (16UL - 1)); in mdesc_handle_init()
155 memset(hp, 0, handle_size); in mdesc_handle_init()
156 INIT_LIST_HEAD(&hp->list); in mdesc_handle_init()
157 hp->self_base = base; in mdesc_handle_init()
158 refcount_set(&hp->refcnt, 1); in mdesc_handle_init()
159 hp->handle_size = handle_size; in mdesc_handle_init()
165 struct mdesc_handle *hp; in mdesc_memblock_alloc() local
175 hp = NULL; in mdesc_memblock_alloc()
177 hp = __va(paddr); in mdesc_memblock_alloc()
[all …]
Dvio.c205 static const u64 *vio_cfg_handle(struct mdesc_handle *hp, u64 node) in vio_cfg_handle() argument
210 mdesc_for_each_arc(a, hp, node, MDESC_ARC_TYPE_BACK) { in vio_cfg_handle()
213 target = mdesc_arc_target(hp, a); in vio_cfg_handle()
214 cfg_handle = mdesc_get_property(hp, target, in vio_cfg_handle()
236 u64 vio_vdev_node(struct mdesc_handle *hp, struct vio_dev *vdev) in vio_vdev_node() argument
243 node = mdesc_get_node(hp, (const char *)vdev->node_name, in vio_vdev_node()
250 static void vio_fill_channel_info(struct mdesc_handle *hp, u64 mp, in vio_fill_channel_info() argument
258 mdesc_for_each_arc(a, hp, mp, MDESC_ARC_TYPE_FWD) { in vio_fill_channel_info()
263 target = mdesc_arc_target(hp, a); in vio_fill_channel_info()
265 irq = mdesc_get_property(hp, target, "tx-ino", NULL); in vio_fill_channel_info()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dtransobj.c311 static int mlx5_hairpin_create_queues(struct mlx5_hairpin *hp, in mlx5_hairpin_create_queues() argument
316 for (i = 0; i < hp->num_channels; i++) { in mlx5_hairpin_create_queues()
317 err = mlx5_hairpin_create_rq(hp->func_mdev, params, &hp->rqn[i]); in mlx5_hairpin_create_queues()
322 for (i = 0; i < hp->num_channels; i++) { in mlx5_hairpin_create_queues()
323 err = mlx5_hairpin_create_sq(hp->peer_mdev, params, &hp->sqn[i]); in mlx5_hairpin_create_queues()
332 mlx5_core_destroy_sq(hp->peer_mdev, hp->sqn[j]); in mlx5_hairpin_create_queues()
333 i = hp->num_channels; in mlx5_hairpin_create_queues()
336 mlx5_core_destroy_rq(hp->func_mdev, hp->rqn[j]); in mlx5_hairpin_create_queues()
340 static void mlx5_hairpin_destroy_queues(struct mlx5_hairpin *hp) in mlx5_hairpin_destroy_queues() argument
344 for (i = 0; i < hp->num_channels; i++) { in mlx5_hairpin_destroy_queues()
[all …]
/linux-6.6.21/net/ipv6/
Dexthdrs_core.c80 struct ipv6_opt_hdr _hdr, *hp; in ipv6_skip_exthdr() local
85 hp = skb_header_pointer(skb, start, sizeof(_hdr), &_hdr); in ipv6_skip_exthdr()
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
219 hp = skb_header_pointer(skb, start, sizeof(_hdr), &_hdr); in ipv6_find_hdr()
220 if (!hp) in ipv6_find_hdr()
253 ((!ipv6_ext_hdr(hp->nexthdr)) || in ipv6_find_hdr()
[all …]
/linux-6.6.21/net/ipv4/netfilter/
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()
87 struct tcphdr _hdr, *hp; in nf_tproxy_get_sock_v4() local
89 hp = skb_header_pointer(skb, ip_hdrlen(skb), in nf_tproxy_get_sock_v4()
91 if (hp == NULL) in nf_tproxy_get_sock_v4()
97 ip_hdrlen(skb) + __tcp_hdrlen(hp), in nf_tproxy_get_sock_v4()
/linux-6.6.21/net/sunrpc/
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
226 hlist_for_each_entry_rcu(hp, head, hash) { in auth_domain_find()
227 if (strcmp(hp->name, name)==0) { in auth_domain_find()
228 if (!kref_get_unless_zero(&hp->ref)) in auth_domain_find()
229 hp = NULL; in auth_domain_find()
[all …]
/linux-6.6.21/net/ipv6/netfilter/
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()
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()
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()
/linux-6.6.21/drivers/pci/hotplug/
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()
/linux-6.6.21/net/netfilter/
Dxt_TPROXY.c40 struct udphdr _hdr, *hp; in tproxy_tg4() local
43 hp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_hdr), &_hdr); in tproxy_tg4()
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()
[all …]
Dnft_tproxy.c28 struct udphdr _hdr, *hp; in nft_tproxy_eval_v4() local
39 hp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_hdr), &_hdr); in nft_tproxy_eval_v4()
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()
[all …]
/linux-6.6.21/drivers/scsi/
Dsg.c423 struct compat_sg_io_hdr __user *hp = buf; in get_sg_io_pack_id() local
425 return get_user(*pack_id, &hp->pack_id); in get_sg_io_pack_id()
429 struct sg_io_hdr __user *hp = buf; in get_sg_io_pack_id() local
431 return get_user(*pack_id, &hp->pack_id); in get_sg_io_pack_id()
448 sg_io_hdr_t *hp; in sg_read() local
484 hp = &srp->header; in sg_read()
489 old_hdr->reply_len = (int) hp->timeout; in sg_read()
491 old_hdr->pack_id = hp->pack_id; in sg_read()
493 ((srp->data.cmd_opcode >= 0xc0) && (12 == hp->cmd_len)) ? 1 : 0; in sg_read()
494 old_hdr->target_status = hp->masked_status; in sg_read()
[all …]
/linux-6.6.21/Documentation/ABI/testing/
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 …]
/linux-6.6.21/Documentation/sound/hd-audio/
Dmodels.rst41 hp-z200
58 hp-eapd
79 headset-mode-no-hp-mic
83 hp-gpio-led
85 hp-dock-gpio-mic1-led
127 lifebook-hp-pin
135 hp-mute-led-mic1
137 hp-mute-led-mic2
139 hp-mute-led-mic3
141 hp-gpio-mic1
[all …]

1234567891011