Home
last modified time | relevance | path

Searched refs:dev_mode (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/ata/
H A Dsata_sil.c351 u32 tmp, dev_mode[2] = { }; in sil_set_mode() local
360 dev_mode[dev->devno] = 0; /* PIO0/1/2 */ in sil_set_mode()
362 dev_mode[dev->devno] = 1; /* PIO3/4 */ in sil_set_mode()
364 dev_mode[dev->devno] = 3; /* UDMA */ in sil_set_mode()
370 tmp |= dev_mode[0]; in sil_set_mode()
371 tmp |= (dev_mode[1] << 4); in sil_set_mode()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_redirect.c129 enum dev_mode { enum
135 enum dev_mode dev_mode; member
209 if (result->dev_mode == MODE_VETH) { in netns_setup_links_and_routes()
215 } else if (result->dev_mode == MODE_NETKIT) { in netns_setup_links_and_routes()
264 if (result->dev_mode == MODE_VETH) { in netns_setup_links_and_routes()
292 if (result->dev_mode == MODE_VETH) { in netns_setup_links_and_routes()
315 if (result->dev_mode == MODE_VETH) { in netns_setup_links_and_routes()
1266 struct netns_setup_result setup_result = { .dev_mode = mode, }; \
/linux/drivers/scsi/
H A Ddc395x.c267 u8 dev_mode; member
544 module_param_named(dev_mode, cfg_data[CFG_DEV_MODE].value, int, 0);
545 MODULE_PARM_DESC(dev_mode, "Device mode.");
1132 dcb->dev_mode = eeprom->target[dcb->target_id].cfg0; in reset_dev_param()
1135 if (!(dcb->dev_mode & NTC_DO_WIDE_NEGO) in reset_dev_param()
1262 if (!(dcb->dev_mode & NTC_DO_SYNC_NEGO)) { in build_sdtr()
1278 u8 wide = ((dcb->dev_mode & NTC_DO_WIDE_NEGO) & in build_wdtr()
2574 if (!(dcb->dev_mode & NTC_DO_SYNC_NEGO)) in msgin_set_sync()
2655 u8 wide = (dcb->dev_mode & NTC_DO_WIDE_NEGO in msgin_set_wide()
3014 if (!(dcb->dev_mode & NTC_DO_DISCONNECT)) in reselect()
[all …]
/linux/sound/soc/codecs/
H A Dwsa884x.c741 int dev_mode; member
1474 if (wsa884x->dev_mode == WSA884X_RECEIVER) { in wsa884x_set_gain_parameters()
1593 ucontrol->value.enumerated.item[0] = wsa884x->dev_mode; in wsa884x_dev_mode_get()
1604 if (wsa884x->dev_mode == ucontrol->value.enumerated.item[0]) in wsa884x_dev_mode_put()
1607 wsa884x->dev_mode = ucontrol->value.enumerated.item[0]; in wsa884x_dev_mode_put()
1663 if (wsa884x->dev_mode == WSA884X_RECEIVER) { in wsa884x_spkr_post_pmu()
1683 if (wsa884x->dev_mode == WSA884X_RECEIVER) in wsa884x_spkr_post_pmu()
2082 wsa884x->dev_mode = WSA884X_SPEAKER; in wsa884x_probe()
H A Dwsa883x.c442 int dev_mode; member
1086 ucontrol->value.enumerated.item[0] = wsa883x->dev_mode; in wsa_dev_mode_get()
1097 if (wsa883x->dev_mode == ucontrol->value.enumerated.item[0]) in wsa_dev_mode_put()
1100 wsa883x->dev_mode = ucontrol->value.enumerated.item[0]; in wsa_dev_mode_put()
1189 switch (wsa883x->dev_mode) { in wsa883x_spkr_event()
/linux/Documentation/scsi/
H A Ddc395x.rst55 dev_mode