Home
last modified time | relevance | path

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

12345678

/drivers/net/wimax/i2400m/
Dfw.c451 struct i2400m_bootrom_header *ack, in __i2400m_bm_ack_verify() argument
458 i2400m, opcode, ack, ack_size); in __i2400m_bm_ack_verify()
459 if (ack_size < sizeof(*ack)) { in __i2400m_bm_ack_verify()
463 opcode, ack_size, sizeof(*ack)); in __i2400m_bm_ack_verify()
466 result = i2400m_is_boot_barker(i2400m, ack, ack_size); in __i2400m_bm_ack_verify()
473 && memcmp(ack, i2400m_ACK_BARKER, sizeof(*ack)) == 0) { in __i2400m_bm_ack_verify()
482 ack->data_size = le32_to_cpu(ack->data_size); in __i2400m_bm_ack_verify()
483 ack->target_addr = le32_to_cpu(ack->target_addr); in __i2400m_bm_ack_verify()
484 ack->block_checksum = le32_to_cpu(ack->block_checksum); in __i2400m_bm_ack_verify()
487 opcode, i2400m_brh_get_opcode(ack), in __i2400m_bm_ack_verify()
[all …]
Dcontrol.c931 const struct i2400m_l3l4_hdr *ack; in i2400m_get_device_info() local
951 ack = wimax_msg_data_len(ack_skb, &ack_len); in i2400m_get_device_info()
952 result = i2400m_msg_check_status(ack, strerr, sizeof(strerr)); in i2400m_get_device_info()
959 tlv = i2400m_tlv_find(i2400m, ack->pl, ack_len - sizeof(*ack), in i2400m_get_device_info()
1013 const struct i2400m_l3l4_hdr *ack; in i2400m_firmware_check() local
1035 ack = wimax_msg_data_len(ack_skb, &ack_len); in i2400m_firmware_check()
1036 result = i2400m_msg_check_status(ack, strerr, sizeof(strerr)); in i2400m_firmware_check()
1043 tlv = i2400m_tlv_find(i2400m, ack->pl, ack_len - sizeof(*ack), in i2400m_firmware_check()
1145 const struct i2400m_l3l4_hdr *ack; in i2400m_cmd_get_state() local
1164 ack = wimax_msg_data_len(ack_skb, &ack_len); in i2400m_cmd_get_state()
[all …]
/drivers/hid/
Dhid-hyperv.c130 struct synthhid_device_info_ack ack; member
186 struct mousevsc_prt_msg ack; in mousevsc_on_receive_device_info() local
223 memset(&ack, 0, sizeof(struct mousevsc_prt_msg)); in mousevsc_on_receive_device_info()
225 ack.type = PIPE_MESSAGE_DATA; in mousevsc_on_receive_device_info()
226 ack.size = sizeof(struct synthhid_device_info_ack); in mousevsc_on_receive_device_info()
228 ack.ack.header.type = SYNTH_HID_INITIAL_DEVICE_INFO_ACK; in mousevsc_on_receive_device_info()
229 ack.ack.header.size = 1; in mousevsc_on_receive_device_info()
230 ack.ack.reserved = 0; in mousevsc_on_receive_device_info()
233 &ack, in mousevsc_on_receive_device_info()
236 (unsigned long)&ack, in mousevsc_on_receive_device_info()
/drivers/gpu/drm/mediatek/
Dmtk_hdmi_ddc.c115 u32 ack; in mtk_hdmi_ddc_read_msg() local
123 ack = sif_read_mask(ddc, DDC_DDCMCTL1, DDCM_ACK_MASK, DDCM_ACK_OFFSET); in mtk_hdmi_ddc_read_msg()
124 dev_dbg(dev, "ack = 0x%x\n", ack); in mtk_hdmi_ddc_read_msg()
125 if (ack != 0x01) { in mtk_hdmi_ddc_read_msg()
150 ack = sif_read_mask(ddc, DDC_DDCMCTL1, DDCM_ACK_MASK, in mtk_hdmi_ddc_read_msg()
153 while (((ack & (1 << temp_count)) != 0) && (temp_count < 8)) in mtk_hdmi_ddc_read_msg()
157 dev_err(dev, "Address NACK! ACK(0x%x)\n", ack); in mtk_hdmi_ddc_read_msg()
188 u32 ack; in mtk_hdmi_ddc_write_msg() local
197 ack = sif_read_mask(ddc, DDC_DDCMCTL1, DDCM_ACK_MASK, DDCM_ACK_OFFSET); in mtk_hdmi_ddc_write_msg()
198 dev_dbg(dev, "ack = %d\n", ack); in mtk_hdmi_ddc_write_msg()
[all …]
/drivers/reset/sti/
Dreset-syscfg.c27 struct regmap_field *ack; member
66 if (ch->ack) { in syscfg_reset_program_hw()
71 err = regmap_field_read(ch->ack, &ack_val); in syscfg_reset_program_hw()
124 if (ch->ack) in syscfg_reset_status()
125 err = regmap_field_read(ch->ack, &ret_val); in syscfg_reset_status()
179 f = devm_regmap_field_alloc(dev, map, data->channels[i].ack); in syscfg_reset_controller_register()
183 rc->channels[i].ack = f; in syscfg_reset_controller_register()
/drivers/infiniband/hw/hfi1/
Dtrace.c160 u8 *ack, bool *becn, bool *fecn, u8 *mig, in hfi1_trace_parse_9b_bth() argument
164 *ack = ib_bth_get_ackreq(ohdr); in hfi1_trace_parse_9b_bth()
178 u8 *ack, u8 *mig, u8 *opcode, in hfi1_trace_parse_16b_bth() argument
182 *ack = ib_bth_get_ackreq(ohdr); in hfi1_trace_parse_16b_bth()
259 u8 ack, bool becn, bool fecn, u8 mig, in hfi1_trace_fmt_rest() argument
273 se, mig, pad, tver, qpn, ack, psn); in hfi1_trace_fmt_rest()
279 qpn, ack, psn); in hfi1_trace_fmt_rest()
411 le32_to_cpu(eh->tid_rdma.ack.kdeth0), in parse_everbs_hdrs()
412 le32_to_cpu(eh->tid_rdma.ack.kdeth1), in parse_everbs_hdrs()
413 be32_to_cpu(eh->tid_rdma.ack.aeth) >> 24, in parse_everbs_hdrs()
[all …]
Dtrace_ibhdrs.h116 u8 *ack, bool *becn, bool *fecn, u8 *mig,
123 u8 *ack, u8 *mig, u8 *opcode,
139 u8 ack, bool becn, bool fecn, u8 mig,
163 __field(u8, ack)
219 &__entry->ack,
240 &__entry->ack,
286 __entry->ack,
323 __field(u8, ack)
384 &__entry->ack,
408 &__entry->ack,
[all …]
/drivers/connector/
Dcn_proc.c93 msg->ack = 0; /* not used */ in proc_fork_connector()
117 msg->ack = 0; /* not used */ in proc_exec_connector()
155 msg->ack = 0; /* not used */ in proc_id_connector()
179 msg->ack = 0; /* not used */ in proc_sid_connector()
211 msg->ack = 0; /* not used */ in proc_ptrace_connector()
236 msg->ack = 0; /* not used */ in proc_comm_connector()
269 msg->ack = 0; /* not used */ in proc_coredump_connector()
304 msg->ack = 0; /* not used */ in proc_exit_connector()
334 ev->event_data.ack.err = err; in cn_proc_ack()
336 msg->ack = rcvd_ack + 1; in cn_proc_ack()
[all …]
/drivers/media/pci/cx18/
Dcx18-mailbox.c113 name, mb->request, mb->ack, mb->cmd, mb->error, in dump_mb()
405 req == cx18_readl(cx, &ack_mb->ack)) { in mb_ack_irq()
411 cx18_writel(cx, req, &ack_mb->ack); in mb_ack_irq()
557 if (order_mb->request == order_mb->ack) { in cx18_api_epu_cmd_irq()
583 u32 irq, req, ack, err; in cx18_api_call() local
641 (ack = cx18_readl(cx, &mb->ack)) == req, in cx18_api_call()
643 if (req != ack) { in cx18_api_call()
645 cx18_writel(cx, req, &mb->ack); in cx18_api_call()
660 cx18_writel(cx, req - 1, &mb->ack); /* ensure ack & req are distinct */ in cx18_api_call()
675 ack = cx18_readl(cx, &mb->ack); in cx18_api_call()
[all …]
/drivers/infiniband/sw/rxe/
Drxe_resp.c560 struct rxe_pkt_info *ack, in prepare_ack_packet() argument
581 skb = rxe_init_packet(rxe, &qp->pri_av, paylen, ack); in prepare_ack_packet()
585 ack->qp = qp; in prepare_ack_packet()
586 ack->opcode = opcode; in prepare_ack_packet()
587 ack->mask = rxe_opcode[opcode].mask; in prepare_ack_packet()
588 ack->offset = pkt->offset; in prepare_ack_packet()
589 ack->paylen = paylen; in prepare_ack_packet()
592 memcpy(ack->hdr, pkt->hdr, pkt->offset + RXE_BTH_BYTES); in prepare_ack_packet()
594 bth_set_opcode(ack, opcode); in prepare_ack_packet()
595 bth_set_qpn(ack, qp->attr.dest_qp_num); in prepare_ack_packet()
[all …]
/drivers/gpu/drm/amd/display/dc/irq/dce80/
Dirq_service_dce80.c71 .ack = hpd_ack
76 .ack = NULL
81 .ack = NULL
86 .ack = NULL
91 .ack = NULL
191 .ack = dal_irq_service_dummy_ack
/drivers/gpu/drm/amd/display/dc/irq/dce120/
Dirq_service_dce120.c71 .ack = hpd_ack
76 .ack = NULL
81 .ack = NULL
86 .ack = NULL
91 .ack = NULL
181 .ack = dal_irq_service_dummy_ack
/drivers/soc/actions/
Dowl-sps-helper.c20 bool ack; in owl_sps_set_pg() local
24 ack = val & ack_mask; in owl_sps_set_pg()
25 if (ack == enable) in owl_sps_set_pg()
/drivers/soc/qcom/
Dwcnss_ctrl.c37 struct completion ack; member
141 complete(&wcnss->ack); in wcnss_ctrl_smd_callback()
152 complete(&wcnss->ack); in wcnss_ctrl_smd_callback()
181 ret = wait_for_completion_timeout(&wcnss->ack, WCNSS_CBC_TIMEOUT); in wcnss_request_version()
248 ret = wait_for_completion_timeout(&wcnss->ack, WCNSS_REQUEST_TIMEOUT); in wcnss_download_nv()
319 init_completion(&wcnss->ack); in wcnss_ctrl_probe()
Dsmd-rpm.c33 struct completion ack; member
136 left = wait_for_completion_timeout(&rpm->ack, RPM_REQUEST_TIMEOUT); in qcom_rpm_smd_write()
193 complete(&rpm->ack); in qcom_smd_rpm_callback()
207 init_completion(&rpm->ack); in qcom_smd_rpm_probe()
/drivers/gpu/drm/amd/display/dc/irq/dce60/
Dirq_service_dce60.c78 .ack = hpd_ack
83 .ack = NULL
88 .ack = NULL
93 .ack = NULL
98 .ack = NULL
197 .ack = dal_irq_service_dummy_ack
/drivers/gpu/drm/amd/display/dc/irq/dcn20/
Dirq_service_dcn20.c152 .ack = hpd_ack
157 .ack = NULL
162 .ack = NULL
167 .ack = NULL
172 .ack = NULL
267 .ack = dal_irq_service_dummy_ack
/drivers/gpu/drm/amd/display/dc/irq/dcn10/
Dirq_service_dcn10.c152 .ack = hpd_ack
157 .ack = NULL
162 .ack = NULL
167 .ack = NULL
172 .ack = NULL
263 .ack = dal_irq_service_dummy_ack
/drivers/gpu/drm/amd/display/dc/irq/dcn30/
Dirq_service_dcn30.c159 .ack = hpd_ack
164 .ack = NULL
169 .ack = NULL
174 .ack = NULL
179 .ack = NULL
274 .ack = dal_irq_service_dummy_ack
/drivers/gpu/drm/amd/display/dc/irq/dcn21/
Dirq_service_dcn21.c153 .ack = hpd_ack
158 .ack = NULL
163 .ack = NULL
168 .ack = NULL
173 .ack = NULL
268 .ack = dal_irq_service_dummy_ack
/drivers/net/ethernet/xscale/
Dptp_ixp46x.c78 u32 ack = 0, lo, hi, val; in isr() local
83 ack |= TSER_SNS; in isr()
97 ack |= TSER_SNM; in isr()
111 ack |= TTIPEND; /* this bit seems to be always set */ in isr()
113 if (ack) { in isr()
114 __raw_writel(ack, &regs->event); in isr()
/drivers/net/ppp/
Dpptp.c211 header_len -= sizeof(hdr->ack); in pptp_xmit()
225 hdr->ack = htonl(seq_recv); in pptp_xmit()
288 __u32 ack; in pptp_rcv_core() local
295 ack = GRE_IS_SEQ(header->gre_hd.flags) ? header->ack : header->seq; in pptp_rcv_core()
297 ack = ntohl(ack); in pptp_rcv_core()
299 if (ack > opt->ack_recv) in pptp_rcv_core()
300 opt->ack_recv = ack; in pptp_rcv_core()
302 if (WRAPPED(ack, opt->ack_recv)) in pptp_rcv_core()
303 opt->ack_recv = ack; in pptp_rcv_core()
305 headersize -= sizeof(header->ack); in pptp_rcv_core()
/drivers/gpu/drm/amd/display/dc/irq/dce110/
Dirq_service_dce110.c68 .ack = hpd_ack
73 .ack = NULL
78 .ack = NULL
83 .ack = NULL
88 .ack = NULL
230 .ack = dal_irq_service_dummy_ack
/drivers/mfd/
Dqcom_rpm.c46 struct completion ack; member
477 reinit_completion(&rpm->ack); in qcom_rpm_write()
480 left = wait_for_completion_timeout(&rpm->ack, RPM_REQUEST_TIMEOUT); in qcom_rpm_write()
495 u32 ack; in qcom_rpm_ack_interrupt() local
498 ack = readl_relaxed(RPM_CTRL_REG(rpm, rpm->data->ack_ctx_off)); in qcom_rpm_ack_interrupt()
504 if (ack & RPM_NOTIFICATION) { in qcom_rpm_ack_interrupt()
507 rpm->ack_status = ack; in qcom_rpm_ack_interrupt()
508 complete(&rpm->ack); in qcom_rpm_ack_interrupt()
547 init_completion(&rpm->ack); in qcom_rpm_probe()
/drivers/staging/comedi/drivers/
Dni_tiocmd.c394 unsigned int ack = 0; in ni_tio_acknowledge_and_confirm() local
404 ack |= GI_GATE_ERROR_CONFIRM(cidx); in ni_tio_acknowledge_and_confirm()
417 ack |= GI_TC_ERROR_CONFIRM(cidx); in ni_tio_acknowledge_and_confirm()
422 ack |= GI_TC_INTERRUPT_ACK; in ni_tio_acknowledge_and_confirm()
425 ack |= GI_GATE_INTERRUPT_ACK; in ni_tio_acknowledge_and_confirm()
427 if (ack) in ni_tio_acknowledge_and_confirm()
428 ni_tio_write(counter, ack, NITIO_INT_ACK_REG(cidx)); in ni_tio_acknowledge_and_confirm()

12345678