Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/rc/ !
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()
183 } else if ((sz->buf_in[i] & SZ_SPACE_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()
205 sz_push_full_space(sz, sz->buf_in[i]); in streamzap_callback()
[all …]
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 …]
Digorplugusb.c41 uint8_t buf_in[MAX_PACKET]; 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()
174 ir->request.wLength = cpu_to_le16(sizeof(ir->buf_in)); in igorplugusb_probe()
182 ir->buf_in, sizeof(ir->buf_in), igorplugusb_callback, ir); in igorplugusb_probe()
Dmceusb.c472 unsigned char *buf_in; member
1165 static void mceusb_handle_command(struct mceusb_dev *ir, u8 *buf_in) in mceusb_handle_command() argument
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()
1170 u8 *lo = &buf_in[3]; /* read only when required */ in mceusb_handle_command()
1179 if (buf_in[5] == 0 && *hi < 8) in mceusb_handle_command()
1281 ir->rem = mceusb_cmd_datasize(ir->cmd, ir->buf_in[i]); in mceusb_process_ir_data()
1282 mceusb_dev_printdata(ir, ir->buf_in, buf_len, i - 1, in mceusb_process_ir_data()
1285 mceusb_handle_command(ir, &ir->buf_in[i - 1]); in mceusb_process_ir_data()
[all …]
/linux-5.19.10/drivers/net/ethernet/huawei/hinic/ !
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,
162 u8 cmd, void *buf_in, u16 in_size, void *buf_out,
167 void *buf_in, u16 in_size, void *buf_out,
171 enum hinic_mod_type mod, u16 vf_id, u8 cmd, void *buf_in,
Dhinic_hw_cmdq.c234 struct hinic_cmdq_buf *buf_in) in cmdq_set_lcmd_bufdesc() argument
236 hinic_set_sge(&wqe_lcmd->buf_desc.sge, buf_in->dma_addr, buf_in->size); in cmdq_set_lcmd_bufdesc()
240 void *buf_in, u32 in_size) in cmdq_set_direct_wqe_data() argument
245 memcpy(wqe_scmd->buf_desc.data, buf_in, in_size); in cmdq_set_direct_wqe_data()
250 struct hinic_cmdq_buf *buf_in, in cmdq_set_lcmd_wqe() argument
273 cmdq_set_lcmd_bufdesc(wqe_lcmd, buf_in); in cmdq_set_lcmd_wqe()
278 void *buf_in, u16 in_size, in cmdq_set_direct_wqe() argument
303 cmdq_set_direct_wqe_data(direct_wqe, buf_in, in_size); in cmdq_set_direct_wqe()
342 struct hinic_cmdq_buf *buf_in, in cmdq_sync_cmd_direct_resp() argument
378 cmdq_set_lcmd_wqe(&cmdq_wqe, CMDQ_CMD_SYNC_DIRECT_RESP, buf_in, NULL, in cmdq_sync_cmd_direct_resp()
[all …]
Dhinic_hw_mbox.c192 const void *buf_in, u16 in_size, u16 offset) in check_func_id() argument
203 func_idx = *((u16 *)((u8 *)buf_in + offset)); in check_func_id()
216 void *buf_in, u16 in_size) in hinic_mbox_check_func_id_8B() argument
218 return check_func_id(hwdev, func_idx, buf_in, in_size, in hinic_mbox_check_func_id_8B()
1006 void *buf_in, u16 in_size, void *buf_out, in hinic_mbox_to_func() argument
1024 err = send_mbox_to_func(func_to_func, mod, cmd, buf_in, in_size, in hinic_mbox_to_func()
1056 void *buf_in, u16 in_size) in mbox_func_params_valid() argument
1069 enum hinic_mod_type mod, u8 cmd, void *buf_in, in hinic_mbox_to_pf() argument
1073 int err = mbox_func_params_valid(func_to_func, buf_in, in_size); in hinic_mbox_to_pf()
1085 hinic_pf_id_of_vf_hw(hwdev->hwif), buf_in, in hinic_mbox_to_pf()
[all …]
Dhinic_sriov.c257 void *buf_in, u16 in_size, in hinic_register_vf_msg_handler() argument
286 void *buf_in, u16 in_size, in hinic_unregister_vf_msg_handler() argument
303 void *buf_in, u16 in_size, in hinic_change_vf_mtu_msg_handler() argument
309 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_CHANGE_MTU, buf_in, in hinic_change_vf_mtu_msg_handler()
321 void *buf_in, u16 in_size, in hinic_get_vf_mac_msg_handler() argument
340 void *buf_in, u16 in_size, in hinic_set_vf_mac_msg_handler() argument
344 struct hinic_port_mac_cmd *mac_in = buf_in; in hinic_set_vf_mac_msg_handler()
361 err = hinic_port_msg_cmd(hw_dev, HINIC_PORT_CMD_SET_MAC, buf_in, in hinic_set_vf_mac_msg_handler()
374 void *buf_in, u16 in_size, in hinic_del_vf_mac_msg_handler() argument
378 struct hinic_port_mac_cmd *mac_in = buf_in; in hinic_del_vf_mac_msg_handler()
[all …]
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,
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()
Dhinic_hw_dev.c215 void *buf_in, u16 in_size, void *buf_out, u16 *out_size) in hinic_port_msg_cmd() argument
222 buf_in, in_size, buf_out, out_size, in hinic_port_msg_cmd()
227 void *buf_in, u16 in_size, void *buf_out, in hinic_hilink_msg_cmd() argument
235 buf_in, in_size, buf_out, out_size, in hinic_hilink_msg_cmd()
536 void (*handler)(void *handle, void *buf_in, in hinic_hwdev_cb_register() argument
592 static void nic_mgmt_msg_handler(void *handle, u8 cmd, void *buf_in, in nic_mgmt_msg_handler() argument
622 nic_cb->handler(nic_cb->handle, buf_in, in nic_mgmt_msg_handler()
669 static void comm_mgmt_msg_handler(void *handle, u8 cmd, void *buf_in, in comm_mgmt_msg_handler() argument
683 (&pfhwdev->hwdev, buf_in, in_size, in comm_mgmt_msg_handler()
698 static void pf_fault_event_handler(void *dev, void *buf_in, u16 in_size, in pf_fault_event_handler() argument
[all …]
Dhinic_hw_dev.h374 void (*handler)(void *handle, void *buf_in,
384 typedef void (*comm_mgmt_self_msg_proc)(void *handle, void *buf_in, u16 in_size,
546 void (*handler)(void *handle, void *buf_in,
554 void *buf_in, u16 in_size, void *buf_out,
558 void *buf_in, u16 in_size, void *buf_out,
Dhinic_main.c966 static void link_status_event_handler(void *handle, void *buf_in, u16 in_size, in link_status_event_handler() argument
972 link_status = buf_in; in link_status_event_handler()
1017 void *buf_in, u16 in_size, in cable_plug_event() argument
1020 struct hinic_cable_plug_event *plug_event = buf_in; in cable_plug_event()
1031 void *buf_in, u16 in_size, in link_err_event() argument
1034 struct hinic_link_err_event *link_err = buf_in; in link_err_event()
Dhinic_hw_cmdq.h178 struct hinic_cmdq_buf *buf_in, u64 *out_param);
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/ !
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-5.19.10/tools/perf/util/ !
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-5.19.10/net/sunrpc/auth_gss/ !
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-5.19.10/tools/usb/ffs-aio-example/simple/device_app/ !
Daio_simple.c217 char *buf_in, *buf_out; in main() local
274 buf_in = malloc(BUF_LEN); in main()
326 io_prep_pwrite(iocb_in, ep[0], buf_in, BUF_LEN, 0); in main()
358 free(buf_in); in main()
/linux-5.19.10/drivers/hid/ !
Dhid-u2fzero.c87 u8 *buf_in; member
161 memcpy(resp, dev->buf_in, ret); in u2fzero_recv()
298 dev->buf_in, in u2fzero_fill_in_urb()
328 dev->buf_in = devm_kmalloc(&hdev->dev, in u2fzero_probe()
330 if (dev->buf_in == NULL) in u2fzero_probe()
/linux-5.19.10/include/linux/sunrpc/ !
Dgss_asn1.h71 unsigned char **buf_in,
/linux-5.19.10/drivers/crypto/ !
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()