Home
last modified time | relevance | path

Searched full:if (Results 10951 – 10975 of 45571) sorted by relevance

1...<<431432433434435436437438439440>>...1823

/linux/drivers/gpu/drm/xe/
H A Dxe_guc_hwconfig.c34 if (ret < 0) in guc_hwconfig_size()
46 if (ret < 0) in guc_hwconfig_copy()
62 if (guc->hwconfig.bo) in xe_guc_hwconfig_init()
68 if (gt->info.id != XE_GT0) in xe_guc_hwconfig_init()
72 if (GRAPHICS_VERx100(xe) < 1255 && xe->info.platform != XE_ALDERLAKE_P) in xe_guc_hwconfig_init()
76 if (err) in xe_guc_hwconfig_init()
78 if (!size) in xe_guc_hwconfig_init()
85 if (IS_ERR(bo)) in xe_guc_hwconfig_init()
116 if (size == 0) { in xe_guc_hwconfig_dump()
124 if (!hwconfig) { in xe_guc_hwconfig_dump()
[all …]
H A Dxe_gsc_proxy.c36 * if it needs to send messages to CSME again.
117 if (ret < 0) { in proxy_send_to_csme()
123 if (ret < 0) { in proxy_send_to_csme()
139 if (size > GSC_PROXY_BUFFER_SIZE) { in proxy_send_to_gsc()
146 if (err) { in proxy_send_to_gsc()
162 if (header->destination != dest || header->source != source) { in validate_proxy_header()
167 if (length + PROXY_HDR_SIZE > max_size) { in validate_proxy_header()
172 /* We only care about the status if this is a message for the driver */ in validate_proxy_header()
173 if (dest == GSC_PROXY_ADDRESSING_KMD && header->status != 0) { in validate_proxy_header()
180 if (length > 0) in validate_proxy_header()
[all …]
H A Dxe_pmu.c40 * set as populated by DRM_XE_DEVICE_QUERY_ENGINES and function if SRIOV is enabled.
111 if (!hwe || xe_hw_engine_is_reserved(hwe)) in event_to_hwe()
140 if (!is_engine_event(config) && !is_gt_frequency_event(event)) in event_gt_forcewake()
146 if (!fw_ref) in event_gt_forcewake()
150 if (!*fw_ref) { in event_gt_forcewake()
166 if (!gt) in event_supported()
181 if (!gt) in event_param_valid()
192 if (engine_class || engine_instance || function_id) in event_param_valid()
197 if (!event_to_hwe(event)) in event_param_valid()
201 if (IS_SRIOV_PF(xe)) { in event_param_valid()
[all …]
/linux/drivers/gpio/
H A Dgpio-idio-16.c46 /* exit early if no change since the previous mask */ in idio_16_handle_mask_sync()
47 if (mask_buf == prev_mask) in idio_16_handle_mask_sync()
53 /* if all previously masked, enable interrupts when unmasking */ in idio_16_handle_mask_sync()
54 if (prev_mask == mask_buf_def) { in idio_16_handle_mask_sync()
56 if (err) in idio_16_handle_mask_sync()
61 /* if all are currently masked, disable interrupts */ in idio_16_handle_mask_sync()
62 if (mask_buf == mask_buf_def) in idio_16_handle_mask_sync()
75 if (offset < 16) { in idio_16_reg_mask_xlate()
111 if (!config->parent) in devm_idio_16_regmap_register()
114 if (!config->map) in devm_idio_16_regmap_register()
[all …]
/linux/drivers/scsi/
H A Dips.c39 /* HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES */
42 /* along with this program; if not, write to the Free Software */
60 /* - Make sure passthru commands get woken up if we run out of */
102 /* 4.70.13 - Don't Send CDB's if we already know the device is not present */
110 /* - Don't Issue Internal FFDC Command if there are Active Commands */
113 /* 4.80.04 - Eliminate calls to strtok() if 2.4.x or greater */
117 /* 4.80.20 - Set max_sectors in Scsi_Host structure ( if >= 2.4.7 kernel ) */
123 /* 4.90.08 - Data Corruption if First Scatter Gather Element is > 64K */
219 #define METHOD_TRACE(s, i) if (ips_debug >= (i+10)) printk(KERN_NOTICE s "\n");
220 #define DEBUG(i, s) if (ips_debug >= i) printk(KERN_NOTICE s "\n");
[all …]
/linux/fs/jfs/
H A Djfs_txnmgr.c176 * Get a transaction lock from the free list. If the number in use is
185 if (!TxAnchor.freelock) { in txLockAlloc()
193 if ((++TxAnchor.tlocksInUse > TxLockHWM) && (jfs_tlocks_low == 0)) { in txLockAlloc()
208 if (jfs_tlocks_low && (TxAnchor.tlocksInUse < TxLockLWM)) { in txLockFree()
230 /* Set defaults for nTxLock and nTxBlock if unset */ in txInit()
232 if (nTxLock == -1) { in txInit()
233 if (nTxBlock == -1) { in txInit()
236 if (si.totalram > (256 * 1024)) /* 1 GB */ in txInit()
240 } else if (nTxBlock > (8 * 1024)) in txInit()
245 if (nTxBlock == -1) in txInit()
[all …]
/linux/drivers/ata/
H A Dsata_dwc_460ex.c196 if (dws->dma_dev != chan->device->dev) in sata_dwc_dma_filter()
217 if (!hsdevp->chan) { in sata_dwc_dma_get_channel_old()
232 if (!hsdev->dma) in sata_dwc_dma_init_old()
240 if (!hsdev->dma->irq) { in sata_dwc_dma_init_old()
247 if (IS_ERR(hsdev->dma->regs)) in sata_dwc_dma_init_old()
256 if (!hsdev->dma) in sata_dwc_dma_exit_old()
311 if (hsdevp->dma_pending[tag] == SATA_DWC_DMA_PENDING_NONE) { in dma_dwc_xfer_done()
316 if ((hsdevp->dma_interrupt_count % 2) == 0) in dma_dwc_xfer_done()
330 if (qc->dma_dir == DMA_DEV_TO_MEM) { in dma_dwc_xfer_setup()
351 if (!desc) in dma_dwc_xfer_setup()
[all …]
/linux/drivers/phy/realtek/
H A Dphy-rtk-usb2.c148 if (ret) { in utmi_wait_register()
166 if (ret) in rtk_phy_read()
173 if (ret) in rtk_phy_read()
180 if (ret) in rtk_phy_read()
200 if (ret) in rtk_phy_write()
208 if (ret) in rtk_phy_write()
216 if (ret) in rtk_phy_write()
250 if (val > dc_disconnect_mask) in __updated_dc_disconnect_level_page0_0xe4()
252 else if (val < 0) in __updated_dc_disconnect_level_page0_0xe4()
283 if (!phy_data->addr) { in update_dc_disconnect_level_at_page0()
[all …]
/linux/drivers/spi/
H A Dspi-aspeed-smc.c124 if (io_mode > 0) { in aspeed_spi_set_io_mode()
157 if (IS_ALIGNED((uintptr_t)src, sizeof(uintptr_t)) && in aspeed_spi_read_from_ahb()
171 if (IS_ALIGNED((uintptr_t)dst, sizeof(uintptr_t)) && in aspeed_spi_write_to_ahb()
241 if (ret < 0) in aspeed_spi_read_user()
244 if (op->dummy.buswidth && op->dummy.nbytes) { in aspeed_spi_read_user()
264 if (ret < 0) in aspeed_spi_write_user()
275 if (op->cmd.buswidth > 1) in aspeed_spi_supports_op()
278 if (op->addr.nbytes != 0) { in aspeed_spi_supports_op()
279 if (op->addr.buswidth > 1) in aspeed_spi_supports_op()
281 if (op->addr.nbytes < 3 || op->addr.nbytes > 4) in aspeed_spi_supports_op()
[all …]
/linux/drivers/gpu/drm/exynos/
H A Dexynos_mixer.c333 if (alpha != DRM_BLEND_ALPHA_OPAQUE) { in mixer_cfg_gfx_blend()
346 if (alpha != DRM_BLEND_ALPHA_OPAQUE) { in mixer_cfg_vp_blend()
357 if (ctx->mxr_ver == MXR_VER_16_0_33_0 || in mixer_is_synced()
362 if (test_bit(MXR_BIT_VP_ENABLED, &ctx->flags) && in mixer_is_synced()
368 if (base != shadow) in mixer_is_synced()
373 if (base != shadow) in mixer_is_synced()
378 if (base != shadow) in mixer_is_synced()
390 if (ktime_compare(ktime_get(), timeout) > 0) in mixer_wait_for_sync()
403 if (ctx->mxr_ver == MXR_VER_16_0_33_0 || in mixer_enable_sync()
407 if (test_bit(MXR_BIT_VP_ENABLED, &ctx->flags)) in mixer_enable_sync()
[all …]
/linux/drivers/mtd/nand/raw/
H A Dtegra_nand.c210 if (section > 0) in tegra_nand_ooblayout_rs_ecc()
237 if (section > 0) in tegra_nand_ooblayout_bch_ecc()
260 if (!isr && !(dma & DMA_MST_CTRL_IS_DONE)) in tegra_nand_irq()
268 if (isr & ISR_CORRFAIL_ERR) in tegra_nand_irq()
271 if (isr & ISR_CMD_DONE) in tegra_nand_irq()
274 if (isr & ISR_UND) in tegra_nand_irq()
277 if (isr & ISR_OVR) in tegra_nand_irq()
281 if (dma & DMA_MST_CTRL_IS_DONE) { in tegra_nand_irq()
320 if (!reg_name) in tegra_nand_dump_reg()
370 if (first_cmd) { in tegra_nand_cmd()
[all …]
/linux/sound/soc/intel/boards/
H A Dsof_sdw.c30 if (SOC_SDW_JACK_JDSRC(sof_sdw_quirk)) in log_quirks()
33 if (sof_sdw_quirk & SOC_SDW_FOUR_SPK) in log_quirks()
35 if (sof_sdw_quirk & SOF_SDW_TGL_HDMI) in log_quirks()
37 if (sof_sdw_quirk & SOC_SDW_PCH_DMIC) in log_quirks()
39 if (SOF_SSP_GET_PORT(sof_sdw_quirk)) in log_quirks()
42 if (sof_sdw_quirk & SOC_SDW_NO_AGGREGATION) in log_quirks()
44 if (sof_sdw_quirk & SOC_SDW_CODEC_SPKR) in log_quirks()
46 if (sof_sdw_quirk & SOC_SDW_SIDECAR_AMPS) in log_quirks()
48 if (sof_sdw_quirk & SOC_SDW_CODEC_MIC) in log_quirks()
808 if (quirk_entry) in sof_sdw_check_ssid_quirk()
[all …]
/linux/drivers/crypto/
H A Datmel-sha.c232 if (wr) in atmel_sha_reg_name()
258 if (dd->flags & SHA_FLAGS_DUMP_REG) { in atmel_sha_read()
273 if (dd->flags & SHA_FLAGS_DUMP_REG) { in atmel_sha_write()
294 if ((dd->is_async || dd->force_complete) && req->base.complete) in atmel_sha_complete()
311 if (count <= 0) { in atmel_sha_append_sg()
313 * Check if count <= 0 because the buffer is full or in atmel_sha_append_sg()
315 * check if there is another sg in the list, a 0 length in atmel_sha_append_sg()
318 if ((ctx->sg->length == 0) && !sg_is_last(ctx->sg)) { in atmel_sha_append_sg()
333 if (ctx->offset == ctx->sg->length) { in atmel_sha_append_sg()
335 if (ctx->sg) in atmel_sha_append_sg()
[all …]
/linux/arch/mips/cavium-octeon/
H A Docteon-irq.c104 if (!cd) in octeon_irq_set_ciu_mapping()
134 if (!of_node) in octeon_irq_force_ciu_mapping()
137 if (ret < 0) in octeon_irq_force_ciu_mapping()
173 if (bit < 2) in octeon_irq_core_ack()
198 if (cd->desired_en) in octeon_irq_core_set_enable_local()
228 if (cd->desired_en != cd->current_en) { in octeon_irq_core_bus_sync_unlock()
280 if (weight > 1) { in next_cpu_for_irq()
284 if (cpu >= nr_cpu_ids) { in next_cpu_for_irq()
287 } else if (cpumask_test_cpu(cpu, cpu_online_mask)) { in next_cpu_for_irq()
291 } else if (weight == 1) { in next_cpu_for_irq()
[all …]
/linux/sound/soc/fsl/
H A Dfsl_easrc.c100 if (ret < 0) in fsl_easrc_set_reg()
204 if (r[1] & 0xFFFFF000) { in fsl_easrc_set_rs_ratio()
223 if (!ctx) in fsl_easrc_normalize_rates()
245 if (!easrc) in fsl_easrc_coeff_mem_ptr_reset()
253 if (ctx_id >= EASRC_CTX_MAX_NUM) { in fsl_easrc_coeff_mem_ptr_reset()
312 if (!hdr) { in fsl_easrc_resampler_config()
318 if ((interp[i].num_taps - 1) != in fsl_easrc_resampler_config()
330 if (!selected_interp) { in fsl_easrc_resampler_config()
358 if (ret) in fsl_easrc_resampler_config()
406 * If exponent is zero (value == 0), or 7ff (value == NaNs) in fsl_easrc_normalize_filter()
[all …]
/linux/drivers/net/wan/
H A Dpc300too.c147 if (port->card->type == PC300_RSV) { in pc300_set_iface()
148 if (port->iface == IF_IFACE_V35) in pc300_set_iface()
162 if (result) in pc300_open()
181 if (cmd == SIOCDEVPRIVATE) { in pc300_siocdevprivate()
197 if (ifs->type == IF_GET_IFACE) { in pc300_ioctl()
199 if (ifs->size < size) { in pc300_ioctl()
203 if (copy_to_user(line, &port->settings, size)) in pc300_ioctl()
208 if (port->card->type == PC300_X21 && in pc300_ioctl()
213 else if (port->card->type == PC300_RSV && in pc300_ioctl()
218 else if (port->card->type == PC300_RSV && in pc300_ioctl()
[all …]
/linux/drivers/gpu/drm/meson/
H A Dmeson_plane.c81 if (!new_plane_state->crtc) in meson_plane_atomic_check()
86 if (IS_ERR(crtc_state)) in meson_plane_atomic_check()
162 /* Check if AFBC decoder is required for this buffer */ in meson_plane_atomic_update()
163 if ((meson_vpu_is_compatible(priv, VPU_COMPATIBLE_GXM) || in meson_plane_atomic_update()
183 if (priv->viu.osd1_afbcd) { in meson_plane_atomic_update()
184 if (meson_vpu_is_compatible(priv, VPU_COMPATIBLE_G12A)) { in meson_plane_atomic_update()
192 if (meson_vpu_is_compatible(priv, VPU_COMPATIBLE_GXM)) { in meson_plane_atomic_update()
199 if (meson_vpu_is_compatible(priv, VPU_COMPATIBLE_GXM)) in meson_plane_atomic_update()
204 if (meson_vpu_is_compatible(priv, VPU_COMPATIBLE_GXBB)) in meson_plane_atomic_update()
207 if (priv->viu.osd1_afbcd && in meson_plane_atomic_update()
[all …]
/linux/kernel/trace/
H A Dtrace_stack.c47 if (i + 1 == stack_trace_nr_entries) in print_max_stack()
63 * of the current stack. If that size is smaller than the currently saved max
66 * If the size of the stack is greater than the maximum recorded size, then the
143 * To fix this, if the architecture sets ARCH_RET_ADDR_AFTER_LOCAL_VARS the
167 if (this_size <= stack_trace_max_size) in check_stack()
171 if (!object_is_on_stack(stack)) in check_stack()
175 if (in_nmi()) in check_stack()
182 if (unlikely(!frame_size)) in check_stack()
186 if (this_size <= stack_trace_max_size) in check_stack()
197 if (stack_dump_trace[i] == ip) in check_stack()
[all …]
/linux/drivers/cpufreq/
H A Dqcom-cpufreq-nvmem.c81 if (IS_ERR(speedbin)) in qcom_cpufreq_simple_get_version()
99 if (*speed == 0xf) in get_krait_bin_format_a()
102 if (*speed == 0xf) { in get_krait_bin_format_a()
110 if (*pvs == 0x7) in get_krait_bin_format_a()
113 if (*pvs == 0x7) { in get_krait_bin_format_a()
148 if (pte_efuse & BIT(3)) { in get_krait_bin_format_b()
158 if (pte_efuse) { in get_krait_bin_format_b()
180 if (ret) in qcom_cpufreq_kryo_name_version()
184 if (IS_ERR(speedbin)) in qcom_cpufreq_kryo_name_version()
228 if (IS_ERR(speedbin)) in qcom_cpufreq_krait_name_version()
[all …]
/linux/drivers/char/tpm/
H A Dtpm_vtpm_proxy.c82 if (sig) in vtpm_proxy_fops_read()
87 if (!(proxy_dev->state & STATE_OPENED_FLAG)) { in vtpm_proxy_fops_read()
94 if (count < len || len > sizeof(proxy_dev->buffer)) { in vtpm_proxy_fops_read()
105 if (!rc) in vtpm_proxy_fops_read()
110 if (rc) in vtpm_proxy_fops_read()
134 if (!(proxy_dev->state & STATE_OPENED_FLAG)) { in vtpm_proxy_fops_write()
139 if (count > sizeof(proxy_dev->buffer) || in vtpm_proxy_fops_write()
149 if (copy_from_user(proxy_dev->buffer, buf, count)) { in vtpm_proxy_fops_write()
182 if (proxy_dev->req_len) in vtpm_proxy_fops_poll()
185 if (!(proxy_dev->state & STATE_OPENED_FLAG)) in vtpm_proxy_fops_poll()
[all …]
/linux/fs/bcachefs/
H A Dio_misc.c48 if (ret) in bch2_extent_fallocate()
60 if (unlikely(ret)) in bch2_extent_fallocate()
65 if (!unwritten) { in bch2_extent_fallocate()
93 if (bch2_err_matches(ret, BCH_ERR_operation_blocked)) in bch2_extent_fallocate()
95 if (ret) in bch2_extent_fallocate()
114 if (!ret && sectors_allocated) in bch2_extent_fallocate()
116 if (should_print_err(ret)) { in bch2_extent_fallocate()
130 if (closure_nr_remaining(&cl) != 1) { in bch2_extent_fallocate()
166 * Returns -BCH_ERR_transacton_restart if we had to drop locks:
185 if (ret) in bch2_fpunch_at()
[all …]
/linux/drivers/mtd/nand/raw/ingenic/
H A Dingenic_nand_drv.c77 if (section || !ecc->total) in qi_lb60_ooblayout_ecc()
92 if (section) in qi_lb60_ooblayout_free()
112 if (section || !ecc->total) in jz4725b_ooblayout_ecc()
127 if (section) in jz4725b_ooblayout_free()
159 if (nand->reading) in ingenic_nand_ecc_calculate()
189 if (chip->ecc.strength == 4) { in ingenic_nand_attach_chip()
199 if (!nfc->ecc) { in ingenic_nand_attach_chip()
223 if (chip->ecc.engine_type != NAND_ECC_ENGINE_TYPE_ON_HOST) in ingenic_nand_attach_chip()
229 if (eccbytes > mtd->oobsize - 2) { in ingenic_nand_attach_chip()
240 if (chip->bbt_options & NAND_BBT_USE_FLASH) in ingenic_nand_attach_chip()
[all …]
/linux/drivers/gpu/drm/i915/display/
H A Dintel_fbdev.c94 if (ret == 0) in FB_GEN_DEFAULT_DEFERRED_IOMEM_OPS()
106 if (ret == 0) in intel_fbdev_blank()
119 if (ret == 0) in intel_fbdev_pan_display()
172 if (!(clip->x1 < clip->x2 && clip->y1 < clip->y2)) in intelfb_dirty()
175 if (helper->fb->funcs->dirty) in intelfb_dirty()
194 * content from swap if the buffer is backed by shmemfs. If the in intelfb_set_suspend()
198 if (!suspend && !intel_bo_is_shmem(intel_fb_bo(fb_helper->fb))) in intelfb_set_suspend()
226 if (fb && in intel_fbdev_driver_fbdev_probe()
237 if (!fb || drm_WARN_ON(display->drm, !intel_fb_bo(&fb->base))) { in intel_fbdev_driver_fbdev_probe()
241 if (IS_ERR(fb)) in intel_fbdev_driver_fbdev_probe()
[all …]
/linux/Documentation/userspace-api/media/cec/
H A Dcec-ioc-receive.rst42 If the file descriptor is in non-blocking mode and there are no received
44 error code. If the file descriptor is in blocking mode and ``timeout``
60 The :ref:`ioctl CEC_TRANSMIT <CEC_TRANSMIT>` is only available if
61 ``CEC_CAP_TRANSMIT`` is set. If there is no more room in the transmit
68 If the file descriptor is in non-blocking mode then the transmit will
71 If a non-blocking transmit also specified waiting for a reply, then
115 filled in by the driver with the length of the reply message if ``reply`` was set.
119 for a message to be received before timing out. If it is set to 0,
121 If it is 0 and it is called by :ref:`ioctl CEC_TRANSMIT <CEC_TRANSMIT>`,
122 then it will be replaced by 1000 if the ``reply`` is non-zero or
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dfs_tt_redirect.c90 if (type == FS_UDP_NUM_TYPES) in mlx5e_fs_tt_redirect_udp_add_rule()
94 if (!spec) in mlx5e_fs_tt_redirect_udp_add_rule()
106 if (IS_ERR(rule)) { in mlx5e_fs_tt_redirect_udp_add_rule()
128 if (IS_ERR(rule)) { in fs_udp_add_default_rule()
155 if (!in || !ft->g) { in fs_udp_create_groups()
182 if (IS_ERR(ft->g[ft->num_groups])) in fs_udp_create_groups()
192 if (IS_ERR(ft->g[ft->num_groups])) in fs_udp_create_groups()
224 if (IS_ERR(ft->t)) { in fs_udp_create_table()
234 if (err) in fs_udp_create_table()
238 if (err) in fs_udp_create_table()
[all …]

1...<<431432433434435436437438439440>>...1823