/u-boot/drivers/spi/ |
A D | atcspi200_spi.c | 102 if(ns->freq >= ns->clock) in __atcspi200_spi_set_speed() 106 if (ns->freq >= ns->clock / (2 * (div + 1))) in __atcspi200_spi_set_speed() 123 if(!ns->to) in __atcspi200_spi_claim_bus() 146 if ((ns->din)&&(ns->cmd_len)) in __atcspi200_spi_start() 153 if(ns->dout) in __atcspi200_spi_start() 157 if(ns->din) in __atcspi200_spi_start() 164 ns->regs->data = ns->cmd_buf[i]; in __atcspi200_spi_start() 171 ns->regs->timing = ns->mtiming; in __atcspi200_spi_stop() 172 while ((ns->regs->status & SPIBSY)&&(ns->to--)) in __atcspi200_spi_stop() 173 if (!ns->to) in __atcspi200_spi_stop() [all …]
|
/u-boot/arch/arm/dts/ |
A D | omap-gpmc-smsc911x.dtsi | 30 gpmc,cs-on-ns = <5>; 31 gpmc,cs-rd-off-ns = <150>; 33 gpmc,adv-on-ns = <0>; 36 gpmc,oe-on-ns = <45>; 37 gpmc,oe-off-ns = <140>; 38 gpmc,we-on-ns = <45>; 39 gpmc,we-off-ns = <140>; 40 gpmc,rd-cycle-ns = <155>; 41 gpmc,wr-cycle-ns = <155>; 42 gpmc,access-ns = <120>; [all …]
|
A D | omap-gpmc-smsc9221.dtsi | 32 gpmc,cs-on-ns = <0>; 33 gpmc,cs-rd-off-ns = <42>; 34 gpmc,cs-wr-off-ns = <36>; 35 gpmc,adv-on-ns = <6>; 38 gpmc,oe-on-ns = <0>; 39 gpmc,oe-off-ns = <42>; 40 gpmc,we-on-ns = <0>; 41 gpmc,we-off-ns = <36>; 42 gpmc,rd-cycle-ns = <60>; 43 gpmc,wr-cycle-ns = <54>; [all …]
|
A D | omap3-igep.dtsi | 123 gpmc,cs-on-ns = <0>; 126 gpmc,adv-on-ns = <6>; 129 gpmc,we-off-ns = <40>; 130 gpmc,oe-off-ns = <54>; 131 gpmc,access-ns = <64>; 155 gpmc,cs-on-ns = <0>; 158 gpmc,adv-on-ns = <0>; 161 gpmc,oe-on-ns = <18>; 162 gpmc,oe-off-ns = <96>; 163 gpmc,we-on-ns = <0>; [all …]
|
A D | am335x-draco.dtsi | 138 gpmc,cs-on-ns = <0>; 139 gpmc,cs-rd-off-ns = <44>; 140 gpmc,cs-wr-off-ns = <44>; 141 gpmc,adv-on-ns = <6>; 144 gpmc,we-on-ns = <0>; 145 gpmc,we-off-ns = <40>; 146 gpmc,oe-on-ns = <0>; 147 gpmc,oe-off-ns = <54>; 148 gpmc,access-ns = <64>; 149 gpmc,rd-cycle-ns = <82>; [all …]
|
A D | omap3-evm.dts | 72 gpmc,cs-on-ns = <0>; 73 gpmc,cs-rd-off-ns = <44>; 74 gpmc,cs-wr-off-ns = <44>; 75 gpmc,adv-on-ns = <6>; 76 gpmc,adv-rd-off-ns = <34>; 78 gpmc,we-off-ns = <40>; 79 gpmc,oe-off-ns = <54>; 80 gpmc,access-ns = <64>; 81 gpmc,rd-cycle-ns = <82>; 82 gpmc,wr-cycle-ns = <82>; [all …]
|
A D | sun50i-a64-cpu-opp.dtsi | 14 clock-latency-ns = <244144>; /* 8 32k periods */ 20 clock-latency-ns = <244144>; /* 8 32k periods */ 26 clock-latency-ns = <244144>; /* 8 32k periods */ 32 clock-latency-ns = <244144>; /* 8 32k periods */ 38 clock-latency-ns = <244144>; /* 8 32k periods */ 44 clock-latency-ns = <244144>; /* 8 32k periods */ 50 clock-latency-ns = <244144>; /* 8 32k periods */ 56 clock-latency-ns = <244144>; /* 8 32k periods */
|
A D | dm8168-evm.dts | 101 gpmc,cs-on-ns = <0>; 102 gpmc,cs-rd-off-ns = <44>; 103 gpmc,cs-wr-off-ns = <44>; 104 gpmc,adv-on-ns = <6>; 107 gpmc,we-on-ns = <0>; 108 gpmc,we-off-ns = <40>; 109 gpmc,oe-on-ns = <0>; 110 gpmc,oe-off-ns = <54>; 111 gpmc,access-ns = <64>; 112 gpmc,rd-cycle-ns = <82>; [all …]
|
A D | omap3-evm-37xx.dts | 72 gpmc,cs-on-ns = <0>; 73 gpmc,cs-rd-off-ns = <44>; 74 gpmc,cs-wr-off-ns = <44>; 75 gpmc,adv-on-ns = <6>; 76 gpmc,adv-rd-off-ns = <34>; 78 gpmc,we-off-ns = <40>; 79 gpmc,oe-off-ns = <54>; 80 gpmc,access-ns = <64>; 81 gpmc,rd-cycle-ns = <82>; 82 gpmc,wr-cycle-ns = <82>; [all …]
|
A D | am335x-chilisom.dtsi | 159 gpmc,cs-on-ns = <0>; 160 gpmc,cs-rd-off-ns = <44>; 161 gpmc,cs-wr-off-ns = <44>; 162 gpmc,adv-on-ns = <6>; 165 gpmc,we-on-ns = <0>; 166 gpmc,we-off-ns = <40>; 167 gpmc,oe-on-ns = <0>; 168 gpmc,oe-off-ns = <54>; 169 gpmc,access-ns = <64>; 170 gpmc,rd-cycle-ns = <82>; [all …]
|
A D | sun50i-h6-cpu-opp.dtsi | 12 clock-latency-ns = <244144>; /* 8 32k periods */ 21 clock-latency-ns = <244144>; /* 8 32k periods */ 30 clock-latency-ns = <244144>; /* 8 32k periods */ 39 clock-latency-ns = <244144>; /* 8 32k periods */ 48 clock-latency-ns = <244144>; /* 8 32k periods */ 57 clock-latency-ns = <244144>; /* 8 32k periods */ 66 clock-latency-ns = <244144>; /* 8 32k periods */ 75 clock-latency-ns = <244144>; /* 8 32k periods */ 84 clock-latency-ns = <244144>; /* 8 32k periods */ 93 clock-latency-ns = <244144>; /* 8 32k periods */
|
A D | am335x-igep0033.dtsi | 151 gpmc,cs-on-ns = <0>; 152 gpmc,cs-rd-off-ns = <44>; 153 gpmc,cs-wr-off-ns = <44>; 154 gpmc,adv-on-ns = <6>; 157 gpmc,we-on-ns = <0>; 158 gpmc,we-off-ns = <40>; 159 gpmc,oe-on-ns = <0>; 160 gpmc,oe-off-ns = <54>; 161 gpmc,access-ns = <64>; 162 gpmc,rd-cycle-ns = <82>; [all …]
|
A D | am335x-brppt1-nand.dts | 317 gpmc,cs-on-ns = <0>; 318 gpmc,cs-rd-off-ns = <44>; 319 gpmc,cs-wr-off-ns = <44>; 320 gpmc,adv-on-ns = <6>; 323 gpmc,we-on-ns = <0>; 324 gpmc,we-off-ns = <40>; 325 gpmc,oe-on-ns = <0>; 326 gpmc,oe-off-ns = <54>; 327 gpmc,access-ns = <64>; 328 gpmc,rd-cycle-ns = <82>; [all …]
|
A D | am335x-phycore-som.dtsi | 187 gpmc,cs-on-ns = <0>; 188 gpmc,cs-rd-off-ns = <30>; 189 gpmc,cs-wr-off-ns = <30>; 190 gpmc,adv-on-ns = <0>; 193 gpmc,we-on-ns = <0>; 194 gpmc,we-off-ns = <20>; 195 gpmc,oe-on-ns = <10>; 196 gpmc,oe-off-ns = <30>; 197 gpmc,access-ns = <30>; 198 gpmc,rd-cycle-ns = <30>; [all …]
|
A D | logicpd-torpedo-som.dtsi | 52 gpmc,cs-on-ns = <0>; 53 gpmc,cs-rd-off-ns = <44>; 54 gpmc,cs-wr-off-ns = <44>; 55 gpmc,adv-on-ns = <6>; 56 gpmc,adv-rd-off-ns = <34>; 58 gpmc,we-off-ns = <40>; 59 gpmc,oe-off-ns = <54>; 60 gpmc,access-ns = <64>; 61 gpmc,rd-cycle-ns = <82>; 62 gpmc,wr-cycle-ns = <82>; [all …]
|
A D | am3517-som.dtsi | 55 gpmc,cs-on-ns = <0>; 56 gpmc,cs-rd-off-ns = <44>; 57 gpmc,cs-wr-off-ns = <44>; 58 gpmc,adv-on-ns = <6>; 59 gpmc,adv-rd-off-ns = <34>; 61 gpmc,we-off-ns = <40>; 62 gpmc,oe-off-ns = <54>; 63 gpmc,access-ns = <64>; 64 gpmc,rd-cycle-ns = <82>; 65 gpmc,wr-cycle-ns = <82>; [all …]
|
A D | stv0991.dts | 49 cdns,tshsl-ns = <50>; 50 cdns,tsd2d-ns = <50>; 51 cdns,tchsh-ns = <4>; 52 cdns,tslch-ns = <4>;
|
A D | keystone-k2l-evm.dts | 55 ti,cs-min-turnaround-ns = <12>; 56 ti,cs-read-hold-ns = <6>; 57 ti,cs-read-strobe-ns = <23>; 58 ti,cs-read-setup-ns = <9>; 59 ti,cs-write-hold-ns = <8>; 60 ti,cs-write-strobe-ns = <23>; 61 ti,cs-write-setup-ns = <8>;
|
A D | am335x-baltos.dts | 191 gpmc,cs-on-ns = <0>; 192 gpmc,cs-rd-off-ns = <44>; 193 gpmc,cs-wr-off-ns = <44>; 194 gpmc,adv-on-ns = <6>; 197 gpmc,we-on-ns = <0>; 198 gpmc,we-off-ns = <40>; 199 gpmc,oe-on-ns = <0>; 200 gpmc,oe-off-ns = <54>; 201 gpmc,access-ns = <64>; 202 gpmc,rd-cycle-ns = <82>; [all …]
|
/u-boot/drivers/nvme/ |
A D | nvme_show.c | 68 printf("Blk device %d: LBA Format Support:\n", ns->devnum); in print_formats() 72 if (i == ns->flbas) in print_formats() 107 struct nvme_ns *ns = dev_get_priv(udev); in nvme_print_info() local 108 struct nvme_dev *dev = ns->dev; in nvme_print_info() 117 print_optional_admin_cmd(le16_to_cpu(ctrl->oacs), ns->devnum); in nvme_print_info() 118 print_optional_nvm_cmd(le16_to_cpu(ctrl->oncs), ns->devnum); in nvme_print_info() 119 print_format_nvme_attributes(ctrl->fna, ns->devnum); in nvme_print_info() 121 if (nvme_identify(dev, ns->ns_id, 0, (dma_addr_t)(long)id)) in nvme_print_info() 124 print_formats(id, ns); in nvme_print_info() 125 print_data_protect_cap(id->dpc, ns->devnum); in nvme_print_info() [all …]
|
/u-boot/arch/x86/cpu/apollolake/ |
A D | uart.c | 95 struct ns16550_plat ns; in apl_ns16550_of_to_plat() local 107 ns.base = dtplat->early_regs[0]; in apl_ns16550_of_to_plat() 108 ns.reg_width = 1; in apl_ns16550_of_to_plat() 109 ns.reg_shift = dtplat->reg_shift; in apl_ns16550_of_to_plat() 110 ns.reg_offset = 0; in apl_ns16550_of_to_plat() 111 ns.clock = dtplat->clock_frequency; in apl_ns16550_of_to_plat() 112 ns.fcr = UART_FCR_DEFVAL; in apl_ns16550_of_to_plat() 113 ns.bdf = pci_ofplat_get_devfn(dtplat->reg[0]); in apl_ns16550_of_to_plat() 114 memcpy(plat, &ns, sizeof(ns)); in apl_ns16550_of_to_plat()
|
/u-boot/arch/m68k/include/asm/ |
A D | io.h | 46 #define insb(port, buf, ns) _insb((u8 *)((port)+_IO_BASE), (buf), (ns)) argument 47 #define outsb(port, buf, ns) _outsb((u8 *)((port)+_IO_BASE), (buf), (ns)) argument 48 #define insw(port, buf, ns) _insw_ns((u16 *)((port)+_IO_BASE), (buf), (ns)) argument 49 #define outsw(port, buf, ns) _outsw_ns((u16 *)((port)+_IO_BASE), (buf), (ns)) argument 72 while (ns--) in _insb() 79 while (ns--) in _outsb() 86 while (ns--) in _insw() 93 while (ns--) { in _outsw() 118 while (ns--) in _insw_ns() 125 while (ns--) { in _outsw_ns() [all …]
|
/u-boot/drivers/core/ |
A D | of_addr.c | 22 ((ns) > 0 || gd_size_cells_0())) 61 int na, int ns, int pna) in of_bus_default_map() argument 134 int onesize, i, na, ns; in of_get_address() local 140 dev_count_cells(dev, &na, &ns); in of_get_address() 142 bus->count_cells(dev, &na, &ns); in of_get_address() 153 onesize = na + ns; in of_get_address() 205 rone = na + pna + ns; in of_translate_one() 241 int na, ns, pna, pns; in __of_translate_address() local 257 if (!OF_CHECK_COUNTS(na, ns)) { in __of_translate_address() 299 ns = pns; in __of_translate_address() [all …]
|
/u-boot/arch/powerpc/include/asm/ |
A D | io.h | 46 #define insb(port, buf, ns) _insb((u8 *)((port)+_IO_BASE), (buf), (ns)) argument 47 #define outsb(port, buf, ns) _outsb((u8 *)((port)+_IO_BASE), (buf), (ns)) argument 48 #define insw(port, buf, ns) _insw_ns((u16 *)((port)+_IO_BASE), (buf), (ns)) argument 49 #define outsw(port, buf, ns) _outsw_ns((u16 *)((port)+_IO_BASE), (buf), (ns)) argument 74 extern void _insb(volatile u8 *port, void *buf, int ns); 75 extern void _outsb(volatile u8 *port, const void *buf, int ns); 76 extern void _insw(volatile u16 *port, void *buf, int ns); 77 extern void _outsw(volatile u16 *port, const void *buf, int ns); 80 extern void _insw_ns(volatile u16 *port, void *buf, int ns); 90 #define insw_ns(port, buf, ns) _insw_ns((u16 *)((port)+_IO_BASE), (buf), (ns)) argument [all …]
|
/u-boot/doc/device-tree-bindings/i2c/ |
A D | i2c-designware.txt | 27 - i2c-sda-hold-time-ns : should contain the SDA hold time in nanoseconds. 31 - i2c-scl-falling-time-ns : should contain the SCL falling time in nanoseconds. 32 This value which is by default 300ns is used to compute the tLOW period. 34 - i2c-sda-falling-time-ns : should contain the SDA falling time in nanoseconds. 35 This value which is by default 300ns is used to compute the tHIGH period. 56 i2c-sda-hold-time-ns = <300>; 57 i2c-sda-falling-time-ns = <300>; 58 i2c-scl-falling-time-ns = <300>;
|