/external/u-boot/drivers/mmc/ |
D | sh_sdhi.c | 37 static inline void sh_sdhi_writeq(struct sh_sdhi_host *host, int reg, u64 val) in sh_sdhi_writeq() argument 39 writeq(val, host->addr + (reg << host->bus_shift)); in sh_sdhi_writeq() 42 static inline u64 sh_sdhi_readq(struct sh_sdhi_host *host, int reg) in sh_sdhi_readq() argument 44 return readq(host->addr + (reg << host->bus_shift)); in sh_sdhi_readq() 47 static inline void sh_sdhi_writew(struct sh_sdhi_host *host, int reg, u16 val) in sh_sdhi_writew() argument 49 writew(val, host->addr + (reg << host->bus_shift)); in sh_sdhi_writew() 52 static inline u16 sh_sdhi_readw(struct sh_sdhi_host *host, int reg) in sh_sdhi_readw() argument 54 return readw(host->addr + (reg << host->bus_shift)); in sh_sdhi_readw() 57 static void sh_sdhi_detect(struct sh_sdhi_host *host) in sh_sdhi_detect() argument 59 sh_sdhi_writew(host, SDHI_OPTION, in sh_sdhi_detect() [all …]
|
D | sh_mmcif.c | 26 struct sh_mmcif_host *host = dev_id; in sh_mmcif_intr() local 29 state = sh_mmcif_read(&host->regs->ce_int); in sh_mmcif_intr() 30 state &= sh_mmcif_read(&host->regs->ce_int_mask); in sh_mmcif_intr() 33 sh_mmcif_write(~(INT_RBSYE | INT_CRSPE), &host->regs->ce_int); in sh_mmcif_intr() 34 sh_mmcif_bitclr(MASK_MRBSYE, &host->regs->ce_int_mask); in sh_mmcif_intr() 37 sh_mmcif_write(~INT_CRSPE, &host->regs->ce_int); in sh_mmcif_intr() 38 sh_mmcif_bitclr(MASK_MCRSPE, &host->regs->ce_int_mask); in sh_mmcif_intr() 40 if (sh_mmcif_read(&host->regs->ce_cmd_set) & CMD_SET_RBSY) in sh_mmcif_intr() 44 sh_mmcif_write(~INT_BUFREN, &host->regs->ce_int); in sh_mmcif_intr() 45 sh_mmcif_bitclr(MASK_MBUFREN, &host->regs->ce_int_mask); in sh_mmcif_intr() [all …]
|
D | bcm2835_sdhost.c | 182 static void bcm2835_dumpregs(struct bcm2835_host *host) in bcm2835_dumpregs() argument 185 dev_dbg(dev, "SDCMD 0x%08x\n", readl(host->ioaddr + SDCMD)); in bcm2835_dumpregs() 186 dev_dbg(dev, "SDARG 0x%08x\n", readl(host->ioaddr + SDARG)); in bcm2835_dumpregs() 187 dev_dbg(dev, "SDTOUT 0x%08x\n", readl(host->ioaddr + SDTOUT)); in bcm2835_dumpregs() 188 dev_dbg(dev, "SDCDIV 0x%08x\n", readl(host->ioaddr + SDCDIV)); in bcm2835_dumpregs() 189 dev_dbg(dev, "SDRSP0 0x%08x\n", readl(host->ioaddr + SDRSP0)); in bcm2835_dumpregs() 190 dev_dbg(dev, "SDRSP1 0x%08x\n", readl(host->ioaddr + SDRSP1)); in bcm2835_dumpregs() 191 dev_dbg(dev, "SDRSP2 0x%08x\n", readl(host->ioaddr + SDRSP2)); in bcm2835_dumpregs() 192 dev_dbg(dev, "SDRSP3 0x%08x\n", readl(host->ioaddr + SDRSP3)); in bcm2835_dumpregs() 193 dev_dbg(dev, "SDHSTS 0x%08x\n", readl(host->ioaddr + SDHSTS)); in bcm2835_dumpregs() [all …]
|
D | sdhci.c | 22 static void sdhci_reset(struct sdhci_host *host, u8 mask) in sdhci_reset() argument 28 sdhci_writeb(host, mask, SDHCI_SOFTWARE_RESET); in sdhci_reset() 29 while (sdhci_readb(host, SDHCI_SOFTWARE_RESET) & mask) { in sdhci_reset() 40 static void sdhci_cmd_done(struct sdhci_host *host, struct mmc_cmd *cmd) in sdhci_cmd_done() argument 46 cmd->response[i] = sdhci_readl(host, in sdhci_cmd_done() 49 cmd->response[i] |= sdhci_readb(host, in sdhci_cmd_done() 53 cmd->response[0] = sdhci_readl(host, SDHCI_RESPONSE); in sdhci_cmd_done() 57 static void sdhci_transfer_pio(struct sdhci_host *host, struct mmc_data *data) in sdhci_transfer_pio() argument 64 *(u32 *)offs = sdhci_readl(host, SDHCI_BUFFER); in sdhci_transfer_pio() 66 sdhci_writel(host, *(u32 *)offs, SDHCI_BUFFER); in sdhci_transfer_pio() [all …]
|
D | exynos_dw_mmc.c | 38 struct dwmci_host host; member 47 static void exynos_dwmci_clksel(struct dwmci_host *host) in exynos_dwmci_clksel() argument 49 struct dwmci_exynos_priv_data *priv = host->priv; in exynos_dwmci_clksel() 51 dwmci_writel(host, DWMCI_CLKSEL, priv->sdr_timing); in exynos_dwmci_clksel() 54 unsigned int exynos_dwmci_get_clk(struct dwmci_host *host, uint freq) in exynos_dwmci_get_clk() argument 65 clk_div = ((dwmci_readl(host, DWMCI_CLKSEL) >> DWMCI_DIVRATIO_BIT) in exynos_dwmci_get_clk() 67 sclk = get_mmc_clk(host->dev_index); in exynos_dwmci_get_clk() 73 return sclk / clk_div / (host->div + 1); in exynos_dwmci_get_clk() 76 static void exynos_dwmci_board_init(struct dwmci_host *host) in exynos_dwmci_board_init() argument 78 struct dwmci_exynos_priv_data *priv = host->priv; in exynos_dwmci_board_init() [all …]
|
D | mxcmmc.c | 127 static struct mxcmci_host *host = &mxcmci_host; variable 129 static inline int mxcmci_use_dma(struct mxcmci_host *host) in mxcmci_use_dma() argument 131 return host->do_dma; in mxcmci_use_dma() 134 static void mxcmci_softreset(struct mxcmci_host *host) in mxcmci_softreset() argument 139 writel(STR_STP_CLK_RESET, &host->base->str_stp_clk); in mxcmci_softreset() 141 &host->base->str_stp_clk); in mxcmci_softreset() 144 writel(STR_STP_CLK_START_CLK, &host->base->str_stp_clk); in mxcmci_softreset() 146 writel(0xff, &host->base->res_to); in mxcmci_softreset() 149 static void mxcmci_setup_data(struct mxcmci_host *host, struct mmc_data *data) in mxcmci_setup_data() argument 155 host->data = data; in mxcmci_setup_data() [all …]
|
D | dw_mmc.c | 18 static int dwmci_wait_reset(struct dwmci_host *host, u32 value) in dwmci_wait_reset() argument 23 dwmci_writel(host, DWMCI_CTRL, value); in dwmci_wait_reset() 26 ctrl = dwmci_readl(host, DWMCI_CTRL); in dwmci_wait_reset() 44 static void dwmci_prepare_data(struct dwmci_host *host, in dwmci_prepare_data() argument 56 dwmci_wait_reset(host, DWMCI_CTRL_FIFO_RESET); in dwmci_prepare_data() 59 dwmci_writel(host, DWMCI_DBADDR, (ulong)cur_idmac); in dwmci_prepare_data() 83 ctrl = dwmci_readl(host, DWMCI_CTRL); in dwmci_prepare_data() 85 dwmci_writel(host, DWMCI_CTRL, ctrl); in dwmci_prepare_data() 87 ctrl = dwmci_readl(host, DWMCI_BMOD); in dwmci_prepare_data() 89 dwmci_writel(host, DWMCI_BMOD, ctrl); in dwmci_prepare_data() [all …]
|
D | xenon_sdhci.c | 121 struct sdhci_host host; member 131 static int xenon_mmc_phy_init(struct sdhci_host *host) in xenon_mmc_phy_init() argument 133 struct xenon_sdhci_priv *priv = host->mmc->priv; in xenon_mmc_phy_init() 139 var = sdhci_readl(host, EMMC_PHY_TIMING_ADJUST); in xenon_mmc_phy_init() 147 sdhci_writel(host, var, EMMC_PHY_TIMING_ADJUST); in xenon_mmc_phy_init() 153 var = sdhci_readl(host, SDHCI_CLOCK_CONTROL); in xenon_mmc_phy_init() 166 var = sdhci_readl(host, EMMC_PHY_TIMING_ADJUST); in xenon_mmc_phy_init() 168 sdhci_writel(host, var, EMMC_PHY_TIMING_ADJUST); in xenon_mmc_phy_init() 179 var = sdhci_readl(host, EMMC_PHY_TIMING_ADJUST); in xenon_mmc_phy_init() 199 static void armada_3700_soc_pad_voltage_set(struct sdhci_host *host) in armada_3700_soc_pad_voltage_set() argument [all …]
|
D | s5p_sdhci.c | 29 static void s5p_sdhci_set_control_reg(struct sdhci_host *host) in s5p_sdhci_set_control_reg() argument 39 sdhci_writel(host, SDHCI_CTRL4_DRIVE_MASK(0x3), SDHCI_CONTROL4); in s5p_sdhci_set_control_reg() 41 val = sdhci_readl(host, SDHCI_CONTROL2); in s5p_sdhci_set_control_reg() 49 sdhci_writel(host, val, SDHCI_CONTROL2); in s5p_sdhci_set_control_reg() 61 sdhci_writel(host, val, SDHCI_CONTROL3); in s5p_sdhci_set_control_reg() 69 ctrl = sdhci_readl(host, SDHCI_CONTROL2); in s5p_sdhci_set_control_reg() 72 sdhci_writel(host, ctrl, SDHCI_CONTROL2); in s5p_sdhci_set_control_reg() 75 static void s5p_set_clock(struct sdhci_host *host, u32 div) in s5p_set_clock() argument 78 set_mmc_clk(host->index, div); in s5p_set_clock() 86 static int s5p_sdhci_core_init(struct sdhci_host *host) in s5p_sdhci_core_init() argument [all …]
|
D | arm_pl180_mmci.c | 39 struct pl180_mmc_host *host = dev->priv; in wait_for_command_end() local 48 hoststatus = readl(&host->base->status) & statusmask; in wait_for_command_end() 51 writel(statusmask, &host->base->status_clear); in wait_for_command_end() 62 cmd->response[0] = readl(&host->base->response0); in wait_for_command_end() 63 cmd->response[1] = readl(&host->base->response1); in wait_for_command_end() 64 cmd->response[2] = readl(&host->base->response2); in wait_for_command_end() 65 cmd->response[3] = readl(&host->base->response3); in wait_for_command_end() 80 struct pl180_mmc_host *host = dev->priv; in do_command() local 90 writel((u32)cmd->cmdarg, &host->base->argument); in do_command() 92 writel(sdi_cmd, &host->base->command); in do_command() [all …]
|
D | zynq_sdhci.c | 27 struct sdhci_host *host; member 59 static void arasan_zynqmp_dll_reset(struct sdhci_host *host, u8 deviceid) in arasan_zynqmp_dll_reset() argument 64 clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL); in arasan_zynqmp_dll_reset() 66 sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL); in arasan_zynqmp_dll_reset() 73 while (!((clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL)) in arasan_zynqmp_dll_reset() 76 dev_err(mmc_dev(host->mmc), in arasan_zynqmp_dll_reset() 85 sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL); in arasan_zynqmp_dll_reset() 93 struct sdhci_host *host; in arasan_sdhci_execute_tuning() local 100 host = priv->host; in arasan_sdhci_execute_tuning() 103 ctrl = sdhci_readw(host, SDHCI_HOST_CTRL2); in arasan_sdhci_execute_tuning() [all …]
|
/external/autotest/server/hosts/ |
D | servo_repair.py | 23 def verify(self, host): argument 27 if host.is_in_lab() and host.job and host.job.in_lab: 28 host.update_image(wait_for_update=False) 44 def _get_config_val(host, config_file, attr): argument 57 attr_val = host.run(getboard, ignore_status=True).stdout 61 def _validate_attr(host, val, expected_val, attr, config_file): argument 87 def _get_config(self, host): argument 95 return '%s_%d' % (self.CONFIG_FILE, host.servo_port) 109 def verify(self, host): argument 120 if not host.is_cros_host(): [all …]
|
D | cros_repair.py | 76 def verify(self, host): argument 79 info = host.get_power_supply_info() 130 def verify(self, host): argument 137 rv = host.run(command=command, ignore_status=True) 152 def verify(self, host): argument 159 output = host.run(command=command, ignore_status=True).stdout 166 output = host.run(command=command, ignore_status=True).stdout 192 def verify(self, host): argument 194 result = host.run('test -f %s' % autoupdater.PROVISION_FAILED, 209 def verify(self, host): argument [all …]
|
D | cros_label.py | 27 def _parse_lsb_output(host): argument 34 run_method=host.run) 45 def generate_labels(self, host): argument 51 board = host.host_info_store.get().board 54 for label in host._afe_host.labels: 58 return [_parse_lsb_output(host).board] 66 def generate_labels(self, host): argument 69 model = host.host_info_store.get().model 72 for label in host._afe_host.labels: 76 lsb_output = _parse_lsb_output(host) [all …]
|
/external/openssh/regress/ |
D | keygen-knownhosts.sh | 9 for x in host-a host-b host-c host-d host-e host-f host-a2 host-b2; do 16 host-a|host-b) printf "$x " ;; 17 host-c) printf "@cert-authority $x " ;; 18 host-d) printf "@revoked $x " ;; 19 host-e) printf "host-e* " ;; 20 host-f) printf "host-f,host-g,host-h " ;; 21 host-a2) printf "host-a " ;; 22 host-b2) printf "host-b " ;; 67 expect_key host-a host-a host-a 2 68 expect_key host-a host-a host-a2 20 [all …]
|
/external/u-boot/drivers/mtd/nand/ |
D | mxc_nand.c | 36 static struct mxc_nand_host *host = &mxc_host; variable 112 static void wait_op_done(struct mxc_nand_host *host, int max_retries, argument 119 tmp = readnfc(&host->regs->config2); 122 writenfc(tmp, &host->regs->config2); 124 tmp = readnfc(&host->ip_regs->ipc); 127 writenfc(tmp, &host->ip_regs->ipc); 143 static void send_cmd(struct mxc_nand_host *host, uint16_t cmd) argument 147 writenfc(cmd, &host->regs->flash_cmd); 148 writenfc(NFC_CMD, &host->regs->operation); 151 wait_op_done(host, TROP_US_DELAY, cmd); [all …]
|
D | atmel_nand.c | 106 static void __iomem *pmecc_get_alpha_to(struct atmel_nand_host *host) in pmecc_get_alpha_to() argument 110 table_size = host->pmecc_sector_size == 512 ? in pmecc_get_alpha_to() 114 return host->pmecc_rom_base + host->pmecc_index_table_offset + in pmecc_get_alpha_to() 118 static void pmecc_data_free(struct atmel_nand_host *host) in pmecc_data_free() argument 120 free(host->pmecc_partial_syn); in pmecc_data_free() 121 free(host->pmecc_si); in pmecc_data_free() 122 free(host->pmecc_lmu); in pmecc_data_free() 123 free(host->pmecc_smu); in pmecc_data_free() 124 free(host->pmecc_mu); in pmecc_data_free() 125 free(host->pmecc_dmu); in pmecc_data_free() [all …]
|
/external/u-boot/scripts/ |
D | Makefile.host | 28 host-csingle := $(foreach m,$(__hostprogs), \ 32 host-cmulti := $(foreach m,$(__hostprogs),\ 36 host-shared := $(foreach m,$(__hostprogs),\ 40 host-cobjs := $(sort $(foreach m,$(__hostprogs),$($(m)-objs))) 45 host-cxxmulti := $(foreach m,$(__hostprogs),$(if $($(m)-cxxobjs),$(m))) 48 host-cxxobjs := $(sort $(foreach m,$(host-cxxmulti),$($(m)-cxxobjs))) 53 host-objdirs := $(dir $(__hostprogs) $(host-cobjs) $(host-cxxobjs)) 55 host-objdirs := $(strip $(sort $(filter-out ./,$(host-objdirs)))) 59 host-csingle := $(addprefix $(obj)/,$(host-csingle)) 60 host-cmulti := $(addprefix $(obj)/,$(host-cmulti)) [all …]
|
/external/autotest/server/ |
D | crashcollect.py | 32 def __init__(self, host): argument 33 self.host = host 41 self.tmpdir = (self.host 47 self.host.run('rm -rf %s' % (pipes.quote(self.tmpdir),)) 50 def _collect_log_file_with_summary(host, source_path, dest_path): argument 58 summary_created = result_tools_runner.run_on_client(host, source_path) 62 host.get_file(source_path, dest_path, preserve_perm=False) 74 host, source_path, dest_path, 78 def collect_log_file(host, log_path, dest_path, use_tmp=False, clean=False, argument 104 if not host.check_cached_up_status(): [all …]
|
D | autotest.py | 96 def __init__(self, host=None): argument 97 self.host = host 114 def get_client_autodir_paths(cls, host): argument 120 def get_installed_autodir(cls, host): argument 126 autodir = host.get_autodir() 131 for path in Autotest.get_client_autodir_paths(host): 134 host.run('test -x %s' % utils.sh_escape(autotest_binary)) 135 host.run('test -w %s' % utils.sh_escape(path)) 140 host.hostname) 145 def get_install_dir(cls, host): argument [all …]
|
D | test.py | 66 host, at, outputdir = self._install() 69 if not host.is_client_install_supported: 75 host.erase_dir_contents(outputdir) 76 func(self, mytest, host, at, outputdir) 95 self.host = None 106 if not self.host: 108 self.host = hosts.create_target_machine( 112 if not self.host.is_client_install_supported: 113 return self.host, None, None 116 self.host.delete_all_tmp_dirs(self.AUTOTEST_PARENT_DIR) [all …]
|
/external/u-boot/drivers/usb/musb-new/ |
D | musb_uboot.c | 65 struct musb *host = hcd->hcd_priv; in submit_urb() local 79 host->isr(0, host); in submit_urb() 89 static int _musb_submit_control_msg(struct musb_host_data *host, in _musb_submit_control_msg() argument 93 construct_urb(&host->urb, &host->hep, dev, USB_ENDPOINT_XFER_CONTROL, in _musb_submit_control_msg() 98 dev->speed = host->host_speed; in _musb_submit_control_msg() 100 return submit_urb(&host->hcd, &host->urb); in _musb_submit_control_msg() 103 static int _musb_submit_bulk_msg(struct musb_host_data *host, in _musb_submit_bulk_msg() argument 106 construct_urb(&host->urb, &host->hep, dev, USB_ENDPOINT_XFER_BULK, in _musb_submit_bulk_msg() 108 return submit_urb(&host->hcd, &host->urb); in _musb_submit_bulk_msg() 111 static int _musb_submit_int_msg(struct musb_host_data *host, in _musb_submit_int_msg() argument [all …]
|
/external/u-boot/include/ |
D | sdhci.h | 240 u32 (*read_l)(struct sdhci_host *host, int reg); 241 u16 (*read_w)(struct sdhci_host *host, int reg); 242 u8 (*read_b)(struct sdhci_host *host, int reg); 243 void (*write_l)(struct sdhci_host *host, u32 val, int reg); 244 void (*write_w)(struct sdhci_host *host, u16 val, int reg); 245 void (*write_b)(struct sdhci_host *host, u8 val, int reg); 247 int (*get_cd)(struct sdhci_host *host); 248 void (*set_control_reg)(struct sdhci_host *host); 249 void (*set_ios_post)(struct sdhci_host *host); 250 void (*set_clock)(struct sdhci_host *host, u32 div); [all …]
|
/external/iperf3/ |
D | test_commands.sh | 17 host=$1 20 ./src/iperf3 -c $host -V -t 5 -T "test1" 21 ./src/iperf3 -c $host -u -V -t 5 23 ./src/iperf3 -c $host -i .3 -O 2 -t 5 25 ./src/iperf3 -c $host -i 1 -J -t 5 27 ./src/iperf3 -c $host -4 -t 5 28 ./src/iperf3 -c $host -4 -u -t 5 30 ./src/iperf3 -c $host -6 -t 5 31 ./src/iperf3 -c $host -6 -u -t 5 33 ./src/iperf3 -c $host -P 3 -t 5 [all …]
|
/external/autotest/site_utils/deployment/prepare/ |
D | dut.py | 71 host = hosts.create_host(machine_dict) 73 **servo_host.get_servo_args_for_host(host)) 75 host.set_servo_host(servohost) 76 host.servo.uart_logs_dir = logs_dir 78 yield host 80 host.close() 83 def download_image_to_servo_usb(host, build): argument 89 host.servo.image_to_servo_usb(host.stage_image_for_servo(build)) 92 def install_test_image(host): argument 100 host.servo_install() [all …]
|