Home
last modified time | relevance | path

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

12345

/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
194 struct mousevsc_prt_msg ack; in mousevsc_on_receive_device_info() local
227 memset(&ack, 0, sizeof(struct mousevsc_prt_msg)); in mousevsc_on_receive_device_info()
229 ack.type = PIPE_MESSAGE_DATA; in mousevsc_on_receive_device_info()
230 ack.size = sizeof(struct synthhid_device_info_ack); in mousevsc_on_receive_device_info()
232 ack.ack.header.type = SYNTH_HID_INITIAL_DEVICE_INFO_ACK; in mousevsc_on_receive_device_info()
233 ack.ack.header.size = 1; in mousevsc_on_receive_device_info()
234 ack.ack.reserved = 0; in mousevsc_on_receive_device_info()
237 &ack, in mousevsc_on_receive_device_info()
240 (unsigned long)&ack, in mousevsc_on_receive_device_info()
/drivers/connector/
Dcn_proc.c92 msg->ack = 0; /* not used */ in proc_fork_connector()
118 msg->ack = 0; /* not used */ in proc_exec_connector()
157 msg->ack = 0; /* not used */ in proc_id_connector()
182 msg->ack = 0; /* not used */ in proc_sid_connector()
215 msg->ack = 0; /* not used */ in proc_ptrace_connector()
241 msg->ack = 0; /* not used */ in proc_comm_connector()
266 msg->ack = 0; /* not used */ in proc_coredump_connector()
293 msg->ack = 0; /* not used */ in proc_exit_connector()
323 ev->event_data.ack.err = err; in cn_proc_ack()
325 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/reset/sti/
Dreset-syscfg.c31 struct regmap_field *ack; member
69 if (ch->ack) { in syscfg_reset_program_hw()
74 err = regmap_field_read(ch->ack, &ack_val); in syscfg_reset_program_hw()
159 f = devm_regmap_field_alloc(dev, map, data->channels[i].ack); in syscfg_reset_controller_register()
163 rc->channels[i].ack = f; in syscfg_reset_controller_register()
Dreset-syscfg.h29 struct reg_field ack; member
35 .ack = REG_FIELD(_ar, _ab, _ab), }
/drivers/net/ppp/
Dpptp.c90 __be32 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.c356 unsigned ack = 0; in ni_tio_acknowledge_and_confirm() local
368 ack |= GI_GATE_ERROR_CONFIRM(cidx); in ni_tio_acknowledge_and_confirm()
380 ack |= GI_TC_ERROR_CONFIRM(cidx); in ni_tio_acknowledge_and_confirm()
385 ack |= GI_TC_INTERRUPT_ACK; in ni_tio_acknowledge_and_confirm()
388 ack |= GI_GATE_INTERRUPT_ACK; in ni_tio_acknowledge_and_confirm()
390 if (ack) in ni_tio_acknowledge_and_confirm()
391 write_register(counter, ack, NITIO_INT_ACK_REG(cidx)); in ni_tio_acknowledge_and_confirm()
/drivers/net/ethernet/ti/
Dtlan.c1166 u32 ack; in tlan_handle_interrupt() local
1170 ack = tlan_int_vector[type](dev, host_int); in tlan_handle_interrupt()
1172 if (ack) { in tlan_handle_interrupt()
1173 host_cmd = TLAN_HC_ACK | ack | (type << 18); in tlan_handle_interrupt()
1375 u32 ack = 0; in tlan_handle_tx_eof() local
1384 && (ack < 255)) { in tlan_handle_tx_eof()
1387 ack++; in tlan_handle_tx_eof()
1407 if (!ack) in tlan_handle_tx_eof()
1421 ack |= TLAN_HC_GO; in tlan_handle_tx_eof()
1442 return ack; in tlan_handle_tx_eof()
[all …]
/drivers/net/ethernet/freescale/
Dgianfar_ptp.c211 u32 ack = 0, lo, hi, mask, val; in isr() local
216 ack |= ETS1; in isr()
227 ack |= ETS2; in isr()
238 ack |= ALM2; in isr()
267 ack |= PP1; in isr()
272 if (ack) { in isr()
273 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/mfd/
Ddb8500-prcmu.c383 } ack; member
402 } ack; member
439 } ack; member
924 if ((mb1_transfer.ack.header != MB1H_ARM_APE_OPP) || in db8500_prcmu_set_arm_opp()
925 (mb1_transfer.ack.arm_opp != opp)) in db8500_prcmu_set_arm_opp()
1051 if ((mb1_transfer.ack.header != MB1H_ARM_APE_OPP) || in db8500_prcmu_set_ape_opp()
1052 (mb1_transfer.ack.ape_opp != opp)) in db8500_prcmu_set_ape_opp()
1113 if ((mb1_transfer.ack.header != header) || in db8500_prcmu_request_ape_opp_100_voltage()
1114 ((mb1_transfer.ack.ape_voltage_status & BIT(0)) != 0)) in db8500_prcmu_request_ape_opp_100_voltage()
1143 if ((mb1_transfer.ack.header != MB1H_RELEASE_USB_WAKEUP) || in prcmu_release_usb_wakeup_state()
[all …]
/drivers/i2c/busses/
Di2c-diolan-u2c.c237 static int diolan_i2c_get_byte_ack(struct i2c_diolan_u2c *dev, bool ack, in diolan_i2c_get_byte_ack() argument
242 ret = diolan_usb_cmd_data(dev, CMD_I2C_GET_BYTE_ACK, ack, true); in diolan_i2c_get_byte_ack()
370 bool ack = j < pmsg->len - 1; in diolan_usb_xfer() local
377 ack = true; in diolan_usb_xfer()
379 ret = diolan_i2c_get_byte_ack(dev, ack, &byte); in diolan_usb_xfer()
/drivers/w1/slaves/
Dw1_ds28e04.c311 u8 ack; in pio_write() local
333 w1_read_block(sl->master, &ack, sizeof(ack)); in pio_write()
338 if (ack != 0xAA) in pio_write()
/drivers/w1/
Dw1_netlink.c129 static void w1_netlink_setup_msg(struct w1_cb_block *block, u32 ack) in w1_netlink_setup_msg() argument
131 if (block->cn && block->cn->ack == ack) { in w1_netlink_setup_msg()
143 block->cn->ack = ack; in w1_netlink_setup_msg()
185 w1_netlink_setup_msg(block, block->request_cn.ack); in w1_netlink_queue_status()
431 cn->ack = req_cn->seq + 1; in w1_process_command_root()
/drivers/irqchip/
Dirq-zevio.c50 readl(gc->reg_base + regs->ack); in zevio_irq_ack()
118 gc->chip_types[0].regs.ack = IO_IRQ_BASE + IO_RESET; in zevio_of_init()
/drivers/i2c/algos/
Di2c-algo-pca.c155 __u8 *b, int ack) in pca_rx_byte() argument
158 DEB2("=== READ %#04x %s\n", *b, ack ? "ACK" : "NACK"); in pca_rx_byte()
167 int ack) in pca_rx_ack() argument
173 if (ack) in pca_rx_ack()
/drivers/staging/lustre/lnet/lnet/
Dlib-msg.c107 ev->match_bits = hdr->msg.ack.match_bits; in lnet_build_msg_event()
108 ev->mlength = hdr->msg.ack.mlength; in lnet_build_msg_event()
382 msg->msg_hdr.msg.ack.dst_wmd = ack_wmd; in lnet_complete_msg_locked()
383 msg->msg_hdr.msg.ack.match_bits = msg->msg_ev.match_bits; in lnet_complete_msg_locked()
384 msg->msg_hdr.msg.ack.mlength = cpu_to_le32(msg->msg_ev.mlength); in lnet_complete_msg_locked()
/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()

12345