Lines Matching refs:buffer

17 txgbe_calculate_checksum(u8 *buffer, u32 length)  in txgbe_calculate_checksum()  argument
23 sum += buffer[i]; in txgbe_calculate_checksum()
43 txgbe_hic_unlocked(struct txgbe_hw *hw, u32 *buffer, u32 length, u32 timeout) in txgbe_hic_unlocked() argument
65 wr32a(hw, TXGBE_MNGMBX, i, cpu_to_le32(buffer[i])); in txgbe_hic_unlocked()
66 buffer[i] = rd32a(hw, TXGBE_MNGMBX, i); in txgbe_hic_unlocked()
110 txgbe_host_interface_command(struct txgbe_hw *hw, u32 *buffer, in txgbe_host_interface_command() argument
114 struct txgbe_hic_hdr *resp = (struct txgbe_hic_hdr *)buffer; in txgbe_host_interface_command()
130 err = txgbe_hic_unlocked(hw, buffer, length, timeout); in txgbe_host_interface_command()
142 buffer[bi] = rd32a(hw, TXGBE_MNGMBX, bi); in txgbe_host_interface_command()
151 buffer[bi] = rd32a(hw, TXGBE_MNGMBX, bi); in txgbe_host_interface_command()
173 buffer[bi] = rd32a(hw, TXGBE_MNGMBX, bi); in txgbe_host_interface_command()
270 struct txgbe_hic_write_shadow_ram buffer; in txgbe_close_notify() local
272 buffer.hdr.req.cmd = FW_DW_CLOSE_NOTIFY; in txgbe_close_notify()
273 buffer.hdr.req.buf_lenh = 0; in txgbe_close_notify()
274 buffer.hdr.req.buf_lenl = 0; in txgbe_close_notify()
275 buffer.hdr.req.checksum = FW_DEFAULT_CHECKSUM; in txgbe_close_notify()
278 buffer.length = 0; in txgbe_close_notify()
279 buffer.address = 0; in txgbe_close_notify()
281 status = txgbe_host_interface_command(hw, (u32 *)&buffer, in txgbe_close_notify()
282 sizeof(buffer), in txgbe_close_notify()
300 struct txgbe_hic_write_shadow_ram buffer; in txgbe_open_notify() local
302 buffer.hdr.req.cmd = FW_DW_OPEN_NOTIFY; in txgbe_open_notify()
303 buffer.hdr.req.buf_lenh = 0; in txgbe_open_notify()
304 buffer.hdr.req.buf_lenl = 0; in txgbe_open_notify()
305 buffer.hdr.req.checksum = FW_DEFAULT_CHECKSUM; in txgbe_open_notify()
308 buffer.length = 0; in txgbe_open_notify()
309 buffer.address = 0; in txgbe_open_notify()
311 status = txgbe_host_interface_command(hw, (u32 *)&buffer, in txgbe_open_notify()
312 sizeof(buffer), in txgbe_open_notify()