/linux-4.1.27/drivers/hid/ |
D | hid-samsung.c | 63 static __u8 *samsung_irda_report_fixup(struct hid_device *hdev, __u8 *rdesc, in samsung_irda_report_fixup() argument 66 if (*rsize == 184 && rdesc[175] == 0x25 && rdesc[176] == 0x40 && in samsung_irda_report_fixup() 67 rdesc[177] == 0x75 && rdesc[178] == 0x30 && in samsung_irda_report_fixup() 68 rdesc[179] == 0x95 && rdesc[180] == 0x01 && in samsung_irda_report_fixup() 69 rdesc[182] == 0x40) { in samsung_irda_report_fixup() 71 rdesc[176] = 0xff; in samsung_irda_report_fixup() 72 rdesc[178] = 0x08; in samsung_irda_report_fixup() 73 rdesc[180] = 0x06; in samsung_irda_report_fixup() 74 rdesc[182] = 0x42; in samsung_irda_report_fixup() 76 if (*rsize == 203 && rdesc[192] == 0x15 && rdesc[193] == 0x0 && in samsung_irda_report_fixup() [all …]
|
D | hid-kye.c | 402 static __u8 *kye_consumer_control_fixup(struct hid_device *hdev, __u8 *rdesc, in kye_consumer_control_fixup() argument 411 rdesc[offset] == 0x05 && rdesc[offset + 1] == 0x0c && in kye_consumer_control_fixup() 413 rdesc[offset + 2] == 0x09 && rdesc[offset + 3] == 0x01 && in kye_consumer_control_fixup() 415 rdesc[offset + 10] == 0x2a && rdesc[offset + 12] > 0x2f) { in kye_consumer_control_fixup() 417 rdesc[offset + 12] = 0x2f; in kye_consumer_control_fixup() 419 return rdesc; in kye_consumer_control_fixup() 422 static __u8 *kye_report_fixup(struct hid_device *hdev, __u8 *rdesc, in kye_report_fixup() argument 435 rdesc[61] == 0x05 && rdesc[62] == 0x08 && in kye_report_fixup() 436 rdesc[63] == 0x19 && rdesc[64] == 0x08 && in kye_report_fixup() 437 rdesc[65] == 0x29 && rdesc[66] == 0x0f && in kye_report_fixup() [all …]
|
D | hid-holtek-mouse.c | 35 static __u8 *holtek_mouse_report_fixup(struct hid_device *hdev, __u8 *rdesc, in holtek_mouse_report_fixup() argument 47 if (*rsize >= 122 && rdesc[115] == 0xff && rdesc[116] == 0x7f in holtek_mouse_report_fixup() 48 && rdesc[120] == 0xff && rdesc[121] == 0x7f) { in holtek_mouse_report_fixup() 50 rdesc[116] = rdesc[121] = 0x2f; in holtek_mouse_report_fixup() 56 if (*rsize >= 113 && rdesc[106] == 0xff && rdesc[107] == 0x7f in holtek_mouse_report_fixup() 57 && rdesc[111] == 0xff && rdesc[112] == 0x7f) { in holtek_mouse_report_fixup() 59 rdesc[107] = rdesc[112] = 0x2f; in holtek_mouse_report_fixup() 65 return rdesc; in holtek_mouse_report_fixup()
|
D | hid-sunplus.c | 24 static __u8 *sp_report_fixup(struct hid_device *hdev, __u8 *rdesc, in sp_report_fixup() argument 27 if (*rsize >= 112 && rdesc[104] == 0x26 && rdesc[105] == 0x80 && in sp_report_fixup() 28 rdesc[106] == 0x03) { in sp_report_fixup() 30 rdesc[105] = rdesc[110] = 0x03; in sp_report_fixup() 31 rdesc[106] = rdesc[111] = 0x21; in sp_report_fixup() 33 return rdesc; in sp_report_fixup()
|
D | hid-zydacron.c | 30 static __u8 *zc_report_fixup(struct hid_device *hdev, __u8 *rdesc, in zc_report_fixup() argument 34 rdesc[0x96] == 0xbc && rdesc[0x97] == 0xff && in zc_report_fixup() 35 rdesc[0xca] == 0xbc && rdesc[0xcb] == 0xff && in zc_report_fixup() 36 rdesc[0xe1] == 0xbc && rdesc[0xe2] == 0xff) { in zc_report_fixup() 39 rdesc[0x96] = rdesc[0xca] = rdesc[0xe1] = 0x0c; in zc_report_fixup() 40 rdesc[0x97] = rdesc[0xcb] = rdesc[0xe2] = 0x00; in zc_report_fixup() 42 return rdesc; in zc_report_fixup()
|
D | hid-ortek.c | 27 static __u8 *ortek_report_fixup(struct hid_device *hdev, __u8 *rdesc, in ortek_report_fixup() argument 30 if (*rsize >= 56 && rdesc[54] == 0x25 && rdesc[55] == 0x01) { in ortek_report_fixup() 32 rdesc[55] = 0x92; in ortek_report_fixup() 33 } else if (*rsize >= 54 && rdesc[52] == 0x25 && rdesc[53] == 0x01) { in ortek_report_fixup() 35 rdesc[53] = 0x65; in ortek_report_fixup() 37 return rdesc; in ortek_report_fixup()
|
D | hid-petalynx.c | 25 static __u8 *pl_report_fixup(struct hid_device *hdev, __u8 *rdesc, in pl_report_fixup() argument 28 if (*rsize >= 62 && rdesc[39] == 0x2a && rdesc[40] == 0xf5 && in pl_report_fixup() 29 rdesc[41] == 0x00 && rdesc[59] == 0x26 && in pl_report_fixup() 30 rdesc[60] == 0xf9 && rdesc[61] == 0x00) { in pl_report_fixup() 32 rdesc[60] = 0xfa; in pl_report_fixup() 33 rdesc[40] = 0xfa; in pl_report_fixup() 35 return rdesc; in pl_report_fixup()
|
D | hid-cherry.c | 28 static __u8 *ch_report_fixup(struct hid_device *hdev, __u8 *rdesc, in ch_report_fixup() argument 31 if (*rsize >= 18 && rdesc[11] == 0x3c && rdesc[12] == 0x02) { in ch_report_fixup() 33 rdesc[11] = rdesc[16] = 0xff; in ch_report_fixup() 34 rdesc[12] = rdesc[17] = 0x03; in ch_report_fixup() 36 return rdesc; in ch_report_fixup()
|
D | hid-saitek.c | 73 static __u8 *saitek_report_fixup(struct hid_device *hdev, __u8 *rdesc, in saitek_report_fixup() argument 79 rdesc[20] == 0x09 && rdesc[21] == 0x33 && in saitek_report_fixup() 80 rdesc[94] == 0x81 && rdesc[95] == 0x03 && in saitek_report_fixup() 81 rdesc[110] == 0x81 && rdesc[111] == 0x03) { in saitek_report_fixup() 86 rdesc[20] = 0x15; in saitek_report_fixup() 87 rdesc[21] = 0x00; in saitek_report_fixup() 90 rdesc[95] = 0x02; in saitek_report_fixup() 91 rdesc[111] = 0x02; in saitek_report_fixup() 94 return rdesc; in saitek_report_fixup()
|
D | hid-cypress.c | 33 static __u8 *cp_report_fixup(struct hid_device *hdev, __u8 *rdesc, in cp_report_fixup() argument 40 return rdesc; in cp_report_fixup() 43 if (rdesc[i] == 0x29 && rdesc[i + 2] == 0x19) { in cp_report_fixup() 46 rdesc[i] = 0x19; in cp_report_fixup() 47 rdesc[i + 2] = 0x29; in cp_report_fixup() 48 tmp = rdesc[i + 3]; in cp_report_fixup() 49 rdesc[i + 3] = rdesc[i + 1]; in cp_report_fixup() 50 rdesc[i + 1] = tmp; in cp_report_fixup() 52 return rdesc; in cp_report_fixup()
|
D | hid-uclogic.c | 627 __u8 *rdesc; member 633 static __u8 *uclogic_report_fixup(struct hid_device *hdev, __u8 *rdesc, in uclogic_report_fixup() argument 643 rdesc = pf1209_rdesc_fixed; in uclogic_report_fixup() 649 rdesc = wp4030u_rdesc_fixed; in uclogic_report_fixup() 655 rdesc = wp5540u_rdesc_fixed; in uclogic_report_fixup() 661 rdesc = wp8060u_rdesc_fixed; in uclogic_report_fixup() 667 rdesc = wp1062_rdesc_fixed; in uclogic_report_fixup() 675 rdesc = twhl850_rdesc_fixed0; in uclogic_report_fixup() 681 rdesc = twhl850_rdesc_fixed1; in uclogic_report_fixup() 687 rdesc = twhl850_rdesc_fixed2; in uclogic_report_fixup() [all …]
|
D | hid-lg.c | 342 static __u8 *lg_report_fixup(struct hid_device *hdev, __u8 *rdesc, in lg_report_fixup() argument 349 if ((drv_data->quirks & LG_RDESC) && *rsize >= 91 && rdesc[83] == 0x26 && in lg_report_fixup() 350 rdesc[84] == 0x8c && rdesc[85] == 0x02) { in lg_report_fixup() 353 rdesc[84] = rdesc[89] = 0x4d; in lg_report_fixup() 354 rdesc[85] = rdesc[90] = 0x10; in lg_report_fixup() 357 rdesc[32] == 0x81 && rdesc[33] == 0x06 && in lg_report_fixup() 358 rdesc[49] == 0x81 && rdesc[50] == 0x06) { in lg_report_fixup() 361 rdesc[33] = rdesc[50] = 0x02; in lg_report_fixup() 382 rdesc = df_rdesc_fixed; in lg_report_fixup() 391 rdesc = momo_rdesc_fixed; in lg_report_fixup() [all …]
|
D | hid-waltop.c | 641 static __u8 *waltop_report_fixup(struct hid_device *hdev, __u8 *rdesc, in waltop_report_fixup() argument 647 rdesc = slim_tablet_5_8_inch_rdesc_fixed; in waltop_report_fixup() 653 rdesc = slim_tablet_12_1_inch_rdesc_fixed; in waltop_report_fixup() 659 rdesc = q_pad_rdesc_fixed; in waltop_report_fixup() 665 rdesc = pid_0038_rdesc_fixed; in waltop_report_fixup() 671 rdesc = media_tablet_10_6_inch_rdesc_fixed; in waltop_report_fixup() 677 rdesc = media_tablet_14_1_inch_rdesc_fixed; in waltop_report_fixup() 683 rdesc = sirius_battery_free_tablet_rdesc_fixed; in waltop_report_fixup() 688 return rdesc; in waltop_report_fixup()
|
D | hid-elecom.c | 23 static __u8 *elecom_report_fixup(struct hid_device *hdev, __u8 *rdesc, in elecom_report_fixup() argument 26 if (*rsize >= 48 && rdesc[46] == 0x05 && rdesc[47] == 0x0c) { in elecom_report_fixup() 28 rdesc[47] = 0x00; in elecom_report_fixup() 30 return rdesc; in elecom_report_fixup()
|
D | hid-aureal.c | 20 static __u8 *aureal_report_fixup(struct hid_device *hdev, __u8 *rdesc, in aureal_report_fixup() argument 23 if (*rsize >= 54 && rdesc[52] == 0x25 && rdesc[53] == 0x01) { in aureal_report_fixup() 25 rdesc[53] = 0x65; in aureal_report_fixup() 26 } return rdesc; in aureal_report_fixup()
|
D | hid-microsoft.c | 33 static __u8 *ms_report_fixup(struct hid_device *hdev, __u8 *rdesc, in ms_report_fixup() argument 42 if ((quirks & MS_RDESC) && *rsize == 571 && rdesc[557] == 0x19 && in ms_report_fixup() 43 rdesc[559] == 0x29) { in ms_report_fixup() 45 rdesc[557] = 0x35; in ms_report_fixup() 46 rdesc[559] = 0x45; in ms_report_fixup() 49 if ((quirks & MS_RDESC_3K) && *rsize == 106 && rdesc[94] == 0x19 && in ms_report_fixup() 50 rdesc[95] == 0x00 && rdesc[96] == 0x29 && in ms_report_fixup() 51 rdesc[97] == 0xff) { in ms_report_fixup() 52 rdesc[94] = 0x35; in ms_report_fixup() 53 rdesc[96] = 0x45; in ms_report_fixup() [all …]
|
D | hid-monterey.c | 24 static __u8 *mr_report_fixup(struct hid_device *hdev, __u8 *rdesc, in mr_report_fixup() argument 27 if (*rsize >= 31 && rdesc[29] == 0x05 && rdesc[30] == 0x09) { in mr_report_fixup() 29 rdesc[30] = 0x0c; in mr_report_fixup() 31 return rdesc; in mr_report_fixup()
|
D | hid-keytouch.c | 30 static __u8 *keytouch_report_fixup(struct hid_device *hdev, __u8 *rdesc, in keytouch_report_fixup() argument 35 rdesc = keytouch_fixed_rdesc; in keytouch_report_fixup() 38 return rdesc; in keytouch_report_fixup()
|
D | hid-steelseries.c | 358 static __u8 *steelseries_srws1_report_fixup(struct hid_device *hdev, __u8 *rdesc, in steelseries_srws1_report_fixup() argument 361 if (*rsize >= 115 && rdesc[11] == 0x02 && rdesc[13] == 0xc8 in steelseries_srws1_report_fixup() 362 && rdesc[29] == 0xbb && rdesc[40] == 0xc5) { in steelseries_srws1_report_fixup() 364 rdesc = steelseries_srws1_rdesc_fixed; in steelseries_srws1_report_fixup() 367 return rdesc; in steelseries_srws1_report_fixup()
|
D | hid-holtek-kbd.c | 108 static __u8 *holtek_kbd_report_fixup(struct hid_device *hdev, __u8 *rdesc, in holtek_kbd_report_fixup() argument 114 rdesc = holtek_kbd_rdesc_fixed; in holtek_kbd_report_fixup() 117 return rdesc; in holtek_kbd_report_fixup()
|
D | hid-logitech-dj.c | 745 static void rdcat(char *rdesc, unsigned int *rsize, const char *data, unsigned int size) in rdcat() argument 747 memcpy(rdesc + *rsize, data, size); in rdcat() 755 char *rdesc; in logi_dj_ll_parse() local 763 rdesc = kmalloc(MAX_RDESC_SIZE, GFP_KERNEL); in logi_dj_ll_parse() 764 if (!rdesc) in logi_dj_ll_parse() 770 rdcat(rdesc, &rsize, kbd_descriptor, sizeof(kbd_descriptor)); in logi_dj_ll_parse() 776 rdcat(rdesc, &rsize, mse_descriptor, sizeof(mse_descriptor)); in logi_dj_ll_parse() 782 rdcat(rdesc, &rsize, consumer_descriptor, sizeof(consumer_descriptor)); in logi_dj_ll_parse() 788 rdcat(rdesc, &rsize, syscontrol_descriptor, sizeof(syscontrol_descriptor)); in logi_dj_ll_parse() 794 rdcat(rdesc, &rsize, media_descriptor, sizeof(media_descriptor)); in logi_dj_ll_parse() [all …]
|
D | hid-dr.c | 237 static __u8 *dr_report_fixup(struct hid_device *hdev, __u8 *rdesc, in dr_report_fixup() argument 243 rdesc = pid0011_rdesc_fixed; in dr_report_fixup() 248 return rdesc; in dr_report_fixup()
|
D | hid-sony.c | 840 static __u8 *sixaxis_fixup(struct hid_device *hdev, __u8 *rdesc, in sixaxis_fixup() argument 847 static __u8 *ps3remote_fixup(struct hid_device *hdev, __u8 *rdesc, in ps3remote_fixup() argument 888 static __u8 *sony_report_fixup(struct hid_device *hdev, __u8 *rdesc, in sony_report_fixup() argument 901 rdesc[2] == 0x09 && rdesc[3] == 0x02 && in sony_report_fixup() 903 rdesc[54] == 0x81 && rdesc[55] == 0x07) { in sony_report_fixup() 906 rdesc[55] = 0x06; in sony_report_fixup() 916 rdesc = dualshock4_usb_rdesc; in sony_report_fixup() 920 rdesc = dualshock4_bt_rdesc; in sony_report_fixup() 925 return sixaxis_fixup(hdev, rdesc, rsize); in sony_report_fixup() 928 return ps3remote_fixup(hdev, rdesc, rsize); in sony_report_fixup() [all …]
|
D | hid-apple.c | 298 static __u8 *apple_report_fixup(struct hid_device *hdev, __u8 *rdesc, in apple_report_fixup() argument 304 rdesc[53] == 0x65 && rdesc[59] == 0x65) { in apple_report_fixup() 307 rdesc[53] = rdesc[59] = 0xe7; in apple_report_fixup() 309 return rdesc; in apple_report_fixup()
|
D | hid-prodikeys.c | 742 static __u8 *pk_report_fixup(struct hid_device *hdev, __u8 *rdesc, in pk_report_fixup() argument 746 rdesc[111] == 0x06 && rdesc[112] == 0x00 && in pk_report_fixup() 747 rdesc[113] == 0xff) { in pk_report_fixup() 751 rdesc[144] = 0x18; /* report 4: was 0x10 report count */ in pk_report_fixup() 753 return rdesc; in pk_report_fixup()
|
D | hid-sensor-hub.c | 565 static __u8 *sensor_hub_report_fixup(struct hid_device *hdev, __u8 *rdesc, in sensor_hub_report_fixup() argument 577 return rdesc; in sensor_hub_report_fixup() 583 !memcmp(&rdesc[index], report_block, in sensor_hub_report_fixup() 585 rdesc[index + 4] = 0x01; in sensor_hub_report_fixup() 589 !memcmp(&rdesc[index], power_block, in sensor_hub_report_fixup() 591 rdesc[index + 4] = 0x01; in sensor_hub_report_fixup() 596 return rdesc; in sensor_hub_report_fixup()
|
D | hid-debug.c | 1051 const __u8 *rdesc = hdev->rdesc; in hid_debug_rdesc_show() local 1055 if (!rdesc) { in hid_debug_rdesc_show() 1056 rdesc = hdev->dev_rdesc; in hid_debug_rdesc_show() 1062 seq_printf(f, "%02x ", rdesc[i]); in hid_debug_rdesc_show()
|
D | hidraw.c | 403 dev->hid->rdesc, in hidraw_ioctl()
|
D | hid-core.c | 590 kfree(device->rdesc); in hid_close_report() 591 device->rdesc = NULL; in hid_close_report() 959 device->rdesc = start; in hid_open_report() 1560 memcpy(buf, hdev->rdesc + off, count); in read_report_descriptor()
|
/linux-4.1.27/drivers/regulator/ |
D | anatop-regulator.c | 52 struct regulator_desc rdesc; member 184 struct regulator_desc *rdesc; in anatop_regulator_probe() local 196 rdesc = &sreg->rdesc; in anatop_regulator_probe() 197 rdesc->name = sreg->name; in anatop_regulator_probe() 198 rdesc->type = REGULATOR_VOLTAGE; in anatop_regulator_probe() 199 rdesc->owner = THIS_MODULE; in anatop_regulator_probe() 201 initdata = of_get_regulator_init_data(dev, np, rdesc); in anatop_regulator_probe() 257 rdesc->n_voltages = (sreg->max_voltage - sreg->min_voltage) / 25000 + 1 in anatop_regulator_probe() 259 rdesc->min_uV = sreg->min_voltage; in anatop_regulator_probe() 260 rdesc->uV_step = 25000; in anatop_regulator_probe() [all …]
|
D | fan53555.c | 280 struct regulator_desc *rdesc = &di->desc; in fan53555_regulator_register() local 282 rdesc->name = "fan53555-reg"; in fan53555_regulator_register() 283 rdesc->supply_name = "vin"; in fan53555_regulator_register() 284 rdesc->ops = &fan53555_regulator_ops; in fan53555_regulator_register() 285 rdesc->type = REGULATOR_VOLTAGE; in fan53555_regulator_register() 286 rdesc->n_voltages = FAN53555_NVOLTAGES; in fan53555_regulator_register() 287 rdesc->enable_reg = di->vol_reg; in fan53555_regulator_register() 288 rdesc->enable_mask = VSEL_BUCK_EN; in fan53555_regulator_register() 289 rdesc->min_uV = di->vsel_min; in fan53555_regulator_register() 290 rdesc->uV_step = di->vsel_step; in fan53555_regulator_register() [all …]
|
D | ltc3589.c | 448 static void ltc3589_apply_fb_voltage_divider(struct ltc3589_regulator *rdesc) in ltc3589_apply_fb_voltage_divider() argument 450 struct regulator_desc *desc = &rdesc->desc; in ltc3589_apply_fb_voltage_divider() 452 if (!rdesc->r1 || !rdesc->r2) in ltc3589_apply_fb_voltage_divider() 455 desc->min_uV = ltc3589_scale(desc->min_uV, rdesc->r1, rdesc->r2); in ltc3589_apply_fb_voltage_divider() 456 desc->uV_step = ltc3589_scale(desc->uV_step, rdesc->r1, rdesc->r2); in ltc3589_apply_fb_voltage_divider() 457 desc->fixed_uV = ltc3589_scale(desc->fixed_uV, rdesc->r1, rdesc->r2); in ltc3589_apply_fb_voltage_divider() 498 struct ltc3589_regulator *rdesc = <c3589->regulator_descs[i]; in ltc3589_probe() local 499 struct regulator_desc *desc = &rdesc->desc; in ltc3589_probe() 506 ltc3589_apply_fb_voltage_divider(rdesc); in ltc3589_probe()
|
D | ti-abb-regulator.c | 101 struct regulator_desc rdesc; member 546 abb->rdesc.n_voltages = num_entries; in ti_abb_init_table() 547 abb->rdesc.volt_table = volt_table; in ti_abb_init_table() 841 &abb->rdesc); in ti_abb_probe() 858 desc = &abb->rdesc; in ti_abb_probe()
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-dev.c | 942 static int xgbe_tx_complete(struct xgbe_ring_desc *rdesc) in xgbe_tx_complete() argument 944 return !XGMAC_GET_BITS_LE(rdesc->desc3, TX_NORMAL_DESC3, OWN); in xgbe_tx_complete() 1073 struct xgbe_ring_desc *rdesc = rdata->rdesc; in xgbe_tx_desc_reset() local 1081 rdesc->desc0 = 0; in xgbe_tx_desc_reset() 1082 rdesc->desc1 = 0; in xgbe_tx_desc_reset() 1083 rdesc->desc2 = 0; in xgbe_tx_desc_reset() 1084 rdesc->desc3 = 0; in xgbe_tx_desc_reset() 1123 struct xgbe_ring_desc *rdesc = rdata->rdesc; in xgbe_rx_desc_reset() local 1146 rdesc->desc0 = cpu_to_le32(lower_32_bits(rdata->rx.hdr.dma)); in xgbe_rx_desc_reset() 1147 rdesc->desc1 = cpu_to_le32(upper_32_bits(rdata->rx.hdr.dma)); in xgbe_rx_desc_reset() [all …]
|
D | xgbe-desc.c | 163 if (ring->rdesc) { in xgbe_free_ring() 167 ring->rdesc, ring->rdesc_dma); in xgbe_free_ring() 168 ring->rdesc = NULL; in xgbe_free_ring() 198 ring->rdesc = dma_alloc_coherent(pdata->dev, in xgbe_init_ring() 202 if (!ring->rdesc) in xgbe_init_ring() 212 ring->rdesc, ring->rdesc_dma, ring->rdata); in xgbe_init_ring() 354 struct xgbe_ring_desc *rdesc; in xgbe_wrapper_tx_descriptor_init() local 366 rdesc = ring->rdesc; in xgbe_wrapper_tx_descriptor_init() 372 rdata->rdesc = rdesc; in xgbe_wrapper_tx_descriptor_init() 375 rdesc++; in xgbe_wrapper_tx_descriptor_init() [all …]
|
D | xgbe-drv.c | 1854 struct xgbe_ring_desc *rdesc; in xgbe_tx_poll() local 1871 rdesc = rdata->rdesc; in xgbe_tx_poll() 1873 if (!hw_if->tx_complete(rdesc)) in xgbe_tx_poll() 1884 if (hw_if->is_last_desc(rdesc)) { in xgbe_tx_poll() 2172 struct xgbe_ring_desc *rdesc; in xgbe_dump_tx_desc() local 2176 rdesc = rdata->rdesc; in xgbe_dump_tx_desc() 2179 le32_to_cpu(rdesc->desc0), le32_to_cpu(rdesc->desc1), in xgbe_dump_tx_desc() 2180 le32_to_cpu(rdesc->desc2), le32_to_cpu(rdesc->desc3)); in xgbe_dump_tx_desc()
|
D | xgbe.h | 318 struct xgbe_ring_desc *rdesc; /* Virtual address of descriptor */ member 353 struct xgbe_ring_desc *rdesc; member
|
/linux-4.1.27/drivers/net/ethernet/nuvoton/ |
D | w90p910_ether.c | 151 struct recv_pdesc *rdesc; member 283 struct w90p910_rxbd *rdesc; in w90p910_init_desc() local 295 ether->rdesc = dma_alloc_coherent(&pdev->dev, sizeof(struct recv_pdesc), in w90p910_init_desc() 297 if (!ether->rdesc) { in w90p910_init_desc() 325 rdesc = &(ether->rdesc->desclist[i]); in w90p910_init_desc() 332 rdesc->next = ether->rdesc_phys + offset; in w90p910_init_desc() 333 rdesc->sl = RX_OWEN_DMA; in w90p910_init_desc() 334 rdesc->buffer = ether->rdesc_phys + in w90p910_init_desc() 571 ether->rdesc, ether->rdesc_phys); in w90p910_ether_close() 715 rxbd = ðer->rdesc->desclist[ether->cur_rx]; in netdev_rx() [all …]
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/iop/ |
D | Makefile | 67 RDES2C = /n/asic/design/tools/rdesc/rdes2c 68 RDES2INTR = /n/asic/design/tools/rdesc/rdes2intr 69 RDES2TXT = /n/asic/design/tools/rdesc/rdes2txt
|
/linux-4.1.27/samples/uhid/ |
D | uhid-example.c | 111 static unsigned char rdesc[] = { variable 182 ev.u.create.rd_data = rdesc; in create() 183 ev.u.create.rd_size = sizeof(rdesc); in create()
|
/linux-4.1.27/drivers/hid/usbhid/ |
D | hid-core.c | 971 char *rdesc; in usbhid_parse() local 1007 if (!(rdesc = kmalloc(rsize, GFP_KERNEL))) { in usbhid_parse() 1015 HID_DT_REPORT, rdesc, rsize); in usbhid_parse() 1018 kfree(rdesc); in usbhid_parse() 1022 ret = hid_parse_report(hid, rdesc, rsize); in usbhid_parse() 1023 kfree(rdesc); in usbhid_parse() 1451 char *rdesc; in hid_post_reset() local 1458 rdesc = kmalloc(hid->dev_rsize, GFP_KERNEL); in hid_post_reset() 1459 if (!rdesc) { in hid_post_reset() 1465 HID_DT_REPORT, rdesc, hid->dev_rsize); in hid_post_reset() [all …]
|
/linux-4.1.27/drivers/hid/i2c-hid/ |
D | i2c-hid.c | 642 char *rdesc; in i2c_hid_parse() local 663 rdesc = kzalloc(rsize, GFP_KERNEL); in i2c_hid_parse() 665 if (!rdesc) { in i2c_hid_parse() 672 ret = i2c_hid_command(client, &hid_report_descr_cmd, rdesc, rsize); in i2c_hid_parse() 675 kfree(rdesc); in i2c_hid_parse() 679 i2c_hid_dbg(ihid, "Report Descriptor: %*ph\n", rsize, rdesc); in i2c_hid_parse() 681 ret = hid_parse_report(hid, rdesc, rsize); in i2c_hid_parse() 682 kfree(rdesc); in i2c_hid_parse()
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/ |
D | Makefile | 71 RDES2C = /n/asic/design/tools/rdesc/rdes2c 72 RDES2INTR = /n/asic/design/tools/rdesc/rdes2intr 73 RDES2TXT = /n/asic/design/tools/rdesc/rdes2txt
|
/linux-4.1.27/drivers/net/ethernet/cirrus/ |
D | ep93xx_eth.c | 150 struct ep93xx_rdesc rdesc[RX_QUEUE_ENTRIES]; member 286 struct ep93xx_rdesc *rxd = &ep->descs->rdesc[entry]; in ep93xx_rx() 474 d = ep->descs->rdesc[i].buf_addr; in ep93xx_free_buffers() 520 ep->descs->rdesc[i].buf_addr = d; in ep93xx_alloc_buffers() 521 ep->descs->rdesc[i].rdesc1 = (i << 16) | PKT_BUF_SIZE; in ep93xx_alloc_buffers() 574 addr = ep->descs_dma_addr + offsetof(struct ep93xx_descs, rdesc); in ep93xx_start_hw()
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_sd7220.c | 1018 u16 rdesc; /* in form used in SerDesDDSRXEQ */ member 1102 writeq(rxeq_init_vals[idx].rdesc, iaddr + didx); in qib_sd_setvals() 1229 elt = rxeq_init_vals[ridx].rdesc & 0xF; in set_rxeq_vals() 1230 reg = rxeq_init_vals[ridx].rdesc >> 4; in set_rxeq_vals()
|
/linux-4.1.27/include/linux/ |
D | hid.h | 494 __u8 *rdesc; member
|