Home
last modified time | relevance | path

Searched refs:FIELD_FIT (Results 1 – 25 of 26) sorted by relevance

12

/openbmc/u-boot/include/linux/
H A Dbitfield.h72 #define FIELD_FIT(_mask, _val) \ macro
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_ct.h128 GEM_BUG_ON(!FIELD_FIT(INTEL_GUC_CT_SEND_G2H_DW_MASK, len_)); \
H A Dintel_guc_submission.c827 GEM_BUG_ON(!FIELD_FIT(WQ_LEN_MASK, len_dw)); in guc_wq_noop_append()
863 GEM_BUG_ON(!FIELD_FIT(WQ_LEN_MASK, len_dw)); in __guc_wq_item_append()
/openbmc/linux/drivers/iio/light/
H A Das73211.c455 if (!FIELD_FIT(AS73211_CREG3_CCLK_MASK, reg_bits)) in _as73211_write_raw()
476 if (!FIELD_FIT(AS73211_CREG1_GAIN_MASK, reg_bits)) in _as73211_write_raw()
505 if (!FIELD_FIT(AS73211_CREG1_TIME_MASK, reg_bits)) in _as73211_write_raw()
/openbmc/linux/tools/include/linux/
H A Dbitfield.h95 #define FIELD_FIT(_mask, _val) \ macro
/openbmc/linux/include/linux/
H A Dbitfield.h98 #define FIELD_FIT(_mask, _val) \ macro
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.c227 if (!FIELD_FIT(UR_REG_IMM_MAX, bpf->adjust_head.off_min) || in nfp_bpf_parse_cap_adjust_head()
228 !FIELD_FIT(UR_REG_IMM_MAX, bpf->adjust_head.off_max)) { in nfp_bpf_parse_cap_adjust_head()
H A Djit.c326 if (!FIELD_FIT(OP_SHF_SHIFT, shift)) { in __emit_shf()
653 if (FIELD_FIT(UR_REG_IMM_MAX, imm)) in ur_load_imm_any()
666 if (FIELD_FIT(RE_REG_IMM_MAX, imm)) in re_load_imm_any()
/openbmc/u-boot/drivers/mmc/
H A Dsdhci-cadence.c174 if (WARN_ON(!FIELD_FIT(SDHCI_CDNS_HRS06_TUNE, val))) in sdhci_cdns_set_tune_val()
/openbmc/linux/drivers/iio/proximity/
H A Dsx9360.c564 if (!FIELD_FIT(SX9360_REG_PROX_CTRL4_FAR_DEBOUNCE_MASK, val)) in sx9360_write_far_debounce()
585 if (!FIELD_FIT(SX9360_REG_PROX_CTRL4_CLOSE_DEBOUNCE_MASK, val)) in sx9360_write_close_debounce()
H A Dsx9324.c680 if (!FIELD_FIT(SX9324_REG_PROX_CTRL5_FAR_DEBOUNCE_MASK, val)) in sx9324_write_far_debounce()
701 if (!FIELD_FIT(SX9324_REG_PROX_CTRL5_CLOSE_DEBOUNCE_MASK, val)) in sx9324_write_close_debounce()
H A Dsx9310.c589 if (!FIELD_FIT(SX9310_REG_PROX_CTRL10_FAR_DEBOUNCE_MASK, val)) in sx9310_write_far_debounce()
610 if (!FIELD_FIT(SX9310_REG_PROX_CTRL10_CLOSE_DEBOUNCE_MASK, val)) in sx9310_write_close_debounce()
/openbmc/linux/drivers/pwm/
H A Dpwm-imx-tpm.c104 if ((!FIELD_FIT(PWM_IMX_TPM_SC_PS, prescale))) in pwm_imx_tpm_round_state()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp.c470 if (!FIELD_FIT(NSP_BUFFER_CPP, cpp_id >> 8) || in nfp_nsp_command_buf_def()
471 !FIELD_FIT(NSP_BUFFER_ADDRESS, cpp_buf)) { in nfp_nsp_command_buf_def()
/openbmc/linux/drivers/mmc/host/
H A Dsdhci-cadence.c228 if (WARN_ON(!FIELD_FIT(SDHCI_CDNS_HRS06_TUNE, val))) in sdhci_cdns_set_tune_val()
/openbmc/linux/drivers/net/phy/
H A Daquantia_main.c489 if (!FIELD_FIT(MDIO_AN_VEND_PROV_DOWNSHIFT_MASK, cnt)) in aqr107_set_downshift()
/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_regs.h16 WARN_ON(!FIELD_FIT(field##_MASK, value)); \
/openbmc/linux/drivers/net/dsa/qca/
H A Dqca8k-8xxx.c1186 if (!FIELD_FIT(QCA8K_PORT_PAD_RGMII_TX_DELAY_MASK, delay)) { in qca8k_parse_port_config()
1202 if (!FIELD_FIT(QCA8K_PORT_PAD_RGMII_RX_DELAY_MASK, delay)) { in qca8k_parse_port_config()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dmain.c786 if (!FIELD_FIT(NFP_FL_STAT_ID_MU_NUM, num_mems) || !num_mems) { in nfp_flower_init()
/openbmc/linux/drivers/firmware/arm_scmi/
H A Ddriver.c2425 if (!FIELD_FIT(MSG_PROTOCOL_ID_MASK, prot_id)) in scmi_channels_setup()
2778 if (!FIELD_FIT(MSG_PROTOCOL_ID_MASK, prot_id)) in scmi_probe()
/openbmc/linux/drivers/net/dsa/microchip/
H A Dksz_ptp.c88 if (!FIELD_FIT(TRIG_PULSE_WIDTH_M, data)) in ksz_ptp_tou_pulse_verify()
/openbmc/linux/arch/loongarch/net/
H A Dbpf_jit.c438 if (!FIELD_FIT(BPF_FIXUP_OFFSET_MASK, offset)) in add_exception_handler()
/openbmc/linux/arch/riscv/net/
H A Dbpf_jit_comp64.c631 if (!FIELD_FIT(BPF_FIXUP_OFFSET_MASK, fixup_offset)) in add_exception_handler()
/openbmc/linux/arch/arm64/net/
H A Dbpf_jit_comp.c743 if (!FIELD_FIT(BPF_FIXUP_OFFSET_MASK, offset)) in add_exception_handler()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dcadence-nand-controller.c2524 if (FIELD_FIT(TIMINGS0_TCCS, tccs_cnt)) in cadence_nand_setup_interface()

12