Home
last modified time | relevance | path

Searched refs:buf_in (Results 1 – 21 of 21) sorted by relevance

/linux-6.3-rc2/drivers/media/rc/
A Dstreamzap.c71 unsigned char *buf_in; member
176 i, (unsigned char)sz->buf_in[i]); in streamzap_callback()
179 if ((sz->buf_in[i] & SZ_PULSE_MASK) == in streamzap_callback()
185 sz_push_half_pulse(sz, sz->buf_in[i]); in streamzap_callback()
189 sz_push_half_pulse(sz, sz->buf_in[i]); in streamzap_callback()
190 sz_push_half_space(sz, sz->buf_in[i]); in streamzap_callback()
194 sz_push_full_pulse(sz, sz->buf_in[i]); in streamzap_callback()
198 if (sz->buf_in[i] == SZ_TIMEOUT) { in streamzap_callback()
210 if ((sz->buf_in[i] & SZ_SPACE_MASK) == in streamzap_callback()
215 sz_push_half_space(sz, sz->buf_in[i]); in streamzap_callback()
[all …]
A Diguanair.c32 uint8_t *buf_in; member
81 if (len >= 4 && ir->buf_in[0] == 0 && ir->buf_in[1] == 0) { in process_ir_data()
82 switch (ir->buf_in[3]) { in process_ir_data()
85 ir->version = (ir->buf_in[5] << 8) | in process_ir_data()
86 ir->buf_in[4]; in process_ir_data()
92 ir->bufsize = ir->buf_in[4]; in process_ir_data()
98 ir->cycle_overhead = ir->buf_in[5]; in process_ir_data()
116 ir->buf_in[3]); in process_ir_data()
125 if (ir->buf_in[i] == 0x80) { in process_ir_data()
129 rawir.pulse = (ir->buf_in[i] & 0x80) == 0; in process_ir_data()
[all …]
A Digorplugusb.c41 u8 *buf_in; member
53 dev_dbg(ir->dev, "irdata: %*ph (len=%u)", len, ir->buf_in, len); in igorplugusb_irdata()
61 overflow = ir->buf_in[2]; in igorplugusb_irdata()
74 rawir.duration = ir->buf_in[i] * 85; in igorplugusb_irdata()
179 ir->buf_in = kmalloc(MAX_PACKET, GFP_KERNEL); in igorplugusb_probe()
180 if (!ir->buf_in) in igorplugusb_probe()
184 ir->buf_in, MAX_PACKET, igorplugusb_callback, ir); in igorplugusb_probe()
230 kfree(ir->buf_in); in igorplugusb_probe()
245 kfree(ir->buf_in); in igorplugusb_disconnect()
A Dmceusb.c472 unsigned char *buf_in; member
1167 u8 cmd = buf_in[0]; in mceusb_handle_command()
1168 u8 subcmd = buf_in[1]; in mceusb_handle_command()
1169 u8 *hi = &buf_in[2]; /* read only when required */ in mceusb_handle_command()
1179 if (buf_in[5] == 0 && *hi < 8) in mceusb_handle_command()
1285 mceusb_handle_command(ir, &ir->buf_in[i - 1]); in mceusb_process_ir_data()
1294 ir->buf_in[i]); in mceusb_process_ir_data()
1305 rawir.duration, ir->buf_in[i]); in mceusb_process_ir_data()
1314 ir->cmd = ir->buf_in[i]; in mceusb_process_ir_data()
1331 mceusb_dev_printdata(ir, ir->buf_in, buf_len, in mceusb_process_ir_data()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/huawei/hinic/
A Dhinic_hw_mbox.h30 void *buf_in, u16 in_size);
65 typedef void (*hinic_vf_mbox_cb)(void *handle, u8 cmd, void *buf_in,
67 typedef int (*hinic_pf_mbox_cb)(void *handle, u16 vf_id, u8 cmd, void *buf_in,
127 void *buf_in, u16 in_size,
132 void *buf_in, u16 in_size);
136 u16 vf_id, u8 cmd, void *buf_in,
158 u8 cmd, void *buf_in, u16 in_size, void *buf_out,
163 void *buf_in, u16 in_size, void *buf_out,
167 enum hinic_mod_type mod, u16 vf_id, u8 cmd, void *buf_in,
A Dhinic_hw_cmdq.c229 struct hinic_cmdq_buf *buf_in) in cmdq_set_lcmd_bufdesc() argument
231 hinic_set_sge(&wqe_lcmd->buf_desc.sge, buf_in->dma_addr, buf_in->size); in cmdq_set_lcmd_bufdesc()
235 void *buf_in, u32 in_size) in cmdq_set_direct_wqe_data() argument
245 struct hinic_cmdq_buf *buf_in, in cmdq_set_lcmd_wqe() argument
268 cmdq_set_lcmd_bufdesc(wqe_lcmd, buf_in); in cmdq_set_lcmd_wqe()
273 void *buf_in, u16 in_size, in cmdq_set_direct_wqe() argument
337 struct hinic_cmdq_buf *buf_in, in cmdq_sync_cmd_direct_resp() argument
465 if (buf_in->size > HINIC_CMDQ_MAX_DATA_SIZE) in cmdq_params_valid()
483 struct hinic_cmdq_buf *buf_in, u64 *resp) in hinic_cmdq_direct_resp() argument
489 err = cmdq_params_valid(buf_in); in hinic_cmdq_direct_resp()
[all …]
A Dhinic_hw_mbox.c187 const void *buf_in, u16 in_size, u16 offset) in check_func_id() argument
198 func_idx = *((u16 *)((u8 *)buf_in + offset)); in check_func_id()
211 void *buf_in, u16 in_size) in hinic_mbox_check_func_id_8B() argument
1051 void *buf_in, u16 in_size) in mbox_func_params_valid() argument
1235 u16 vf_id, u8 cmd, void *buf_in, in hinic_mbox_check_cmd_valid() argument
1245 buf_in, in_size); in hinic_mbox_check_cmd_valid()
1280 void *buf_in, u16 in_size) in check_cmdq_ctxt() argument
1308 void *buf_in, u16 in_size) in check_hwctxt() argument
1330 void *buf_in, u16 in_size) in check_set_wq_page_size() argument
1375 buf_in, in_size, size)) { in comm_pf_mbox_handler()
[all …]
A Dhinic_sriov.c258 void *buf_in, u16 in_size, in hinic_register_vf_msg_handler() argument
287 void *buf_in, u16 in_size, in hinic_unregister_vf_msg_handler() argument
304 void *buf_in, u16 in_size, in hinic_change_vf_mtu_msg_handler() argument
322 void *buf_in, u16 in_size, in hinic_get_vf_mac_msg_handler() argument
341 void *buf_in, u16 in_size, in hinic_set_vf_mac_msg_handler() argument
375 void *buf_in, u16 in_size, in hinic_del_vf_mac_msg_handler() argument
407 void *buf_in, u16 in_size, in hinic_get_vf_link_status_msg_handler() argument
434 void *buf_in, u16 in_size) in check_func_table() argument
1046 buf_in, in_size, size)) { in nic_pf_mbox_handler()
1060 buf_in, in_size, in nic_pf_mbox_handler()
[all …]
A Dhinic_hw_mgmt.h122 void *buf_in, u16 in_size,
164 u8 cmd, void *buf_in,
173 void *buf_in, u16 in_size, void *buf_out, u16 *out_size,
A Dhinic_hw_mgmt.c85 u8 cmd, void *buf_in, in hinic_register_mgmt_msg_cb() argument
247 u8 *buf_in, u16 in_size, in msg_to_mgmt_sync() argument
273 err = send_msg_to_mgmt(pf_to_mgmt, mod, cmd, buf_in, in_size, in msg_to_mgmt_sync()
321 u8 *buf_in, u16 in_size, in msg_to_mgmt_async() argument
330 err = send_msg_to_mgmt(pf_to_mgmt, mod, cmd, buf_in, in_size, in msg_to_mgmt_async()
352 void *buf_in, u16 in_size, void *buf_out, u16 *out_size, in hinic_msg_to_mgmt() argument
373 return hinic_mbox_to_pf(pf_to_mgmt->hwdev, mod, cmd, buf_in, in hinic_msg_to_mgmt()
381 return msg_to_mgmt_sync(pf_to_mgmt, mod, cmd, buf_in, in_size, in hinic_msg_to_mgmt()
A Dhinic_hw_dev.c209 void *buf_in, u16 in_size, void *buf_out, u16 *out_size) in hinic_port_msg_cmd() argument
216 buf_in, in_size, buf_out, out_size, in hinic_port_msg_cmd()
221 void *buf_in, u16 in_size, void *buf_out, in hinic_hilink_msg_cmd() argument
229 buf_in, in_size, buf_out, out_size, in hinic_hilink_msg_cmd()
530 void (*handler)(void *handle, void *buf_in, in hinic_hwdev_cb_register() argument
586 static void nic_mgmt_msg_handler(void *handle, u8 cmd, void *buf_in, in nic_mgmt_msg_handler() argument
616 nic_cb->handler(nic_cb->handle, buf_in, in nic_mgmt_msg_handler()
677 (&pfhwdev->hwdev, buf_in, in_size, in comm_mgmt_msg_handler()
695 struct hinic_cmd_fault_event *fault_event = buf_in; in pf_fault_event_handler()
712 void *buf_in, u16 in_size, in mgmt_watchdog_timeout_event_handler() argument
[all …]
A Dhinic_hw_dev.h440 void (*handler)(void *handle, void *buf_in,
450 typedef void (*comm_mgmt_self_msg_proc)(void *handle, void *buf_in, u16 in_size,
612 void (*handler)(void *handle, void *buf_in,
620 void *buf_in, u16 in_size, void *buf_out,
624 void *buf_in, u16 in_size, void *buf_out,
A Dhinic_main.c964 static void link_status_event_handler(void *handle, void *buf_in, u16 in_size, in link_status_event_handler() argument
970 link_status = buf_in; in link_status_event_handler()
1015 void *buf_in, u16 in_size, in cable_plug_event() argument
1018 struct hinic_cable_plug_event *plug_event = buf_in; in cable_plug_event()
1029 void *buf_in, u16 in_size, in link_err_event() argument
1032 struct hinic_link_err_event *link_err = buf_in; in link_err_event()
A Dhinic_hw_cmdq.h178 struct hinic_cmdq_buf *buf_in, u64 *out_param);
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dxdp_bpf2bpf.c48 __u8 *buf, *buf_in; in run_xdp_bpf2bpf_pkt_size() local
56 buf_in = malloc(BUF_SZ); in run_xdp_bpf2bpf_pkt_size()
57 if (!ASSERT_OK_PTR(buf_in, "buf_in malloc()")) in run_xdp_bpf2bpf_pkt_size()
62 free(buf_in); in run_xdp_bpf2bpf_pkt_size()
69 memcpy(buf_in, &pkt_v4, sizeof(pkt_v4)); in run_xdp_bpf2bpf_pkt_size()
72 buf_in[i + sizeof(pkt_v4)] = i; in run_xdp_bpf2bpf_pkt_size()
76 topts.data_in = buf_in; in run_xdp_bpf2bpf_pkt_size()
100 free(buf_in); in run_xdp_bpf2bpf_pkt_size()
/linux-6.3-rc2/tools/perf/util/
A Dlzma.c42 u8 buf_in[BUFSIZE]; in lzma_decompress_to_file() local
67 strm.next_in = buf_in; in lzma_decompress_to_file()
68 strm.avail_in = fread(buf_in, 1, sizeof(buf_in), infile); in lzma_decompress_to_file()
/linux-6.3-rc2/net/sunrpc/auth_gss/
A Dgss_generic_token.c181 unsigned char **buf_in, int toksize) in g_verify_token_header() argument
183 unsigned char *buf = *buf_in; in g_verify_token_header()
225 *buf_in = buf; in g_verify_token_header()
/linux-6.3-rc2/drivers/hid/
A Dhid-u2fzero.c87 u8 *buf_in; member
161 memcpy(resp, dev->buf_in, ret); in u2fzero_recv()
297 dev->buf_in, in u2fzero_fill_in_urb()
327 dev->buf_in = devm_kmalloc(&hdev->dev, in u2fzero_probe()
329 if (dev->buf_in == NULL) in u2fzero_probe()
/linux-6.3-rc2/tools/usb/ffs-aio-example/simple/device_app/
A Daio_simple.c235 char *buf_in, *buf_out; in main() local
292 buf_in = malloc(BUF_LEN); in main()
344 io_prep_pwrite(iocb_in, ep[0], buf_in, BUF_LEN, 0); in main()
376 free(buf_in); in main()
/linux-6.3-rc2/include/linux/sunrpc/
A Dgss_asn1.h71 unsigned char **buf_in,
/linux-6.3-rc2/drivers/crypto/
A Datmel-tdes.c125 void *buf_in; member
326 dd->buf_in = (void *)__get_free_pages(GFP_KERNEL, 0); in atmel_tdes_buff_init()
331 if (!dd->buf_in || !dd->buf_out) { in atmel_tdes_buff_init()
337 dd->dma_addr_in = dma_map_single(dd->dev, dd->buf_in, in atmel_tdes_buff_init()
361 free_page((unsigned long)dd->buf_in); in atmel_tdes_buff_init()
372 free_page((unsigned long)dd->buf_in); in atmel_tdes_buff_cleanup()
534 dd->buf_in, dd->buflen, dd->total, 0); in atmel_tdes_crypt_start()

Completed in 53 milliseconds