Lines Matching refs:bus_width
179 u_int bus_width);
183 u_int bus_width, u_int ppr_options);
1817 u_int *bus_width, role_t role) in ahc_validate_width() argument
1819 switch (*bus_width) { in ahc_validate_width()
1823 *bus_width = MSG_EXT_WDTR_BUS_16_BIT; in ahc_validate_width()
1828 *bus_width = MSG_EXT_WDTR_BUS_8_BIT; in ahc_validate_width()
1833 *bus_width = MIN(tinfo->user.width, *bus_width); in ahc_validate_width()
1835 *bus_width = MIN(tinfo->goal.width, *bus_width); in ahc_validate_width()
2478 u_int bus_width) in ahc_construct_wdtr() argument
2483 ahc->msgout_buf[ahc->msgout_index++] = bus_width; in ahc_construct_wdtr()
2488 devinfo->lun, bus_width); in ahc_construct_wdtr()
2498 u_int period, u_int offset, u_int bus_width, in ahc_construct_ppr() argument
2509 ahc->msgout_buf[ahc->msgout_index++] = bus_width; in ahc_construct_ppr()
2516 bus_width, period, offset, ppr_options); in ahc_construct_ppr()
3120 u_int bus_width; in ahc_parse_msg() local
3140 bus_width = ahc->msgin_buf[3]; in ahc_parse_msg()
3141 saved_width = bus_width; in ahc_parse_msg()
3142 ahc_validate_width(ahc, tinfo, &bus_width, in ahc_parse_msg()
3149 saved_width, bus_width); in ahc_parse_msg()
3159 if (saved_width > bus_width) { in ahc_parse_msg()
3165 8 * (0x01 << bus_width)); in ahc_parse_msg()
3166 bus_width = 0; in ahc_parse_msg()
3181 ahc_construct_wdtr(ahc, devinfo, bus_width); in ahc_parse_msg()
3197 ahc_set_width(ahc, devinfo, bus_width, in ahc_parse_msg()
3219 u_int bus_width; in ahc_parse_msg() local
3242 bus_width = ahc->msgin_buf[6]; in ahc_parse_msg()
3243 saved_width = bus_width; in ahc_parse_msg()
3262 if (bus_width == 0) in ahc_parse_msg()
3265 ahc_validate_width(ahc, tinfo, &bus_width, in ahc_parse_msg()
3271 &offset, bus_width, in ahc_parse_msg()
3280 if (saved_width > bus_width in ahc_parse_msg()
3286 bus_width = 0; in ahc_parse_msg()
3304 bus_width, ppr_options); in ahc_parse_msg()
3317 bus_width, period, offset, ppr_options); in ahc_parse_msg()
3319 ahc_set_width(ahc, devinfo, bus_width, in ahc_parse_msg()