Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 52) sorted by relevance

123

/drivers/net/fsl-mc/dpio/
A Dqbman_portal.h126 static inline uint32_t qb_attr_code_decode(const struct qb_attr_code *code, in qb_attr_code_decode() argument
129 return d32_uint32_t(code->lsoffset, code->width, cacheline[code->word]); in qb_attr_code_decode()
133 static inline void qb_attr_code_encode(const struct qb_attr_code *code, in qb_attr_code_encode() argument
136 cacheline[code->word] = in qb_attr_code_encode()
137 r32_uint32_t(code->lsoffset, code->width, cacheline[code->word]) in qb_attr_code_encode()
138 | e32_uint32_t(code->lsoffset, code->width, val); in qb_attr_code_encode()
141 static inline void qb_attr_code_encode_64(const struct qb_attr_code *code, in qb_attr_code_encode_64() argument
144 cacheline[code->word / 2] = val; in qb_attr_code_encode_64()
/drivers/button/
A Dbutton-qcom-pmic.c26 int code; member
33 int code; member
68 return priv->code; in qcom_pwrkey_get_code()
75 .code = KEY_ENTER,
81 .code = KEY_DOWN,
87 .code = KEY_ENTER,
93 .code = KEY_DOWN,
130 priv->code = btn_data->code; in qcom_pwrkey_probe()
149 switch (priv->code) { in qcom_pwrkey_probe()
151 priv->code = KEY_DOWN; in qcom_pwrkey_probe()
[all …]
A Dbutton-uclass.c41 static int button_remap_phone_keys(int code) in button_remap_phone_keys() argument
43 switch (code) { in button_remap_phone_keys()
51 return code; in button_remap_phone_keys()
58 int code; in button_get_code() local
63 code = ops->get_code(dev); in button_get_code()
65 return button_remap_phone_keys(code); in button_get_code()
67 return code; in button_get_code()
A Dbutton-gpio.c40 int code = priv->linux_code; in button_gpio_get_code() local
42 if (!code) in button_gpio_get_code()
45 return code; in button_gpio_get_code()
/drivers/input/
A Dbutton_kbd.c76 u32 code, state, state_changed = 0; in button_read_keys() local
83 code = button_get_code(button_gpio_devp); in button_read_keys()
84 if (!code) in button_read_keys()
91 debug("%s: %d\n", uc_plat->label, code); in button_read_keys()
93 input_add_keycode(input, code, state); in button_read_keys()
A Dinput.c579 int code = config->prev_keycodes[i]; in input_add_keycode() local
581 if (new_keycode == code) { in input_add_keycode()
586 keycode[count++] = code; in input_add_keycode()
/drivers/i2c/
A Di2c-microchip.c141 static inline int mpfs_generate_divisor(u32 rate, u8 *code) in mpfs_generate_divisor() argument
146 *code = PCLK_DIV_960; in mpfs_generate_divisor()
148 *code = PCLK_DIV_256; in mpfs_generate_divisor()
150 *code = PCLK_DIV_224; in mpfs_generate_divisor()
152 *code = PCLK_DIV_192; in mpfs_generate_divisor()
154 *code = PCLK_DIV_160; in mpfs_generate_divisor()
156 *code = PCLK_DIV_120; in mpfs_generate_divisor()
158 *code = PCLK_DIV_60; in mpfs_generate_divisor()
160 *code = BCLK_DIV_8; in mpfs_generate_divisor()
/drivers/tpm/
A Dtpm_tis_sandbox.c123 uint32_t code, index, length, type; in sandbox_tpm_xfer() local
127 code = get_unaligned_be32(sendbuf + sizeof(uint16_t) + in sandbox_tpm_xfer()
131 *recv_len, code); in sandbox_tpm_xfer()
134 switch (code) { in sandbox_tpm_xfer()
230 printf("Unknown tpm command %02x\n", code); in sandbox_tpm_xfer()
A Dtpm_tis_st33zp24_spi.c80 static int st33zp24_spi_status_to_errno(u8 code) in st33zp24_spi_status_to_errno() argument
82 switch (code) { in st33zp24_spi_status_to_errno()
101 return code; in st33zp24_spi_status_to_errno()
/drivers/mtd/nand/raw/
A Dnand_bch.c44 unsigned char *code) in nand_bch_calculate_ecc() argument
50 memset(code, 0, chip->ecc.bytes); in nand_bch_calculate_ecc()
51 encode_bch(nbc->bch, buf, chip->ecc.size, code); in nand_bch_calculate_ecc()
55 code[i] ^= nbc->eccmask[i]; in nand_bch_calculate_ecc()
A DKconfig304 1-bit Hamming code using software lib.
307 1-bit Hamming code using GPMC hardware.
310 4-bit BCH code (unsupported)
312 4-bit BCH code (unsupported)
314 8-bit BCH code with
320 8-bit BCH code with
324 16-bit BCH code with
366 bool "1-bit Hamming code using software lib"
369 bool "1-bit Hamming code using GPMC hardware"
372 bool "8-bit BCH code with HW calculation SW error detection"
[all …]
/drivers/video/fonts/
A DKconfig26 code and terminals, in two styles and weights. Anka/Coder Narrow was
27 developed for printing source code.
28 https://code.google.com/p/anka-coder-fonts/
/drivers/crypto/aspeed/
A DKconfig12 and saves code size.
22 software implementations. It also improves performance and saves code size.
/drivers/qe/
A Dqe.c427 const u32 *code = base + be32_to_cpu(ucode->code_offset); in qe_upload_microcode() local
442 out_be32(&qe_immr->iram.idata, be32_to_cpu(code[i])); in qe_upload_microcode()
720 const u32 *code; in u_qe_firmware_resume() local
759 code = (const void *)firmware + be32_to_cpu(ucode->code_offset); in u_qe_firmware_resume()
766 out_be32(&qe_immrr->iram.idata, be32_to_cpu(code[i])); in u_qe_firmware_resume()
/drivers/clk/adi/
A DKconfig12 bool "Enable shared ADI clock framework code"
14 Required for shared code between SoC clock drivers. Automatically
/drivers/rng/
A Driscv_zkr_rng.c85 log_debug("Exception %ld reading seed CSR\n", resume.code); in riscv_zkr_bind()
/drivers/mtd/spi/
A Dspi-nor-tiny.c49 static int spi_nor_read_reg(struct spi_nor *nor, u8 code, u8 *val, int len) in spi_nor_read_reg() argument
51 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(code, 1), in spi_nor_read_reg()
65 code); in spi_nor_read_reg()
68 nor->spi->bus, nor->spi->cs, ret, code); in spi_nor_read_reg()
/drivers/clk/
A DKconfig74 Clock Framework [CCF] code in U-Boot's SPL.
81 Clock Framework [CCF] composite code in U-Boot's SPL.
87 Clock Framework [CCF] code in U-Boot's clock driver.
94 Clock Framework [CCF] composite code in U-Boot's clock driver.
189 Clock Framework [CCF] code in U-Boot's Sandbox clock driver.
/drivers/pci_endpoint/
A Dpcie-cadence.h192 #define CDNS_PCIE_NORMAL_MSG_CODE(code) \ argument
193 (((code) << 8) & CDNS_PCIE_NORMAL_MSG_CODE_MASK)
/drivers/misc/
A Datsha204a-i2c.c157 if (resp.code != ATSHA204A_STATUS_AFTER_WAKE) { in atsha204a_wakeup()
158 debug("failed (response code = %02x), ending\n", resp.code); in atsha204a_wakeup()
/drivers/demo/
A DKconfig10 own code.
/drivers/core/
A DKconfig103 We can save some code space by dropping support for removing a
124 We can save some code space by dropping support for removing a
153 disabled if it is not required, to save code space in SPL.
161 disabled if it is not required, to save code space in SPL.
170 disabled if it is not required, to save code space in VPL.
178 seldom used. Inlining them can help reduce code size.
186 seldom used. Inlining them can help reduce code size.
404 variable in the GD in their platform- / board-specific code.
/drivers/ram/rockchip/
A DKconfig48 This enables LPDDR4 sdram code support for the platforms based
/drivers/net/fm/
A Dfm.c189 u32 *code; in fman_upload_firmware() local
193 code = (void *)firmware + in fman_upload_firmware()
196 fm_upload_ucode(fm_idx, fm_imem, code, ucode_size); in fman_upload_firmware()
/drivers/net/
A Dsandbox.c75 u8 code; member
321 icmpr->code = 0; in sandbox_eth_recv_ping_req()

Completed in 66 milliseconds

123