Home
last modified time | relevance | path

Searched refs:ack (Results 1 – 25 of 95) sorted by relevance

1234

/drivers/net/wimax/i2400m/
Dfw.c454 struct i2400m_bootrom_header *ack, in __i2400m_bm_ack_verify() argument
461 i2400m, opcode, ack, ack_size); in __i2400m_bm_ack_verify()
462 if (ack_size < sizeof(*ack)) { in __i2400m_bm_ack_verify()
466 opcode, ack_size, sizeof(*ack)); in __i2400m_bm_ack_verify()
469 result = i2400m_is_boot_barker(i2400m, ack, ack_size); in __i2400m_bm_ack_verify()
476 && memcmp(ack, i2400m_ACK_BARKER, sizeof(*ack)) == 0) { in __i2400m_bm_ack_verify()
485 ack->data_size = le32_to_cpu(ack->data_size); in __i2400m_bm_ack_verify()
486 ack->target_addr = le32_to_cpu(ack->target_addr); in __i2400m_bm_ack_verify()
487 ack->block_checksum = le32_to_cpu(ack->block_checksum); in __i2400m_bm_ack_verify()
490 opcode, i2400m_brh_get_opcode(ack), in __i2400m_bm_ack_verify()
[all …]
Dcontrol.c933 const struct i2400m_l3l4_hdr *ack; in i2400m_get_device_info() local
953 ack = wimax_msg_data_len(ack_skb, &ack_len); in i2400m_get_device_info()
954 result = i2400m_msg_check_status(ack, strerr, sizeof(strerr)); in i2400m_get_device_info()
961 tlv = i2400m_tlv_find(i2400m, ack->pl, ack_len - sizeof(*ack), in i2400m_get_device_info()
1015 const struct i2400m_l3l4_hdr *ack; in i2400m_firmware_check() local
1037 ack = wimax_msg_data_len(ack_skb, &ack_len); in i2400m_firmware_check()
1038 result = i2400m_msg_check_status(ack, strerr, sizeof(strerr)); in i2400m_firmware_check()
1045 tlv = i2400m_tlv_find(i2400m, ack->pl, ack_len - sizeof(*ack), in i2400m_firmware_check()
1147 const struct i2400m_l3l4_hdr *ack; in i2400m_cmd_get_state() local
1166 ack = wimax_msg_data_len(ack_skb, &ack_len); in i2400m_cmd_get_state()
[all …]
Dusb-fw.c284 void *ack = _ack; in i2400mu_bus_bm_wait_for_ack() local
291 i2400m, ack, ack_size); in i2400mu_bus_bm_wait_for_ack()
345 memcpy(ack + offset, i2400m->bm_ack_buf, len); in i2400mu_bus_bm_wait_for_ack()
356 i2400m, ack, ack_size, (long) result); in i2400mu_bus_bm_wait_for_ack()
/drivers/hid/
Dhid-hyperv.c138 struct synthhid_device_info_ack ack; member
193 struct mousevsc_prt_msg ack; in mousevsc_on_receive_device_info() local
228 memset(&ack, 0, sizeof(struct mousevsc_prt_msg)); in mousevsc_on_receive_device_info()
230 ack.type = PIPE_MESSAGE_DATA; in mousevsc_on_receive_device_info()
231 ack.size = sizeof(struct synthhid_device_info_ack); in mousevsc_on_receive_device_info()
233 ack.ack.header.type = SYNTH_HID_INITIAL_DEVICE_INFO_ACK; in mousevsc_on_receive_device_info()
234 ack.ack.header.size = 1; in mousevsc_on_receive_device_info()
235 ack.ack.reserved = 0; in mousevsc_on_receive_device_info()
238 &ack, in mousevsc_on_receive_device_info()
241 (unsigned long)&ack, in mousevsc_on_receive_device_info()
/drivers/gpu/drm/radeon/
Datombios_dp.c55 u8 delay, u8 *ack) in radeon_process_aux_ch() argument
80 *ack = args.v1.ucReplyStatus; in radeon_process_aux_ch()
117 u8 ack; in radeon_dp_aux_native_write() local
131 msg, msg_bytes, NULL, 0, delay, &ack); in radeon_dp_aux_native_write()
136 if ((ack & AUX_NATIVE_REPLY_MASK) == AUX_NATIVE_REPLY_ACK) in radeon_dp_aux_native_write()
138 else if ((ack & AUX_NATIVE_REPLY_MASK) == AUX_NATIVE_REPLY_DEFER) in radeon_dp_aux_native_write()
153 u8 ack; in radeon_dp_aux_native_read() local
164 msg, msg_bytes, recv, recv_bytes, delay, &ack); in radeon_dp_aux_native_read()
169 if ((ack & AUX_NATIVE_REPLY_MASK) == AUX_NATIVE_REPLY_ACK) in radeon_dp_aux_native_read()
171 else if ((ack & AUX_NATIVE_REPLY_MASK) == AUX_NATIVE_REPLY_DEFER) in radeon_dp_aux_native_read()
[all …]
/drivers/connector/
Dcn_proc.c81 msg->ack = 0; /* not used */ in proc_fork_connector()
107 msg->ack = 0; /* not used */ in proc_exec_connector()
146 msg->ack = 0; /* not used */ in proc_id_connector()
171 msg->ack = 0; /* not used */ in proc_sid_connector()
204 msg->ack = 0; /* not used */ in proc_ptrace_connector()
230 msg->ack = 0; /* not used */ in proc_comm_connector()
255 msg->ack = 0; /* not used */ in proc_coredump_connector()
282 msg->ack = 0; /* not used */ in proc_exit_connector()
312 ev->event_data.ack.err = err; in cn_proc_ack()
314 msg->ack = rcvd_ack + 1; in cn_proc_ack()
[all …]
/drivers/media/pci/cx18/
Dcx18-mailbox.c127 "\n", name, mb->request, mb->ack, mb->cmd, mb->error, in dump_mb()
420 req == cx18_readl(cx, &ack_mb->ack)) { in mb_ack_irq()
428 cx18_writel(cx, req, &ack_mb->ack); in mb_ack_irq()
575 if (order_mb->request == order_mb->ack) { in cx18_api_epu_cmd_irq()
603 u32 irq, req, ack, err; in cx18_api_call() local
661 (ack = cx18_readl(cx, &mb->ack)) == req, in cx18_api_call()
663 if (req != ack) { in cx18_api_call()
665 cx18_writel(cx, req, &mb->ack); in cx18_api_call()
680 cx18_writel(cx, req - 1, &mb->ack); /* ensure ack & req are distinct */ in cx18_api_call()
695 ack = cx18_readl(cx, &mb->ack); in cx18_api_call()
[all …]
/drivers/net/ppp/
Dpptp.c90 u32 ack; member
235 header_len -= sizeof(hdr->ack); in pptp_xmit()
251 hdr->ack = htonl(seq_recv); in pptp_xmit()
314 __u32 ack; in pptp_rcv_core() local
321 ack = PPTP_GRE_IS_S(header->flags) ? header->ack : header->seq; in pptp_rcv_core()
323 ack = ntohl(ack); in pptp_rcv_core()
325 if (ack > opt->ack_recv) in pptp_rcv_core()
326 opt->ack_recv = ack; in pptp_rcv_core()
328 if (WRAPPED(ack, opt->ack_recv)) in pptp_rcv_core()
329 opt->ack_recv = ack; in pptp_rcv_core()
[all …]
/drivers/ptp/
Dptp_ixp46x.c90 u32 ack = 0, lo, hi, val; in isr() local
95 ack |= TSER_SNS; in isr()
109 ack |= TSER_SNM; in isr()
123 ack |= TTIPEND; /* this bit seems to be always set */ in isr()
125 if (ack) { in isr()
126 __raw_writel(ack, &regs->event); in isr()
Dptp_pch.c366 u32 ack = 0, lo, hi, val; in isr() local
371 ack |= PCH_TSE_SNS; in isr()
385 ack |= PCH_TSE_SNM; in isr()
399 ack |= PCH_TSE_TTIPEND; /* this bit seems to be always set */ in isr()
401 if (ack) { in isr()
402 iowrite32(ack, &regs->event); in isr()
/drivers/staging/comedi/drivers/
Dni_tiocmd.c367 unsigned ack = 0; in ni_tio_acknowledge_and_confirm() local
379 ack |= Gi_Gate_Error_Confirm_Bit(counter->counter_index); in ni_tio_acknowledge_and_confirm()
391 ack |= Gi_TC_Error_Confirm_Bit(counter->counter_index); in ni_tio_acknowledge_and_confirm()
396 ack |= Gi_TC_Interrupt_Ack_Bit; in ni_tio_acknowledge_and_confirm()
399 ack |= Gi_Gate_Interrupt_Ack_Bit; in ni_tio_acknowledge_and_confirm()
401 if (ack) in ni_tio_acknowledge_and_confirm()
402 write_register(counter, ack, in ni_tio_acknowledge_and_confirm()
/drivers/w1/
Dw1_netlink.c73 msg->ack++; in w1_send_slave()
93 msg->ack = 0; in w1_process_search_command()
126 cm->ack = msg->seq+1; in w1_send_read_reply()
180 msg->ack = 0; in w1_process_command_master()
247 cn->ack = 1; in w1_process_command_root()
260 cn->ack++; in w1_process_command_root()
271 cn->ack = 0; in w1_process_command_root()
/drivers/net/ethernet/ti/
Dtlan.c1124 u32 ack; in tlan_handle_interrupt() local
1128 ack = tlan_int_vector[type](dev, host_int); in tlan_handle_interrupt()
1130 if (ack) { in tlan_handle_interrupt()
1131 host_cmd = TLAN_HC_ACK | ack | (type << 18); in tlan_handle_interrupt()
1336 u32 ack = 0; in tlan_handle_tx_eof() local
1345 && (ack < 255)) { in tlan_handle_tx_eof()
1348 ack++; in tlan_handle_tx_eof()
1368 if (!ack) in tlan_handle_tx_eof()
1382 ack |= TLAN_HC_GO; in tlan_handle_tx_eof()
1403 return ack; in tlan_handle_tx_eof()
[all …]
/drivers/net/ethernet/freescale/
Dgianfar_ptp.c212 u32 ack = 0, lo, hi, mask, val; in isr() local
217 ack |= ETS1; in isr()
228 ack |= ETS2; in isr()
239 ack |= ALM2; in isr()
268 ack |= PP1; in isr()
273 if (ack) { in isr()
274 gfar_write(&etsects->regs->tmr_tevent, ack); in isr()
/drivers/net/wan/
Dhdlc_cisco.c162 u32 ack; in cisco_rx() local
224 ack = ntohl(cisco_data->par2); in cisco_rx()
225 if (ack && (ack == st->txseq || in cisco_rx()
227 ack == st->txseq - 1)) { in cisco_rx()
/drivers/isdn/pcbit/
Dlayer2.c55 static void pcbit_recv_ack(struct pcbit_dev *dev, unsigned char ack);
665 pcbit_recv_ack(struct pcbit_dev *dev, unsigned char ack) in pcbit_recv_ack() argument
678 if (ack <= dev->unack_seq || ack > dev->send_seq) { in pcbit_recv_ack()
684 } else if (ack > dev->send_seq && ack <= dev->unack_seq) { in pcbit_recv_ack()
699 } while (i != ack); in pcbit_recv_ack()
/drivers/i2c/busses/
Di2c-diolan-u2c.c238 static int diolan_i2c_get_byte_ack(struct i2c_diolan_u2c *dev, bool ack, in diolan_i2c_get_byte_ack() argument
243 ret = diolan_usb_cmd_data(dev, CMD_I2C_GET_BYTE_ACK, ack, true); in diolan_i2c_get_byte_ack()
371 bool ack = j < pmsg->len - 1; in diolan_usb_xfer() local
378 ack = true; in diolan_usb_xfer()
380 ret = diolan_i2c_get_byte_ack(dev, ack, &byte); in diolan_usb_xfer()
/drivers/mfd/
Ddb8500-prcmu.c382 } ack; member
401 } ack; member
438 } ack; member
923 if ((mb1_transfer.ack.header != MB1H_ARM_APE_OPP) || in db8500_prcmu_set_arm_opp()
924 (mb1_transfer.ack.arm_opp != opp)) in db8500_prcmu_set_arm_opp()
1050 if ((mb1_transfer.ack.header != MB1H_ARM_APE_OPP) || in db8500_prcmu_set_ape_opp()
1051 (mb1_transfer.ack.ape_opp != opp)) in db8500_prcmu_set_ape_opp()
1112 if ((mb1_transfer.ack.header != header) || in db8500_prcmu_request_ape_opp_100_voltage()
1113 ((mb1_transfer.ack.ape_voltage_status & BIT(0)) != 0)) in db8500_prcmu_request_ape_opp_100_voltage()
1142 if ((mb1_transfer.ack.header != MB1H_RELEASE_USB_WAKEUP) || in prcmu_release_usb_wakeup_state()
[all …]
/drivers/w1/slaves/
Dw1_ds28e04.c308 u8 ack; in w1_f1C_write_pio() local
330 w1_read_block(sl->master, &ack, sizeof(ack)); in w1_f1C_write_pio()
335 if (ack != 0xAA) in w1_f1C_write_pio()
/drivers/i2c/algos/
Di2c-algo-pca.c161 __u8 *b, int ack) in pca_rx_byte() argument
164 DEB2("=== READ %#04x %s\n", *b, ack ? "ACK" : "NACK"); in pca_rx_byte()
173 int ack) in pca_rx_ack() argument
179 if (ack) in pca_rx_ack()
Di2c-algo-bit.c171 int ack; in i2c_outb() local
202 ack = !getsda(adap); /* ack: sda is pulled low -> success */ in i2c_outb()
204 ack ? "A" : "NA"); in i2c_outb()
207 return ack; in i2c_outb()
/drivers/isdn/gigaset/
Di4l.c43 static int writebuf_from_LL(int driverID, int channel, int ack, in writebuf_from_LL() argument
71 driverID, channel, ack, len); in writebuf_from_LL()
74 if (ack) in writebuf_from_LL()
94 if (ack) { in writebuf_from_LL()
101 len, ack, ack_header[0], ack_header[1]); in writebuf_from_LL()
/drivers/firewire/
Dcore-transaction.c281 packet->ack = 0; in fw_fill_request()
625 int ack; member
792 request->response.ack = 0; in allocate_request()
794 request->ack = p->ack; in allocate_request()
811 if (request->ack != ACK_PENDING || in fw_send_response()
914 if (p->ack != ACK_PENDING && p->ack != ACK_COMPLETE) in fw_core_handle_request()
Dohci.c869 p.ack = evt - 16; in handle_ar_packet()
882 p.ack = ACK_COMPLETE; in handle_ar_packet()
1308 packet->ack = RCODE_SEND_ERROR; in at_context_queue_packet()
1367 packet->ack = RCODE_SEND_ERROR; in at_context_queue_packet()
1383 packet->ack = RCODE_SEND_ERROR; in at_context_queue_packet()
1412 packet->ack = RCODE_GENERATION; in at_context_queue_packet()
1468 packet->ack = RCODE_CANCELLED; in handle_at_packet()
1476 packet->ack = RCODE_GENERATION; in handle_at_packet()
1481 packet->ack = RCODE_GENERATION; in handle_at_packet()
1487 packet->ack = RCODE_NO_ACK; in handle_at_packet()
[all …]
/drivers/staging/gdm72xx/
Dusb_boot.c260 int ack; in em_wait_ack() local
271 ret = gdm_wibro_recv(usbdev, &ack, sizeof(ack)); in em_wait_ack()

1234