/linux/drivers/staging/media/atomisp/pci/runtime/queue/src/ |
A D | queue_access.c | 25 struct ia_css_queue *rdesc, in ia_css_queue_load() argument 29 if (!rdesc || !cb_desc) in ia_css_queue_load() 80 struct ia_css_queue *rdesc, in ia_css_queue_store() argument 84 if (!rdesc || !cb_desc) in ia_css_queue_store() 91 sp_dmem_store_uint8(rdesc->proc_id, in ia_css_queue_store() 127 struct ia_css_queue *rdesc, in ia_css_queue_item_load() argument 131 if (!rdesc || !item) in ia_css_queue_item_load() 135 sp_dmem_load(rdesc->proc_id, in ia_css_queue_item_load() 154 struct ia_css_queue *rdesc, in ia_css_queue_item_store() argument 158 if (!rdesc || !item) in ia_css_queue_item_store() [all …]
|
/linux/drivers/hid/ |
A D | hid-samsung.c | 61 if (*rsize == 184 && rdesc[175] == 0x25 && rdesc[176] == 0x40 && in samsung_irda_report_fixup() 62 rdesc[177] == 0x75 && rdesc[178] == 0x30 && in samsung_irda_report_fixup() 63 rdesc[179] == 0x95 && rdesc[180] == 0x01 && in samsung_irda_report_fixup() 71 if (*rsize == 203 && rdesc[192] == 0x15 && rdesc[193] == 0x0 && in samsung_irda_report_fixup() 72 rdesc[194] == 0x25 && rdesc[195] == 0x12) { in samsung_irda_report_fixup() 77 if (*rsize == 135 && rdesc[124] == 0x15 && rdesc[125] == 0x0 && in samsung_irda_report_fixup() 78 rdesc[126] == 0x25 && rdesc[127] == 0x11) { in samsung_irda_report_fixup() 84 rdesc[162] == 0x25 && rdesc[163] == 0x01) { in samsung_irda_report_fixup() 89 return rdesc; in samsung_irda_report_fixup() 132 rdesc = samsung_irda_report_fixup(hdev, rdesc, rsize); in samsung_report_fixup() [all …]
|
A D | hid-kye.c | 566 rdesc[offset] == 0x05 && rdesc[offset + 1] == 0x0c && in kye_consumer_control_fixup() 574 return rdesc; in kye_consumer_control_fixup() 590 rdesc[61] == 0x05 && rdesc[62] == 0x08 && in kye_report_fixup() 591 rdesc[63] == 0x19 && rdesc[64] == 0x08 && in kye_report_fixup() 592 rdesc[65] == 0x29 && rdesc[66] == 0x0f && in kye_report_fixup() 593 rdesc[71] == 0x75 && rdesc[72] == 0x08 && in kye_report_fixup() 594 rdesc[73] == 0x95 && rdesc[74] == 0x01) { in kye_report_fixup() 642 rdesc = kye_consumer_control_fixup(hdev, rdesc, rsize, 104, in kye_report_fixup() 646 rdesc = kye_consumer_control_fixup(hdev, rdesc, rsize, 83, in kye_report_fixup() 650 rdesc = kye_consumer_control_fixup(hdev, rdesc, rsize, 104, in kye_report_fixup() [all …]
|
A D | hid-cypress.c | 38 return rdesc; in cp_rdesc_fixup() 41 if (rdesc[i] == 0x29 && rdesc[i + 2] == 0x19) { in cp_rdesc_fixup() 44 swap(rdesc[i + 3], rdesc[i + 1]); in cp_rdesc_fixup() 46 return rdesc; in cp_rdesc_fixup() 58 rdesc[0] == 0x05 && rdesc[1] == 0x0c && in va_logical_boundary_fixup() 59 rdesc[2] == 0x09 && rdesc[3] == 0x01 && in va_logical_boundary_fixup() 60 rdesc[6] == 0x19 && rdesc[7] == 0x00 && in va_logical_boundary_fixup() 61 rdesc[11] == 0x16 && rdesc[12] == 0x3c && rdesc[13] == 0x02) { in va_logical_boundary_fixup() 67 return rdesc; in va_logical_boundary_fixup() 76 rdesc = cp_rdesc_fixup(hdev, rdesc, rsize); in cp_report_fixup() [all …]
|
A D | hid-elecom.c | 36 __u8 *rdesc, unsigned int rsize, in mouse_button_fixup() argument 43 if (rsize < 32 || rdesc[button_bit_count] != 0x95 || in mouse_button_fixup() 44 rdesc[button_report_size] != 0x75 || in mouse_button_fixup() 45 rdesc[button_report_size + 1] != 0x01 || in mouse_button_fixup() 46 rdesc[button_usage_maximum] != 0x29 || rdesc[padding_bit] != 0x75) in mouse_button_fixup() 50 rdesc[button_bit_count + 1] = nbuttons; in mouse_button_fixup() 51 rdesc[button_usage_maximum + 1] = nbuttons; in mouse_button_fixup() 52 rdesc[padding_bit + 1] = MOUSE_BUTTONS_MAX - nbuttons; in mouse_button_fixup() 62 if (*rsize >= 48 && rdesc[46] == 0x05 && rdesc[47] == 0x0c) { in elecom_report_fixup() 64 rdesc[47] = 0x00; in elecom_report_fixup() [all …]
|
A D | hid-holtek-mouse.c | 32 static __u8 *holtek_mouse_report_fixup(struct hid_device *hdev, __u8 *rdesc, in holtek_mouse_report_fixup() argument 44 if (*rsize >= 122 && rdesc[115] == 0xff && rdesc[116] == 0x7f in holtek_mouse_report_fixup() 45 && rdesc[120] == 0xff && rdesc[121] == 0x7f) { in holtek_mouse_report_fixup() 47 rdesc[116] = rdesc[121] = 0x2f; in holtek_mouse_report_fixup() 53 if (*rsize >= 113 && rdesc[106] == 0xff && rdesc[107] == 0x7f in holtek_mouse_report_fixup() 54 && rdesc[111] == 0xff && rdesc[112] == 0x7f) { in holtek_mouse_report_fixup() 56 rdesc[107] = rdesc[112] = 0x2f; in holtek_mouse_report_fixup() 62 return rdesc; in holtek_mouse_report_fixup()
|
A D | hid-glorious.c | 25 static __u8 *glorious_report_fixup(struct hid_device *hdev, __u8 *rdesc, in glorious_report_fixup() argument 29 rdesc[84] == 129 && rdesc[112] == 129 && rdesc[140] == 129 && in glorious_report_fixup() 30 rdesc[85] == 3 && rdesc[113] == 3 && rdesc[141] == 3) { in glorious_report_fixup() 32 rdesc[85] = rdesc[113] = rdesc[141] = \ in glorious_report_fixup() 35 return rdesc; in glorious_report_fixup()
|
A D | hid-zydacron.c | 27 static __u8 *zc_report_fixup(struct hid_device *hdev, __u8 *rdesc, in zc_report_fixup() argument 31 rdesc[0x96] == 0xbc && rdesc[0x97] == 0xff && in zc_report_fixup() 32 rdesc[0xca] == 0xbc && rdesc[0xcb] == 0xff && in zc_report_fixup() 33 rdesc[0xe1] == 0xbc && rdesc[0xe2] == 0xff) { in zc_report_fixup() 36 rdesc[0x96] = rdesc[0xca] = rdesc[0xe1] = 0x0c; in zc_report_fixup() 37 rdesc[0x97] = rdesc[0xcb] = rdesc[0xe2] = 0x00; in zc_report_fixup() 39 return rdesc; in zc_report_fixup()
|
A D | hid-lg.c | 436 rdesc[84] == 0x8c && rdesc[85] == 0x02) { in lg_report_fixup() 439 rdesc[84] = rdesc[89] = 0x4d; in lg_report_fixup() 440 rdesc[85] = rdesc[90] = 0x10; in lg_report_fixup() 443 rdesc[32] == 0x81 && rdesc[33] == 0x06 && in lg_report_fixup() 444 rdesc[49] == 0x81 && rdesc[50] == 0x06) { in lg_report_fixup() 447 rdesc[33] = rdesc[50] = 0x02; in lg_report_fixup() 521 if (*rsize >= 101 && rdesc[41] == 0x95 && rdesc[42] == 0x0B && in lg_report_fixup() 522 rdesc[47] == 0x05 && rdesc[48] == 0x09) { in lg_report_fixup() 524 rdesc[41] = 0x05; in lg_report_fixup() 525 rdesc[42] = 0x09; in lg_report_fixup() [all …]
|
A D | hid-sunplus.c | 21 static __u8 *sp_report_fixup(struct hid_device *hdev, __u8 *rdesc, in sp_report_fixup() argument 24 if (*rsize >= 112 && rdesc[104] == 0x26 && rdesc[105] == 0x80 && in sp_report_fixup() 25 rdesc[106] == 0x03) { in sp_report_fixup() 27 rdesc[105] = rdesc[110] = 0x03; in sp_report_fixup() 28 rdesc[106] = rdesc[111] = 0x21; in sp_report_fixup() 30 return rdesc; in sp_report_fixup()
|
A D | hid-petalynx.c | 22 static __u8 *pl_report_fixup(struct hid_device *hdev, __u8 *rdesc, in pl_report_fixup() argument 25 if (*rsize >= 62 && rdesc[39] == 0x2a && rdesc[40] == 0xf5 && in pl_report_fixup() 26 rdesc[41] == 0x00 && rdesc[59] == 0x26 && in pl_report_fixup() 27 rdesc[60] == 0xf9 && rdesc[61] == 0x00) { in pl_report_fixup() 29 rdesc[60] = 0xfa; in pl_report_fixup() 30 rdesc[40] = 0xfa; in pl_report_fixup() 32 return rdesc; in pl_report_fixup()
|
A D | hid-ite.c | 16 static __u8 *ite_report_fixup(struct hid_device *hdev, __u8 *rdesc, unsigned int *rsize) in ite_report_fixup() argument 22 if (*rsize == 188 && rdesc[162] == 0x81 && rdesc[163] == 0x02) { in ite_report_fixup() 24 rdesc[163] = HID_MAIN_ITEM_RELATIVE; in ite_report_fixup() 27 if (*rsize == 188 && rdesc[185] == 0x81 && rdesc[186] == 0x02) { in ite_report_fixup() 29 rdesc[186] = HID_MAIN_ITEM_RELATIVE; in ite_report_fixup() 32 if (*rsize == 210 && rdesc[184] == 0x81 && rdesc[185] == 0x02) { in ite_report_fixup() 34 rdesc[185] = HID_MAIN_ITEM_RELATIVE; in ite_report_fixup() 38 return rdesc; in ite_report_fixup()
|
A D | hid-ortek.c | 25 static __u8 *ortek_report_fixup(struct hid_device *hdev, __u8 *rdesc, in ortek_report_fixup() argument 28 if (*rsize >= 56 && rdesc[54] == 0x25 && rdesc[55] == 0x01) { in ortek_report_fixup() 30 rdesc[55] = 0x92; in ortek_report_fixup() 31 } else if (*rsize >= 54 && rdesc[52] == 0x25 && rdesc[53] == 0x01) { in ortek_report_fixup() 33 rdesc[53] = 0x65; in ortek_report_fixup() 35 return rdesc; in ortek_report_fixup()
|
A D | hid-saitek.c | 69 static __u8 *saitek_report_fixup(struct hid_device *hdev, __u8 *rdesc, in saitek_report_fixup() argument 75 rdesc[20] == 0x09 && rdesc[21] == 0x33 && in saitek_report_fixup() 76 rdesc[94] == 0x81 && rdesc[95] == 0x03 && in saitek_report_fixup() 77 rdesc[110] == 0x81 && rdesc[111] == 0x03) { in saitek_report_fixup() 82 rdesc[20] = 0x15; in saitek_report_fixup() 83 rdesc[21] = 0x00; in saitek_report_fixup() 86 rdesc[95] = 0x02; in saitek_report_fixup() 87 rdesc[111] = 0x02; in saitek_report_fixup() 90 return rdesc; in saitek_report_fixup()
|
A D | hid-cherry.c | 25 static __u8 *ch_report_fixup(struct hid_device *hdev, __u8 *rdesc, in ch_report_fixup() argument 28 if (*rsize >= 18 && rdesc[11] == 0x3c && rdesc[12] == 0x02) { in ch_report_fixup() 30 rdesc[11] = rdesc[16] = 0xff; in ch_report_fixup() 31 rdesc[12] = rdesc[17] = 0x03; in ch_report_fixup() 33 return rdesc; in ch_report_fixup()
|
A D | hid-gembird.c | 60 static __u8 *gembird_report_fixup(struct hid_device *hdev, __u8 *rdesc, in gembird_report_fixup() argument 69 if (*rsize >= 31 && !memcmp(&rdesc[GEMBIRD_START_FAULTY_RDESC], in gembird_report_fixup() 74 return rdesc; in gembird_report_fixup() 80 memcpy(new_rdesc + delta_size, rdesc, *rsize); in gembird_report_fixup() 83 memcpy(new_rdesc, rdesc, GEMBIRD_START_FAULTY_RDESC); in gembird_report_fixup() 91 rdesc = new_rdesc; in gembird_report_fixup() 94 return rdesc; in gembird_report_fixup()
|
A D | hid-waltop.c | 602 static __u8 *waltop_report_fixup(struct hid_device *hdev, __u8 *rdesc, in waltop_report_fixup() argument 608 rdesc = slim_tablet_5_8_inch_rdesc_fixed; in waltop_report_fixup() 614 rdesc = slim_tablet_12_1_inch_rdesc_fixed; in waltop_report_fixup() 620 rdesc = q_pad_rdesc_fixed; in waltop_report_fixup() 626 rdesc = pid_0038_rdesc_fixed; in waltop_report_fixup() 632 rdesc = media_tablet_10_6_inch_rdesc_fixed; in waltop_report_fixup() 638 rdesc = media_tablet_14_1_inch_rdesc_fixed; in waltop_report_fixup() 644 rdesc = sirius_battery_free_tablet_rdesc_fixed; in waltop_report_fixup() 649 return rdesc; in waltop_report_fixup()
|
A D | hid-macally.c | 21 static __u8 *macally_report_fixup(struct hid_device *hdev, __u8 *rdesc, in macally_report_fixup() argument 24 if (*rsize >= 60 && rdesc[53] == 0x65 && rdesc[59] == 0x65) { in macally_report_fixup() 27 rdesc[53] = rdesc[59] = 0x67; in macally_report_fixup() 29 return rdesc; in macally_report_fixup()
|
/linux/drivers/regulator/ |
A D | anatop-regulator.c | 29 struct regulator_desc rdesc; member 160 struct regulator_desc *rdesc; in anatop_regulator_probe() local 179 rdesc = &sreg->rdesc; in anatop_regulator_probe() 181 rdesc->owner = THIS_MODULE; in anatop_regulator_probe() 184 if (!rdesc->name) { in anatop_regulator_probe() 244 rdesc->min_uV = min_voltage; in anatop_regulator_probe() 245 rdesc->uV_step = 25000; in anatop_regulator_probe() 247 rdesc->vsel_reg = control_reg; in anatop_regulator_probe() 249 rdesc->min_dropout_uV = 125000; in anatop_regulator_probe() 292 rdesc->ops = &anatop_rops; in anatop_regulator_probe() [all …]
|
A D | sy8827n.c | 92 rdesc->name = "sy8827n-reg"; in sy8827n_regulator_register() 93 rdesc->supply_name = "vin"; in sy8827n_regulator_register() 94 rdesc->ops = &sy8827n_regulator_ops; in sy8827n_regulator_register() 95 rdesc->type = REGULATOR_VOLTAGE; in sy8827n_regulator_register() 97 rdesc->enable_reg = di->vsel_reg; in sy8827n_regulator_register() 98 rdesc->enable_mask = SY8827N_BUCK_EN; in sy8827n_regulator_register() 99 rdesc->min_uV = SY8827N_VSELMIN; in sy8827n_regulator_register() 100 rdesc->uV_step = SY8827N_VSELSTEP; in sy8827n_regulator_register() 101 rdesc->vsel_reg = di->vsel_reg; in sy8827n_regulator_register() 102 rdesc->vsel_mask = rdesc->n_voltages - 1; in sy8827n_regulator_register() [all …]
|
A D | mp886x.c | 260 rdesc->name = "mp886x-reg"; in mp886x_regulator_register() 261 rdesc->supply_name = "vin"; in mp886x_regulator_register() 262 rdesc->ops = di->ci->rops; in mp886x_regulator_register() 263 rdesc->type = REGULATOR_VOLTAGE; in mp886x_regulator_register() 264 rdesc->n_voltages = 128; in mp886x_regulator_register() 266 rdesc->enable_mask = MP886X_EN; in mp886x_regulator_register() 267 rdesc->min_uV = 600000; in mp886x_regulator_register() 268 rdesc->uV_step = 10000; in mp886x_regulator_register() 269 rdesc->vsel_reg = MP886X_VSEL; in mp886x_regulator_register() 270 rdesc->vsel_mask = 0x3f; in mp886x_regulator_register() [all …]
|
A D | sy8824x.c | 94 rdesc->name = "sy8824-reg"; in sy8824_regulator_register() 95 rdesc->supply_name = "vin"; in sy8824_regulator_register() 96 rdesc->ops = &sy8824_regulator_ops; in sy8824_regulator_register() 97 rdesc->type = REGULATOR_VOLTAGE; in sy8824_regulator_register() 98 rdesc->n_voltages = cfg->vsel_count; in sy8824_regulator_register() 99 rdesc->enable_reg = cfg->enable_reg; in sy8824_regulator_register() 100 rdesc->enable_mask = SY8824C_BUCK_EN; in sy8824_regulator_register() 101 rdesc->min_uV = cfg->vsel_min; in sy8824_regulator_register() 102 rdesc->uV_step = cfg->vsel_step; in sy8824_regulator_register() 103 rdesc->vsel_reg = cfg->vol_reg; in sy8824_regulator_register() [all …]
|
A D | slg51000-regulator.c | 247 struct regulator_desc *rdesc; in slg51000_regulator_init() local 258 chip->rdesc[id] = ®ls_desc[id]; in slg51000_regulator_init() 259 rdesc = chip->rdesc[id]; in slg51000_regulator_init() 293 * rdesc->uV_step); in slg51000_regulator_init() 297 * rdesc->uV_step); in slg51000_regulator_init() 316 rdesc->n_voltages = 0; in slg51000_regulator_init() 317 rdesc->min_uV = 0; in slg51000_regulator_init() 318 rdesc->uV_step = 0; in slg51000_regulator_init() 319 rdesc->linear_min_sel = 0; in slg51000_regulator_init() 327 rdesc->min_uV = rdesc->min_uV in slg51000_regulator_init() [all …]
|
/linux/drivers/spi/ |
A D | spi-pic32-sqi.c | 242 struct ring_desc *rdesc; in ring_desc_get() local 249 return rdesc; in ring_desc_get() 263 struct ring_desc *rdesc; in pic32_sqi_one_transfer() local 298 rdesc = ring_desc_get(sqi); in pic32_sqi_one_transfer() 299 if (!rdesc) in pic32_sqi_one_transfer() 302 bd = rdesc->bd; in pic32_sqi_one_transfer() 435 ring_desc_put(sqi, rdesc); in pic32_sqi_one_message() 456 struct ring_desc *rdesc; in ring_desc_ring_alloc() local 484 for (i = 0, rdesc = sqi->ring; i < PESQI_BD_COUNT; i++, rdesc++) { in ring_desc_ring_alloc() 485 INIT_LIST_HEAD(&rdesc->list); in ring_desc_ring_alloc() [all …]
|
/linux/drivers/crypto/inside-secure/ |
A D | safexcel_ring.c | 229 struct safexcel_result_desc *rdesc; in safexcel_add_rdesc() local 234 if (IS_ERR(rdesc)) in safexcel_add_rdesc() 235 return rdesc; in safexcel_add_rdesc() 237 rdesc->particle_size = len; in safexcel_add_rdesc() 238 rdesc->rsvd0 = 0; in safexcel_add_rdesc() 241 rdesc->last_seg = last; in safexcel_add_rdesc() 242 rdesc->first_seg = first; in safexcel_add_rdesc() 244 rdesc->rsvd1 = 0; in safexcel_add_rdesc() 245 rdesc->data_lo = lower_32_bits(data); in safexcel_add_rdesc() 246 rdesc->data_hi = upper_32_bits(data); in safexcel_add_rdesc() [all …]
|