Home
last modified time | relevance | path

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

12

/drivers/ata/
Dlibata-eh.c260 WARN_ON(!(ap->pflags & ATA_PFLAG_INITIALIZING)); in ata_port_desc()
573 ap->pflags &= ~ATA_PFLAG_EH_PENDING; /* clear pending from freeze */ in ata_eh_unload()
574 ap->pflags |= ATA_PFLAG_UNLOADED; in ata_eh_unload()
756 ap->pflags |= ATA_PFLAG_EH_IN_PROGRESS; in ata_scsi_port_error_handler()
757 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler()
763 if (!(ap->pflags & (ATA_PFLAG_UNLOADING | ATA_PFLAG_SUSPENDED))) in ata_scsi_port_error_handler()
767 if ((ap->pflags & ATA_PFLAG_UNLOADING) && in ata_scsi_port_error_handler()
768 !(ap->pflags & ATA_PFLAG_UNLOADED)) in ata_scsi_port_error_handler()
782 if (ap->pflags & ATA_PFLAG_EH_PENDING) { in ata_scsi_port_error_handler()
790 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler()
[all …]
Dpata_legacy.c121 unsigned int pflags; member
315 && (ap->pflags & ATA_PFLAG_PIO32)) { in pdc_data_xfer_vlb()
715 && (ap->pflags & ATA_PFLAG_PIO32)) { in vlb32_data_xfer()
991 ap->pflags |= controller->pflags; in legacy_init_one()
Dpata_ninja32.c147 ap->pflags |= ATA_PFLAG_PIO32 | ATA_PFLAG_PIO32CHANGE; in ninja32_init_one()
Dlibata-acpi.c190 ap->pflags |= ATA_PFLAG_INIT_GTM_VALID; in ata_acpi_bind_port()
1021 if (rc == -EINVAL && !nr_executed && !(ap->pflags & ATA_PFLAG_FROZEN)) in ata_acpi_on_devcfg()
1036 if (!nr_executed && !(ap->pflags & ATA_PFLAG_FROZEN)) in ata_acpi_on_devcfg()
Dlibata-core.c1584 if (ap->pflags & ATA_PFLAG_FROZEN) { in ata_exec_internal_sg()
1780 if (adev->link->ap->pflags & ATA_PFLAG_RESETTING) in ata_pio_need_iordy()
5118 if (unlikely(ap->pflags & ATA_PFLAG_FROZEN)) in ata_qc_new_init()
5290 WARN_ON_ONCE(ap->pflags & ATA_PFLAG_FROZEN); in ata_qc_complete()
5673 if (ap->pflags & ATA_PFLAG_PM_PENDING) { in ata_port_request_pm()
5675 WARN_ON(ap->pflags & ATA_PFLAG_PM_PENDING); in ata_port_request_pm()
5682 ap->pflags |= ATA_PFLAG_PM_PENDING; in ata_port_request_pm()
5694 WARN_ON(ap->pflags & ATA_PFLAG_PM_PENDING); in ata_port_request_pm()
5994 ap->pflags |= ATA_PFLAG_INITIALIZING | ATA_PFLAG_FROZEN; in ata_port_alloc()
6409 ap->pflags &= ~ATA_PFLAG_INITIALIZING; in __ata_port_probe()
[all …]
Dlibata-scsi.c197 if (ap->pflags & ATA_PFLAG_EH_IN_PROGRESS && in ata_scsi_park_show()
779 if (ap->pflags & ATA_PFLAG_PIO32) in ata_ioc32()
802 if (ap->pflags & ATA_PFLAG_PIO32CHANGE) { in ata_sas_scsi_ioctl()
804 ap->pflags |= ATA_PFLAG_PIO32; in ata_sas_scsi_ioctl()
806 ap->pflags &= ~ATA_PFLAG_PIO32; in ata_sas_scsi_ioctl()
2210 (args->dev->link->ap->pflags & ATA_PFLAG_EXTERNAL)) in ata_scsiop_inq_std()
4807 if (ap->pflags & ATA_PFLAG_UNLOADING) { in ata_scsi_hotplug()
5018 ap->pflags &= ~ATA_PFLAG_FROZEN; in ata_sas_port_start()
Dlibahci.c1229 ap->pflags |= ATA_PFLAG_EXTERNAL; in ahci_port_init()
1808 int resetting = !!(ap->pflags & ATA_PFLAG_RESETTING); in ahci_handle_port_interrupt()
2071 if (!(ap->pflags & ATA_PFLAG_FROZEN)) { in ahci_error_handler()
2262 if (!(ap->pflags & ATA_PFLAG_FROZEN)) in ahci_pmp_attach()
2281 if (!(ap->pflags & ATA_PFLAG_FROZEN)) in ahci_pmp_detach()
Dsata_via.c357 if (!(ap->pflags & ATA_PFLAG_LOADING)) in vt6420_prereset()
Dlibata-pmp.c1074 if (ap->pflags & ATA_PFLAG_UNLOADING) in sata_pmp_eh_recover()
/drivers/hsi/clients/
Dnokia-modem.c146 int irq, pflags, err; in nokia_modem_probe() local
169 pflags = irq_get_trigger_type(irq); in nokia_modem_probe()
174 pflags, "modem_rst_ind", modem); in nokia_modem_probe()
177 irq, pflags); in nokia_modem_probe()
/drivers/xen/
Dgrant-table.c272 u16 *pflags; in gnttab_end_foreign_access_ref_v1() local
274 pflags = &gnttab_shared.v1[ref].flags; in gnttab_end_foreign_access_ref_v1()
275 nflags = *pflags; in gnttab_end_foreign_access_ref_v1()
280 } while ((nflags = sync_cmpxchg(pflags, flags, 0)) != flags); in gnttab_end_foreign_access_ref_v1()
418 u16 *pflags; in gnttab_end_foreign_transfer_ref_v1() local
420 pflags = &gnttab_shared.v1[ref].flags; in gnttab_end_foreign_transfer_ref_v1()
426 while (!((flags = *pflags) & GTF_transfer_committed)) { in gnttab_end_foreign_transfer_ref_v1()
427 if (sync_cmpxchg(pflags, flags, 0) == flags) in gnttab_end_foreign_transfer_ref_v1()
434 flags = *pflags; in gnttab_end_foreign_transfer_ref_v1()
/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/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/usb/gadget/udc/
Dpxa27x_udc.c735 unsigned long *pflags) in req_done() argument
750 if (pflags) in req_done()
751 spin_unlock_irqrestore(&ep->lock, *pflags); in req_done()
755 if (pflags) in req_done()
756 spin_lock_irqsave(&ep->lock, *pflags); in req_done()
770 unsigned long *pflags) in ep_end_out_req() argument
773 req_done(ep, req, 0, pflags); in ep_end_out_req()
788 unsigned long *pflags) in ep0_end_out_req() argument
791 ep_end_out_req(ep, req, pflags); in ep0_end_out_req()
806 unsigned long *pflags) in ep_end_in_req() argument
[all …]
/drivers/net/wan/
Dsdla.c435 unsigned long pflags; in sdla_cmd() local
447 spin_lock_irqsave(&sdla_lock, pflags); in sdla_cmd()
459 spin_unlock_irqrestore(&sdla_lock, pflags); in sdla_cmd()
467 spin_lock_irqsave(&sdla_lock, pflags); in sdla_cmd()
470 spin_unlock_irqrestore(&sdla_lock, pflags); in sdla_cmd()
477 spin_lock_irqsave(&sdla_lock, pflags); in sdla_cmd()
493 spin_unlock_irqrestore(&sdla_lock, pflags); in sdla_cmd()
/drivers/crypto/bcm/
Dspu.c42 u32 pflags; in spum_dump_msg_hdr() local
77 pflags = be32_to_cpu(spuh->sa.proto_flags); in spum_dump_msg_hdr()
78 packet_log(" SCTX[0] 0x%08x\n", pflags); in spum_dump_msg_hdr()
79 sctx_size = pflags & SCTX_SIZE; in spum_dump_msg_hdr()
/drivers/net/ethernet/mellanox/mlx5/core/
Den.h201 (params)->pflags |= (pflag); \
203 (params)->pflags &= ~(pflag); \
206 #define MLX5E_GET_PFLAG(params, pflag) (!!((params)->pflags & (pflag)))
241 u32 pflags; member
Den_ethtool.c1772 u32 changes = wanted_flags ^ priv->channels.params.pflags; in mlx5e_handle_pflag()
1789 static int mlx5e_set_priv_flags(struct net_device *netdev, u32 pflags) in mlx5e_set_priv_flags() argument
1795 err = mlx5e_handle_pflag(netdev, pflags, in mlx5e_set_priv_flags()
1801 err = mlx5e_handle_pflag(netdev, pflags, in mlx5e_set_priv_flags()
1814 return priv->channels.params.pflags; in mlx5e_get_priv_flags()
/drivers/tty/serial/
Dioc3_serial.c1078 unsigned long pflags; in ioc3_cb_output_lowat() local
1082 spin_lock_irqsave(&port->ip_port->lock, pflags); in ioc3_cb_output_lowat()
1084 spin_unlock_irqrestore(&port->ip_port->lock, pflags); in ioc3_cb_output_lowat()
1400 unsigned long pflags; in receive_chars() local
1409 spin_lock_irqsave(&the_port->lock, pflags); in receive_chars()
1418 spin_unlock_irqrestore(&the_port->lock, pflags); in receive_chars()
Dioc4_serial.c1824 unsigned long pflags; in ioc4_cb_output_lowat() local
1828 spin_lock_irqsave(&the_port->lock, pflags); in ioc4_cb_output_lowat()
1830 spin_unlock_irqrestore(&the_port->lock, pflags); in ioc4_cb_output_lowat()
2353 unsigned long pflags; in receive_chars() local
2359 spin_lock_irqsave(&the_port->lock, pflags); in receive_chars()
2372 spin_unlock_irqrestore(&the_port->lock, pflags); in receive_chars()
/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1887 bool bf_enabled_old = !!(priv->pflags & MLX4_EN_PRIV_FLAGS_BLUEFLAME); in mlx4_en_set_priv_flags()
1889 bool phv_enabled_old = !!(priv->pflags & MLX4_EN_PRIV_FLAGS_PHV); in mlx4_en_set_priv_flags()
1909 priv->pflags |= MLX4_EN_PRIV_FLAGS_BLUEFLAME; in mlx4_en_set_priv_flags()
1911 priv->pflags &= ~MLX4_EN_PRIV_FLAGS_BLUEFLAME; in mlx4_en_set_priv_flags()
1928 priv->pflags |= MLX4_EN_PRIV_FLAGS_PHV; in mlx4_en_set_priv_flags()
1930 priv->pflags &= ~MLX4_EN_PRIV_FLAGS_PHV; in mlx4_en_set_priv_flags()
1941 return priv->pflags; in mlx4_en_get_priv_flags()
Den_tx.c129 priv->pflags &= ~MLX4_EN_PRIV_FLAGS_BLUEFLAME; in mlx4_en_create_tx_ring()
132 ring->bf_enabled = !!(priv->pflags & in mlx4_en_create_tx_ring()
Dmlx4_en.h637 u32 pflags; member
/drivers/scsi/qla2xxx/
Dqla_sup.c1511 qla2x00_flip_colors(struct qla_hw_data *ha, uint16_t *pflags) in qla2x00_flip_colors() argument
1518 *pflags = GPIO_LED_ALL_OFF; in qla2x00_flip_colors()
1522 *pflags = GPIO_LED_RGA_ON; in qla2x00_flip_colors()
1529 *pflags = GPIO_LED_GREEN_OFF_AMBER_OFF; in qla2x00_flip_colors()
1533 *pflags = GPIO_LED_GREEN_ON_AMBER_OFF; in qla2x00_flip_colors()
1678 qla24xx_flip_colors(struct qla_hw_data *ha, uint16_t *pflags) in qla24xx_flip_colors() argument
1684 *pflags = 0; in qla24xx_flip_colors()
1688 *pflags = GPDX_LED_YELLOW_ON | GPDX_LED_AMBER_ON; in qla24xx_flip_colors()
/drivers/vfio/pci/
Dvfio_pci_config.c1089 __le16 *pflags; in vfio_msi_config_write() local
1095 pflags = (__le16 *)&vdev->vconfig[start + PCI_MSI_FLAGS]; in vfio_msi_config_write()
1097 flags = le16_to_cpu(*pflags); in vfio_msi_config_write()
1110 *pflags = cpu_to_le16(flags); in vfio_msi_config_write()

12