/drivers/iio/temperature/ |
D | tmp007.c | 67 u16 status_mask; member 222 unsigned int status_mask; in tmp007_write_event_config() local 228 status_mask = TMP007_STATUS_LHF; in tmp007_write_event_config() 230 status_mask = TMP007_STATUS_LLF; in tmp007_write_event_config() 234 status_mask = TMP007_STATUS_OHF; in tmp007_write_event_config() 236 status_mask = TMP007_STATUS_OLF; in tmp007_write_event_config() 249 ret |= status_mask; in tmp007_write_event_config() 251 ret &= ~status_mask; in tmp007_write_event_config() 254 data->status_mask = ret); in tmp007_write_event_config() 281 return !!(data->status_mask & mask); in tmp007_read_event_config() [all …]
|
/drivers/net/wireless/ath/ath9k/ |
D | common.c | 74 u8 status_mask; in ath9k_cmn_rx_accept() local 93 status_mask = ATH9K_RXERR_DECRYPT | ATH9K_RXERR_MIC | in ath9k_cmn_rx_accept() 97 status_mask |= ATH9K_RXERR_CRC; in ath9k_cmn_rx_accept() 99 if (rx_stats->rs_status & ~status_mask) in ath9k_cmn_rx_accept()
|
/drivers/gpu/drm/i915/ |
D | i915_irq.c | 449 u32 status_mask = dev_priv->pipestat_irq_mask[pipe]; in i915_pipestat_enable_mask() local 450 u32 enable_mask = status_mask << 16; in i915_pipestat_enable_mask() 462 status_mask & PIPE_A_PSR_STATUS_VLV)) in i915_pipestat_enable_mask() 469 status_mask & PIPE_B_PSR_STATUS_VLV)) in i915_pipestat_enable_mask() 475 if (status_mask & SPRITE0_FLIP_DONE_INT_STATUS_VLV) in i915_pipestat_enable_mask() 477 if (status_mask & SPRITE1_FLIP_DONE_INT_STATUS_VLV) in i915_pipestat_enable_mask() 483 status_mask & ~PIPESTAT_INT_STATUS_MASK, in i915_pipestat_enable_mask() 485 pipe_name(pipe), enable_mask, status_mask); in i915_pipestat_enable_mask() 491 enum pipe pipe, u32 status_mask) in i915_enable_pipestat() argument 496 drm_WARN_ONCE(&dev_priv->drm, status_mask & ~PIPESTAT_INT_STATUS_MASK, in i915_enable_pipestat() [all …]
|
D | i915_irq.h | 31 u32 status_mask); 35 u32 status_mask);
|
/drivers/clk/microchip/ |
D | clk-core.c | 957 u32 status_mask; member 974 v & sosc->status_mask, 1, 100); in sosc_clk_enable() 992 ready = readl(sosc->status_reg) & sosc->status_mask; in sosc_clk_is_enabled() 1023 sosc->status_mask = data->status_mask; in pic32_sosc_clk_register()
|
D | clk-core.h | 54 const u32 status_mask; member
|
D | clk-pic32mzda.c | 113 .status_mask = BIT(4),
|
/drivers/soc/rockchip/ |
D | pm_domains.c | 33 int status_mask; member 91 .status_mask = (status), \ 102 .status_mask = (status), \ 254 if (pd->info->status_mask == 0) in rockchip_pmu_domain_is_on() 260 return !(val & pd->info->status_mask); in rockchip_pmu_domain_is_on()
|
/drivers/tty/serial/ |
D | xilinx_uartps.c | 224 unsigned int status_mask; in cdns_uart_handle_rx() local 259 status_mask = port->read_status_mask; in cdns_uart_handle_rx() 260 status_mask &= ~port->ignore_status_mask; in cdns_uart_handle_rx() 275 && (status_mask & CDNS_UART_IXR_PARITY)) { in cdns_uart_handle_rx() 280 && (status_mask & CDNS_UART_IXR_PARITY)) { in cdns_uart_handle_rx()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | vi.c | 855 u32 status_mask; in vi_set_vce_clocks() local 861 status_mask = 0x00010000; in vi_set_vce_clocks() 866 status_mask = CG_ECLK_STATUS__ECLK_STATUS_MASK; in vi_set_vce_clocks() 877 if (RREG32_SMC(reg_status) & status_mask) in vi_set_vce_clocks() 891 if (RREG32_SMC(reg_status) & status_mask) in vi_set_vce_clocks()
|
/drivers/staging/fwserial/ |
D | fwserial.h | 262 unsigned int status_mask; member
|
D | fwserial.c | 551 lsr &= port->status_mask; in fwtty_rx() 952 port->status_mask = UART_LSR_OE; in set_termios() 954 port->status_mask |= UART_LSR_BI; in set_termios()
|
/drivers/fpga/ |
D | altera-cvp.c | 160 static int altera_cvp_wait_status(struct altera_cvp_conf *conf, u32 status_mask, in altera_cvp_wait_status() argument 172 if ((val & status_mask) == status_val) in altera_cvp_wait_status()
|
/drivers/mmc/host/ |
D | usdhi6rol0.c | 184 u32 status_mask; member 241 host->status_mask = USDHI6_SD_INFO1_IRQ & ~info1; in usdhi6_irq_enable() 243 usdhi6_write(host, USDHI6_SD_INFO1_MASK, host->status_mask); in usdhi6_irq_enable() 1576 status = usdhi6_read(host, USDHI6_SD_INFO1) & ~host->status_mask & in usdhi6_sd() 1647 status = usdhi6_read(host, USDHI6_SD_INFO1) & ~host->status_mask & in usdhi6_cd()
|
/drivers/ata/ |
D | sata_fsl.c | 1212 u32 status_mask = INT_ON_ERROR; in sata_fsl_host_intr() local 1240 status_mask &= ~(INT_ON_SINGL_DEVICE_ERR in sata_fsl_host_intr() 1252 if (unlikely(hstatus & status_mask)) { in sata_fsl_host_intr()
|
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_n.c | 21327 u16 trigger_mask, status_mask; in wlc_phy_force_rfseq_nphy() local 21333 status_mask = NPHY_RfseqStatus_rx2tx; in wlc_phy_force_rfseq_nphy() 21337 status_mask = NPHY_RfseqStatus_tx2rx; in wlc_phy_force_rfseq_nphy() 21341 status_mask = NPHY_RfseqStatus_reset2rx; in wlc_phy_force_rfseq_nphy() 21345 status_mask = NPHY_RfseqStatus_updategainh; in wlc_phy_force_rfseq_nphy() 21349 status_mask = NPHY_RfseqStatus_updategainl; in wlc_phy_force_rfseq_nphy() 21353 status_mask = NPHY_RfseqStatus_updategainu; in wlc_phy_force_rfseq_nphy() 21364 SPINWAIT((read_phy_reg(pi, 0xa4) & status_mask), 200000); in wlc_phy_force_rfseq_nphy() 21366 WARN(read_phy_reg(pi, 0xa4) & status_mask, "HW error in rf"); in wlc_phy_force_rfseq_nphy()
|