/kernel/linux/linux-5.10/drivers/tty/hvc/ |
D | hvsi.c | 87 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 …]
|
D | hvc_console.c | 92 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 …]
|
D | hvc_console.h | 60 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, int raise); 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 …]
|
D | hvc_irq.c | 29 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 …]
|
D | hvc_opal.c | 81 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 …]
|
D | hvc_vio.c | 156 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 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 …]
|
D | hvc_udbg.c | 55 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()
|
/kernel/linux/linux-5.10/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 | ldmvsw.c | 167 static struct vnet *vsw_get_vnet(struct mdesc_handle *hp, in vsw_get_vnet() argument 178 mdesc_for_each_arc(a, hp, port_node, MDESC_ARC_TYPE_BACK) { in vsw_get_vnet() 179 u64 target = mdesc_arc_target(hp, a); in vsw_get_vnet() 182 name = mdesc_get_property(hp, target, "name", NULL); in vsw_get_vnet() 186 local_mac = mdesc_get_property(hp, target, in vsw_get_vnet() 188 cfghandle = mdesc_get_property(hp, target, in vsw_get_vnet() 281 struct mdesc_handle *hp; in vsw_port_probe() local 291 hp = mdesc_grab(); in vsw_port_probe() 293 rmac = mdesc_get_property(hp, vdev->mp, remote_macaddr_prop, &len); in vsw_port_probe() 297 mdesc_release(hp); in vsw_port_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/char/agp/ |
D | hp-agp.c | 76 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 …]
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | mdesc.c | 149 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 …]
|
D | vio.c | 207 static const u64 *vio_cfg_handle(struct mdesc_handle *hp, u64 node) in vio_cfg_handle() argument 212 mdesc_for_each_arc(a, hp, node, MDESC_ARC_TYPE_BACK) { in vio_cfg_handle() 215 target = mdesc_arc_target(hp, a); in vio_cfg_handle() 216 cfg_handle = mdesc_get_property(hp, target, in vio_cfg_handle() 238 u64 vio_vdev_node(struct mdesc_handle *hp, struct vio_dev *vdev) in vio_vdev_node() argument 245 node = mdesc_get_node(hp, (const char *)vdev->node_name, in vio_vdev_node() 252 static void vio_fill_channel_info(struct mdesc_handle *hp, u64 mp, in vio_fill_channel_info() argument 260 mdesc_for_each_arc(a, hp, mp, MDESC_ARC_TYPE_FWD) { in vio_fill_channel_info() 265 target = mdesc_arc_target(hp, a); in vio_fill_channel_info() 267 irq = mdesc_get_property(hp, target, "tx-ino", NULL); in vio_fill_channel_info() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | transobj.c | 311 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 …]
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | xt_TPROXY.c | 40 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() 79 iph->protocol, &iph->daddr, ntohs(hp->dest), in tproxy_tg4() 87 iph->protocol, &iph->saddr, ntohs(hp->source), in tproxy_tg4() 88 &iph->daddr, ntohs(hp->dest), skb->mark); in tproxy_tg4() 117 struct udphdr _hdr, *hp; in tproxy_tg6_v1() local [all …]
|
D | nft_tproxy.c | 28 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() 93 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 …]
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | exthdrs_core.c | 80 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() 207 struct ipv6_opt_hdr _hdr, *hp; in ipv6_find_hdr() local 217 hp = skb_header_pointer(skb, start, sizeof(_hdr), &_hdr); in ipv6_find_hdr() 218 if (!hp) in ipv6_find_hdr() 251 ((!ipv6_ext_hdr(hp->nexthdr)) || in ipv6_find_hdr() [all …]
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
D | nf_tproxy_ipv4.c | 23 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() 86 struct tcphdr _hdr, *hp; in nf_tproxy_get_sock_v4() local 88 hp = skb_header_pointer(skb, ip_hdrlen(skb), in nf_tproxy_get_sock_v4() 90 if (hp == NULL) in nf_tproxy_get_sock_v4() 97 __tcp_hdrlen(hp), in nf_tproxy_get_sock_v4()
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
D | nf_tproxy_ipv6.c | 46 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() 87 struct tcphdr _hdr, *hp; in nf_tproxy_get_sock_v6() local 89 hp = skb_header_pointer(skb, thoff, in nf_tproxy_get_sock_v6() 91 if (hp == NULL) in nf_tproxy_get_sock_v6() 97 thoff + __tcp_hdrlen(hp), in nf_tproxy_get_sock_v6()
|
D | nf_socket_ipv6.c | 115 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()
|
D | ip6t_ipv6header.c | 46 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()
|
/kernel/linux/linux-5.10/net/sunrpc/ |
D | svcauth.c | 169 struct auth_domain *hp; in auth_domain_lookup() local 176 hlist_for_each_entry(hp, head, hash) { in auth_domain_lookup() 177 if (strcmp(hp->name, name)==0) { in auth_domain_lookup() 178 kref_get(&hp->ref); in auth_domain_lookup() 180 return hp; in auth_domain_lookup() 192 struct auth_domain *hp; in auth_domain_find() local 198 hlist_for_each_entry_rcu(hp, head, hash) { in auth_domain_find() 199 if (strcmp(hp->name, name)==0) { in auth_domain_find() 200 if (!kref_get_unless_zero(&hp->ref)) in auth_domain_find() 201 hp = NULL; in auth_domain_find() [all …]
|
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
D | acpiphp.h | 109 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()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | sg.c | 423 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 …]
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-bus-pci-devices-cciss | 4 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 …]
|
/kernel/linux/linux-5.10/Documentation/sound/hd-audio/ |
D | models.rst | 41 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 …]
|