Lines Matching refs:ofs
49 int ofs; in rx() local
55 ofs = 512 - length; in rx()
57 ofs = 256 - length; in rx()
83 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx()
137 int ofs; in prepare_tx() local
158 hard->offset[1] = ofs = 512 - length; in prepare_tx()
161 hard->offset[1] = ofs = 512 - length - 3; in prepare_tx()
163 hard->offset[0] = ofs = 256 - length; in prepare_tx()
167 length, ofs); in prepare_tx()
171 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft.cap.proto, in prepare_tx()
177 lp->hw.copy_to_card(dev, bufnum, ofs + 1, in prepare_tx()