Searched refs:base_off (Results 1 – 2 of 2) sorted by relevance
935 int hdb_off, hde_off, base_off; in falcon_decode_var() local1243 base_off = par->hw.falcon.vid_control & VCO_SHORTOFFS ? 64 : 128; in falcon_decode_var()1252 hdb_off = (base_off + 16 * plen) + prescale; in falcon_decode_var()1257 hdb_off = (64 + base_off + (128 / bpp + 2) * plen) + prescale; in falcon_decode_var()1259 hdb_off = (base_off + (128 / bpp + 18) * plen) + prescale; in falcon_decode_var()1399 int hdb_off, hde_off, base_off; in falcon_encode_var() local1500 base_off = hw->vid_control & VCO_SHORTOFFS ? 64 : 128; in falcon_encode_var()1503 hdb_off = (base_off + 16 * plen) + prescale; in falcon_encode_var()1507 hdb_off = (64 + base_off + (128 / var->bits_per_pixel + 2) * plen) in falcon_encode_var()1510 hdb_off = (base_off + (128 / var->bits_per_pixel + 18) * plen) in falcon_encode_var()
843 static int tg3_ape_scratchpad_read(struct tg3 *tp, u32 *data, u32 base_off, in tg3_ape_scratchpad_read() argument886 tg3_ape_write32(tp, bufoff, base_off); in tg3_ape_scratchpad_read()892 base_off += length; in tg3_ape_scratchpad_read()