Home
last modified time | relevance | path

Searched refs:stretch (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/block/
H A Dataflop.c173 unsigned stretch; /* track doubling ? */ member
192 { "h410",10,820, 0, 1}, /* 10: 410k diskette 41 tr 10 sec, stretch */
195 { "h420",10,840, 0, 1}, /* 13: 420k diskette 42 tr 10 sec, stretch */
841 else if (UD.track != ReqTrack << UDT->stretch) in do_fd_action()
898 if (SUD.track == ReqTrack << SUDT->stretch) { in fd_seek()
909 FDC_WRITE( FDCREG_DATA, ReqTrack << SUDT->stretch); in fd_seek()
937 SUD.track = ReqTrack << SUDT->stretch; in fd_seek_done()
986 /* Cheat for track if stretch != 0 */ in fd_rwsec()
987 if (SUDT->stretch) { in fd_rwsec()
990 FDC_WRITE( FDCREG_TRACK, track >> SUDT->stretch); in fd_rwsec()
[all...]
H A Dfloppy.c88 * by defining bit 1 of the "stretch" parameter to mean put sectors on the
308 #define PH_HEAD(floppy, head) (((((floppy)->stretch & 2) >> 1) ^ head) << 2)
309 #define STRETCH(floppy) ((floppy)->stretch & FD_STRETCH)
414 * Bit 0 of 'stretch' tells if the tracks need to be doubled for some
415 * types (e.g. 360kB diskette in 1.2MB drive, etc.). Bit 1 of 'stretch'
421 * 'stretch' should probably be renamed to something more general, like
424 * Bits 2 through 9 of 'stretch' tell the number of the first sector.
2203 if (_floppy->stretch & FD_SECTBASEMASK) { in setup_format_params()
2605 if (((_floppy->stretch & (FD_SWAPSIDES | FD_SECTBASEMASK)) || in make_raw_rw_request()
3329 (g->stretch in set_geometry()
[all...]
/kernel/linux/linux-5.10/drivers/w1/slaves/
H A Dw1_ds28e17.c37 /* Default I2C stretch value to be set when a DS28E17 is detected. */
39 module_param_named(stretch, i2c_stretch, byte, (S_IRUSR | S_IWUSR));
40 MODULE_PARM_DESC(stretch, "Default I2C stretch value to be set when a DS28E17 is detected");
79 u8 stretch; member
100 usleep_range(timebases[data->speed] * (data->stretch) * count, in w1_f19_i2c_busy_wait()
101 timebases[data->speed] * (data->stretch) * count in w1_f19_i2c_busy_wait()
628 /* Busy stretch attribute for a single chip. */
635 /* Return current stretch value. */ in stretch_show()
636 return sprintf(buf, "%d\n", data->stretch); in stretch_show()
[all...]
/kernel/linux/linux-6.6/drivers/w1/slaves/
H A Dw1_ds28e17.c37 /* Default I2C stretch value to be set when a DS28E17 is detected. */
39 module_param_named(stretch, i2c_stretch, byte, 0600);
40 MODULE_PARM_DESC(stretch, "Default I2C stretch value to be set when a DS28E17 is detected");
79 u8 stretch; member
100 usleep_range(timebases[data->speed] * (data->stretch) * count, in w1_f19_i2c_busy_wait()
101 timebases[data->speed] * (data->stretch) * count in w1_f19_i2c_busy_wait()
628 /* Busy stretch attribute for a single chip. */
635 /* Return current stretch value. */ in stretch_show()
636 return sprintf(buf, "%d\n", data->stretch); in stretch_show()
[all...]
/kernel/linux/linux-6.6/drivers/block/
H A Dataflop.c174 unsigned stretch; /* track doubling ? */ member
193 { "h410",10,820, 0, 1}, /* 10: 410k diskette 41 tr 10 sec, stretch */
196 { "h420",10,840, 0, 1}, /* 13: 420k diskette 42 tr 10 sec, stretch */
868 else if (UD.track != ReqTrack << UDT->stretch) in do_fd_action()
925 if (SUD.track == ReqTrack << SUDT->stretch) { in fd_seek()
936 FDC_WRITE( FDCREG_DATA, ReqTrack << SUDT->stretch); in fd_seek()
964 SUD.track = ReqTrack << SUDT->stretch; in fd_seek_done()
1013 /* Cheat for track if stretch != 0 */ in fd_rwsec()
1014 if (SUDT->stretch) { in fd_rwsec()
1017 FDC_WRITE( FDCREG_TRACK, track >> SUDT->stretch); in fd_rwsec()
[all...]
H A Dfloppy.c88 * by defining bit 1 of the "stretch" parameter to mean put sectors on the
307 #define PH_HEAD(floppy, head) (((((floppy)->stretch & 2) >> 1) ^ head) << 2)
308 #define STRETCH(floppy) ((floppy)->stretch & FD_STRETCH)
412 * Bit 0 of 'stretch' tells if the tracks need to be doubled for some
413 * types (e.g. 360kB diskette in 1.2MB drive, etc.). Bit 1 of 'stretch'
419 * 'stretch' should probably be renamed to something more general, like
422 * Bits 2 through 9 of 'stretch' tell the number of the first sector.
2204 if (_floppy->stretch & FD_SECTBASEMASK) { in setup_format_params()
2578 if (((_floppy->stretch & (FD_SWAPSIDES | FD_SECTBASEMASK)) || in make_raw_rw_request()
3237 (g->stretch in set_geometry()
[all...]
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dfd.h19 stretch; /* bit 0 !=0 means double track steps */ member
28 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1)
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dfd.h19 stretch; /* bit 0 !=0 means double track steps */ member
28 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1)
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dfd.h24 unsigned int size, sect, head, track, stretch; member
30 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1)
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dfd.h24 unsigned int size, sect, head, track, stretch; member
30 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1)
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dfd.h15 stretch; member
24 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1)
/kernel/linux/linux-5.10/include/linux/
H A Dfd.h15 compat_uint_t stretch; member
/kernel/linux/linux-6.6/include/linux/
H A Dfd.h15 compat_uint_t stretch; member
/kernel/linux/linux-6.6/include/linux/dma/
H A Dqcom-gpi-dma.h63 * @stretch: stretch the clock at eot
76 u8 stretch; member
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Dtridentfb.c69 static int stretch; variable
84 module_param(stretch, int, 0);
805 /* For resolutions smaller than FP resolution stretch */
1181 * we stretch or center in tridentfb_set_par()
1189 else if (stretch) in tridentfb_set_par()
1796 else if (!strncmp(opt, "stretch", 7)) in tridentfb_setup()
1797 stretch = 1; in tridentfb_setup()
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Dtridentfb.c70 static int stretch; variable
85 module_param(stretch, int, 0);
806 /* For resolutions smaller than FP resolution stretch */
1180 * we stretch or center in tridentfb_set_par()
1188 else if (stretch) in tridentfb_set_par()
1795 else if (!strncmp(opt, "stretch", 7)) in tridentfb_setup()
1796 stretch = 1; in tridentfb_setup()
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-qcom-geni.c610 peripheral.stretch = 0; in geni_i2c_gpi_xfer()
612 peripheral.stretch = 1; in geni_i2c_gpi_xfer()
/kernel/linux/linux-6.6/drivers/dma/qcom/
H A Dgpi.c1677 tre->dword[0] |= u32_encode_bits(i2c->stretch, TRE_I2C_GO_STRETCH); in gpi_create_i2c_tre()

Completed in 27 milliseconds