/openbmc/u-boot/include/linux/ |
H A D | bitfield.h | 72 #define FIELD_FIT(_mask, _val) \ macro
|
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_ct.h | 128 GEM_BUG_ON(!FIELD_FIT(INTEL_GUC_CT_SEND_G2H_DW_MASK, len_)); \
|
H A D | intel_guc_submission.c | 827 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 D | as73211.c | 455 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 D | bitfield.h | 95 #define FIELD_FIT(_mask, _val) \ macro
|
/openbmc/linux/include/linux/ |
H A D | bitfield.h | 98 #define FIELD_FIT(_mask, _val) \ macro
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | main.c | 227 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 D | jit.c | 326 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 D | sdhci-cadence.c | 174 if (WARN_ON(!FIELD_FIT(SDHCI_CDNS_HRS06_TUNE, val))) in sdhci_cdns_set_tune_val()
|
/openbmc/linux/drivers/iio/proximity/ |
H A D | sx9360.c | 564 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 D | sx9324.c | 680 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 D | sx9310.c | 589 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 D | pwm-imx-tpm.c | 104 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 D | nfp_nsp.c | 470 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 D | sdhci-cadence.c | 228 if (WARN_ON(!FIELD_FIT(SDHCI_CDNS_HRS06_TUNE, val))) in sdhci_cdns_set_tune_val()
|
/openbmc/linux/drivers/net/phy/ |
H A D | aquantia_main.c | 489 if (!FIELD_FIT(MDIO_AN_VEND_PROV_DOWNSHIFT_MASK, cnt)) in aqr107_set_downshift()
|
/openbmc/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_regs.h | 16 WARN_ON(!FIELD_FIT(field##_MASK, value)); \
|
/openbmc/linux/drivers/net/dsa/qca/ |
H A D | qca8k-8xxx.c | 1186 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 D | main.c | 786 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 D | driver.c | 2425 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 D | ksz_ptp.c | 88 if (!FIELD_FIT(TRIG_PULSE_WIDTH_M, data)) in ksz_ptp_tou_pulse_verify()
|
/openbmc/linux/arch/loongarch/net/ |
H A D | bpf_jit.c | 438 if (!FIELD_FIT(BPF_FIXUP_OFFSET_MASK, offset)) in add_exception_handler()
|
/openbmc/linux/arch/riscv/net/ |
H A D | bpf_jit_comp64.c | 631 if (!FIELD_FIT(BPF_FIXUP_OFFSET_MASK, fixup_offset)) in add_exception_handler()
|
/openbmc/linux/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 743 if (!FIELD_FIT(BPF_FIXUP_OFFSET_MASK, offset)) in add_exception_handler()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | cadence-nand-controller.c | 2524 if (FIELD_FIT(TIMINGS0_TCCS, tccs_cnt)) in cadence_nand_setup_interface()
|