/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_osm.c | 2340 const struct ahc_syncrate *syncrate; in ahc_linux_set_period() local 2364 syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT); in ahc_linux_set_period() 2366 ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset, in ahc_linux_set_period() 2384 const struct ahc_syncrate *syncrate = NULL; in ahc_linux_set_offset() local 2389 syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT); in ahc_linux_set_offset() 2394 ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset, in ahc_linux_set_offset() 2414 const struct ahc_syncrate *syncrate; in ahc_linux_set_dt() local 2425 syncrate = ahc_find_syncrate(ahc, &period, &ppr_options,AHC_SYNCRATE_DT); in ahc_linux_set_dt() 2427 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset, in ahc_linux_set_dt() 2451 struct ahc_syncrate *syncrate; [all...] |
H A D | aic7xxx_core.c | 1886 /*syncrate*/NULL, in ahc_handle_scsiint() 2188 * this function finds the nearest syncrate to the input period limited 2251 const struct ahc_syncrate *syncrate; in ahc_find_syncrate() local 2270 for (syncrate = &ahc_syncrates[maxsync]; in ahc_find_syncrate() 2271 syncrate->rate != NULL; in ahc_find_syncrate() 2272 syncrate++) { in ahc_find_syncrate() 2279 && (syncrate->sxfr_u2 == 0)) in ahc_find_syncrate() 2282 if (*period <= syncrate->period) { in ahc_find_syncrate() 2294 if (syncrate == &ahc_syncrates[maxsync]) in ahc_find_syncrate() 2295 *period = syncrate in ahc_find_syncrate() 2326 const struct ahc_syncrate *syncrate; ahc_find_period() local 2365 ahc_validate_offset(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, const struct ahc_syncrate *syncrate, u_int *offset, int wide, role_t role) ahc_validate_offset() argument 2470 ahc_set_syncrate(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, const struct ahc_syncrate *syncrate, u_int period, u_int offset, u_int ppr_options, u_int type, int paused) ahc_set_syncrate() argument 3614 const struct ahc_syncrate *syncrate; ahc_parse_msg() local 3789 const struct ahc_syncrate *syncrate; ahc_parse_msg() local [all...] |
H A D | aic7xxx.h | 1223 const struct ahc_syncrate *syncrate,
|
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_osm.c | 2338 const struct ahc_syncrate *syncrate; in ahc_linux_set_period() local 2362 syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, in ahc_linux_set_period() 2365 ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset, in ahc_linux_set_period() 2383 const struct ahc_syncrate *syncrate = NULL; in ahc_linux_set_offset() local 2388 syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, in ahc_linux_set_offset() 2394 ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset, in ahc_linux_set_offset() 2414 const struct ahc_syncrate *syncrate; in ahc_linux_set_dt() local 2425 syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, in ahc_linux_set_dt() 2428 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset, in ahc_linux_set_dt() 2452 struct ahc_syncrate *syncrate; [all...] |
H A D | aic7xxx_core.c | 1885 /*syncrate*/NULL, in ahc_handle_scsiint() 2186 * this function finds the nearest syncrate to the input period limited 2249 const struct ahc_syncrate *syncrate; in ahc_find_syncrate() local 2268 for (syncrate = &ahc_syncrates[maxsync]; in ahc_find_syncrate() 2269 syncrate->rate != NULL; in ahc_find_syncrate() 2270 syncrate++) { in ahc_find_syncrate() 2277 && (syncrate->sxfr_u2 == 0)) in ahc_find_syncrate() 2280 if (*period <= syncrate->period) { in ahc_find_syncrate() 2292 if (syncrate == &ahc_syncrates[maxsync]) in ahc_find_syncrate() 2293 *period = syncrate in ahc_find_syncrate() 2324 const struct ahc_syncrate *syncrate; ahc_find_period() local 2363 ahc_validate_offset(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, const struct ahc_syncrate *syncrate, u_int *offset, int wide, role_t role) ahc_validate_offset() argument 2468 ahc_set_syncrate(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, const struct ahc_syncrate *syncrate, u_int period, u_int offset, u_int ppr_options, u_int type, int paused) ahc_set_syncrate() argument 3612 const struct ahc_syncrate *syncrate; ahc_parse_msg() local 3787 const struct ahc_syncrate *syncrate; ahc_parse_msg() local [all...] |
H A D | aic7xxx.h | 1217 const struct ahc_syncrate *syncrate,
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | aha152x.c | 462 unsigned char syncrate[8]; member 540 #define SYNCRATE (HOSTDATA(shpnt)->syncrate[CURRENT_SC->device->id]) 1618 SETRATE(HOSTDATA(shpnt)->syncrate[target]); in seldi_run() 1789 HOSTDATA(shpnt)->syncrate[i]=0; in msgi_run() 2828 if (HOSTDATA(shpnt)->syncrate[i] & 0x7f) in aha152x_show_info() 2831 (((HOSTDATA(shpnt)->syncrate[i] & 0x70) >> 4) + 2), in aha152x_show_info() 2832 (((HOSTDATA(shpnt)->syncrate[i] & 0x70) >> 4) + 2) * 50, in aha152x_show_info() 2833 HOSTDATA(shpnt)->syncrate[i] & 0x0f); in aha152x_show_info()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | aha152x.c | 480 unsigned char syncrate[8]; member 558 #define SYNCRATE (HOSTDATA(shpnt)->syncrate[CURRENT_SC->device->id]) 1657 SETRATE(HOSTDATA(shpnt)->syncrate[target]); in seldi_run() 1831 HOSTDATA(shpnt)->syncrate[i]=0; in msgi_run() 2880 if (HOSTDATA(shpnt)->syncrate[i] & 0x7f) in aha152x_show_info() 2883 (((HOSTDATA(shpnt)->syncrate[i] & 0x70) >> 4) + 2), in aha152x_show_info() 2884 (((HOSTDATA(shpnt)->syncrate[i] & 0x70) >> 4) + 2) * 50, in aha152x_show_info() 2885 HOSTDATA(shpnt)->syncrate[i] & 0x0f); in aha152x_show_info()
|