| /drivers/net/ethernet/sun/ |
| A D | sunhme.c | 565 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 …]
|
| A D | ldmvsw.c | 178 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 …]
|
| A D | sunvnet.c | 194 struct hlist_head *hp = &vp->port_hash[hash]; in __tx_port_find() local 197 hlist_for_each_entry_rcu(port, hp, hash) { in __tx_port_find() 379 u64 target = mdesc_arc_target(hp, a); in vnet_find_parent() 382 name = mdesc_get_property(hp, target, "name", NULL); in vnet_find_parent() 386 local_mac = mdesc_get_property(hp, target, in vnet_find_parent() 413 struct mdesc_handle *hp; in vnet_port_probe() local 420 hp = mdesc_grab(); in vnet_port_probe() 422 if (!hp) in vnet_port_probe() 425 vp = vnet_find_parent(hp, vdev->mp, vdev); in vnet_port_probe() 491 mdesc_release(hp); in vnet_port_probe() [all …]
|
| A D | sunhme.h | 365 #define TX_BUFFS_AVAIL(hp) \ argument 366 (((hp)->tx_old <= (hp)->tx_new) ? \ 367 (hp)->tx_old + (TX_RING_SIZE - 1) - (hp)->tx_new : \ 368 (hp)->tx_old - (hp)->tx_new - 1)
|
| /drivers/tty/hvc/ |
| A D | hvsi.c | 177 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 …]
|
| A D | hvc_console.c | 365 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 …]
|
| A 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); 69 void (*dtr_rts)(struct hvc_struct *hp, bool active); 80 extern void 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 …]
|
| A D | hvc_opal.c | 102 hvsilib_close(&pv->hvsi, hp); in hvc_opal_hvsi_close() 104 notifier_del_irq(hp, data); in hvc_opal_hvsi_close() 113 hvsilib_close(&pv->hvsi, hp); in hvc_opal_hvsi_hangup() 115 notifier_hangup_irq(hp, data); in hvc_opal_hvsi_hangup() 133 hp->vtermno, set, clear); in hvc_opal_hvsi_tiocmset() 157 struct hvc_struct *hp; in hvc_opal_probe() local 226 if (IS_ERR(hp)) in hvc_opal_probe() 227 return PTR_ERR(hp); in hvc_opal_probe() 230 hp->flags = IRQF_SHARED; in hvc_opal_probe() 241 termno = hp->vtermno; in hvc_opal_remove() [all …]
|
| A 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 …]
|
| A D | hvc_vio.c | 165 rc = notifier_add_irq(hp, data); in hvterm_hvsi_open() 169 return hvsilib_open(&pv->hvsi, hp); in hvterm_hvsi_open() 178 hvsilib_close(&pv->hvsi, hp); in hvterm_hvsi_close() 180 notifier_del_irq(hp, data); in hvterm_hvsi_close() 189 hvsilib_close(&pv->hvsi, hp); in hvterm_hvsi_hangup() 191 notifier_hangup_irq(hp, data); in hvterm_hvsi_hangup() 302 struct hvc_struct *hp; in hvc_vio_probe() local 353 if (IS_ERR(hp)) in hvc_vio_probe() 354 return PTR_ERR(hp); in hvc_vio_probe() 355 dev_set_drvdata(&vdev->dev, hp); in hvc_vio_probe() [all …]
|
| A D | hvc_udbg.c | 56 struct hvc_struct *hp; in hvc_udbg_init() local 63 hp = hvc_alloc(0, 0, &hvc_udbg_ops, 16); in hvc_udbg_init() 64 if (IS_ERR(hp)) in hvc_udbg_init() 65 return PTR_ERR(hp); in hvc_udbg_init() 67 hvc_udbg_dev = hp; in hvc_udbg_init()
|
| A D | hvc_rtas.c | 69 struct hvc_struct *hp; in hvc_rtas_init() local 85 hp = hvc_alloc(hvc_rtas_cookie, 0, &hvc_rtas_get_put_ops, 16); in hvc_rtas_init() 86 if (IS_ERR(hp)) in hvc_rtas_init() 87 return PTR_ERR(hp); in hvc_rtas_init() 89 hvc_rtas_dev = hp; in hvc_rtas_init()
|
| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | transobj.c | 332 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 …]
|
| A D | en_tc.c | 730 err = mlx5_core_alloc_transport_domain(hp->func_mdev, &hp->tdn); in mlx5e_hairpin_create_transport() 744 mlx5_core_dealloc_transport_domain(hp->func_mdev, hp->tdn); in mlx5e_hairpin_create_transport() 752 mlx5_core_dealloc_transport_domain(hp->func_mdev, hp->tdn); in mlx5e_hairpin_destroy_transport() 769 err = mlx5e_rqt_init_indir(&hp->indir_rqt, mdev, hp->pair->rqn, NULL, hp->num_channels, in mlx5e_hairpin_create_indirect_rqt() 904 hp = kzalloc(sizeof(*hp), GFP_KERNEL); in mlx5e_hairpin_create() 905 if (!hp) in mlx5e_hairpin_create() 936 return hp; in mlx5e_hairpin_create() 943 kfree(hp); in mlx5e_hairpin_create() 953 kvfree(hp); in mlx5e_hairpin_destroy() 1182 hpe->hp = hp; in mlx5e_hairpin_flow_add() [all …]
|
| /drivers/scsi/ |
| A D | sg.c | 570 if ((hp->mx_sb_len > 0) && hp->sbp) { in sg_new_read() 574 sb_len = (hp->mx_sb_len > sb_len) ? sb_len : hp->mx_sb_len; in sg_new_read() 585 if (hp->masked_status || hp->host_status || hp->driver_status) in sg_new_read() 679 hp->sbp = NULL; in sg_write() 754 if ((!hp->cmdp) || (hp->cmd_len < 6) || (hp->cmd_len > sizeof (cmnd))) { in sg_new_write() 758 if (copy_from_user(cmnd, hp->cmdp, hp->cmd_len)) { in sg_new_write() 783 hp->status = 0; in sg_common_write() 786 hp->info = 0; in sg_common_write() 789 hp->resid = 0; in sg_common_write() 1811 res = blk_rq_map_user_io(rq, md, hp->dxferp, hp->dxfer_len, in sg_start_req() [all …]
|
| /drivers/pci/hotplug/ |
| A 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()
|
| A D | acpiphp_glue.c | 68 context->hp.notify = acpiphp_hotplug_notify; in acpiphp_init_context() 69 context->hp.fixup = acpiphp_post_dock_fixup; in acpiphp_init_context() 70 acpi_set_hp_context(adev, &context->hp); in acpiphp_init_context() 84 if (!adev->hp) in acpiphp_get_context() 87 context = to_acpiphp_context(adev->hp); in acpiphp_get_context() 106 context->hp.self->hp = NULL; in acpiphp_put_context() 349 adev->hp->notify = NULL; in cleanup_bridge() 350 adev->hp->fixup = NULL; in cleanup_bridge() 765 if (adev->hp) { in acpiphp_check_host_bridge() 785 acpi_handle handle = context->hp.self->handle; in hotplug_event() [all …]
|
| /drivers/net/wireless/ath/ath11k/ |
| A D | hal.c | 689 u32 tp, hp; in ath11k_hal_srng_dst_num_free() local 696 hp = *srng->u.dst_ring.hp_addr; in ath11k_hal_srng_dst_num_free() 702 if (hp >= tp) in ath11k_hal_srng_dst_num_free() 712 u32 tp, hp; in ath11k_hal_srng_src_num_free() local 716 hp = srng->u.src_ring.hp; in ath11k_hal_srng_src_num_free() 725 if (tp > hp) in ath11k_hal_srng_src_num_free() 751 srng->u.src_ring.hp = next_hp; in ath11k_hal_srng_src_get_next_entry() 795 srng->u.src_ring.hp = (srng->u.src_ring.hp + srng->entry_size) % in ath11k_hal_srng_src_get_next_reaped() 828 u32 hp; in ath11k_hal_srng_access_begin() local 890 srng->u.src_ring.hp); in ath11k_hal_srng_access_end() [all …]
|
| /drivers/gpu/drm/ci/xfails/ |
| A D | amdgpu-stoney-flakes.txt | 1 # Board Name: hp-11A-G6-EE-grunt 8 # Board Name: hp-11A-G6-EE-grunt 15 # Board Name: hp-11A-G6-EE-grunt 22 # Board Name: hp-11A-G6-EE-grunt 29 # Board Name: hp-11A-G6-EE-grunt
|
| A D | i915-glk-flakes.txt | 1 # Board Name: hp-x360-12b-ca0010nr-n4020-octopus 8 # Board Name: hp-x360-12b-ca0010nr-n4020-octopus 15 # Board Name: hp-x360-12b-ca0010nr-n4020-octopus
|
| /drivers/net/wireless/ath/ath12k/ |
| A D | hal.c | 2003 u32 tp, hp; in ath12k_hal_srng_dst_num_free() local 2010 hp = *srng->u.dst_ring.hp_addr; in ath12k_hal_srng_dst_num_free() 2016 if (hp >= tp) in ath12k_hal_srng_dst_num_free() 2026 u32 tp, hp; in ath12k_hal_srng_src_num_free() local 2030 hp = srng->u.src_ring.hp; in ath12k_hal_srng_src_num_free() 2039 if (tp > hp) in ath12k_hal_srng_src_num_free() 2083 srng->u.src_ring.hp = next_hp; in ath12k_hal_srng_src_get_next_entry() 2138 srng->u.src_ring.hp = (srng->u.src_ring.hp + srng->entry_size) % in ath12k_hal_srng_src_get_next_reaped() 2146 u32 hp; in ath12k_hal_srng_access_begin() local 2204 srng->u.src_ring.hp); in ath12k_hal_srng_access_end() [all …]
|
| /drivers/ata/ |
| A D | libata-acpi.c | 43 struct acpi_hotplug_context hp; member 50 #define ata_hotplug_data(context) (container_of((context), struct ata_acpi_hotplug_context, hp)->da… 137 struct ata_device *dev = ata_hotplug_data(adev->hp).dev; in ata_acpi_dev_notify_dock() 144 ata_acpi_handle_hotplug(ata_hotplug_data(adev->hp).ap, NULL, event); in ata_acpi_ap_notify_dock() 169 ata_acpi_uevent(ata_hotplug_data(adev->hp).ap, NULL, event); in ata_acpi_ap_uevent() 174 struct ata_device *dev = ata_hotplug_data(adev->hp).dev; in ata_acpi_dev_uevent() 194 if (!adev || adev->hp) in ata_acpi_bind_port() 202 acpi_initialize_hp_context(adev, &context->hp, ata_acpi_ap_notify_dock, in ata_acpi_bind_port() 236 if (!adev || adev->hp) in ata_acpi_bind_dev() 244 acpi_initialize_hp_context(adev, &context->hp, ata_acpi_dev_notify_dock, in ata_acpi_bind_dev()
|
| /drivers/clk/pxa/ |
| A D | clk-pxa.c | 50 struct clk_fixed_factor hp; member 66 fix = &pclk->hp; in cken_recalc_rate() 112 pxa_clk->hp = clks[i].hp; in clk_pxa_cken_init()
|
| /drivers/platform/x86/hp/ |
| A D | Makefile | 9 obj-$(CONFIG_HP_WMI) += hp-wmi.o 11 obj-$(CONFIG_HP_BIOSCFG) += hp-bioscfg/
|
| /drivers/spi/ |
| A D | spi-bcm-qspi.c | 187 unsigned int hp; member 426 width, addrlen, hp); in bcm_qspi_bspi_set_flex_mode() 442 if (hp) { in bcm_qspi_bspi_set_flex_mode() 449 if (hp) { in bcm_qspi_bspi_set_flex_mode() 464 const struct spi_mem_op *op, int hp) in bcm_qspi_bspi_set_override() argument 471 width, addrlen, hp); in bcm_qspi_bspi_set_override() 509 const struct spi_mem_op *op, int hp) in bcm_qspi_bspi_set_mode() argument 536 width, addrlen, hp); in bcm_qspi_bspi_set_mode() 539 qspi->xfer_mode.hp != hp) { in bcm_qspi_bspi_set_mode() 542 qspi->xfer_mode.hp = hp; in bcm_qspi_bspi_set_mode() [all …]
|