Home
last modified time | relevance | path

Searched refs:pflags (Results 1 – 25 of 31) sorted by relevance

12

/drivers/ata/
Dlibata-eh.c250 WARN_ON(!(ap->pflags & ATA_PFLAG_INITIALIZING)); in ata_port_desc()
512 ap->pflags &= ~ATA_PFLAG_EH_PENDING; /* clear pending from freeze */ in ata_eh_unload()
513 ap->pflags |= ATA_PFLAG_UNLOADED; in ata_eh_unload()
694 ap->pflags |= ATA_PFLAG_EH_IN_PROGRESS; in ata_scsi_port_error_handler()
695 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler()
701 if (!(ap->pflags & (ATA_PFLAG_UNLOADING | ATA_PFLAG_SUSPENDED))) in ata_scsi_port_error_handler()
705 if ((ap->pflags & ATA_PFLAG_UNLOADING) && in ata_scsi_port_error_handler()
706 !(ap->pflags & ATA_PFLAG_UNLOADED)) in ata_scsi_port_error_handler()
720 if (ap->pflags & ATA_PFLAG_EH_PENDING) { in ata_scsi_port_error_handler()
728 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler()
[all …]
Dpata_legacy.c107 unsigned int pflags; member
302 && (ap->pflags & ATA_PFLAG_PIO32)) { in pdc_data_xfer_vlb()
703 && (ap->pflags & ATA_PFLAG_PIO32)) { in vlb32_data_xfer()
980 ap->pflags |= controller->pflags; in legacy_init_one()
Dpata_ninja32.c145 ap->pflags |= ATA_PFLAG_PIO32 | ATA_PFLAG_PIO32CHANGE; in ninja32_init_one()
Dlibata-acpi.c191 ap->pflags |= ATA_PFLAG_INIT_GTM_VALID; in ata_acpi_bind_port()
1022 if (rc == -EINVAL && !nr_executed && !(ap->pflags & ATA_PFLAG_FROZEN)) in ata_acpi_on_devcfg()
1037 if (!nr_executed && !(ap->pflags & ATA_PFLAG_FROZEN)) in ata_acpi_on_devcfg()
Dlibata-core.c1513 if (ap->pflags & ATA_PFLAG_FROZEN) { in ata_exec_internal_sg()
1699 if (adev->link->ap->pflags & ATA_PFLAG_RESETTING) in ata_pio_need_iordy()
4549 if (unlikely(ap->pflags & ATA_PFLAG_FROZEN)) in ata_qc_new_init()
4721 WARN_ON_ONCE(ap->pflags & ATA_PFLAG_FROZEN); in ata_qc_complete()
4983 if (ap->pflags & ATA_PFLAG_PM_PENDING) { in ata_port_request_pm()
4991 ap->pflags |= ATA_PFLAG_PM_PENDING; in ata_port_request_pm()
5303 ap->pflags |= ATA_PFLAG_INITIALIZING | ATA_PFLAG_FROZEN; in ata_port_alloc()
5691 ap->pflags &= ~ATA_PFLAG_INITIALIZING; in __ata_port_probe()
5692 ap->pflags |= ATA_PFLAG_LOADING; in __ata_port_probe()
5937 ap->pflags |= ATA_PFLAG_UNLOADING; in ata_port_detach()
[all …]
Dlibata-scsi.c114 if (ap->pflags & ATA_PFLAG_EH_IN_PROGRESS && in ata_scsi_park_show()
533 if (ap->pflags & ATA_PFLAG_PIO32) in ata_ioc32()
564 if (ap->pflags & ATA_PFLAG_PIO32CHANGE) { in ata_sas_scsi_ioctl()
566 ap->pflags |= ATA_PFLAG_PIO32; in ata_sas_scsi_ioctl()
568 ap->pflags &= ~ATA_PFLAG_PIO32; in ata_sas_scsi_ioctl()
1902 (args->dev->link->ap->pflags & ATA_PFLAG_EXTERNAL)) in ata_scsiop_inq_std()
4063 if (ap->pflags & (ATA_PFLAG_EH_PENDING | ATA_PFLAG_EH_IN_PROGRESS)) in __ata_scsi_queuecmd()
4568 if (ap->pflags & ATA_PFLAG_UNLOADING) { in ata_scsi_hotplug()
Dlibahci.c1241 ap->pflags |= ATA_PFLAG_EXTERNAL; in ahci_port_init()
1824 int resetting = !!(ap->pflags & ATA_PFLAG_RESETTING); in ahci_handle_port_interrupt()
2077 if (!(ap->pflags & ATA_PFLAG_FROZEN)) { in ahci_error_handler()
2268 if (!(ap->pflags & ATA_PFLAG_FROZEN)) in ahci_pmp_attach()
2287 if (!(ap->pflags & ATA_PFLAG_FROZEN)) in ahci_pmp_detach()
Dlibata-sata.c1137 ap->pflags &= ~ATA_PFLAG_FROZEN; in ata_sas_port_start()
1445 if (ap->pflags & ATA_PFLAG_FROZEN) in ata_eh_analyze_ncq_error()
Dsata_via.c339 if (!(ap->pflags & ATA_PFLAG_LOADING)) in vt6420_prereset()
Dlibata-pmp.c1074 if (ap->pflags & ATA_PFLAG_UNLOADING) in sata_pmp_eh_recover()
/drivers/xen/
Dgrant-table.c287 u16 *pflags; in gnttab_end_foreign_access_ref_v1() local
289 pflags = &gnttab_shared.v1[ref].flags; in gnttab_end_foreign_access_ref_v1()
290 nflags = *pflags; in gnttab_end_foreign_access_ref_v1()
295 } while ((nflags = sync_cmpxchg(pflags, flags, 0)) != flags); in gnttab_end_foreign_access_ref_v1()
482 u16 *pflags; in gnttab_end_foreign_transfer_ref_v1() local
484 pflags = &gnttab_shared.v1[ref].flags; in gnttab_end_foreign_transfer_ref_v1()
490 while (!((flags = *pflags) & GTF_transfer_committed)) { in gnttab_end_foreign_transfer_ref_v1()
491 if (sync_cmpxchg(pflags, flags, 0) == flags) in gnttab_end_foreign_transfer_ref_v1()
498 flags = *pflags; in gnttab_end_foreign_transfer_ref_v1()
513 u16 *pflags; in gnttab_end_foreign_transfer_ref_v2() local
[all …]
/drivers/hsi/clients/
Dnokia-modem.c133 int irq, pflags, err; in nokia_modem_probe() local
156 pflags = irq_get_trigger_type(irq); in nokia_modem_probe()
161 pflags, "modem_rst_ind", modem); in nokia_modem_probe()
164 irq, pflags); in nokia_modem_probe()
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dnv04.c48 nv04_fifo_pause(struct nvkm_fifo *base, unsigned long *pflags) in nv04_fifo_pause() argument
56 *pflags = flags; in nv04_fifo_pause()
84 nv04_fifo_start(struct nvkm_fifo *base, unsigned long *pflags) in nv04_fifo_start() argument
89 unsigned long flags = *pflags; in nv04_fifo_start()
/drivers/usb/gadget/udc/
Dpxa27x_udc.c663 unsigned long *pflags) in req_done() argument
678 if (pflags) in req_done()
679 spin_unlock_irqrestore(&ep->lock, *pflags); in req_done()
683 if (pflags) in req_done()
684 spin_lock_irqsave(&ep->lock, *pflags); in req_done()
698 unsigned long *pflags) in ep_end_out_req() argument
701 req_done(ep, req, 0, pflags); in ep_end_out_req()
716 unsigned long *pflags) in ep0_end_out_req() argument
719 ep_end_out_req(ep, req, pflags); in ep0_end_out_req()
734 unsigned long *pflags) in ep_end_in_req() argument
[all …]
/drivers/message/fusion/
Dmptbase.h968 #define MPT_PROTOCOL_FLAGS_c_c_c_c(pflags) \ argument
969 ((pflags) & MPI_PORTFACTS_PROTOCOL_INITIATOR) ? 'I' : 'i', \
970 ((pflags) & MPI_PORTFACTS_PROTOCOL_TARGET) ? 'T' : 't', \
971 ((pflags) & MPI_PORTFACTS_PROTOCOL_LAN) ? 'L' : 'l', \
972 ((pflags) & MPI_PORTFACTS_PROTOCOL_LOGBUSADDR) ? 'B' : 'b'
/drivers/net/wan/
Dsdla.c432 unsigned long pflags; in sdla_cmd() local
444 spin_lock_irqsave(&sdla_lock, pflags); in sdla_cmd()
456 spin_unlock_irqrestore(&sdla_lock, pflags); in sdla_cmd()
464 spin_lock_irqsave(&sdla_lock, pflags); in sdla_cmd()
467 spin_unlock_irqrestore(&sdla_lock, pflags); in sdla_cmd()
474 spin_lock_irqsave(&sdla_lock, pflags); in sdla_cmd()
490 spin_unlock_irqrestore(&sdla_lock, pflags); in sdla_cmd()
/drivers/crypto/bcm/
Dspu.c28 u32 pflags; in spum_dump_msg_hdr() local
63 pflags = be32_to_cpu(spuh->sa.proto_flags); in spum_dump_msg_hdr()
64 packet_log(" SCTX[0] 0x%08x\n", pflags); in spum_dump_msg_hdr()
65 sctx_size = pflags & SCTX_SIZE; in spum_dump_msg_hdr()
/drivers/net/ethernet/mellanox/mlx5/core/
Den.h237 (params)->pflags |= BIT(pflag); \
239 (params)->pflags &= ~(BIT(pflag)); \
242 #define MLX5E_GET_PFLAG(params, pflag) (!!((params)->pflags & (BIT(pflag))))
261 u32 pflags; member
Den_ethtool.c1994 u32 changes = wanted_flags ^ priv->channels.params.pflags; in mlx5e_handle_pflag()
2011 static int mlx5e_set_priv_flags(struct net_device *netdev, u32 pflags) in mlx5e_set_priv_flags() argument
2020 err = mlx5e_handle_pflag(netdev, pflags, pflag); in mlx5e_set_priv_flags()
2037 return priv->channels.params.pflags; in mlx5e_get_priv_flags()
/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1931 bool bf_enabled_old = !!(priv->pflags & MLX4_EN_PRIV_FLAGS_BLUEFLAME); in mlx4_en_set_priv_flags()
1933 bool phv_enabled_old = !!(priv->pflags & MLX4_EN_PRIV_FLAGS_PHV); in mlx4_en_set_priv_flags()
1953 priv->pflags |= MLX4_EN_PRIV_FLAGS_BLUEFLAME; in mlx4_en_set_priv_flags()
1955 priv->pflags &= ~MLX4_EN_PRIV_FLAGS_BLUEFLAME; in mlx4_en_set_priv_flags()
1972 priv->pflags |= MLX4_EN_PRIV_FLAGS_PHV; in mlx4_en_set_priv_flags()
1974 priv->pflags &= ~MLX4_EN_PRIV_FLAGS_PHV; in mlx4_en_set_priv_flags()
1985 return priv->pflags; in mlx4_en_get_priv_flags()
Den_tx.c127 priv->pflags &= ~MLX4_EN_PRIV_FLAGS_BLUEFLAME; in mlx4_en_create_tx_ring()
130 ring->bf_enabled = !!(priv->pflags & in mlx4_en_create_tx_ring()
Dmlx4_en.h650 u32 pflags; member
/drivers/scsi/qla2xxx/
Dqla_sup.c1543 qla2x00_flip_colors(struct qla_hw_data *ha, uint16_t *pflags) in qla2x00_flip_colors() argument
1550 *pflags = GPIO_LED_ALL_OFF; in qla2x00_flip_colors()
1554 *pflags = GPIO_LED_RGA_ON; in qla2x00_flip_colors()
1561 *pflags = GPIO_LED_GREEN_OFF_AMBER_OFF; in qla2x00_flip_colors()
1565 *pflags = GPIO_LED_GREEN_ON_AMBER_OFF; in qla2x00_flip_colors()
1710 qla24xx_flip_colors(struct qla_hw_data *ha, uint16_t *pflags) in qla24xx_flip_colors() argument
1716 *pflags = 0; in qla24xx_flip_colors()
1720 *pflags = GPDX_LED_YELLOW_ON | GPDX_LED_AMBER_ON; in qla24xx_flip_colors()
/drivers/vfio/pci/
Dvfio_pci_config.c1122 __le16 *pflags; in vfio_msi_config_write() local
1128 pflags = (__le16 *)&vdev->vconfig[start + PCI_MSI_FLAGS]; in vfio_msi_config_write()
1130 flags = le16_to_cpu(*pflags); in vfio_msi_config_write()
1143 *pflags = cpu_to_le16(flags); in vfio_msi_config_write()
/drivers/scsi/libsas/
Dsas_ata.c112 if (unlikely(ap->pflags & ATA_PFLAG_FROZEN)) { in sas_ata_task_done()

12