Home
last modified time | relevance | path

Searched refs:ios (Results 1 – 80 of 80) sorted by relevance

/linux-4.4.14/fs/exofs/
Dore.c124 static u8 *_ios_cred(struct ore_io_state *ios, unsigned index) in _ios_cred() argument
126 return ios->oc->comps[index & ios->oc->single_comp].cred; in _ios_cred()
129 static struct osd_obj_id *_ios_obj(struct ore_io_state *ios, unsigned index) in _ios_obj() argument
131 return &ios->oc->comps[index & ios->oc->single_comp].obj; in _ios_obj()
134 static struct osd_dev *_ios_od(struct ore_io_state *ios, unsigned index) in _ios_od() argument
137 ios->oc->first_dev, ios->oc->numdevs, index, in _ios_od()
138 ios->oc->ods); in _ios_od()
140 return ore_comp_dev(ios->oc, index); in _ios_od()
148 struct ore_io_state *ios; in _ore_get_io_state() local
152 struct ore_io_state ios; in _ore_get_io_state() member
[all …]
Dore_raid.c319 static int _alloc_read_4_write(struct ore_io_state *ios) in _alloc_read_4_write() argument
321 struct ore_layout *layout = ios->layout; in _alloc_read_4_write()
326 unsigned sgs_per_dev = ios->sp2d->pages_in_unit + 2; in _alloc_read_4_write()
328 ret = _ore_get_io_state(layout, ios->oc, in _alloc_read_4_write()
330 sgs_per_dev, 0, &ios->ios_read_4_write); in _alloc_read_4_write()
337 static int _add_to_r4w(struct ore_io_state *ios, struct ore_striping_info *si, in _add_to_r4w() argument
344 (ios->layout->group_width * ios->layout->mirrors_p1)); in _add_to_r4w()
348 if (!ios->ios_read_4_write) { in _add_to_r4w()
349 int ret = _alloc_read_4_write(ios); in _add_to_r4w()
355 read_ios = ios->ios_read_4_write; in _add_to_r4w()
[all …]
Dinode.c53 struct ore_io_state *ios; member
75 pcol->ios = NULL; in _pcol_init()
94 pcol->ios = NULL; in _pcol_reset()
131 if (pcol->ios) { in pcol_free()
132 ore_put_io_state(pcol->ios); in pcol_free()
133 pcol->ios = NULL; in pcol_free()
200 int ret = ore_check_io(pcol->ios, NULL); in __readpages_done()
243 static void readpages_done(struct ore_io_state *ios, void *p) in readpages_done() argument
268 static int _maybe_not_all_in_one_io(struct ore_io_state *ios, in _maybe_not_all_in_one_io() argument
272 BUG_ON(pcol_src->nr_pages < ios->nr_pages); in _maybe_not_all_in_one_io()
[all …]
Dore_raid.h35 int _ore_post_alloc_raid_stuff(struct ore_io_state *ios);
36 void _ore_free_raid_stuff(struct ore_io_state *ios);
40 int _ore_add_parity_unit(struct ore_io_state *ios, struct ore_striping_info *si,
58 int _ore_add_stripe_unit(struct ore_io_state *ios, unsigned *cur_pg,
61 int _ore_read_mirror(struct ore_io_state *ios, unsigned cur_comp);
62 int ore_io_execute(struct ore_io_state *ios);
Dsuper.c271 struct ore_io_state *ios; in __sbi_read_stats() local
274 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); in __sbi_read_stats()
280 ios->in_attr = attrs; in __sbi_read_stats()
281 ios->in_attr_len = ARRAY_SIZE(attrs); in __sbi_read_stats()
283 ret = ore_read(ios); in __sbi_read_stats()
289 ret = extract_attr_from_ios(ios, &attrs[0]); in __sbi_read_stats()
310 ore_put_io_state(ios); in __sbi_read_stats()
314 static void stats_done(struct ore_io_state *ios, void *p) in stats_done() argument
316 ore_put_io_state(ios); in stats_done()
326 struct ore_io_state *ios; in exofs_sbi_write_stats() local
[all …]
/linux-4.4.14/drivers/mmc/core/
Ddebugfs.c56 struct mmc_ios *ios = &host->ios; in mmc_ios_show() local
59 seq_printf(s, "clock:\t\t%u Hz\n", ios->clock); in mmc_ios_show()
62 seq_printf(s, "vdd:\t\t%u ", ios->vdd); in mmc_ios_show()
63 if ((1 << ios->vdd) & MMC_VDD_165_195) in mmc_ios_show()
65 else if (ios->vdd < (ARRAY_SIZE(vdd_str) - 1) in mmc_ios_show()
66 && vdd_str[ios->vdd] && vdd_str[ios->vdd + 1]) in mmc_ios_show()
67 seq_printf(s, "(%s ~ %s V)\n", vdd_str[ios->vdd], in mmc_ios_show()
68 vdd_str[ios->vdd + 1]); in mmc_ios_show()
72 switch (ios->bus_mode) { in mmc_ios_show()
83 seq_printf(s, "bus mode:\t%u (%s)\n", ios->bus_mode, str); in mmc_ios_show()
[all …]
Dcore.c844 if (card->host->ios.clock) in mmc_set_data_timeout()
846 (card->host->ios.clock / 1000); in mmc_set_data_timeout()
1036 struct mmc_ios *ios = &host->ios; in mmc_set_ios() local
1040 mmc_hostname(host), ios->clock, ios->bus_mode, in mmc_set_ios()
1041 ios->power_mode, ios->chip_select, ios->vdd, in mmc_set_ios()
1042 ios->bus_width, ios->timing); in mmc_set_ios()
1044 host->ops->set_ios(host, ios); in mmc_set_ios()
1052 host->ios.chip_select = mode; in mmc_set_chip_select()
1067 host->ios.clock = hz; in mmc_set_clock()
1100 host->ios.bus_mode = mode; in mmc_set_bus_mode()
[all …]
Dmmc.c787 switch (1 << host->ios.vdd) { in __mmc_select_powerclass()
789 if (host->ios.clock <= MMC_HIGH_26_MAX_DTR) in __mmc_select_powerclass()
791 else if (host->ios.clock <= MMC_HIGH_52_MAX_DTR) in __mmc_select_powerclass()
795 else if (host->ios.clock <= MMC_HS200_MAX_DTR) in __mmc_select_powerclass()
807 if (host->ios.clock <= MMC_HIGH_26_MAX_DTR) in __mmc_select_powerclass()
809 else if (host->ios.clock <= MMC_HIGH_52_MAX_DTR) in __mmc_select_powerclass()
813 else if (host->ios.clock <= MMC_HS200_MAX_DTR) in __mmc_select_powerclass()
852 bus_width = host->ios.bus_width; in mmc_select_powerclass()
991 bus_width = host->ios.bus_width; in mmc_select_hs_ddr()
1075 host->ios.bus_width == MMC_BUS_WIDTH_8)) in mmc_select_hs400()
[all …]
Dmmc_ops.c597 struct mmc_ios *ios = &host->ios; in mmc_send_tuning() local
602 if (ios->bus_width == MMC_BUS_WIDTH_8) { in mmc_send_tuning()
605 } else if (ios->bus_width == MMC_BUS_WIDTH_4) { in mmc_send_tuning()
Dhost.c118 if (host->ios.timing == MMC_TIMING_MMC_HS400) { in mmc_retune()
126 host->ops->prepare_hs400_tuning(host, &host->ios); in mmc_retune()
Dsd.c499 voltage = 1 << host->ios.vdd; in sd_get_host_max_current()
629 (card->host->ios.timing == MMC_TIMING_UHS_SDR50 || in mmc_sd_init_uhs_card()
630 card->host->ios.timing == MMC_TIMING_UHS_DDR50 || in mmc_sd_init_uhs_card()
631 card->host->ios.timing == MMC_TIMING_UHS_SDR104)) { in mmc_sd_init_uhs_card()
641 if (err && card->host->ios.timing == MMC_TIMING_UHS_DDR50) { in mmc_sd_init_uhs_card()
Dsdio.c538 ((card->host->ios.timing == MMC_TIMING_UHS_SDR50) || in mmc_sdio_init_uhs_card()
539 (card->host->ios.timing == MMC_TIMING_UHS_SDR104))) in mmc_sdio_init_uhs_card()
/linux-4.4.14/include/scsi/
Dosd_ore.h109 typedef void (*ore_io_done_fn)(struct ore_io_state *ios, void *private);
180 struct ore_io_state **ios);
182 struct ore_io_state **ios);
183 void ore_put_io_state(struct ore_io_state *ios);
185 typedef void (*ore_on_dev_error)(struct ore_io_state *ios, struct ore_dev *od,
188 int ore_check_io(struct ore_io_state *ios, ore_on_dev_error rep);
190 int ore_create(struct ore_io_state *ios);
191 int ore_remove(struct ore_io_state *ios);
192 int ore_write(struct ore_io_state *ios);
193 int ore_read(struct ore_io_state *ios);
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dvvp_io.c104 const struct cl_io_slice *ios) in vvp_io_fault_iter_init() argument
106 struct vvp_io *vio = cl2vvp_io(env, ios); in vvp_io_fault_iter_init()
107 struct inode *inode = ccc_object_inode(ios->cis_obj); in vvp_io_fault_iter_init()
110 file_inode(cl2ccc_io(env, ios)->cui_fd->fd_file)); in vvp_io_fault_iter_init()
115 static void vvp_io_fini(const struct lu_env *env, const struct cl_io_slice *ios) in vvp_io_fini() argument
117 struct cl_io *io = ios->cis_io; in vvp_io_fini()
119 struct ccc_io *cio = cl2ccc_io(env, ios); in vvp_io_fini()
177 const struct cl_io_slice *ios) in vvp_io_fault_fini() argument
179 struct cl_io *io = ios->cis_io; in vvp_io_fault_fini()
189 vvp_io_fini(env, ios); in vvp_io_fault_fini()
[all …]
/linux-4.4.14/fs/nfs/objlayout/
Dobjio_osd.c82 struct ore_io_state *ios; member
300 struct ore_io_state *ios; in objio_alloc_io_state() local
315 offset, count, &ios); in objio_alloc_io_state()
321 ios->pages = pages; in objio_alloc_io_state()
322 ios->pgbase = pgbase; in objio_alloc_io_state()
323 ios->private = aos; in objio_alloc_io_state()
324 BUG_ON(ios->nr_pages > (pgbase + count + PAGE_SIZE - 1) >> PAGE_SHIFT); in objio_alloc_io_state()
327 aos->objios.ios = ios; in objio_alloc_io_state()
336 ore_put_io_state(objios->ios); in objio_free_result()
370 static void __on_dev_error(struct ore_io_state *ios, in __on_dev_error() argument
[all …]
/linux-4.4.14/drivers/net/wireless/rsi/
Drsi_91x_sdio.c178 host->ios.vdd = bit; in rsi_reset_card()
179 host->ios.chip_select = MMC_CS_DONTCARE; in rsi_reset_card()
180 host->ios.bus_mode = MMC_BUSMODE_OPENDRAIN; in rsi_reset_card()
181 host->ios.power_mode = MMC_POWER_UP; in rsi_reset_card()
182 host->ios.bus_width = MMC_BUS_WIDTH_1; in rsi_reset_card()
183 host->ios.timing = MMC_TIMING_LEGACY; in rsi_reset_card()
184 host->ops->set_ios(host, &host->ios); in rsi_reset_card()
192 host->ios.clock = host->f_min; in rsi_reset_card()
193 host->ios.power_mode = MMC_POWER_ON; in rsi_reset_card()
194 host->ops->set_ios(host, &host->ios); in rsi_reset_card()
[all …]
/linux-4.4.14/drivers/mmc/host/
Ddw_mmc-k3.c35 static void dw_mci_k3_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_k3_set_ios() argument
39 ret = clk_set_rate(host->ciu_clk, ios->clock); in dw_mci_k3_set_ios()
41 dev_warn(host->dev, "failed to set rate %uHz\n", ios->clock); in dw_mci_k3_set_ios()
67 static int dw_mci_hi6220_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) in dw_mci_hi6220_switch_voltage() argument
81 if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_330) { in dw_mci_hi6220_switch_voltage()
86 } else if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_180) { in dw_mci_hi6220_switch_voltage()
114 static void dw_mci_hi6220_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_hi6220_set_ios() argument
119 clock = (ios->clock <= 25000000) ? 25000000 : ios->clock; in dw_mci_hi6220_set_ios()
Ddw_mmc-rockchip.c41 static void dw_mci_rk3288_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_rk3288_set_ios() argument
48 if (ios->clock == 0) in dw_mci_rk3288_set_ios()
61 if (ios->bus_width == MMC_BUS_WIDTH_8 && in dw_mci_rk3288_set_ios()
62 ios->timing == MMC_TIMING_MMC_DDR52) in dw_mci_rk3288_set_ios()
63 cclkin = 2 * ios->clock * RK3288_CLKGEN_DIV; in dw_mci_rk3288_set_ios()
65 cclkin = ios->clock * RK3288_CLKGEN_DIV; in dw_mci_rk3288_set_ios()
69 dev_warn(host->dev, "failed to set rate %uHz\n", ios->clock); in dw_mci_rk3288_set_ios()
Dbfin_sdh.c356 static void sdh_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdh_set_ios() argument
370 switch (ios->bus_width) { in sdh_set_ios()
396 host->power_mode = ios->power_mode; in sdh_set_ios()
398 if (ios->bus_mode == MMC_BUSMODE_OPENDRAIN) { in sdh_set_ios()
405 if (ios->power_mode != MMC_POWER_OFF) in sdh_set_ios()
413 if (ios->bus_mode == MMC_BUSMODE_OPENDRAIN) in sdh_set_ios()
419 if (ios->power_mode != MMC_POWER_OFF) in sdh_set_ios()
428 if (ios->power_mode == MMC_POWER_ON && ios->clock) { in sdh_set_ios()
430 clk_div = (get_sclk() / ios->clock - 1) / 2; in sdh_set_ios()
440 if (ios->power_mode == MMC_POWER_ON) in sdh_set_ios()
[all …]
Dsdhci.c226 static void sdhci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios);
247 sdhci_set_ios(host->mmc, &host->mmc->ios); in sdhci_init()
1464 static void sdhci_do_set_ios(struct sdhci_host *host, struct mmc_ios *ios) in sdhci_do_set_ios() argument
1475 ios->power_mode == MMC_POWER_OFF) in sdhci_do_set_ios()
1484 if (ios->power_mode == MMC_POWER_OFF) { in sdhci_do_set_ios()
1490 (ios->power_mode == MMC_POWER_UP) && in sdhci_do_set_ios()
1494 if (!ios->clock || ios->clock != host->clock) { in sdhci_do_set_ios()
1495 host->ops->set_clock(host, ios->clock); in sdhci_do_set_ios()
1496 host->clock = ios->clock; in sdhci_do_set_ios()
1511 sdhci_set_power(host, ios->power_mode, ios->vdd); in sdhci_do_set_ios()
[all …]
Domap_hsmmc.c252 struct mmc_ios *ios = &mmc->ios; in omap_hsmmc_enable_supply() local
255 ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in omap_hsmmc_enable_supply()
616 static u16 calc_divisor(struct omap_hsmmc_host *host, struct mmc_ios *ios) in calc_divisor() argument
620 if (ios->clock) { in calc_divisor()
621 dsor = DIV_ROUND_UP(clk_get_rate(host->fclk), ios->clock); in calc_divisor()
631 struct mmc_ios *ios = &host->mmc->ios; in omap_hsmmc_set_clock() local
636 dev_vdbg(mmc_dev(host->mmc), "Set clock to %uHz\n", ios->clock); in omap_hsmmc_set_clock()
642 clkdiv = calc_divisor(host, ios); in omap_hsmmc_set_clock()
664 (ios->timing != MMC_TIMING_MMC_DDR52) && in omap_hsmmc_set_clock()
665 (ios->timing != MMC_TIMING_UHS_DDR50) && in omap_hsmmc_set_clock()
[all …]
Dmmci.c361 if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_4) in mmci_set_clkreg()
363 if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_8) in mmci_set_clkreg()
366 if (host->mmc->ios.timing == MMC_TIMING_UHS_DDR50 || in mmci_set_clkreg()
367 host->mmc->ios.timing == MMC_TIMING_MMC_DDR52) in mmci_set_clkreg()
840 if (host->mmc->ios.timing == MMC_TIMING_UHS_DDR50 || in mmci_start_data()
841 host->mmc->ios.timing == MMC_TIMING_MMC_DDR52) in mmci_start_data()
1313 static void mmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mmci_set_ios() argument
1324 host->plat->ios_handler(mmc_dev(mmc), ios)) in mmci_set_ios()
1327 switch (ios->power_mode) { in mmci_set_ios()
1340 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in mmci_set_ios()
[all …]
Dmvsdio.c603 static void mvsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mvsd_set_ios() argument
609 if (ios->power_mode == MMC_POWER_UP) in mvsd_set_ios()
612 if (ios->clock == 0) { in mvsd_set_ios()
617 } else if (ios->clock != host->clock) { in mvsd_set_ios()
618 u32 m = DIV_ROUND_UP(host->base_clock, ios->clock) - 1; in mvsd_set_ios()
622 host->clock = ios->clock; in mvsd_set_ios()
625 ios->clock, host->base_clock / (m+1), m); in mvsd_set_ios()
636 if (ios->bus_mode == MMC_BUSMODE_PUSHPULL) in mvsd_set_ios()
639 if (ios->bus_width == MMC_BUS_WIDTH_4) in mvsd_set_ios()
650 if (ios->timing == MMC_TIMING_MMC_HS || in mvsd_set_ios()
[all …]
Dpxamci.c469 static void pxamci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in pxamci_set_ios() argument
473 if (ios->clock) { in pxamci_set_ios()
475 unsigned int clk = rate / ios->clock; in pxamci_set_ios()
480 if (ios->clock == 26000000) { in pxamci_set_ios()
493 if (rate / clk > ios->clock) in pxamci_set_ios()
509 if (host->power_mode != ios->power_mode) { in pxamci_set_ios()
512 host->power_mode = ios->power_mode; in pxamci_set_ios()
514 ret = pxamci_set_power(host, ios->power_mode, ios->vdd); in pxamci_set_ios()
526 if (ios->power_mode == MMC_POWER_ON) in pxamci_set_ios()
530 if (ios->bus_width == MMC_BUS_WIDTH_4) in pxamci_set_ios()
Dtifm_sd.c797 static void tifm_sd_ios(struct mmc_host *mmc, struct mmc_ios *ios) in tifm_sd_ios() argument
808 ios->clock, ios->vdd, ios->bus_mode, ios->chip_select, in tifm_sd_ios()
809 ios->power_mode, ios->bus_width); in tifm_sd_ios()
811 if (ios->bus_width == MMC_BUS_WIDTH_4) { in tifm_sd_ios()
820 if (ios->clock) { in tifm_sd_ios()
821 clk_div1 = 20000000 / ios->clock; in tifm_sd_ios()
825 clk_div2 = 24000000 / ios->clock; in tifm_sd_ios()
829 if ((20000000 / clk_div1) > ios->clock) in tifm_sd_ios()
831 if ((24000000 / clk_div2) > ios->clock) in tifm_sd_ios()
855 host->open_drain = (ios->bus_mode == MMC_BUSMODE_OPENDRAIN); in tifm_sd_ios()
Dtoshsd.c81 static void __toshsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in __toshsd_set_ios() argument
85 if (ios->clock) { in __toshsd_set_ios()
89 while (ios->clock < HCLK / div) in __toshsd_set_ios()
108 switch (ios->power_mode) { in __toshsd_set_ios()
125 switch (ios->bus_width) { in __toshsd_set_ios()
360 __toshsd_set_ios(host->mmc, &host->mmc->ios); in toshsd_irq()
527 static void toshsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in toshsd_set_ios() argument
533 __toshsd_set_ios(mmc, ios); in toshsd_set_ios()
Ddavinci_mmc.c683 static void calculate_clk_divider(struct mmc_host *mmc, struct mmc_ios *ios) in calculate_clk_divider() argument
689 if (ios->bus_mode == MMC_BUSMODE_OPENDRAIN) { in calculate_clk_divider()
709 mmc_push_pull_freq = calculate_freq_for_card(host, ios->clock); in calculate_clk_divider()
729 static void mmc_davinci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mmc_davinci_set_ios() argument
737 ios->clock, ios->bus_mode, ios->power_mode, in mmc_davinci_set_ios()
738 ios->vdd); in mmc_davinci_set_ios()
740 switch (ios->power_mode) { in mmc_davinci_set_ios()
751 switch (ios->bus_width) { in mmc_davinci_set_ios()
782 calculate_clk_divider(mmc, ios); in mmc_davinci_set_ios()
784 host->bus_mode = ios->bus_mode; in mmc_davinci_set_ios()
[all …]
Dusdhi6rol0.c719 static void usdhi6_clk_set(struct usdhi6_host *host, struct mmc_ios *ios) in usdhi6_clk_set() argument
721 unsigned long rate = ios->clock; in usdhi6_clk_set()
742 if (ios->timing != MMC_TIMING_UHS_DDR50) { in usdhi6_clk_set()
786 static void usdhi6_set_power(struct usdhi6_host *host, struct mmc_ios *ios) in usdhi6_set_power() argument
793 ios->power_mode ? ios->vdd : 0); in usdhi6_set_power()
810 static void usdhi6_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in usdhi6_set_ios() argument
817 ios->clock, ios->vdd, ios->power_mode, ios->bus_width, ios->timing); in usdhi6_set_ios()
819 switch (ios->power_mode) { in usdhi6_set_ios()
821 usdhi6_set_power(host, ios); in usdhi6_set_ios()
833 usdhi6_set_power(host, ios); in usdhi6_set_ios()
[all …]
Dmmc_spi.c1181 static void mmc_spi_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mmc_spi_set_ios() argument
1185 if (host->power_mode != ios->power_mode) { in mmc_spi_set_ios()
1191 mmc_powerstring(ios->power_mode), in mmc_spi_set_ios()
1192 ios->vdd, in mmc_spi_set_ios()
1199 switch (ios->power_mode) { in mmc_spi_set_ios()
1203 ios->vdd); in mmc_spi_set_ios()
1204 if (ios->power_mode == MMC_POWER_UP) in mmc_spi_set_ios()
1210 if (ios->power_mode == MMC_POWER_ON) in mmc_spi_set_ios()
1222 if (canpower && ios->power_mode == MMC_POWER_OFF) { in mmc_spi_set_ios()
1256 host->power_mode = ios->power_mode; in mmc_spi_set_ios()
[all …]
Dtmio_mmc_pio.c765 if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_4) { in tmio_mmc_start_data()
919 static void tmio_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in tmio_mmc_set_ios() argument
935 ios->clock, ios->power_mode); in tmio_mmc_set_ios()
953 switch (ios->power_mode) { in tmio_mmc_set_ios()
959 tmio_mmc_set_clock(host, ios->clock); in tmio_mmc_set_ios()
960 tmio_mmc_power_on(host, ios->vdd); in tmio_mmc_set_ios()
962 tmio_mmc_set_bus_width(host, ios->bus_width); in tmio_mmc_set_ios()
965 tmio_mmc_set_clock(host, ios->clock); in tmio_mmc_set_ios()
967 tmio_mmc_set_bus_width(host, ios->bus_width); in tmio_mmc_set_ios()
977 ios->clock, ios->power_mode); in tmio_mmc_set_ios()
[all …]
Ddw_mmc-exynos.c283 static void dw_mci_exynos_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_exynos_set_ios() argument
286 unsigned int wanted = ios->clock; in dw_mci_exynos_set_ios()
287 u32 timing = ios->timing, clksel; in dw_mci_exynos_set_ios()
299 if (ios->bus_width == MMC_BUS_WIDTH_8) in dw_mci_exynos_set_ios()
481 struct mmc_ios *ios) in dw_mci_exynos_prepare_hs400_tuning() argument
486 dw_mci_exynos_adjust_clock(host, (ios->clock) << 1); in dw_mci_exynos_prepare_hs400_tuning()
Dsunxi-mmc.c640 struct mmc_ios *ios) in sunxi_mmc_clk_set_rate() argument
645 rate = clk_round_rate(host->clk_mmc, ios->clock); in sunxi_mmc_clk_set_rate()
647 ios->clock, rate); in sunxi_mmc_clk_set_rate()
674 if (ios->timing == MMC_TIMING_UHS_DDR50) { in sunxi_mmc_clk_set_rate()
691 static void sunxi_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sunxi_mmc_set_ios() argument
697 switch (ios->power_mode) { in sunxi_mmc_set_ios()
702 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in sunxi_mmc_set_ios()
719 switch (ios->bus_width) { in sunxi_mmc_set_ios()
733 if (ios->timing == MMC_TIMING_UHS_DDR50) in sunxi_mmc_set_ios()
740 if (ios->clock && ios->power_mode) { in sunxi_mmc_set_ios()
[all …]
Drtsx_pci_sdmmc.c1050 static void sdmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdmmc_set_ios() argument
1065 sd_set_bus_width(host, ios->bus_width); in sdmmc_set_ios()
1066 sd_set_power_mode(host, ios->power_mode); in sdmmc_set_ios()
1067 sd_set_timing(host, ios->timing); in sdmmc_set_ios()
1072 switch (ios->timing) { in sdmmc_set_ios()
1089 host->initial_mode = (ios->clock <= 1000000) ? true : false; in sdmmc_set_ios()
1091 host->clock = ios->clock; in sdmmc_set_ios()
1092 rtsx_pci_switch_clock(pcr, ios->clock, host->ssc_depth, in sdmmc_set_ios()
1221 static int sdmmc_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) in sdmmc_switch_voltage() argument
1229 __func__, ios->signal_voltage); in sdmmc_switch_voltage()
[all …]
Ds3cmci.c1210 static void s3cmci_set_clk(struct s3cmci_host *host, struct mmc_ios *ios) in s3cmci_set_clk() argument
1218 if (host->real_rate <= ios->clock) in s3cmci_set_clk()
1229 if (ios->clock == 0) in s3cmci_set_clk()
1233 static void s3cmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in s3cmci_set_ios() argument
1242 switch (ios->power_mode) { in s3cmci_set_ios()
1250 host->pdata->set_power(ios->power_mode, ios->vdd); in s3cmci_set_ios()
1265 host->pdata->set_power(ios->power_mode, ios->vdd); in s3cmci_set_ios()
1270 s3cmci_set_clk(host, ios); in s3cmci_set_ios()
1273 if (ios->clock) in s3cmci_set_ios()
1280 if ((ios->power_mode == MMC_POWER_ON) || in s3cmci_set_ios()
[all …]
Domap.c1126 static int mmc_omap_calc_divisor(struct mmc_host *mmc, struct mmc_ios *ios) in mmc_omap_calc_divisor() argument
1133 if (ios->clock == 0) in mmc_omap_calc_divisor()
1136 dsor = func_clk_rate / ios->clock; in mmc_omap_calc_divisor()
1140 if (func_clk_rate / dsor > ios->clock) in mmc_omap_calc_divisor()
1148 if (ios->bus_width == MMC_BUS_WIDTH_4) in mmc_omap_calc_divisor()
1154 static void mmc_omap_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mmc_omap_set_ios() argument
1163 dsor = mmc_omap_calc_divisor(mmc, ios); in mmc_omap_set_ios()
1165 if (ios->vdd != slot->vdd) in mmc_omap_set_ios()
1166 slot->vdd = ios->vdd; in mmc_omap_set_ios()
1169 switch (ios->power_mode) { in mmc_omap_set_ios()
[all …]
Dvia-sdmmc.c719 static void via_sdc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in via_sdc_set_ios() argument
735 if (ios->bus_width == MMC_BUS_WIDTH_1) in via_sdc_set_ios()
740 if (ios->power_mode == MMC_POWER_OFF) in via_sdc_set_ios()
745 if (ios->timing == MMC_TIMING_SD_HS) in via_sdc_set_ios()
753 if (ios->clock >= 48000000) in via_sdc_set_ios()
755 else if (ios->clock >= 33000000) in via_sdc_set_ios()
757 else if (ios->clock >= 24000000) in via_sdc_set_ios()
759 else if (ios->clock >= 16000000) in via_sdc_set_ios()
761 else if (ios->clock >= 12000000) in via_sdc_set_ios()
763 else if (ios->clock >= 8000000) in via_sdc_set_ios()
[all …]
Dsh_mmcif.c1067 static void sh_mmcif_set_power(struct sh_mmcif_host *host, struct mmc_ios *ios) in sh_mmcif_set_power() argument
1074 ios->power_mode ? ios->vdd : 0); in sh_mmcif_set_power()
1077 static void sh_mmcif_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sh_mmcif_set_ios() argument
1094 if (ios->power_mode == MMC_POWER_UP) { in sh_mmcif_set_ios()
1100 sh_mmcif_set_power(host, ios); in sh_mmcif_set_ios()
1101 } else if (ios->power_mode == MMC_POWER_OFF || !ios->clock) { in sh_mmcif_set_ios()
1104 if (ios->power_mode == MMC_POWER_OFF) { in sh_mmcif_set_ios()
1114 if (ios->power_mode == MMC_POWER_OFF) in sh_mmcif_set_ios()
1115 sh_mmcif_set_power(host, ios); in sh_mmcif_set_ios()
1121 if (ios->clock) { in sh_mmcif_set_ios()
[all …]
Dmoxart-mmc.c493 static void moxart_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in moxart_set_ios() argument
502 if (ios->clock) { in moxart_set_ios()
504 if (ios->clock >= host->sysclk / (2 * (div + 1))) in moxart_set_ios()
514 if (ios->power_mode == MMC_POWER_OFF) { in moxart_set_ios()
518 if (ios->vdd < MIN_POWER) in moxart_set_ios()
521 power = ios->vdd - MIN_POWER; in moxart_set_ios()
527 switch (ios->bus_width) { in moxart_set_ios()
Ddw_mmc.h291 void (*set_ios)(struct dw_mci *host, struct mmc_ios *ios);
295 struct mmc_ios *ios);
297 struct mmc_ios *ios);
Dushc.c375 static void ushc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in ushc_set_ios() argument
379 ushc_set_power(ushc, ios->power_mode); in ushc_set_ios()
380 ushc_set_bus_width(ushc, 1 << ios->bus_width); in ushc_set_ios()
381 ushc_set_bus_freq(ushc, ios->clock, ios->timing == MMC_TIMING_SD_HS); in ushc_set_ios()
Dmxcmmc.c845 static void mxcmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mxcmci_set_ios() argument
854 if (ios->bus_width == MMC_BUS_WIDTH_4) in mxcmci_set_ios()
871 if (ios->bus_width == MMC_BUS_WIDTH_4) in mxcmci_set_ios()
876 if (host->power_mode != ios->power_mode) { in mxcmci_set_ios()
877 host->power_mode = ios->power_mode; in mxcmci_set_ios()
878 mxcmci_set_power(host, ios->vdd); in mxcmci_set_ios()
880 if (ios->power_mode == MMC_POWER_ON) in mxcmci_set_ios()
884 if (ios->clock) { in mxcmci_set_ios()
885 mxcmci_set_clk_rate(host, ios->clock); in mxcmci_set_ios()
891 host->clock = ios->clock; in mxcmci_set_ios()
Drtsx_usb_sdmmc.c1133 static void sdmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdmmc_set_ios() argument
1146 sd_set_power_mode(host, ios->power_mode); in sdmmc_set_ios()
1147 sd_set_bus_width(host, ios->bus_width); in sdmmc_set_ios()
1148 sd_set_timing(host, ios->timing, &host->ddr_mode); in sdmmc_set_ios()
1153 switch (ios->timing) { in sdmmc_set_ios()
1169 host->initial_mode = (ios->clock <= 1000000) ? true : false; in sdmmc_set_ios()
1170 host->clock = ios->clock; in sdmmc_set_ios()
1179 static int sdmmc_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) in sdmmc_switch_voltage() argument
1186 __func__, ios->signal_voltage); in sdmmc_switch_voltage()
1191 if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_120) in sdmmc_switch_voltage()
[all …]
Dsdricoh_cs.c355 static void sdricoh_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdricoh_set_ios() argument
360 if (ios->power_mode == MMC_POWER_ON) { in sdricoh_set_ios()
363 if (ios->bus_width == MMC_BUS_WIDTH_4) { in sdricoh_set_ios()
370 } else if (ios->power_mode == MMC_POWER_UP) { in sdricoh_set_ios()
Dwbsd.c850 static void wbsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in wbsd_set_ios() argument
861 if (ios->power_mode == MMC_POWER_OFF) in wbsd_set_ios()
864 if (ios->clock >= 24000000) in wbsd_set_ios()
866 else if (ios->clock >= 16000000) in wbsd_set_ios()
868 else if (ios->clock >= 12000000) in wbsd_set_ios()
885 if (ios->power_mode != MMC_POWER_OFF) { in wbsd_set_ios()
897 if (ios->chip_select == MMC_CS_HIGH) { in wbsd_set_ios()
898 BUG_ON(ios->bus_width != MMC_BUS_WIDTH_1); in wbsd_set_ios()
918 host->bus_width = ios->bus_width; in wbsd_set_ios()
Dmtk-sd.c1020 static int msdc_ops_switch_volt(struct mmc_host *mmc, struct mmc_ios *ios) in msdc_ops_switch_volt() argument
1027 if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_330) { in msdc_ops_switch_volt()
1030 } else if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_180) { in msdc_ops_switch_volt()
1045 if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_180) in msdc_ops_switch_volt()
1205 static void msdc_ops_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in msdc_ops_set_ios() argument
1212 msdc_set_buswidth(host, ios->bus_width); in msdc_ops_set_ios()
1215 switch (ios->power_mode) { in msdc_ops_set_ios()
1220 ios->vdd); in msdc_ops_set_ios()
1249 if (host->mclk != ios->clock || host->timing != ios->timing) in msdc_ops_set_ios()
1250 msdc_set_mclk(host, ios->timing, ios->clock); in msdc_ops_set_ios()
[all …]
Dsdhci-msm.c352 struct mmc_ios ios = host->mmc->ios; in sdhci_msm_execute_tuning() local
359 !((ios.timing == MMC_TIMING_MMC_HS200) || in sdhci_msm_execute_tuning()
360 (ios.timing == MMC_TIMING_UHS_SDR104))) in sdhci_msm_execute_tuning()
Dau1xmmc.c754 static void au1xmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in au1xmmc_set_ios() argument
759 if (ios->power_mode == MMC_POWER_OFF) in au1xmmc_set_ios()
761 else if (ios->power_mode == MMC_POWER_ON) { in au1xmmc_set_ios()
765 if (ios->clock && ios->clock != host->clock) { in au1xmmc_set_ios()
766 au1xmmc_set_clock(host, ios->clock); in au1xmmc_set_ios()
767 host->clock = ios->clock; in au1xmmc_set_ios()
771 switch (ios->bus_width) { in au1xmmc_set_ios()
Dmxs-mmc.c499 static void mxs_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mxs_mmc_set_ios() argument
503 if (ios->bus_width == MMC_BUS_WIDTH_8) in mxs_mmc_set_ios()
505 else if (ios->bus_width == MMC_BUS_WIDTH_4) in mxs_mmc_set_ios()
510 if (ios->clock) in mxs_mmc_set_ios()
511 mxs_ssp_set_clk_rate(&host->ssp, ios->clock); in mxs_mmc_set_ios()
Dcb710-mmc.c561 static void cb710_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in cb710_mmc_set_ios() argument
567 cb710_mmc_select_clock_divider(mmc, ios->clock); in cb710_mmc_set_ios()
569 if (ios->power_mode != reader->last_power_mode) in cb710_mmc_set_ios()
570 switch (ios->power_mode) { in cb710_mmc_set_ios()
595 cb710_mmc_enable_4bit_data(slot, ios->bus_width != MMC_BUS_WIDTH_1); in cb710_mmc_set_ios()
Dwmt-sdmmc.c673 static void wmt_mci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in wmt_mci_set_ios() argument
680 if (ios->power_mode == MMC_POWER_UP) { in wmt_mci_set_ios()
685 if (ios->power_mode == MMC_POWER_OFF) in wmt_mci_set_ios()
688 if (ios->clock != 0) in wmt_mci_set_ios()
689 clk_set_rate(priv->clk_sdmmc, ios->clock); in wmt_mci_set_ios()
697 switch (ios->bus_width) { in wmt_mci_set_ios()
Ddw_mmc.c1273 static void dw_mci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in dw_mci_set_ios() argument
1280 switch (ios->bus_width) { in dw_mci_set_ios()
1295 if (ios->timing == MMC_TIMING_MMC_DDR52 || in dw_mci_set_ios()
1296 ios->timing == MMC_TIMING_UHS_DDR50 || in dw_mci_set_ios()
1297 ios->timing == MMC_TIMING_MMC_HS400) in dw_mci_set_ios()
1303 slot->host->timing = ios->timing; in dw_mci_set_ios()
1309 slot->clock = ios->clock; in dw_mci_set_ios()
1312 drv_data->set_ios(slot->host, ios); in dw_mci_set_ios()
1314 switch (ios->power_mode) { in dw_mci_set_ios()
1318 ios->vdd); in dw_mci_set_ios()
[all …]
Dvub300.c1972 struct mmc_ios *ios) in __set_clock_speed() argument
1977 if (ios->clock >= 48000000) in __set_clock_speed()
1979 else if (ios->clock >= 24000000) in __set_clock_speed()
1981 else if (ios->clock >= 20000000) in __set_clock_speed()
1983 else if (ios->clock >= 15000000) in __set_clock_speed()
1985 else if (ios->clock >= 200000) in __set_clock_speed()
2011 static void vub300_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in vub300_mmc_set_ios() argument
2018 if ((ios->power_mode == MMC_POWER_OFF) && vub300->card_powered) { in vub300_mmc_set_ios()
2026 } else if ((ios->power_mode == MMC_POWER_UP) && !vub300->card_powered) { in vub300_mmc_set_ios()
2033 } else if (ios->power_mode == MMC_POWER_ON) { in vub300_mmc_set_ios()
[all …]
Djz4740_mmc.c859 static void jz4740_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in jz4740_mmc_set_ios() argument
862 if (ios->clock) in jz4740_mmc_set_ios()
863 jz4740_mmc_set_clock_rate(host, ios->clock); in jz4740_mmc_set_ios()
865 switch (ios->power_mode) { in jz4740_mmc_set_ios()
884 switch (ios->bus_width) { in jz4740_mmc_set_ios()
Dandroid-goldfish.c432 static void goldfish_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in goldfish_mmc_set_ios() argument
436 host->bus_mode = ios->bus_mode; in goldfish_mmc_set_ios()
Datmel-mci.c685 if (mmc->ios.bus_mode == MMC_BUSMODE_OPENDRAIN) in atmci_prepare_command()
1286 static void atmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in atmci_set_ios() argument
1295 switch (ios->bus_width) { in atmci_set_ios()
1304 if (ios->clock) { in atmci_set_ios()
1320 slot->clock = ios->clock; in atmci_set_ios()
1364 if (ios->timing == MMC_TIMING_SD_HS) in atmci_set_ios()
1400 switch (ios->power_mode) { in atmci_set_ios()
1408 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in atmci_set_ios()
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_io.c355 static void lov_io_fini(const struct lu_env *env, const struct cl_io_slice *ios) in lov_io_fini() argument
357 struct lov_io *lio = cl2lov_io(env, ios); in lov_io_fini()
358 struct lov_object *lov = cl2lov(ios->cis_obj); in lov_io_fini()
381 const struct cl_io_slice *ios) in lov_io_iter_init() argument
383 struct lov_io *lio = cl2lov_io(env, ios); in lov_io_iter_init()
399 if (ios->cis_io->ci_type == CIT_READ || in lov_io_iter_init()
400 ios->cis_io->ci_type == CIT_WRITE || in lov_io_iter_init()
401 ios->cis_io->ci_type == CIT_FAULT) in lov_io_iter_init()
428 const struct cl_io_slice *ios) in lov_io_rw_iter_init() argument
430 struct lov_io *lio = cl2lov_io(env, ios); in lov_io_rw_iter_init()
[all …]
Dlov_cl_internal.h801 const struct cl_io_slice *ios) in cl2lov_io() argument
805 lio = container_of(ios, struct lov_io, lis_cl); in cl2lov_io()
/linux-4.4.14/include/linux/mmc/
Dhost.h116 void (*set_ios)(struct mmc_host *host, struct mmc_ios *ios);
125 int (*start_signal_voltage_switch)(struct mmc_host *host, struct mmc_ios *ios);
134 int (*prepare_hs400_tuning)(struct mmc_host *host, struct mmc_ios *ios);
307 struct mmc_ios ios; /* current io bus settings */ member
414 int mmc_regulator_set_vqmmc(struct mmc_host *mmc, struct mmc_ios *ios);
429 struct mmc_ios *ios) in mmc_regulator_set_vqmmc() argument
479 return card->host->ios.timing == MMC_TIMING_SD_HS || in mmc_card_hs()
480 card->host->ios.timing == MMC_TIMING_MMC_HS; in mmc_card_hs()
485 return card->host->ios.timing >= MMC_TIMING_UHS_SDR12 && in mmc_card_uhs()
486 card->host->ios.timing <= MMC_TIMING_UHS_DDR50; in mmc_card_uhs()
[all …]
/linux-4.4.14/drivers/staging/wilc1000/
Dlinux_wlan_sdio.c198 struct mmc_ios ios; in linux_sdio_set_speed() local
202 memcpy((void *)&ios, (void *)&local_sdio_func->card->host->ios, sizeof(struct mmc_ios)); in linux_sdio_set_speed()
203 local_sdio_func->card->host->ios.clock = speed; in linux_sdio_set_speed()
204 ios.clock = speed; in linux_sdio_set_speed()
205 local_sdio_func->card->host->ops->set_ios(local_sdio_func->card->host, &ios); in linux_sdio_set_speed()
214 return local_sdio_func->card->host->ios.clock; in linux_sdio_get_speed()
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_io.c99 const struct cl_io_slice *ios, in osc_io_submit() argument
122 osc = cl2osc(ios->cis_obj); in osc_io_submit()
127 brw_flags = osc_io_srvlock(cl2osc_io(env, ios)) ? OBD_BRW_SRVLOCK : 0; in osc_io_submit()
256 const struct cl_io_slice *ios, in osc_io_prepare_write() argument
262 struct osc_io *oio = cl2osc_io(env, ios); in osc_io_prepare_write()
282 const struct cl_io_slice *ios, in osc_io_commit_write() argument
286 struct osc_io *oio = cl2osc_io(env, ios); in osc_io_commit_write()
311 const struct cl_io_slice *ios) in osc_io_fault_start() argument
316 io = ios->cis_io; in osc_io_fault_start()
326 osc_page_touch_at(env, ios->cis_obj, in osc_io_fault_start()
/linux-4.4.14/drivers/md/
Ddm-stats.c26 unsigned long long ios[2]; member
556 p->ios[idx] += 1; in dm_stat_for_entry()
685 shared->tmp.ios[READ] = 0; in __dm_stat_init_temporary_percpu_totals()
686 shared->tmp.ios[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals()
703 shared->tmp.ios[READ] += ACCESS_ONCE(p->ios[READ]); in __dm_stat_init_temporary_percpu_totals()
704 shared->tmp.ios[WRITE] += ACCESS_ONCE(p->ios[WRITE]); in __dm_stat_init_temporary_percpu_totals()
736 p->ios[READ] -= shared->tmp.ios[READ]; in __dm_stat_clear()
737 p->ios[WRITE] -= shared->tmp.ios[WRITE]; in __dm_stat_clear()
848 shared->tmp.ios[READ], in dm_stats_print()
852 shared->tmp.ios[WRITE], in dm_stats_print()
Dmd.c301 part_stat_inc(cpu, &mddev->gendisk->part0, ios[rw]); in md_make_request()
/linux-4.4.14/arch/arm/mach-lpc32xx/
Dphy3250.c191 static int mmc_handle_ios(struct device *dev, struct mmc_ios *ios) in mmc_handle_ios() argument
194 if (ios->power_mode == MMC_POWER_OFF) in mmc_handle_ios()
/linux-4.4.14/drivers/staging/lustre/lustre/lclient/
Dlcommon_cl.c679 void ccc_io_end(const struct lu_env *env, const struct cl_io_slice *ios) in ccc_io_end() argument
681 CLOBINVRNT(env, ios->cis_io->ci_obj, in ccc_io_end()
682 ccc_object_invariant(ios->cis_io->ci_obj)); in ccc_io_end()
686 const struct cl_io_slice *ios, in ccc_io_advance() argument
689 struct ccc_io *cio = cl2ccc_io(env, ios); in ccc_io_advance()
690 struct cl_io *io = ios->cis_io; in ccc_io_advance()
691 struct cl_object *obj = ios->cis_io->ci_obj; in ccc_io_advance()
/linux-4.4.14/arch/alpha/kernel/
Dio.c592 const u16 __iomem *ios = (const u16 __iomem *) s; in scr_memcpyw() local
604 u16 tmp = __raw_readw(ios++); in scr_memcpyw()
609 memcpy_fromio(d, ios, count); in scr_memcpyw()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dlclient.h322 void ccc_io_end(const struct lu_env *env, const struct cl_io_slice *ios);
323 void ccc_io_advance(const struct lu_env *env, const struct cl_io_slice *ios,
/linux-4.4.14/block/
Dpartition-generic.c125 part_stat_read(p, ios[READ]), in part_stat_show()
129 part_stat_read(p, ios[WRITE]), in part_stat_show()
Dgenhd.c1174 part_stat_read(hd, ios[READ]), in diskstats_show()
1178 part_stat_read(hd, ios[WRITE]), in diskstats_show()
Dbio.c1681 part_stat_inc(cpu, part, ios[rw]); in generic_start_io_acct()
Dblk-core.c2294 part_stat_inc(cpu, part, ios[rw]); in blk_account_io_done()
/linux-4.4.14/drivers/nvdimm/
Dcore.c225 part_stat_inc(cpu, &disk->part0, ios[rw]); in __nd_iostat_start()
/linux-4.4.14/include/linux/
Dgenhd.h84 unsigned long ios[2]; member
/linux-4.4.14/Documentation/device-mapper/
Dcache-policies.txt22 trying to see when the io scheduler has let the ios run.
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dcl_io.c689 cl_io_slice_page(const struct cl_io_slice *ios, struct cl_page *page) in cl_io_slice_page() argument
693 slice = cl_page_at(page, ios->cis_obj->co_lu.lo_dev->ld_type); in cl_io_slice_page()
/linux-4.4.14/drivers/usb/gadget/udc/
Dmv_udc_core.c452 unsigned char zlt = 0, ios = 0, mult = 0; in mv_ep_enable() local
495 ios = 1; in mv_ep_enable()
517 | (ios ? EP_QUEUE_HEAD_IOS : 0); in mv_ep_enable()
/linux-4.4.14/drivers/staging/iio/meter/
Dmeter.h174 IIO_DEVICE_ATTR(ios, _mode, _show, _store, _addr)
/linux-4.4.14/Documentation/x86/x86_64/
Dboot-options.txt112 reboot=b[ios] | t[riple] | k[bd] | a[cpi] | e[fi] [, [w]arm | [c]old]
/linux-4.4.14/drivers/net/wireless/libertas/
Dif_sdio.c881 (host->ios.bus_width == MMC_BUS_WIDTH_1)) { in if_sdio_power_on()
/linux-4.4.14/Documentation/
Dbcache.txt349 Each error is decayed by the half life (in # ios). If the decaying count
Dkernel-parameters.txt3335 [[,]b[ios] | a[cpi] | k[bd] | t[riple] | e[fi] | p[ci]] \