/linux-6.1.9/arch/um/drivers/ |
D | slip_common.c | 13 size = slip_unesc(slip->ibuf[i++], slip->ibuf, in slip_proto_read() 16 memcpy(buf, slip->ibuf, size); in slip_proto_read() 17 memmove(slip->ibuf, &slip->ibuf[i], in slip_proto_read() 26 n = net_read(fd, &slip->ibuf[slip->pos], in slip_proto_read() 27 sizeof(slip->ibuf) - slip->pos); in slip_proto_read() 33 size = slip_unesc(slip->ibuf[start + i], slip->ibuf,&slip->pos, in slip_proto_read() 36 memcpy(buf, slip->ibuf, size); in slip_proto_read() 37 memmove(slip->ibuf, &slip->ibuf[start+i+1], in slip_proto_read()
|
D | slip_common.h | 85 unsigned char ibuf[ENC_BUF_SIZE]; member 94 memset(slip->ibuf, 0, sizeof(slip->ibuf)); in slip_proto_init()
|
/linux-6.1.9/drivers/net/ppp/ |
D | ppp_mppe.c | 337 mppe_compress(void *arg, unsigned char *ibuf, unsigned char *obuf, in mppe_compress() argument 346 proto = PPP_PROTOCOL(ibuf); in mppe_compress() 364 obuf[0] = PPP_ADDRESS(ibuf); in mppe_compress() 365 obuf[1] = PPP_CONTROL(ibuf); in mppe_compress() 389 ibuf += 2; /* skip to proto field */ in mppe_compress() 392 arc4_crypt(&state->arc4, obuf, ibuf, isize); in mppe_compress() 434 mppe_decompress(void *arg, unsigned char *ibuf, int isize, unsigned char *obuf, in mppe_decompress() argument 439 int flushed = MPPE_BITS(ibuf) & MPPE_BIT_FLUSHED; in mppe_decompress() 463 ccount = MPPE_CCOUNT(ibuf); in mppe_decompress() 469 if (!(MPPE_BITS(ibuf) & MPPE_BIT_ENCRYPTED)) { in mppe_decompress() [all …]
|
D | ppp_deflate.c | 49 static void z_incomp(void *state, unsigned char *ibuf, int icnt); 50 static int z_decompress(void *state, unsigned char *ibuf, 410 static int z_decompress(void *arg, unsigned char *ibuf, int isize, in z_decompress() argument 426 seq = get_unaligned_be16(ibuf + PPP_HDRLEN); in z_decompress() 439 obuf[0] = PPP_ADDRESS(ibuf); in z_decompress() 440 obuf[1] = PPP_CONTROL(ibuf); in z_decompress() 448 state->strm.next_in = ibuf + PPP_HDRLEN + DEFLATE_OVHD; in z_decompress() 516 static void z_incomp(void *arg, unsigned char *ibuf, int icnt) in z_incomp() argument 524 proto = PPP_PROTOCOL(ibuf); in z_incomp() 534 state->strm.next_in = ibuf + 3; in z_incomp()
|
D | bsd_comp.c | 186 static void bsd_incomp (void *state, unsigned char *ibuf, int icnt); 188 static int bsd_decompress (void *state, unsigned char *ibuf, int isize, 805 static void bsd_incomp (void *state, unsigned char *ibuf, int icnt) in bsd_incomp() argument 807 (void) bsd_compress (state, ibuf, (char *) 0, icnt, 0); in bsd_incomp() 827 static int bsd_decompress (void *state, unsigned char *ibuf, int isize, in bsd_decompress() argument 862 adrs = PPP_ADDRESS (ibuf); in bsd_decompress() 863 ctrl = PPP_CONTROL (ibuf); in bsd_decompress() 865 seq = (ibuf[4] << 8) + ibuf[5]; in bsd_decompress() 867 ibuf += (PPP_HDRLEN + 2); in bsd_decompress() 921 accm |= *ibuf++ << bitno; in bsd_decompress()
|
/linux-6.1.9/drivers/media/usb/dvb-usb-v2/ |
D | lmedm04.c | 271 u8 *ibuf, *rbuf; in lme2510_int_response() local 295 ibuf = (u8 *)&rbuf[i*8]; in lme2510_int_response() 297 offset, i, ibuf[0], ibuf[1]); in lme2510_int_response() 299 switch (ibuf[0]) { in lme2510_int_response() 301 debug_data_snipet(1, "INT Remote data snippet", ibuf); in lme2510_int_response() 305 key = RC_SCANCODE_NEC32(ibuf[2] << 24 | in lme2510_int_response() 306 ibuf[3] << 16 | in lme2510_int_response() 307 ibuf[4] << 8 | in lme2510_int_response() 308 ibuf[5]); in lme2510_int_response() 317 signal_lock = ibuf[2] & BIT(5); in lme2510_int_response() [all …]
|
D | dvbsky.c | 25 u8 ibuf[DVBSKY_BUF_LEN]; member 50 state->ibuf, rlen); in dvbsky_usb_generic_rw() 53 memcpy(rbuf, state->ibuf, rlen); in dvbsky_usb_generic_rw() 89 u8 obuf[3], ibuf[2]; in dvbsky_gpio_ctrl() local 94 ret = dvbsky_usb_generic_rw(d, obuf, 3, ibuf, 1); in dvbsky_gpio_ctrl() 104 u8 ibuf[64], obuf[64]; in dvbsky_i2c_xfer() local 131 ibuf, msg[0].len + 1); in dvbsky_i2c_xfer() 133 memcpy(msg[0].buf, &ibuf[1], msg[0].len); in dvbsky_i2c_xfer() 141 msg[0].len + 3, ibuf, 1); in dvbsky_i2c_xfer() 158 msg[0].len + 4, ibuf, msg[1].len + 1); in dvbsky_i2c_xfer() [all …]
|
/linux-6.1.9/drivers/input/joystick/ |
D | fsia6b.c | 51 u16 ibuf; member 70 fsia6b->packet.ibuf = (data << 8) | ((fsia6b->packet.ibuf >> 8) & 0xFF); in fsia6b_serio_irq() 74 if (fsia6b->packet.ibuf == 0x4020) in fsia6b_serio_irq() 84 fsia6b->packet.ibuf; in fsia6b_serio_irq() 139 fsia6b->packet.ibuf = 0; in fsia6b_serio_connect()
|
/linux-6.1.9/include/linux/mfd/ |
D | dln2.h | 66 void *ibuf, unsigned *ibuf_len); 82 void *ibuf, unsigned *ibuf_len) in dln2_transfer_rx() argument 84 return dln2_transfer(pdev, cmd, NULL, 0, ibuf, ibuf_len); in dln2_transfer_rx()
|
/linux-6.1.9/drivers/media/usb/dvb-usb/ |
D | dw2102.c | 279 u8 ibuf[MAX_XFER_SIZE], obuf[3]; in dw2102_earda_i2c_transfer() local 288 if (2 + msg[1].len > sizeof(ibuf)) { in dw2102_earda_i2c_transfer() 302 ibuf, msg[1].len + 2, DW210X_READ_MSG); in dw2102_earda_i2c_transfer() 303 memcpy(msg[1].buf, ibuf + 2, msg[1].len); in dw2102_earda_i2c_transfer() 346 u8 ibuf[2]; in dw2102_earda_i2c_transfer() local 348 ibuf, 2, DW210X_READ_MSG); in dw2102_earda_i2c_transfer() 349 memcpy(msg[0].buf, ibuf , 2); in dw2102_earda_i2c_transfer() 384 u8 ibuf[2]; in dw2104_i2c_transfer() local 386 ibuf, 2, DW210X_READ_MSG); in dw2104_i2c_transfer() 387 memcpy(msg[j].buf, ibuf , 2); in dw2104_i2c_transfer() [all …]
|
D | ttusb2.c | 371 static u8 obuf[60], ibuf[60]; in ttusb2_i2c_xfer() local 389 if (3 + msg[i+1].len > sizeof(ibuf)) { in ttusb2_i2c_xfer() 394 if (3 + msg[i].len > sizeof(ibuf)) { in ttusb2_i2c_xfer() 416 if (ttusb2_msg(d, CMD_I2C_XFER, obuf, obuf[1]+3, ibuf, obuf[2] + 3) < 0) { in ttusb2_i2c_xfer() 422 memcpy(msg[i+1].buf, &ibuf[3], msg[i+1].len); in ttusb2_i2c_xfer() 425 memcpy(msg[i].buf, &ibuf[3], msg[i].len); in ttusb2_i2c_xfer()
|
D | cxusb.c | 202 u8 obuf[3], ibuf[MAX_XFER_SIZE]; in cxusb_i2c_xfer() local 204 if (1 + msg[i].len > sizeof(ibuf)) { in cxusb_i2c_xfer() 215 ibuf, 1 + msg[i].len) < 0) { in cxusb_i2c_xfer() 219 memcpy(msg[i].buf, &ibuf[1], msg[i].len); in cxusb_i2c_xfer() 223 u8 obuf[MAX_XFER_SIZE], ibuf[MAX_XFER_SIZE]; in cxusb_i2c_xfer() local 231 if (1 + msg[i + 1].len > sizeof(ibuf)) { in cxusb_i2c_xfer() 244 ibuf, 1 + msg[i + 1].len) < 0) in cxusb_i2c_xfer() 247 if (ibuf[0] != 0x08) in cxusb_i2c_xfer() 250 memcpy(msg[i + 1].buf, &ibuf[1], msg[i + 1].len); in cxusb_i2c_xfer() 255 u8 obuf[MAX_XFER_SIZE], ibuf; in cxusb_i2c_xfer() local [all …]
|
/linux-6.1.9/drivers/media/usb/gspca/ |
D | kinect.c | 52 uint8_t ibuf[0x200]; /* input buffer for control commands */ member 127 uint8_t *ibuf = sd->ibuf; in send_cmd() local 129 struct cam_hdr *rhdr = (void *)ibuf; in send_cmd() 154 actual_len = kinect_read(udev, ibuf, 0x200); in send_cmd() 188 memcpy(replybuf, ibuf+sizeof(*rhdr), reply_len); in send_cmd() 190 memcpy(replybuf, ibuf+sizeof(*rhdr), actual_len); in send_cmd()
|
/linux-6.1.9/drivers/infiniband/core/ |
D | uverbs.h | 56 const void __user *ibuf, in ib_uverbs_init_udata() argument 60 udata->inbuf = ibuf; in ib_uverbs_init_udata() 68 const void __user *ibuf, in ib_uverbs_init_udata_buf_or_null() argument 73 ilen ? ibuf : NULL, olen ? obuf : NULL, in ib_uverbs_init_udata_buf_or_null()
|
/linux-6.1.9/include/linux/ |
D | ppp-comp.h | 71 int (*decompress) (void *state, unsigned char *ibuf, int isize, 75 void (*incomp) (void *state, unsigned char *ibuf, int icnt);
|
/linux-6.1.9/fs/ |
D | splice.c | 1437 struct pipe_buffer *ibuf, *obuf; in splice_pipe_to_pipe() local 1507 ibuf = &ipipe->bufs[i_tail & i_mask]; in splice_pipe_to_pipe() 1510 if (len >= ibuf->len) { in splice_pipe_to_pipe() 1514 *obuf = *ibuf; in splice_pipe_to_pipe() 1515 ibuf->ops = NULL; in splice_pipe_to_pipe() 1527 if (!pipe_buf_get(ipipe, ibuf)) { in splice_pipe_to_pipe() 1532 *obuf = *ibuf; in splice_pipe_to_pipe() 1542 ibuf->offset += len; in splice_pipe_to_pipe() 1543 ibuf->len -= len; in splice_pipe_to_pipe() 1574 struct pipe_buffer *ibuf, *obuf; in link_pipe() local [all …]
|
/linux-6.1.9/drivers/macintosh/ |
D | macio-adb.c | 211 unsigned char ibuf[16]; in macio_adb_interrupt() local 258 ibuf[i] = in_8(&adb->data[i].r); in macio_adb_interrupt() 277 adb_input(ibuf, ibuf_len, autopoll); in macio_adb_interrupt()
|
/linux-6.1.9/drivers/media/tuners/ |
D | tuner-i2c.h | 46 unsigned char *ibuf, int ilen) in tuner_i2c_xfer_send_recv() argument 51 .buf = ibuf, .len = ilen } }; in tuner_i2c_xfer_send_recv()
|
D | xc2028.c | 134 #define i2c_send_recv(priv, obuf, osize, ibuf, isize) ({ \ argument 137 ibuf, isize); \ 161 unsigned char ibuf[2]; in xc2028_get_reg() local 168 if (i2c_send_recv(priv, buf, 2, ibuf, 2) != 2) in xc2028_get_reg() 171 *val = (ibuf[1]) | (ibuf[0] << 8); in xc2028_get_reg()
|
/linux-6.1.9/drivers/mfd/ |
D | dln2.c | 429 void *ibuf, unsigned *ibuf_len) in _dln2_transfer() argument 494 if (!ibuf) in _dln2_transfer() 500 memcpy(ibuf, rsp + 1, *ibuf_len); in _dln2_transfer() 516 void *ibuf, unsigned *ibuf_len) in dln2_transfer() argument 526 return _dln2_transfer(dln2, handle, cmd, obuf, obuf_len, ibuf, in dln2_transfer()
|
/linux-6.1.9/arch/mips/boot/ |
D | elf2ecoff.c | 70 char ibuf[4096]; in copy() local 82 if (cur > sizeof ibuf) in copy() 83 cur = sizeof ibuf; in copy() 85 if ((count = read(in, ibuf, cur)) != cur) { in copy() 91 if ((count = write(out, ibuf, cur)) != cur) { in copy()
|
/linux-6.1.9/drivers/media/dvb-frontends/ |
D | mt352.c | 58 static int _mt352_write(struct dvb_frontend* fe, const u8 ibuf[], int ilen) in _mt352_write() argument 62 if ((err = mt352_single_write(fe,ibuf[0]+i,ibuf[i+1]))) in _mt352_write()
|
D | zl10353.c | 53 static int zl10353_write(struct dvb_frontend *fe, const u8 ibuf[], int ilen) in zl10353_write() argument 57 if ((err = zl10353_single_write(fe, ibuf[0] + i, ibuf[i + 1]))) in zl10353_write()
|
/linux-6.1.9/drivers/scsi/megaraid/ |
D | megaraid_mbox.c | 996 adapter->ibuf = dma_alloc_coherent(&pdev->dev, MBOX_IBUF_SIZE, in megaraid_alloc_cmd_packets() 998 if (!adapter->ibuf) { in megaraid_alloc_cmd_packets() 1091 dma_free_coherent(&pdev->dev, MBOX_IBUF_SIZE, (void *)adapter->ibuf, in megaraid_alloc_cmd_packets() 1117 (void *)adapter->ibuf, adapter->ibuf_dma_h); in megaraid_free_cmd_packets() 2900 memset((void *)adapter->ibuf, 0, MBOX_IBUF_SIZE); in megaraid_mbox_product_info() 2922 mraid_inq3 = (mraid_inquiry3_t *)adapter->ibuf; in megaraid_mbox_product_info() 3005 memset((void *)adapter->ibuf, 0, MBOX_IBUF_SIZE); in megaraid_mbox_extended_cdb() 3043 memset((void *)adapter->ibuf, 0, MBOX_IBUF_SIZE); in megaraid_mbox_support_ha() 3052 *init_id = *(uint8_t *)adapter->ibuf; in megaraid_mbox_support_ha() 3135 memset((void *)adapter->ibuf, 0, MBOX_IBUF_SIZE); in megaraid_mbox_get_max_sg() [all …]
|
/linux-6.1.9/drivers/net/can/usb/peak_usb/ |
D | pcan_usb.c | 704 static int pcan_usb_decode_msg(struct peak_usb_device *dev, u8 *ibuf, u32 lbuf) in pcan_usb_decode_msg() argument 707 .rec_cnt = ibuf[1], in pcan_usb_decode_msg() 708 .ptr = ibuf + PCAN_USB_MSG_HEADER_LEN, in pcan_usb_decode_msg() 709 .end = ibuf + lbuf, in pcan_usb_decode_msg()
|