Home
last modified time | relevance | path

Searched refs:field (Results 1 – 25 of 48) sorted by relevance

12

/rk3399_rockchip-uboot/common/eeprom/
H A Deeprom_field.c14 static void __eeprom_field_print_bin(const struct eeprom_field *field, in __eeprom_field_print_bin() argument
18 int from = reverse ? field->size - 1 : 0; in __eeprom_field_print_bin()
19 int to = reverse ? 0 : field->size - 1; in __eeprom_field_print_bin()
21 printf(PRINT_FIELD_SEGMENT, field->name); in __eeprom_field_print_bin()
23 printf("%02x%s", field->buf[i], delimiter); in __eeprom_field_print_bin()
25 printf("%02x\n", field->buf[i]); in __eeprom_field_print_bin()
28 static int __eeprom_field_update_bin(struct eeprom_field *field, in __eeprom_field_update_bin() argument
37 if (len > field->size * 2) in __eeprom_field_update_bin()
40 memset(field->buf, 0, field->size); in __eeprom_field_update_bin()
43 for (j = 0; j < field->size; j++) { in __eeprom_field_update_bin()
[all …]
/rk3399_rockchip-uboot/tools/
H A Drkmux.py76 field = lines[0]
78 if field in ['reserved', 'reserve', 'write_enable', 'write_mask']:
80 if field.endswith('_sel') or field.endswith('_con'):
81 field = field[:-4]
82 elif field.endswith(' iomux'):
83 field = field[:-6]
84 elif field.endswith('_mode') or field.endswith('_mask'):
85 field = field[:-5]
89 field = field.upper()
101 out_enum(field, 'shift', bit_low)
[all …]
H A Dmips-relocs.c23 #define hdr_field(pfx, idx, field) ({ \ argument
28 _val = pfx##hdr64[idx].field; \
29 _size = sizeof(pfx##hdr64[0].field); \
31 _val = pfx##hdr32[idx].field; \
32 _size = sizeof(pfx##hdr32[0].field); \
52 #define set_hdr_field(pfx, idx, field, val) ({ \ argument
57 _size = sizeof(pfx##hdr64[0].field); \
59 _size = sizeof(pfx##hdr32[0].field); \
82 pfx##hdr64[idx].field = _val; \
84 pfx##hdr32[idx].field = _val; \
[all …]
/rk3399_rockchip-uboot/include/
H A Deeprom_field.h24 void eeprom_field_print_bin(const struct eeprom_field *field);
25 int eeprom_field_update_bin(struct eeprom_field *field, char *value);
27 void eeprom_field_print_bin_rev(const struct eeprom_field *field);
28 int eeprom_field_update_bin_rev(struct eeprom_field *field, char *value);
30 void eeprom_field_print_mac(const struct eeprom_field *field);
31 int eeprom_field_update_mac(struct eeprom_field *field, char *value);
33 void eeprom_field_print_ascii(const struct eeprom_field *field);
34 int eeprom_field_update_ascii(struct eeprom_field *field, char *value);
36 void eeprom_field_print_reserved(const struct eeprom_field *field);
37 int eeprom_field_update_reserved(struct eeprom_field *field, char *value);
/rk3399_rockchip-uboot/arch/mips/lib/
H A Dtraps.c23 const int field = 2 * sizeof(unsigned long); in show_regs() local
35 printf(" %0*lx", field, 0UL); in show_regs()
37 printf(" %*s", field, ""); in show_regs()
39 printf(" %0*lx", field, regs->regs[i]); in show_regs()
46 printf("Hi : %0*lx\n", field, regs->hi); in show_regs()
47 printf("Lo : %0*lx\n", field, regs->lo); in show_regs()
52 printf("epc : %0*lx (text %0*lx)\n", field, regs->cp0_epc, in show_regs()
53 field, regs->cp0_epc - gd->reloc_off); in show_regs()
54 printf("ra : %0*lx (text %0*lx)\n", field, regs->regs[31], in show_regs()
55 field, regs->regs[31] - gd->reloc_off); in show_regs()
[all …]
/rk3399_rockchip-uboot/board/compulab/common/
H A Deeprom.c203 void eeprom_field_print_bin_ver(const struct eeprom_field *field) in eeprom_field_print_bin_ver() argument
205 if ((field->buf[0] == 0xff) && (field->buf[1] == 0xff)) { in eeprom_field_print_bin_ver()
206 field->buf[0] = 0; in eeprom_field_print_bin_ver()
207 field->buf[1] = 0; in eeprom_field_print_bin_ver()
210 printf(PRINT_FIELD_SEGMENT, field->name); in eeprom_field_print_bin_ver()
211 int major = (field->buf[1] << 8 | field->buf[0]) / 100; in eeprom_field_print_bin_ver()
212 int minor = (field->buf[1] << 8 | field->buf[0]) - major * 100; in eeprom_field_print_bin_ver()
232 int eeprom_field_update_bin_ver(struct eeprom_field *field, char *value) in eeprom_field_update_bin_ver() argument
255 field->buf[0] = (unsigned char)num; in eeprom_field_update_bin_ver()
256 field->buf[1] = num >> 8; in eeprom_field_update_bin_ver()
[all …]
/rk3399_rockchip-uboot/drivers/usb/host/
H A Dxhci-ring.c95 chain = le32_to_cpu(ring->enqueue->generic.field[3]) & TRB_CHAIN; in inc_enq()
192 trb->field[i] = cpu_to_le32(trb_fields[i]); in queue_trb()
370 start_trb->field[3] |= cpu_to_le32(start_cycle); in giveback_first_trb()
372 start_trb->field[3] &= cpu_to_le32(~TRB_CYCLE); in giveback_first_trb()
457 le32_to_cpu(event->generic.field[2])) != in xhci_wait_for_event()
462 le32_to_cpu(event->generic.field[0]), in xhci_wait_for_event()
463 le32_to_cpu(event->generic.field[1]), in xhci_wait_for_event()
464 le32_to_cpu(event->generic.field[2]), in xhci_wait_for_event()
465 le32_to_cpu(event->generic.field[3])); in xhci_wait_for_event()
486 u32 field; in reset_ep() local
[all …]
/rk3399_rockchip-uboot/include/linux/
H A Drbtree.h92 #define rbtree_postorder_for_each_entry_safe(pos, n, root, field) \ argument
93 for (pos = rb_entry_safe(rb_first_postorder(root), typeof(*pos), field); \
94 pos && ({ n = rb_entry_safe(rb_next_postorder(&pos->field), \
95 typeof(*pos), field); 1; }); \
/rk3399_rockchip-uboot/drivers/gpio/
H A Dsh_pfc.c130 unsigned long field) in read_config_reg() argument
136 config_reg_helper(gpioc, crp, field, &mapped_reg, &mask, &pos); in read_config_reg()
140 crp->reg, field, crp->reg_width, crp->field_width); in read_config_reg()
147 unsigned long field, unsigned long value) in write_config_reg() argument
152 config_reg_helper(gpioc, crp, field, &mapped_reg, &mask, &pos); in write_config_reg()
156 crp->reg, value, field, crp->reg_width, crp->field_width); in write_config_reg()
328 int in_range, pos, field, value; in pinmux_config_gpio() local
359 field = 0; in pinmux_config_gpio()
408 &field, &value, &cntp) != 0) in pinmux_config_gpio()
414 (read_config_reg(gpioc, cr, field) != value)) in pinmux_config_gpio()
[all …]
/rk3399_rockchip-uboot/drivers/memory/
H A Dti-aemif.c30 #define set_config_field(reg, field, val) \ argument
33 reg &= ~AEMIF_CFG_##field(0xffffffff); \
34 reg |= AEMIF_CFG_##field(val); \
/rk3399_rockchip-uboot/arch/arm/mach-davinci/
H A Dpinmux.c43 if (pins[i].field >= PIN_MUX_NUM_FIELDS || in davinci_configure_pin_mux()
50 const int offset = pins[i].field * PIN_MUX_FIELD_SIZE; in davinci_configure_pin_mux()
/rk3399_rockchip-uboot/arch/arm/cpu/arm1136/mx31/
H A Dgeneric.c119 u32 field, l, reg; in mx31_set_pad() local
123 field = (pin + 2) % 3; in mx31_set_pad()
126 l &= ~(0x1ff << (field * 10)); in mx31_set_pad()
127 l |= config << (field * 10); in mx31_set_pad()
/rk3399_rockchip-uboot/common/
H A Dbedbug.c235 int field; in print_operands() local
246 for (field = 0; ctx->op->fields[field] != 0; ++field) { in print_operands()
247 if (ctx->op->fields[field] > n_operands) { in print_operands()
251 opr = &operands[ctx->op->fields[field] - 1]; in print_operands()
257 if ((field > 0) && !open_parens) { in print_operands()
296 (opr->field == O_rA) && (ctx->op->hint & H_RA0_IS_0)) { in print_operands()
317 switch (opr->field) { in print_operands()
375 enum OP_FIELD field, unsigned long *value) in get_operand_value() argument
382 if (field > n_operands) { in get_operand_value()
388 if (op->fields[i] != field) { in get_operand_value()
/rk3399_rockchip-uboot/scripts/
H A DMakefile.extrawarn30 warning-1 += $(call cc-disable-warning, missing-field-initializers)
38 warning-2 += $(call cc-option, -Wmissing-field-initializers)
/rk3399_rockchip-uboot/arch/arm/mach-davinci/include/mach/
H A Ddavinci_misc.h21 unsigned char field; /* field number */ member
/rk3399_rockchip-uboot/doc/
H A DREADME.splashprepare29 enabled. Struct splash_location field 'name' should match the splash image
30 name within the FIT and the FIT should start at the 'offset' field address in
H A DREADME.gpt97 16 4 B CRC32 of header (0 to header size), with this field zeroed
122 CRC32 for GPT headers (field "CRC of header") are calculated up till
125 CRC32 for partition entries (field "CRC32 of partition array") is calculated for
166 The field 'start' is optional.
168 If field 'size' of the last partition is 0, the partition is extended
177 The field 'bootable' is optional, it is used to mark the GPT partition
/rk3399_rockchip-uboot/doc/uImage.FIT/
H A Dmulti-with-fpga.its3 * This example makes use of the 'loadables' field
H A Dmulti-with-loadables.its3 * This example makes use of the 'loadables' field
/rk3399_rockchip-uboot/drivers/misc/
H A Dmxc_ocotp.c63 #define BF(value, field) (((value) << BO_##field) & BM_##field) argument
/rk3399_rockchip-uboot/doc/device-tree-bindings/regulator/
H A Dregulator.txt41 platform data '.name' field. And the regulator device name is set from
43 is chosen for setting the device's uclass platform data '.name' field.
/rk3399_rockchip-uboot/arch/nds32/cpu/n1213/
H A Dstart.S345 ! Get the ISZ field
359 andi $p1, $t0, ICAC_MEM_KBF_ISET ! get the ISET field
380 ! Get the DSZ field
394 andi $p1, $t0, DCAC_MEM_KBF_DSET ! get the DSET field
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/rk3368/
H A DKconfig38 PX5 EVB is designed by Rockchip for automotive field
/rk3399_rockchip-uboot/board/Barix/ipam390/
H A Dipam390-ais-uart.cfg44 ; Use with caution. The format of the PERIPHCLKCFG field
121 ; See PERIPHCLKCFG section for the format of the CLKCFG field.
/rk3399_rockchip-uboot/include/bedbug/
H A Dppc.h19 enum OP_FIELD field; /* The operand identifier from the member

12