Lines Matching +full:no +full:- +full:sd

1 /*-
3 * Copyright (c) 2018-2019 The FreeBSD Foundation
20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
30 * the SD Simplified Specification. The following disclaimer may apply:
33 * specification ("Simplified Specification") by the SD Card Association and
34 * the SD Group. The Simplified Specification is a subset of the complete SD
35 * Specification which is owned by the SD Card Association and the SD
36 * Group. This Simplified Specification is provided on a non-confidential
38 * Simplified Specification may require a license from the SD Card
39 * Association, SD Group, SD-3C LLC or other third parties.
44 * as a standard specification for SD Cards and SD Host/Ancillary products and
45 * is provided "AS-IS" without any representations or warranties of any
46 * kind. No responsibility is assumed by the SD Group, SD-3C LLC or the SD
48 * right of the SD Group, SD-3C LLC, the SD Card Association or any third
49 * parties, which may result from its use. No license is granted by
51 * SD Group, SD-3C LLC, the SD Card Association or any third party. Nothing
52 * herein shall be construed as an obligation by the SD Group, the SD-3C LLC
53 * or the SD Card Association to disclose or distribute any technical
54 * information, know-how or other confidential information to any third party.
101 return (sdio_set_bool_for_func(f->dev, SD_IO_CCCR_FN_ENABLE, in sdio_enable_func()
102 f->fn, true)); in sdio_enable_func()
109 return (sdio_set_bool_for_func(f->dev, SD_IO_CCCR_FN_ENABLE, in sdio_disable_func()
110 f->fn, false)); in sdio_disable_func()
121 if (bs > f->max_blksize) in sdio_set_block_size()
124 if (!sdio_get_support_multiblk(f->dev)) in sdio_set_block_size()
127 pdev = device_get_parent(f->dev); in sdio_set_block_size()
128 addr = SD_IO_FBR_START * f->fn + SD_IO_FBR_IOBLKSZ; in sdio_set_block_size()
136 f->cur_blksize = bs; in sdio_set_block_size()
147 error = SDIO_READ_DIRECT(device_get_parent(f->dev), f->fn, addr, &v); in sdio_read_1()
164 error = SDIO_WRITE_DIRECT(device_get_parent(f->dev), f->fn, addr, val); in sdio_write_1()
175 error = SDIO_READ_EXTENDED(device_get_parent(f->dev), f->fn, addr, in sdio_read_4()
193 error = SDIO_WRITE_EXTENDED(device_get_parent(f->dev), f->fn, addr, in sdio_write_4()
205 error = SDIO_READ_DIRECT(device_get_parent(f->dev), 0, addr, &v); in sdio_f0_read_1()
222 error = SDIO_WRITE_DIRECT(device_get_parent(f->dev), 0, addr, val); in sdio_f0_write_1()