/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_llh_internal.h | 15 /* COM Temperature Sense Reset Bitfield Definitions */ 21 /* COM Temperature Sense Power Down Bitfield Definitions */ 27 /* COM Temperature Sense Ready Bitfield Definitions */ 33 /* COM Temperature Sense Ready Latch High Bitfield Definitions */ 39 /* COM Temperature Sense Data Out [B:0] Bitfield Definitions */ 50 /* register address for bitfield rx dma good octet counter lsw [1f:0] */ 52 /* register address for bitfield rx dma good packet counter lsw [1f:0] */ 54 /* register address for bitfield tx dma good octet counter lsw [1f:0] */ 56 /* register address for bitfield tx dma good packet counter lsw [1f:0] */ 59 /* register address for bitfield rx dma good octet counter msw [3f:20] */ [all …]
|
H A D | hw_atl_llh.c | 8 /* File hw_atl_llh.c: Definitions of bitfield and register access functions for 135 /* register address for bitfield imr_rx{r}_en */ in hw_atl_itr_irq_map_en_rx_set() 147 /* bitmask for bitfield imr_rx{r}_en */ in hw_atl_itr_irq_map_en_rx_set() 159 /* lower bit position of bitfield imr_rx{r}_en */ in hw_atl_itr_irq_map_en_rx_set() 176 /* register address for bitfield imr_tx{t}_en */ in hw_atl_itr_irq_map_en_tx_set() 188 /* bitmask for bitfield imr_tx{t}_en */ in hw_atl_itr_irq_map_en_tx_set() 200 /* lower bit position of bitfield imr_tx{t}_en */ in hw_atl_itr_irq_map_en_tx_set() 216 /* register address for bitfield imr_rx{r}[4:0] */ in hw_atl_itr_irq_map_rx_set() 228 /* bitmask for bitfield imr_rx{r}[4:0] */ in hw_atl_itr_irq_map_rx_set() 240 /* lower bit position of bitfield imr_rx{r}[4:0] */ in hw_atl_itr_irq_map_rx_set() [all …]
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
H A D | hw_atl2_llh_internal.h | 9 /* RX pif_rpf_redir_2_en_i Bitfield Definitions 19 /* RX pif_rpf_rss_hash_type_i Bitfield Definitions 27 /* rx rpf_new_rpf_en bitfield definitions 28 * preprocessor definitions for the bitfield "rpf_new_rpf_en_i". 32 /* register address for bitfield rpf_new_rpf_en */ 34 /* bitmask for bitfield rpf_new_rpf_en */ 36 /* inverted bitmask for bitfield rpf_new_rpf_en */ 38 /* lower bit position of bitfield rpf_new_rpf_en */ 40 /* width of bitfield rpf_new_rpf_en */ 42 /* default value of bitfield rpf_new_rpf_en */ [all …]
|
/openbmc/linux/drivers/gpu/drm/i2c/ |
H A D | ch7006_priv.h | 141 #define __mask(src, bitfield) \ argument 142 (((2 << (1 ? bitfield)) - 1) & ~((1 << (0 ? bitfield)) - 1)) 143 #define mask(bitfield) __mask(bitfield) argument 145 #define __bitf(src, bitfield, x) \ argument 146 (((x) >> (src) << (0 ? bitfield)) & __mask(src, bitfield)) 147 #define bitf(bitfield, x) __bitf(bitfield, x) argument 148 #define bitfs(bitfield, s) __bitf(bitfield, bitfield##_##s) argument 149 #define setbitf(state, reg, bitfield, x) \ argument 150 state->regs[reg] = (state->regs[reg] & ~mask(reg##_##bitfield)) \ 151 | bitf(reg##_##bitfield, x) [all …]
|
/openbmc/u-boot/include/ |
H A D | bitfield.h | 7 * Bitfield operations 9 * These are generic bitfield operations which allow manipulation of variable 47 /* Extract the value of a bitfield found within a given register value */ 54 * Replace the value of a bitfield found within a given register value 65 /* Produces a shift of the bitfield given a mask */ 71 /* Extract the value of a bitfield found within a given register value */ 80 * Replace the value of a bitfield found within a given register value
|
/openbmc/linux/include/linux/ |
H A D | bitfield.h | 14 * Bitfield access macros 22 * #include <linux/bitfield.h> 105 * FIELD_PREP() - prepare a bitfield element 110 * be combined with other fields of the bitfield using logical OR. 121 * FIELD_PREP_CONST() - prepare a constant bitfield element 126 * be combined with other fields of the bitfield using logical OR. 145 * FIELD_GET() - extract a bitfield element 147 * @_reg: value of entire bitfield 150 * bitfield passed in as @_reg by masking and shifting it down. 160 extern void __compiletime_error("bad bitfield mask")
|
H A D | journal-head.h | 41 * NOTE: We *cannot* combine this with b_modified into a bitfield 43 * very unuseful) make 64-bit accesses to the bitfield and clobber 44 * b_jcount if its update races with bitfield modification.
|
/openbmc/u-boot/include/linux/ |
H A D | bitfield.h | 21 * Bitfield access macros 79 * FIELD_PREP() - prepare a bitfield element 84 * be combined with other fields of the bitfield using logical OR. 93 * FIELD_GET() - extract a bitfield element 95 * @_reg: 32bit value of entire bitfield 98 * bitfield passed in as @_reg by masking and shifting it down.
|
/openbmc/linux/include/linux/clk/ |
H A D | ti.h | 28 * @mult_mask: mask of the DPLL M bitfield in @mult_div1_reg 29 * @div1_mask: mask of the DPLL N bitfield in @mult_div1_reg 32 * @control_reg: register containing the DPLL mode bitfield 33 * @enable_mask: mask of the DPLL mode bitfield in @control_reg 46 * @autoidle_reg: register containing the DPLL autoidle mode bitfield 47 * @idlest_reg: register containing the DPLL idle status bitfield 48 * @autoidle_mask: mask of the DPLL autoidle mode bitfield in @autoidle_reg 49 * @freqsel_mask: mask of the DPLL jitter correction bitfield in @control_reg 50 * @dcc_mask: mask of the DPLL DCC correction bitfield @mult_div1_reg 52 * @idlest_mask: mask of the DPLL idle status bitfield in @idlest_reg [all …]
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/macsec/ |
H A D | macsec_api.h | 59 * rec - [IN] The bitfield values to write to the table row. 77 * rec - [IN] The bitfield values to write to the table row. 95 * rec - [IN] The bitfield values to write to the table row. 113 * rec - [IN] The bitfield values to write to the table row. 131 * rec - [IN] The bitfield values to write to the table row. 149 * rec - [IN] The bitfield values to write to the table row. 167 * rec - [IN] The bitfield values to write to the table row. 185 * rec - [IN] The bitfield values to write to the table row. 203 * rec - [IN] The bitfield values to write to the table row. 221 * rec - [IN] The bitfield values to write to the table row. [all …]
|
/openbmc/linux/drivers/mux/ |
H A D | mmio.c | 3 * MMIO register bitfield-controlled multiplexer driver 87 dev_err(dev, "bitfield %d: failed to read mux-reg-masks property: %d\n", in mux_mmio_probe() 97 dev_err(dev, "bitfield %d: invalid mask 0x%x\n", in mux_mmio_probe() 105 dev_err(dev, "bitfield %d: failed allocate: %d\n", in mux_mmio_probe() 117 dev_err(dev, "bitfield: %d: out of range idle state %d\n", in mux_mmio_probe() 140 MODULE_DESCRIPTION("MMIO register bitfield-controlled multiplexer driver");
|
/openbmc/linux/tools/include/linux/ |
H A D | bitfield.h | 14 * Bitfield access macros 102 * FIELD_PREP() - prepare a bitfield element 107 * be combined with other fields of the bitfield using logical OR. 116 * FIELD_GET() - extract a bitfield element 118 * @_reg: value of entire bitfield 121 * bitfield passed in as @_reg by masking and shifting it down. 131 extern void __compiletime_error("bad bitfield mask")
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_reg_defs.h | 9 #include <linux/bitfield.h> 89 * REG_FIELD_PREP() - Prepare a u32 bitfield value 106 * REG_FIELD_PREP8() - Prepare a u8 bitfield value 123 * REG_FIELD_GET() - Extract a u32 bitfield value 125 * @__val: value to extract the bitfield value from 135 * REG_FIELD_GET64() - Extract a u64 bitfield value 137 * @__val: value to extract the bitfield value from 177 * REG_FIELD_PREP16() - Prepare a u16 bitfield value 252 * REG_FIELD_GET8() - Extract a u8 bitfield value 254 * @__val: value to extract the bitfield value from
|
/openbmc/linux/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_psi.c | 100 return be16_to_cpu(h->bitfield) & mask; in vidtv_psi_get_sec_len() 109 return be16_to_cpu(p->bitfield) & mask; in vidtv_psi_get_pat_program_pid() 118 return be16_to_cpu(s->bitfield) & mask; in vidtv_psi_pmt_stream_get_elem_pid() 121 static void vidtv_psi_set_desc_loop_len(__be16 *bitfield, u16 new_len, in vidtv_psi_set_desc_loop_len() argument 129 new = cpu_to_be16((be16_to_cpu(*bitfield) & mask) | new_len); in vidtv_psi_set_desc_loop_len() 130 *bitfield = new; in vidtv_psi_set_desc_loop_len() 141 new = cpu_to_be16((be16_to_cpu(h->bitfield) & mask) | new_len); in vidtv_psi_set_sec_len() 149 h->bitfield = new; in vidtv_psi_set_sec_len() 162 .bitfield = cpu_to_be16((args->new_psi_section << 14) | args->pid), in vidtv_psi_ts_psi_write_into() 879 vidtv_psi_set_desc_loop_len(&s->bitfield, desc_loop_len, 12); in vidtv_psi_sdt_table_update_sec_len() [all …]
|
H A D | vidtv_psi.h | 151 __be16 bitfield; /* syntax: 1, zero: 1, one: 2, section_length: 13 */ member 167 __be16 bitfield; /* reserved: 3, program_map_pid/network_pid: 13 */ member 191 __be16 bitfield; /* running_status: 3, free_ca:1, desc_loop_len:12 */ member 232 __be16 bitfield; /* reserved: 3, elementary_pid: 13 */ member 244 __be16 bitfield; /* reserved:3, pcr_pid: 13 */ member 647 * @bitfield: Contains the descriptor loop length 655 __be16 bitfield; /* desc_len: 12, reserved: 4 */ member 664 * @bitfield: Contains the network descriptor length 672 __be16 bitfield; /* network_desc_len: 12, reserved:4 */ member 725 __be16 bitfield; /* desc_length: 12, free_CA_mode: 1, running_status: 1 */ member
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/ippool/ippool/ |
H A D | 0001-Use-unsigned-int-type-for-1-bit-integer-bitfield.patch | 4 Subject: [PATCH] Use unsigned int type for 1-bit integer bitfield 7 A signed bitfield composed of one bit can therefore store a value in the range -1 to 0. 8 Assigning a value of 1 to such a bitfield should produce a warning since it is out of range of repr…
|
/openbmc/linux/drivers/fpga/ |
H A D | dfl.h | 17 #include <linux/bitfield.h> 70 /* Device Feature Header Register Bitfield */ 118 /* Next AFU Register Bitfield */ 132 /* FME Fab Capability Register Bitfield */ 144 /* FME Port Offset Register Bitfield */ 158 /* FME Error Capability Register Bitfield */ 175 /* Port Capability Register Bitfield */ 180 /* Port Control Register Bitfield */ 186 /* Port Status Register Bitfield */ 198 /* Port Error Capability Register Bitfield */ [all …]
|
/openbmc/qemu/target/mips/tcg/ |
H A D | octeon.decode | 33 @bitfield ...... rs:5 rt:5 lenm1:5 ..... ..... . p=%bitfield_p 37 EXTS 011100 ..... ..... ..... ..... 11101 . @bitfield 38 CINS 011100 ..... ..... ..... ..... 11001 . @bitfield
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | btf_dump_test_case_bitfields.c | 4 * BTF-to-C dumper tests for bitfield. 59 short b; /* combined with previous bitfield */ 64 int e; /* combined with previous bitfield */
|
H A D | core_reloc_types.h | 715 /* bitfield read results, all as plain integers */ 753 /* turn bitfield into non-bitfield and vice versa */ 755 uint64_t ub1; /* 3 -> 64 non-bitfield */ 756 uint8_t ub2; /* 20 -> 8 non-bitfield */ 757 int64_t ub7 __bpf_aligned; /* 7 -> 64 non-bitfield signed */ 758 int64_t sb4 __bpf_aligned; /* 4 -> 64 non-bitfield signed */ 759 uint64_t sb20 __bpf_aligned; /* 20 -> 16 non-bitfield unsigned */ 760 int32_t u32: 20; /* 32 non-bitfield -> 20 bitfield */ 761 uint64_t s32: 60 __bpf_aligned; /* 32 non-bitfield -> 60 bitfield */
|
/openbmc/u-boot/board/hisilicon/hikey/ |
H A D | hikey.c | 149 void hi6220_clk_enable(u32 bitfield, unsigned int *clk_base) in hi6220_clk_enable() argument 154 data |= bitfield; in hi6220_clk_enable() 156 writel(bitfield, clk_base); in hi6220_clk_enable() 159 } while ((data & bitfield) == 0); in hi6220_clk_enable() 165 void hi6220_clk_disable(u32 bitfield, unsigned int *clk_base) in hi6220_clk_disable() argument 170 data |= bitfield; in hi6220_clk_disable() 175 } while (data & bitfield); in hi6220_clk_disable()
|
/openbmc/linux/sound/soc/fsl/ |
H A D | fsl_micfil.c | 4 #include <linux/bitfield.h> 539 /* Keep the VADFRENDIS bitfield cleared. */ in fsl_micfil_init_hwvad_energy_mode() 543 /* Keep the VADPREFEN bitfield cleared. */ in fsl_micfil_init_hwvad_energy_mode() 547 /* Keep the VADSFILEN bitfield cleared. */ in fsl_micfil_init_hwvad_energy_mode() 551 /* Keep the VADSMAXEN bitfield cleared. */ in fsl_micfil_init_hwvad_energy_mode() 555 /* Keep the VADNFILAUTO bitfield asserted. */ in fsl_micfil_init_hwvad_energy_mode() 559 /* Keep the VADNMINEN bitfield cleared. */ in fsl_micfil_init_hwvad_energy_mode() 563 /* Keep the VADNDECEN bitfield cleared. */ in fsl_micfil_init_hwvad_energy_mode() 567 /* Keep the VADNOREN bitfield cleared. */ in fsl_micfil_init_hwvad_energy_mode() 577 /* Assert the VADFRENDIS bitfield */ in fsl_micfil_init_hwvad_envelope_mode() [all …]
|
/openbmc/linux/arch/arm/mach-versatile/ |
H A D | spc.c | 98 * It corresponds to A15 processors MPIDR[15:8] bitfield 142 * @cluster: mpidr[15:8] bitfield describing cluster affinity level 143 * @cpu: mpidr[7:0] bitfield describing cpu affinity level 175 * @cluster: mpidr[15:8] bitfield describing cluster affinity level 176 * @cpu: mpidr[7:0] bitfield describing cpu affinity level 197 * @cluster: mpidr[15:8] bitfield describing cluster affinity level 225 * @cpu: mpidr[7:0] bitfield describing CPU affinity level within cluster 226 * @cluster: mpidr[15:8] bitfield describing cluster affinity level
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | cm33xx.c | 25 * CLKCTRL_IDLEST_*: possible values for the CM_*_CLKCTRL.IDLEST bitfield: 79 * _clkctrl_idlest - read a CM_*_CLKCTRL register; mask & shift IDLEST bitfield 83 * Return the IDLEST bitfield of a CM_*_CLKCTRL register, shifted down to 99 * Returns true if the module's CM_*_CLKCTRL.IDLEST bitfield is either 113 * _clktrctrl_write - write @c to a CM_CLKSTCTRL.CLKTRCTRL register bitfield 114 * @c: CLKTRCTRL register bitfield (LSB = bit 0, i.e., unshifted)
|
H A D | powerdomain.h | 93 * @logicretstate_mask: (AM33XX only) mask for logic retention bitfield 95 * @mem_on_mask: (AM33XX only) mask for mem on bitfield in @pwrstctrl_offs 96 * @mem_ret_mask: (AM33XX only) mask for mem ret bitfield in @pwrstctrl_offs 97 * @mem_pwrst_mask: (AM33XX only) mask for mem state bitfield in @pwrstst_offs 98 * @mem_retst_mask: (AM33XX only) mask for mem retention state bitfield
|