Searched refs:ro (Results 1 - 20 of 20) sorted by relevance

/drivers/usb/gadget/
H A Dstorage_common.c235 unsigned int ro:1; member in struct:fsg_lun
672 int ro; local
681 ro = curlun->initially_ro;
682 if (!ro) {
685 ro = 1;
687 if (ro)
695 ro = 1;
713 ro = 1;
751 curlun->ro = ro;
863 unsigned ro; local
[all...]
H A Df_mass_storage.c66 * ->ro Flag specifying access to the LUN shall be
125 * ro=b[,b...] Default false, boolean for read-only access.
158 * The pathnames of the backing files and the ro settings are
159 * available in the attribute files "file" and "ro" in the lun<n> (or
165 * ro setting are not allowed when the medium is loaded or if CD-ROM
415 char ro; member in struct:fsg_config::fsg_lun_config
883 if (curlun->ro) {
1367 buf[2] = (curlun->ro ? 0x80 : 0x00); /* WP, DPOFUA */
1371 buf[3] = (curlun->ro ? 0x80 : 0x00); /* WP, DPOFUA */
2692 static DEVICE_ATTR(ro, 064
3126 bool ro[FSG_MAX_LUNS]; member in struct:fsg_module_parameters
[all...]
H A Dfile_storage.c49 * setting the optional "ro" module parameter. (For CD-ROM emulation,
64 * files are specified using comma-separated lists for "file" and "ro".
92 * ro=b[,b...] Default false, booleans for read-only access
115 * If CONFIG_USB_FILE_STORAGE_TEST is not set, only the "file", "serial", "ro",
119 * The pathnames of the backing files and the ro settings are available in
120 * the attribute files "file", "nofua", and "ro" in the lun<n> subdirectory of
123 * line means eject) and adjusting a write-enable tab. Changes to the ro
306 bool ro[FSG_MAX_LUNS]; member in struct:__anon5581
349 module_param_array_named(ro, mod_data.ro, boo
[all...]
/drivers/gpu/drm/
H A Ddrm_crtc_helper.c510 int count = 0, ro, fail = 0; local
624 for (ro = 0; ro < set->num_connectors; ro++) {
625 if (set->connectors[ro] == connector) {
663 for (ro = 0; ro < set->num_connectors; ro++) {
664 if (set->connectors[ro] == connector)
/drivers/hwmon/
H A Dacpi_power_meter.c622 struct ro_sensor_template *ro)
629 while (ro->label) {
630 sensors->dev_attr.attr.name = ro->label;
632 sensors->dev_attr.show = ro->show;
633 sensors->index = ro->index;
642 ro++;
621 register_ro_attrs(struct acpi_power_meter_resource *resource, struct ro_sensor_template *ro) argument
H A Dibmaem.c923 struct aem_ro_sensor_template *ro,
931 while (ro->label) {
933 sensors->dev_attr.attr.name = ro->label;
935 sensors->dev_attr.show = ro->show;
936 sensors->index = ro->index;
944 ro++;
922 aem_register_sensors(struct aem_data *data, struct aem_ro_sensor_template *ro, struct aem_rw_sensor_template *rw) argument
/drivers/md/
H A Dmd.c3716 switch(mddev->ro) {
3744 static int do_md_stop(struct mddev * mddev, int ro, int is_open);
3778 mddev->ro = 1;
3785 if (mddev->ro == 0)
3787 else if (mddev->ro == 1)
3790 mddev->ro = 2;
3794 mddev->ro = 2;
3823 mddev->ro = 0;
4077 (!mddev->ro && test_bit(MD_RECOVERY_NEEDED, &mddev->recovery))) {
4329 mddev->ro
6100 int ro; local
[all...]
H A Dmd.h210 int ro; member in struct:mddev
H A Draid1.c2029 if (mddev->ro == 0) {
2051 mddev->ro ? IO_BLOCKED : NULL;
H A Draid10.c2302 if (mddev->ro == 0) {
2312 mddev->ro ? IO_BLOCKED : NULL;
H A Draid5.c3473 if (s.failed <= conf->max_degraded && !conf->mddev->ro)
5001 mddev->ro == 0) {
/drivers/scsi/
H A Dosst.h230 unsigned ro :1; /* Read Only Mode */ member in struct:__anon4739
232 unsigned ro :1; /* Read Only Mode */ member in struct:__anon4739
/drivers/mmc/core/
H A Dsd.c878 int ro = -1; local
882 ro = host->ops->get_ro(host);
886 if (ro < 0) {
891 } else if (ro > 0) {
/drivers/net/ethernet/chelsio/cxgb/
H A Dpm3393.c444 if (ro & \
452 u64 ro; local
464 ro = ((u64)val0 & 0xffff) | (((u64)val1 & 0xffff) << 16) |
/drivers/media/dvb/frontends/
H A Dstv0900_sw.c450 static u32 stv0900_carrier_width(u32 srate, enum fe_stv0900_rolloff ro) argument
454 switch (ro) {
H A Dstv090x.c943 u32 ro; local
947 ro = 20;
950 ro = 25;
954 ro = 35;
958 return srate + (srate * ro) / 100;
/drivers/zorro/
H A Dzorro.ids296 # The Rainbow II and III are actually made by Ingenieurbüro Helfrich
354 0893 Ingenieurbüro Helfrich
/drivers/scsi/bfa/
H A Dbfa_fc.h85 u32 ro; /* relative offset */ member in struct:fchs_s
/drivers/scsi/aacraid/
H A Daacraid.h832 u8 ro; member in struct:fsa_dev_info
H A Daachba.c540 fsa_dev_ptr->ro = ((le32_to_cpu(dresp->mnt[0].state) & FSCS_READONLY) != 0);

Completed in 900 milliseconds