/drivers/ata/ |
D | libata-eh.c | 250 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 …]
|
D | pata_legacy.c | 107 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()
|
D | pata_ninja32.c | 145 ap->pflags |= ATA_PFLAG_PIO32 | ATA_PFLAG_PIO32CHANGE; in ninja32_init_one()
|
D | libata-acpi.c | 191 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()
|
D | libata-core.c | 1513 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 …]
|
D | libata-scsi.c | 114 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()
|
D | libahci.c | 1241 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()
|
D | libata-sata.c | 1137 ap->pflags &= ~ATA_PFLAG_FROZEN; in ata_sas_port_start() 1445 if (ap->pflags & ATA_PFLAG_FROZEN) in ata_eh_analyze_ncq_error()
|
D | sata_via.c | 339 if (!(ap->pflags & ATA_PFLAG_LOADING)) in vt6420_prereset()
|
D | libata-pmp.c | 1074 if (ap->pflags & ATA_PFLAG_UNLOADING) in sata_pmp_eh_recover()
|
/drivers/xen/ |
D | grant-table.c | 287 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/ |
D | nokia-modem.c | 133 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/ |
D | nv04.c | 48 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/ |
D | pxa27x_udc.c | 663 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/ |
D | mptbase.h | 968 #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/ |
D | sdla.c | 432 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/ |
D | spu.c | 28 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/ |
D | en.h | 237 (params)->pflags |= BIT(pflag); \ 239 (params)->pflags &= ~(BIT(pflag)); \ 242 #define MLX5E_GET_PFLAG(params, pflag) (!!((params)->pflags & (BIT(pflag)))) 261 u32 pflags; member
|
D | en_ethtool.c | 1994 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/ |
D | en_ethtool.c | 1931 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()
|
D | en_tx.c | 127 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()
|
D | mlx4_en.h | 650 u32 pflags; member
|
/drivers/scsi/qla2xxx/ |
D | qla_sup.c | 1543 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/ |
D | vfio_pci_config.c | 1122 __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/ |
D | sas_ata.c | 112 if (unlikely(ap->pflags & ATA_PFLAG_FROZEN)) { in sas_ata_task_done()
|