Home
last modified time | relevance | path

Searched refs:modesel (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/Documentation/devicetree/bindings/gpio/
Dgpio-max3191x.txt18 - maxim,modesel-gpios: GPIO pins to configure modesel of each chip.
30 - maxim,modesel-8bit: Boolean whether the modesel pin of the chips is
31 pulled high (8-bit mode). Use this if the modesel pin
32 is hardwired and consequently "maxim,modesel-gpios"
34 "maxim,modesel-gpios" is given, the driver assumes
35 that modesel is pulled low (16-bit mode).
53 maxim,modesel-gpios = <&gpio2 23>;
/Linux-v6.6/drivers/scsi/
Dsr_vendor.c128 struct ccs_modesel_head *modesel; in sr_set_blocklength() local
145 modesel = (struct ccs_modesel_head *) buffer; in sr_set_blocklength()
146 memset(modesel, 0, sizeof(*modesel)); in sr_set_blocklength()
147 modesel->block_desc_length = 0x08; in sr_set_blocklength()
148 modesel->density = density; in sr_set_blocklength()
149 modesel->block_length_med = (blocklength >> 8) & 0xff; in sr_set_blocklength()
150 modesel->block_length_lo = blocklength & 0xff; in sr_set_blocklength()
152 cgc.buflen = sizeof(*modesel); in sr_set_blocklength()