| /kernel/linux/linux-6.6/drivers/net/ethernet/sun/ |
| D | sunhme.c | 104 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 …]
|
| /kernel/linux/linux-6.6/drivers/char/agp/ |
| D | hp-agp.c | 3 * HP zx1 AGPGART routines. 6 * Bjorn Helgaas <bjorn.helgaas@hp.com> 23 /* HP ZX1 IOC registers */ 76 struct _hp_private *hp = &hp_private; in hp_zx1_ioc_shared() local 78 printk(KERN_INFO PFX "HP ZX1 IOC: IOPDIR shared with sba_iommu\n"); in hp_zx1_ioc_shared() 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() [all …]
|
| /kernel/linux/linux-5.10/drivers/char/agp/ |
| D | hp-agp.c | 3 * HP zx1 AGPGART routines. 6 * Bjorn Helgaas <bjorn.helgaas@hp.com> 23 /* HP ZX1 IOC registers */ 76 struct _hp_private *hp = &hp_private; in hp_zx1_ioc_shared() local 78 printk(KERN_INFO PFX "HP ZX1 IOC: IOPDIR shared with sba_iommu\n"); in hp_zx1_ioc_shared() 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() [all …]
|
| /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 …]
|
| /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_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_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 …]
|
| /kernel/linux/linux-6.6/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, 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 …]
|
| 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_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 …]
|
| /kernel/linux/linux-6.6/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 | 205 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() 225 * @hp: Handle to the MD 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() [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() 227 * @hp: Handle to the MD 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() [all …]
|
| /kernel/linux/linux-5.10/Documentation/sound/hd-audio/ |
| D | models.rst | 10 3-jack in back, a HP out and a SPDIF out 31 Quirk for FSC S7020 with jack modes and HP mic support 41 hp-z200 42 Fixups for HP Z200 58 hp-eapd 59 Disable HP EAPD on NID 0x15 79 headset-mode-no-hp-mic 83 hp-gpio-led 84 GPIO LED support on HP laptops 85 hp-dock-gpio-mic1-led [all …]
|
| /kernel/linux/linux-6.6/Documentation/sound/hd-audio/ |
| D | models.rst | 10 3-jack in back, a HP out and a SPDIF out 31 Quirk for FSC S7020 with jack modes and HP mic support 41 hp-z200 42 Fixups for HP Z200 58 hp-eapd 59 Disable HP EAPD on NID 0x15 79 headset-mode-no-hp-mic 83 hp-gpio-led 84 GPIO LED support on HP laptops 85 hp-dock-gpio-mic1-led [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-6.6/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-6.6/drivers/platform/x86/hp/ |
| D | hp_accel.c | 3 * hp_accel.c - Interface between LIS3LV02DL driver and HP ACPI BIOS 60 /* HP-specific accelerometer driver ------------------------------------ */ 71 {"HPQ0004", 0}, /* HP Mobile Data Protection System PNP */ 72 {"HPQ6000", 0}, /* HP Mobile Data Protection System PNP */ 73 {"HPQ6007", 0}, /* HP Mobile Data Protection System PNP */ 187 AXIS_DMI_MATCH("NC64x0", "HP Compaq nc64", x_inverted), 188 AXIS_DMI_MATCH("NC84x0", "HP Compaq nc84", z_inverted), 189 AXIS_DMI_MATCH("NX9420", "HP Compaq nx9420", x_inverted), 190 AXIS_DMI_MATCH("NW9440", "HP Compaq nw9440", x_inverted), 191 AXIS_DMI_MATCH("NC2510", "HP Compaq 2510", y_inverted), [all …]
|
| D | Kconfig | 6 bool "HP X86 Platform Specific Device Drivers" 10 HP x86 platforms, including vendor-specific laptop extension drivers. 18 tristate "HP laptop accelerometer" 27 or "3D DriveGuard" feature of HP laptops. On such systems the driver 31 hp::hddprotect. For more information on the feature, refer to 38 tristate "HP WMI extras" 47 Say Y here if you want to support WMI-based hotkeys on HP laptops and 51 be called hp-wmi. 54 tristate "HP Compaq TC1100 Tablet WMI Extras" 61 control) of the HP Compaq TC1100 tablet. [all …]
|
| /kernel/linux/linux-5.10/drivers/platform/x86/ |
| D | hp_accel.c | 3 * hp_accel.c - Interface between LIS3LV02DL driver and HP ACPI BIOS 63 /* HP-specific accelerometer driver ------------------------------------ */ 74 {"HPQ0004", 0}, /* HP Mobile Data Protection System PNP */ 75 {"HPQ6000", 0}, /* HP Mobile Data Protection System PNP */ 76 {"HPQ6007", 0}, /* HP Mobile Data Protection System PNP */ 199 AXIS_DMI_MATCH("NC64x0", "HP Compaq nc64", x_inverted), 200 AXIS_DMI_MATCH("NC84x0", "HP Compaq nc84", z_inverted), 201 AXIS_DMI_MATCH("NX9420", "HP Compaq nx9420", x_inverted), 202 AXIS_DMI_MATCH("NW9440", "HP Compaq nw9440", x_inverted), 203 AXIS_DMI_MATCH("NC2510", "HP Compaq 2510", y_inverted), [all …]
|