sdio 388 drivers/bluetooth/btmrvl_sdio.c MODULE_DEVICE_TABLE(sdio, btmrvl_sdio_ids); sdio 41 drivers/bluetooth/btsdio.c MODULE_DEVICE_TABLE(sdio, btsdio_table); sdio 303 drivers/clk/mvebu/armada-37xx-periph.c PERIPH_CLK_FULL_DD(sdio, 11, 14, DIV_SEL0, DIV_SEL0, 3, 6); sdio 318 drivers/clk/mvebu/armada-37xx-periph.c REF_CLK_FULL_DD(sdio), sdio 74 drivers/media/mmc/siano/smssdio.c MODULE_DEVICE_TABLE(sdio, smssdio_ids); sdio 1124 drivers/mmc/core/sdio_uart.c MODULE_DEVICE_TABLE(sdio, sdio_uart_ids); sdio 149 drivers/mmc/host/vub300.c struct sd_register_header sdio; sdio 2126 drivers/net/wireless/ath/ath10k/sdio.c MODULE_DEVICE_TABLE(sdio, ath10k_sdio_devices); sdio 1422 drivers/net/wireless/ath/ath6kl/sdio.c MODULE_DEVICE_TABLE(sdio, ath6kl_sdio_devices); sdio 51 drivers/net/wireless/broadcom/b43/sdio.c struct b43_sdio *sdio = sdio_get_drvdata(func); sdio 52 drivers/net/wireless/broadcom/b43/sdio.c struct b43_wldev *dev = sdio->irq_handler_opaque; sdio 58 drivers/net/wireless/broadcom/b43/sdio.c sdio->irq_handler(dev); sdio 67 drivers/net/wireless/broadcom/b43/sdio.c struct b43_sdio *sdio = sdio_get_drvdata(func); sdio 70 drivers/net/wireless/broadcom/b43/sdio.c sdio->irq_handler_opaque = dev; sdio 71 drivers/net/wireless/broadcom/b43/sdio.c sdio->irq_handler = handler; sdio 83 drivers/net/wireless/broadcom/b43/sdio.c struct b43_sdio *sdio = sdio_get_drvdata(func); sdio 88 drivers/net/wireless/broadcom/b43/sdio.c sdio->irq_handler_opaque = NULL; sdio 89 drivers/net/wireless/broadcom/b43/sdio.c sdio->irq_handler = NULL; sdio 95 drivers/net/wireless/broadcom/b43/sdio.c struct b43_sdio *sdio; sdio 142 drivers/net/wireless/broadcom/b43/sdio.c sdio = kzalloc(sizeof(*sdio), GFP_KERNEL); sdio 143 drivers/net/wireless/broadcom/b43/sdio.c if (!sdio) { sdio 148 drivers/net/wireless/broadcom/b43/sdio.c error = ssb_bus_sdiobus_register(&sdio->ssb, func, sdio 155 drivers/net/wireless/broadcom/b43/sdio.c sdio_set_drvdata(func, sdio); sdio 160 drivers/net/wireless/broadcom/b43/sdio.c kfree(sdio); sdio 172 drivers/net/wireless/broadcom/b43/sdio.c struct b43_sdio *sdio = sdio_get_drvdata(func); sdio 174 drivers/net/wireless/broadcom/b43/sdio.c ssb_bus_unregister(&sdio->ssb); sdio 178 drivers/net/wireless/broadcom/b43/sdio.c kfree(sdio); sdio 62 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; sdio 82 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; sdio 101 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c pdata = &sdiodev->settings->bus.sdio; sdio 174 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c pdata = &sdiodev->settings->bus.sdio; sdio 400 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c if (!write && sdiodev->settings->bus.sdio.broken_sg_support) { sdio 481 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c if (!write && sdiodev->settings->bus.sdio.broken_sg_support) { sdio 772 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c sdiodev->settings->bus.sdio.txglomsz); sdio 784 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c sdiodev->txglomsz = sdiodev->settings->bus.sdio.txglomsz; sdio 976 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c MODULE_DEVICE_TABLE(sdio, brcmf_sdmmc_ids); sdio 1037 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c bus_if->bus_priv.sdio = sdiodev; sdio 1075 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c sdiodev = bus_if->bus_priv.sdio; sdio 1099 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; sdio 1120 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c sdiodev = bus_if->bus_priv.sdio; sdio 1127 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c if (sdiodev->settings->bus.sdio.oob_irq_supported) sdio 1128 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c enable_irq_wake(sdiodev->settings->bus.sdio.oob_irq_nr); sdio 1140 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; sdio 138 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h struct brcmf_sdio_dev *sdio; sdio 421 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c settings->bus.sdio.txglomsz = brcmf_sdiod_txglomsz; sdio 436 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c memcpy(&settings->bus.sdio, sdio 437 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c &device_pd->bus.sdio, sdio 438 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c sizeof(settings->bus.sdio)); sdio 54 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h struct brcmfmac_sdio_pd sdio; sdio 18 drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c struct brcmfmac_sdio_pd *sdio = &settings->bus.sdio; sdio 38 drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c sdio->drive_strength = val; sdio 51 drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c sdio->oob_irq_supported = true; sdio 52 drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c sdio->oob_irq_nr = irq; sdio 53 drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c sdio->oob_irq_flags = irqf; sdio 2432 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; sdio 2512 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c enable_irq(sdiodev->settings->bus.sdio.oob_irq_nr); sdio 2709 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; sdio 2762 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; sdio 2891 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; sdio 3123 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c struct brcmf_sdio *bus = bus_if->bus_priv.sdio->bus; sdio 3131 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; sdio 3171 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; sdio 3205 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; sdio 3482 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; sdio 3511 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c value = sdiodev->settings->bus.sdio.sd_sgentry_align; sdio 3544 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; sdio 3554 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; sdio 3957 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c if (sdiodev->settings->bus.sdio.sd_head_align > ALIGNMENT) sdio 3958 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c bus->head_align = sdiodev->settings->bus.sdio.sd_head_align; sdio 3959 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c if (sdiodev->settings->bus.sdio.sd_sgentry_align > ALIGNMENT) sdio 3961 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c sdiodev->settings->bus.sdio.sd_sgentry_align; sdio 3974 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c (sdiodev->settings->bus.sdio.oob_irq_supported))) sdio 3983 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c if (sdiodev->settings->bus.sdio.drive_strength) sdio 3984 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c drivestrength = sdiodev->settings->bus.sdio.drive_strength; sdio 4119 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c struct brcmf_sdio_dev *sdiod = bus_if->bus_priv.sdio; sdio 72 drivers/net/wireless/marvell/libertas/if_sdio.c MODULE_DEVICE_TABLE(sdio, if_sdio_ids); sdio 526 drivers/net/wireless/marvell/mwifiex/sdio.c MODULE_DEVICE_TABLE(sdio, mwifiex_ids); sdio 1577 drivers/net/wireless/rsi/rsi_91x_sdio.c MODULE_DEVICE_TABLE(sdio, rsi_dev_table); sdio 55 drivers/net/wireless/ti/wl1251/sdio.c MODULE_DEVICE_TABLE(sdio, wl1251_devices); sdio 48 drivers/net/wireless/ti/wlcore/sdio.c MODULE_DEVICE_TABLE(sdio, wl1271_devices); sdio 312 drivers/pinctrl/bcm/pinctrl-nsp-mux.c NSP_PIN_FUNCTION(sdio), sdio 964 drivers/pinctrl/meson/pinctrl-meson-axg.c FUNCTION(sdio), sdio 1257 drivers/pinctrl/meson/pinctrl-meson-g12a.c FUNCTION(sdio), sdio 774 drivers/pinctrl/meson/pinctrl-meson-gxbb.c FUNCTION(sdio), sdio 746 drivers/pinctrl/meson/pinctrl-meson-gxl.c FUNCTION(sdio), sdio 372 drivers/pinctrl/pinctrl-bm1880.c BM1880_PINCTRL_GRP(sdio), sdio 659 drivers/pinctrl/pinctrl-bm1880.c BM1880_PINMUX_FUNCTION(sdio, 0), sdio 517 drivers/pinctrl/qcom/pinctrl-ipq4019.c FUNCTION(sdio), sdio 568 drivers/pinctrl/qcom/pinctrl-ipq4019.c PINGROUP(23, sdio, rgmii, i2s_rx, NA, NA, NA, NA, NA, NA, NA, NA, NA, sdio 570 drivers/pinctrl/qcom/pinctrl-ipq4019.c PINGROUP(24, sdio, rgmii, i2s_tx, NA, NA, NA, NA, NA, NA, NA, NA, NA, sdio 572 drivers/pinctrl/qcom/pinctrl-ipq4019.c PINGROUP(25, sdio, rgmii, i2s_tx, NA, NA, NA, NA, NA, NA, NA, NA, NA, sdio 574 drivers/pinctrl/qcom/pinctrl-ipq4019.c PINGROUP(26, sdio, rgmii, i2s_tx, NA, NA, NA, NA, NA, NA, NA, NA, NA, sdio 576 drivers/pinctrl/qcom/pinctrl-ipq4019.c PINGROUP(27, sdio, rgmii, i2s_td, NA, NA, NA, NA, NA, NA, NA, NA, NA, sdio 578 drivers/pinctrl/qcom/pinctrl-ipq4019.c PINGROUP(28, sdio, rgmii, i2s_td, NA, NA, NA, NA, NA, NA, NA, NA, NA, sdio 580 drivers/pinctrl/qcom/pinctrl-ipq4019.c PINGROUP(29, sdio, rgmii, i2s_td, NA, NA, NA, NA, NA, NA, NA, NA, NA, sdio 582 drivers/pinctrl/qcom/pinctrl-ipq4019.c PINGROUP(30, sdio, rgmii, audio_pwm, NA, NA, NA, NA, NA, NA, NA, NA, sdio 584 drivers/pinctrl/qcom/pinctrl-ipq4019.c PINGROUP(31, sdio, rgmii, audio_pwm, NA, NA, NA, NA, NA, NA, NA, NA, sdio 586 drivers/pinctrl/qcom/pinctrl-ipq4019.c PINGROUP(32, sdio, rgmii, audio_pwm, NA, NA, NA, NA, NA, NA, NA, NA, sdio 95 drivers/staging/comedi/drivers/adv_pci_dio.c struct diosubd_data sdio[PCI_DIO_MAX_DIO_SUBDEVG]; sdio 141 drivers/staging/comedi/drivers/adv_pci_dio.c .sdio[0] = { 2, 0x00, }, /* 8255 DIO */ sdio 153 drivers/staging/comedi/drivers/adv_pci_dio.c .sdio[0] = { 2, 0x00, }, /* 8255 DIO */ sdio 167 drivers/staging/comedi/drivers/adv_pci_dio.c .sdio[0] = { 4, 0x00, }, /* 8255 DIO */ sdio 172 drivers/staging/comedi/drivers/adv_pci_dio.c .sdio[0] = { 4, 0x00, }, /* 8255 DIO */ sdio 173 drivers/staging/comedi/drivers/adv_pci_dio.c .sdio[1] = { 4, 0x20, }, /* 8255 DIO */ sdio 423 drivers/staging/comedi/drivers/adv_pci_dio.c d = &board->sdio[i]; sdio 1129 drivers/staging/ks7010/ks7010_sdio.c MODULE_DEVICE_TABLE(sdio, ks7010_sdio_ids); sdio 27 drivers/staging/rtl8723bs/os_dep/sdio_intf.c MODULE_DEVICE_TABLE(sdio, sdio_ids); sdio 159 fs/direct-io.c static inline unsigned dio_pages_present(struct dio_submit *sdio) sdio 161 fs/direct-io.c return sdio->tail - sdio->head; sdio 167 fs/direct-io.c static inline int dio_refill_pages(struct dio *dio, struct dio_submit *sdio) sdio 171 fs/direct-io.c ret = iov_iter_get_pages(sdio->iter, dio->pages, LONG_MAX, DIO_PAGES, sdio 172 fs/direct-io.c &sdio->from); sdio 174 fs/direct-io.c if (ret < 0 && sdio->blocks_available && (dio->op == REQ_OP_WRITE)) { sdio 185 fs/direct-io.c sdio->head = 0; sdio 186 fs/direct-io.c sdio->tail = 1; sdio 187 fs/direct-io.c sdio->from = 0; sdio 188 fs/direct-io.c sdio->to = PAGE_SIZE; sdio 193 fs/direct-io.c iov_iter_advance(sdio->iter, ret); sdio 194 fs/direct-io.c ret += sdio->from; sdio 195 fs/direct-io.c sdio->head = 0; sdio 196 fs/direct-io.c sdio->tail = (ret + PAGE_SIZE - 1) / PAGE_SIZE; sdio 197 fs/direct-io.c sdio->to = ((ret - 1) & (PAGE_SIZE - 1)) + 1; sdio 210 fs/direct-io.c struct dio_submit *sdio) sdio 212 fs/direct-io.c if (dio_pages_present(sdio) == 0) { sdio 215 fs/direct-io.c ret = dio_refill_pages(dio, sdio); sdio 218 fs/direct-io.c BUG_ON(dio_pages_present(sdio) == 0); sdio 220 fs/direct-io.c return dio->pages[sdio->head]; sdio 428 fs/direct-io.c dio_bio_alloc(struct dio *dio, struct dio_submit *sdio, sdio 450 fs/direct-io.c sdio->bio = bio; sdio 451 fs/direct-io.c sdio->logical_offset_in_bio = sdio->cur_page_fs_offset; sdio 461 fs/direct-io.c static inline void dio_bio_submit(struct dio *dio, struct dio_submit *sdio) sdio 463 fs/direct-io.c struct bio *bio = sdio->bio; sdio 477 fs/direct-io.c if (sdio->submit_io) { sdio 478 fs/direct-io.c sdio->submit_io(bio, dio->inode, sdio->logical_offset_in_bio); sdio 483 fs/direct-io.c sdio->bio = NULL; sdio 484 fs/direct-io.c sdio->boundary = 0; sdio 485 fs/direct-io.c sdio->logical_offset_in_bio = 0; sdio 491 fs/direct-io.c static inline void dio_cleanup(struct dio *dio, struct dio_submit *sdio) sdio 493 fs/direct-io.c while (sdio->head < sdio->tail) sdio 494 fs/direct-io.c put_page(dio->pages[sdio->head++]); sdio 583 fs/direct-io.c static inline int dio_bio_reap(struct dio *dio, struct dio_submit *sdio) sdio 587 fs/direct-io.c if (sdio->reap_counter++ >= 64) { sdio 601 fs/direct-io.c sdio->reap_counter = 0; sdio 665 fs/direct-io.c static int get_more_blocks(struct dio *dio, struct dio_submit *sdio, sdio 673 fs/direct-io.c unsigned int i_blkbits = sdio->blkbits + sdio->blkfactor; sdio 682 fs/direct-io.c BUG_ON(sdio->block_in_file >= sdio->final_block_in_request); sdio 683 fs/direct-io.c fs_startblk = sdio->block_in_file >> sdio->blkfactor; sdio 684 fs/direct-io.c fs_endblk = (sdio->final_block_in_request - 1) >> sdio 685 fs/direct-io.c sdio->blkfactor; sdio 709 fs/direct-io.c ret = (*sdio->get_block)(dio->inode, fs_startblk, sdio 724 fs/direct-io.c static inline int dio_new_bio(struct dio *dio, struct dio_submit *sdio, sdio 730 fs/direct-io.c ret = dio_bio_reap(dio, sdio); sdio 733 fs/direct-io.c sector = start_sector << (sdio->blkbits - 9); sdio 734 fs/direct-io.c nr_pages = min(sdio->pages_in_io, BIO_MAX_PAGES); sdio 736 fs/direct-io.c dio_bio_alloc(dio, sdio, map_bh->b_bdev, sector, nr_pages); sdio 737 fs/direct-io.c sdio->boundary = 0; sdio 749 fs/direct-io.c static inline int dio_bio_add_page(struct dio_submit *sdio) sdio 753 fs/direct-io.c ret = bio_add_page(sdio->bio, sdio->cur_page, sdio 754 fs/direct-io.c sdio->cur_page_len, sdio->cur_page_offset); sdio 755 fs/direct-io.c if (ret == sdio->cur_page_len) { sdio 759 fs/direct-io.c if ((sdio->cur_page_len + sdio->cur_page_offset) == PAGE_SIZE) sdio 760 fs/direct-io.c sdio->pages_in_io--; sdio 761 fs/direct-io.c get_page(sdio->cur_page); sdio 762 fs/direct-io.c sdio->final_block_in_bio = sdio->cur_page_block + sdio 763 fs/direct-io.c (sdio->cur_page_len >> sdio->blkbits); sdio 781 fs/direct-io.c static inline int dio_send_cur_page(struct dio *dio, struct dio_submit *sdio, sdio 786 fs/direct-io.c if (sdio->bio) { sdio 787 fs/direct-io.c loff_t cur_offset = sdio->cur_page_fs_offset; sdio 788 fs/direct-io.c loff_t bio_next_offset = sdio->logical_offset_in_bio + sdio 789 fs/direct-io.c sdio->bio->bi_iter.bi_size; sdio 805 fs/direct-io.c if (sdio->final_block_in_bio != sdio->cur_page_block || sdio 807 fs/direct-io.c dio_bio_submit(dio, sdio); sdio 810 fs/direct-io.c if (sdio->bio == NULL) { sdio 811 fs/direct-io.c ret = dio_new_bio(dio, sdio, sdio->cur_page_block, map_bh); sdio 816 fs/direct-io.c if (dio_bio_add_page(sdio) != 0) { sdio 817 fs/direct-io.c dio_bio_submit(dio, sdio); sdio 818 fs/direct-io.c ret = dio_new_bio(dio, sdio, sdio->cur_page_block, map_bh); sdio 820 fs/direct-io.c ret = dio_bio_add_page(sdio); sdio 846 fs/direct-io.c submit_page_section(struct dio *dio, struct dio_submit *sdio, struct page *page, sdio 862 fs/direct-io.c if (sdio->cur_page == page && sdio 863 fs/direct-io.c sdio->cur_page_offset + sdio->cur_page_len == offset && sdio 864 fs/direct-io.c sdio->cur_page_block + sdio 865 fs/direct-io.c (sdio->cur_page_len >> sdio->blkbits) == blocknr) { sdio 866 fs/direct-io.c sdio->cur_page_len += len; sdio 873 fs/direct-io.c if (sdio->cur_page) { sdio 874 fs/direct-io.c ret = dio_send_cur_page(dio, sdio, map_bh); sdio 875 fs/direct-io.c put_page(sdio->cur_page); sdio 876 fs/direct-io.c sdio->cur_page = NULL; sdio 882 fs/direct-io.c sdio->cur_page = page; sdio 883 fs/direct-io.c sdio->cur_page_offset = offset; sdio 884 fs/direct-io.c sdio->cur_page_len = len; sdio 885 fs/direct-io.c sdio->cur_page_block = blocknr; sdio 886 fs/direct-io.c sdio->cur_page_fs_offset = sdio->block_in_file << sdio->blkbits; sdio 892 fs/direct-io.c if (sdio->boundary) { sdio 893 fs/direct-io.c ret = dio_send_cur_page(dio, sdio, map_bh); sdio 894 fs/direct-io.c if (sdio->bio) sdio 895 fs/direct-io.c dio_bio_submit(dio, sdio); sdio 896 fs/direct-io.c put_page(sdio->cur_page); sdio 897 fs/direct-io.c sdio->cur_page = NULL; sdio 911 fs/direct-io.c static inline void dio_zero_block(struct dio *dio, struct dio_submit *sdio, sdio 919 fs/direct-io.c sdio->start_zero_done = 1; sdio 920 fs/direct-io.c if (!sdio->blkfactor || !buffer_new(map_bh)) sdio 923 fs/direct-io.c dio_blocks_per_fs_block = 1 << sdio->blkfactor; sdio 924 fs/direct-io.c this_chunk_blocks = sdio->block_in_file & (dio_blocks_per_fs_block - 1); sdio 936 fs/direct-io.c this_chunk_bytes = this_chunk_blocks << sdio->blkbits; sdio 939 fs/direct-io.c if (submit_page_section(dio, sdio, page, 0, this_chunk_bytes, sdio 940 fs/direct-io.c sdio->next_block_for_io, map_bh)) sdio 943 fs/direct-io.c sdio->next_block_for_io += this_chunk_blocks; sdio 962 fs/direct-io.c static int do_direct_IO(struct dio *dio, struct dio_submit *sdio, sdio 965 fs/direct-io.c const unsigned blkbits = sdio->blkbits; sdio 966 fs/direct-io.c const unsigned i_blkbits = blkbits + sdio->blkfactor; sdio 969 fs/direct-io.c while (sdio->block_in_file < sdio->final_block_in_request) { sdio 973 fs/direct-io.c page = dio_get_page(dio, sdio); sdio 978 fs/direct-io.c from = sdio->head ? 0 : sdio->from; sdio 979 fs/direct-io.c to = (sdio->head == sdio->tail - 1) ? sdio->to : PAGE_SIZE; sdio 980 fs/direct-io.c sdio->head++; sdio 987 fs/direct-io.c if (sdio->blocks_available == 0) { sdio 994 fs/direct-io.c ret = get_more_blocks(dio, sdio, map_bh); sdio 1002 fs/direct-io.c sdio->blocks_available = sdio 1004 fs/direct-io.c sdio->next_block_for_io = sdio 1005 fs/direct-io.c map_bh->b_blocknr << sdio->blkfactor; sdio 1013 fs/direct-io.c if (!sdio->blkfactor) sdio 1016 fs/direct-io.c blkmask = (1 << sdio->blkfactor) - 1; sdio 1017 fs/direct-io.c dio_remainder = (sdio->block_in_file & blkmask); sdio 1031 fs/direct-io.c sdio->next_block_for_io += dio_remainder; sdio 1032 fs/direct-io.c sdio->blocks_available -= dio_remainder; sdio 1051 fs/direct-io.c if (sdio->block_in_file >= sdio 1058 fs/direct-io.c sdio->block_in_file++; sdio 1069 fs/direct-io.c if (unlikely(sdio->blkfactor && !sdio->start_zero_done)) sdio 1070 fs/direct-io.c dio_zero_block(dio, sdio, 0, map_bh); sdio 1076 fs/direct-io.c this_chunk_blocks = sdio->blocks_available; sdio 1080 fs/direct-io.c u = sdio->final_block_in_request - sdio->block_in_file; sdio 1086 fs/direct-io.c if (this_chunk_blocks == sdio->blocks_available) sdio 1087 fs/direct-io.c sdio->boundary = buffer_boundary(map_bh); sdio 1088 fs/direct-io.c ret = submit_page_section(dio, sdio, page, sdio 1091 fs/direct-io.c sdio->next_block_for_io, sdio 1097 fs/direct-io.c sdio->next_block_for_io += this_chunk_blocks; sdio 1099 fs/direct-io.c sdio->block_in_file += this_chunk_blocks; sdio 1102 fs/direct-io.c sdio->blocks_available -= this_chunk_blocks; sdio 1104 fs/direct-io.c BUG_ON(sdio->block_in_file > sdio->final_block_in_request); sdio 1105 fs/direct-io.c if (sdio->block_in_file == sdio->final_block_in_request) sdio 1177 fs/direct-io.c struct dio_submit sdio = { 0, }; sdio 1296 fs/direct-io.c sdio.blkbits = blkbits; sdio 1297 fs/direct-io.c sdio.blkfactor = i_blkbits - blkbits; sdio 1298 fs/direct-io.c sdio.block_in_file = offset >> blkbits; sdio 1300 fs/direct-io.c sdio.get_block = get_block; sdio 1302 fs/direct-io.c sdio.submit_io = submit_io; sdio 1303 fs/direct-io.c sdio.final_block_in_bio = -1; sdio 1304 fs/direct-io.c sdio.next_block_for_io = -1; sdio 1312 fs/direct-io.c sdio.iter = iter; sdio 1313 fs/direct-io.c sdio.final_block_in_request = end >> blkbits; sdio 1319 fs/direct-io.c if (unlikely(sdio.blkfactor)) sdio 1320 fs/direct-io.c sdio.pages_in_io = 2; sdio 1322 fs/direct-io.c sdio.pages_in_io += iov_iter_npages(iter, INT_MAX); sdio 1326 fs/direct-io.c retval = do_direct_IO(dio, &sdio, &map_bh); sdio 1328 fs/direct-io.c dio_cleanup(dio, &sdio); sdio 1341 fs/direct-io.c dio_zero_block(dio, &sdio, 1, &map_bh); sdio 1343 fs/direct-io.c if (sdio.cur_page) { sdio 1346 fs/direct-io.c ret2 = dio_send_cur_page(dio, &sdio, &map_bh); sdio 1349 fs/direct-io.c put_page(sdio.cur_page); sdio 1350 fs/direct-io.c sdio.cur_page = NULL; sdio 1352 fs/direct-io.c if (sdio.bio) sdio 1353 fs/direct-io.c dio_bio_submit(dio, &sdio); sdio 1361 fs/direct-io.c dio_cleanup(dio, &sdio); sdio 156 include/linux/platform_data/brcmfmac.h struct brcmfmac_sdio_pd sdio;