Home
last modified time | relevance | path

Searched refs:asc (Results 1 - 25 of 148) sorted by relevance

123456

/kernel/linux/linux-6.6/drivers/media/v4l2-core/
H A Dv4l2-async.c31 struct v4l2_async_connection *asc) in v4l2_async_nf_call_bound()
36 return n->ops->bound(n, subdev, asc); in v4l2_async_nf_call_bound()
41 struct v4l2_async_connection *asc) in v4l2_async_nf_call_unbind()
46 n->ops->unbind(n, subdev, asc); in v4l2_async_nf_call_unbind()
58 struct v4l2_async_connection *asc) in v4l2_async_nf_call_destroy()
63 n->ops->destroy(asc); in v4l2_async_nf_call_destroy()
185 struct v4l2_async_connection *asc; in v4l2_async_find_match() local
187 list_for_each_entry(asc, &notifier->waiting_list, asc_entry) { in v4l2_async_find_match()
189 switch (asc->match.type) { in v4l2_async_find_match()
203 if (match(notifier, sd, &asc in v4l2_async_find_match()
29 v4l2_async_nf_call_bound(struct v4l2_async_notifier *n, struct v4l2_subdev *subdev, struct v4l2_async_connection *asc) v4l2_async_nf_call_bound() argument
39 v4l2_async_nf_call_unbind(struct v4l2_async_notifier *n, struct v4l2_subdev *subdev, struct v4l2_async_connection *asc) v4l2_async_nf_call_unbind() argument
57 v4l2_async_nf_call_destroy(struct v4l2_async_notifier *n, struct v4l2_async_connection *asc) v4l2_async_nf_call_destroy() argument
259 struct v4l2_async_connection *asc; v4l2_async_nf_can_complete() local
334 v4l2_async_match_notify(struct v4l2_async_notifier *notifier, struct v4l2_device *v4l2_dev, struct v4l2_subdev *sd, struct v4l2_async_connection *asc) v4l2_async_match_notify() argument
427 struct v4l2_async_connection *asc; v4l2_async_nf_try_all_subdevs() local
453 v4l2_async_unbind_subdev_one(struct v4l2_async_notifier *notifier, struct v4l2_async_connection *asc) v4l2_async_unbind_subdev_one() argument
469 struct v4l2_async_connection *asc, *asc_tmp; v4l2_async_nf_unbind_all_subdevs() local
490 struct v4l2_async_connection *asc; v4l2_async_nf_has_async_match_entry() local
521 struct v4l2_async_connection *asc; v4l2_async_nf_has_async_match() local
581 struct v4l2_async_connection *asc; __v4l2_async_nf_register() local
657 struct v4l2_async_connection *asc, *tmp; __v4l2_async_nf_cleanup() local
688 __v4l2_async_nf_add_connection(struct v4l2_async_notifier *notifier, struct v4l2_async_connection *asc) __v4l2_async_nf_add_connection() argument
703 struct v4l2_async_connection *asc; __v4l2_async_nf_add_fwnode() local
724 struct v4l2_async_connection *asc; __v4l2_async_nf_add_fwnode_remote() local
745 struct v4l2_async_connection *asc; __v4l2_async_nf_add_i2c() local
794 struct v4l2_async_connection *asc; v4l2_async_register_subdev() local
862 struct v4l2_async_connection *asc, *asc_tmp; v4l2_async_unregister_subdev() local
932 struct v4l2_async_connection *asc; pending_subdevs_show() local
[all...]
/kernel/linux/linux-5.10/drivers/target/
H A Dtarget_core_ua.c77 u8 asc, in core_scsi3_ua_allocate()
89 ua->ua_asc = asc; in core_scsi3_ua_allocate()
97 if ((ua_p->ua_asc == asc) && (ua_p->ua_ascq == ascq)) { in core_scsi3_ua_allocate()
122 if ((asc == 0x29) && (ascq > ua_p->ua_ascq)) in core_scsi3_ua_allocate()
133 if ((asc == 0x29) || (ascq > ua_p->ua_asc)) in core_scsi3_ua_allocate()
151 asc, ascq); in core_scsi3_ua_allocate()
157 u32 unpacked_lun, u8 asc, u8 ascq) in target_ua_allocate_lun()
171 core_scsi3_ua_allocate(deve, asc, ascq); in target_ua_allocate_lun()
190 * returns true if the dequeuing succeeded and if *@key, *@asc and *@ascq have
193 bool core_scsi3_ua_for_check_condition(struct se_cmd *cmd, u8 *key, u8 *asc, in core_scsi3_ua_for_check_condition() argument
75 core_scsi3_ua_allocate( struct se_dev_entry *deve, u8 asc, u8 ascq) core_scsi3_ua_allocate() argument
156 target_ua_allocate_lun(struct se_node_acl *nacl, u32 unpacked_lun, u8 asc, u8 ascq) target_ua_allocate_lun() argument
266 core_scsi3_ua_clear_for_request_sense( struct se_cmd *cmd, u8 *asc, u8 *ascq) core_scsi3_ua_clear_for_request_sense() argument
[all...]
H A Dtarget_core_transport.c3135 u8 asc; member
3146 .asc = 0x25 /* LOGICAL UNIT NOT SUPPORTED */
3150 .asc = 0x20, /* INVALID COMMAND OPERATION CODE */
3154 .asc = 0x20, /* INVALID COMMAND OPERATION CODE */
3158 .asc = 0x24, /* INVALID FIELD IN CDB */
3162 .asc = 0x29, /* BUS DEVICE RESET FUNCTION OCCURRED */
3167 .asc = 0x0c, /* WRITE ERROR */
3172 .asc = 0x24, /* INVALID FIELD IN CDB */
3176 .asc = 0x26, /* INVALID FIELD IN PARAMETER LIST */
3180 .asc
3303 u8 key, asc, ascq; translate_sense_reason() local
[all...]
/kernel/linux/linux-6.6/drivers/target/
H A Dtarget_core_ua.c77 u8 asc, in core_scsi3_ua_allocate()
89 ua->ua_asc = asc; in core_scsi3_ua_allocate()
97 if ((ua_p->ua_asc == asc) && (ua_p->ua_ascq == ascq)) { in core_scsi3_ua_allocate()
122 if ((asc == 0x29) && (ascq > ua_p->ua_ascq)) in core_scsi3_ua_allocate()
133 if ((asc == 0x29) || (ascq > ua_p->ua_asc)) in core_scsi3_ua_allocate()
151 asc, ascq); in core_scsi3_ua_allocate()
157 u32 unpacked_lun, u8 asc, u8 ascq) in target_ua_allocate_lun()
171 core_scsi3_ua_allocate(deve, asc, ascq); in target_ua_allocate_lun()
190 * returns true if the dequeuing succeeded and if *@key, *@asc and *@ascq have
193 bool core_scsi3_ua_for_check_condition(struct se_cmd *cmd, u8 *key, u8 *asc, in core_scsi3_ua_for_check_condition() argument
75 core_scsi3_ua_allocate( struct se_dev_entry *deve, u8 asc, u8 ascq) core_scsi3_ua_allocate() argument
156 target_ua_allocate_lun(struct se_node_acl *nacl, u32 unpacked_lun, u8 asc, u8 ascq) target_ua_allocate_lun() argument
266 core_scsi3_ua_clear_for_request_sense( struct se_cmd *cmd, u8 *asc, u8 *ascq) core_scsi3_ua_clear_for_request_sense() argument
[all...]
H A Dtarget_core_transport.c3307 u8 asc; member
3318 .asc = 0x25 /* LOGICAL UNIT NOT SUPPORTED */
3322 .asc = 0x20, /* INVALID COMMAND OPERATION CODE */
3326 .asc = 0x20, /* INVALID COMMAND OPERATION CODE */
3330 .asc = 0x24, /* INVALID FIELD IN CDB */
3334 .asc = 0x29, /* BUS DEVICE RESET FUNCTION OCCURRED */
3339 .asc = 0x0c, /* WRITE ERROR */
3344 .asc = 0x24, /* INVALID FIELD IN CDB */
3348 .asc = 0x26, /* INVALID FIELD IN PARAMETER LIST */
3352 .asc
3498 u8 key, asc, ascq; translate_sense_reason() local
[all...]
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-apple.c400 struct apple_sc *asc = hid_get_drvdata(hid); in hidinput_apple_event() local
407 real_fnmode = (asc->quirks & APPLE_IS_NON_APPLE) ? 2 : 1; in hidinput_apple_event()
419 if (iso_layout > 0 || (iso_layout < 0 && (asc->quirks & APPLE_ISO_TILDE_QUIRK) && in hidinput_apple_event()
445 asc->fn_on = !!value; in hidinput_apple_event()
499 do_translate = !asc->fn_on; in hidinput_apple_event()
502 do_translate = asc->fn_on; in hidinput_apple_event()
509 do_translate = asc->fn_on; in hidinput_apple_event()
517 if (asc->quirks & APPLE_NUMLOCK_EMULATION && in hidinput_apple_event()
518 (test_bit(code, asc->pressed_numlock) || in hidinput_apple_event()
524 set_bit(code, asc in hidinput_apple_event()
545 struct apple_sc *asc = hid_get_drvdata(hdev); apple_event() local
570 struct apple_sc *asc = hid_get_drvdata(hdev); apple_fetch_battery() local
595 struct apple_sc *asc = from_timer(asc, t, battery_timer); apple_battery_timer_tick() local
611 struct apple_sc *asc = hid_get_drvdata(hdev); apple_report_fixup() local
672 struct apple_sc *asc = hid_get_drvdata(hdev); apple_input_mapping() local
693 struct apple_sc *asc = hid_get_drvdata(hdev); apple_input_mapped() local
710 struct apple_sc *asc = hid_get_drvdata(hdev); apple_input_configured() local
775 struct apple_sc *asc = hid_get_drvdata(hdev); apple_backlight_init() local
828 struct apple_sc *asc; apple_probe() local
867 struct apple_sc *asc = hid_get_drvdata(hdev); apple_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-apple.c215 struct apple_sc *asc = hid_get_drvdata(hid); in hidinput_apple_event() local
223 asc->fn_on = !!value; in hidinput_apple_event()
251 do_translate = !asc->fn_on; in hidinput_apple_event()
254 do_translate = asc->fn_on; in hidinput_apple_event()
261 do_translate = asc->fn_on; in hidinput_apple_event()
271 if (asc->quirks & APPLE_NUMLOCK_EMULATION && in hidinput_apple_event()
272 (test_bit(usage->code, asc->pressed_numlock) || in hidinput_apple_event()
280 asc->pressed_numlock); in hidinput_apple_event()
283 asc->pressed_numlock); in hidinput_apple_event()
325 struct apple_sc *asc in apple_event() local
354 struct apple_sc *asc = hid_get_drvdata(hdev); apple_report_fixup() local
403 struct apple_sc *asc = hid_get_drvdata(hdev); apple_input_mapping() local
424 struct apple_sc *asc = hid_get_drvdata(hdev); apple_input_mapped() local
441 struct apple_sc *asc = hid_get_drvdata(hdev); apple_input_configured() local
455 struct apple_sc *asc; apple_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/ide/
H A Dide-cd_verbose.c24 (sense->sense_key == NOT_READY && (sense->asc == 4 || in ide_cd_log_error()
25 sense->asc == 0x3a))) in ide_cd_log_error()
29 "asc: 0x%02x ascq: 0x%02x\n", in ide_cd_log_error()
31 sense->asc, sense->ascq); in ide_cd_log_error()
276 if (sense->asc == 0x40) { in ide_cd_log_error()
284 key |= (sense->asc << 8); in ide_cd_log_error()
303 if (sense->asc > 0x80) in ide_cd_log_error()
309 printk(KERN_ERR " %s -- (asc=0x%02x, ascq=0x%02x)\n", in ide_cd_log_error()
310 s, sense->asc, sense->ascq); in ide_cd_log_error()
/kernel/linux/linux-6.6/drivers/media/platform/renesas/rcar-vin/
H A Drcar-core.c254 struct v4l2_async_connection *asc) in rvin_group_notify_unbind()
266 if (vin->group->remotes[i].asc != asc) in rvin_group_notify_unbind()
280 struct v4l2_async_connection *asc) in rvin_group_notify_bound()
288 if (vin->group->remotes[i].asc != asc) in rvin_group_notify_bound()
313 struct v4l2_async_connection *asc; in rvin_group_parse_of() local
329 asc = v4l2_async_nf_add_fwnode(&vin->group->notifier, fwnode, in rvin_group_parse_of()
331 if (IS_ERR(asc)) { in rvin_group_parse_of()
332 ret = PTR_ERR(asc); in rvin_group_parse_of()
252 rvin_group_notify_unbind(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, struct v4l2_async_connection *asc) rvin_group_notify_unbind() argument
278 rvin_group_notify_bound(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, struct v4l2_async_connection *asc) rvin_group_notify_bound() argument
611 rvin_parallel_notify_unbind(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, struct v4l2_async_connection *asc) rvin_parallel_notify_unbind() argument
624 rvin_parallel_notify_bound(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, struct v4l2_async_connection *asc) rvin_parallel_notify_bound() argument
658 struct v4l2_async_connection *asc; rvin_parallel_parse_of() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_common.c130 * asc, ascq and additional_length (only for descriptor format).
158 sshdr->asc = sense_buffer[2]; in scsi_normalize_sense()
173 sshdr->asc = sense_buffer[12]; in scsi_normalize_sense()
228 * @asc: Additional sense code
232 void scsi_build_sense_buffer(int desc, u8 *buf, u8 key, u8 asc, u8 ascq) in scsi_build_sense_buffer() argument
237 buf[2] = asc; in scsi_build_sense_buffer()
244 buf[12] = asc; in scsi_build_sense_buffer()
H A Dscsi_error.c415 if (sshdr->asc == 0x3f && sshdr->ascq == 0x03) { in scsi_report_sense()
419 } else if (sshdr->asc == 0x3f && sshdr->ascq == 0x0e) { in scsi_report_sense()
427 } else if (sshdr->asc == 0x3f) in scsi_report_sense()
434 if (sshdr->asc == 0x38 && sshdr->ascq == 0x07) { in scsi_report_sense()
442 if (sshdr->asc == 0x29) { in scsi_report_sense()
448 if (sshdr->asc == 0x2a && sshdr->ascq == 0x01) { in scsi_report_sense()
452 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x06) { in scsi_report_sense()
456 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x09) { in scsi_report_sense()
460 } else if (sshdr->asc == 0x2a) in scsi_report_sense()
539 if (sshdr.asc in scsi_check_sense()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_common.c182 * asc, ascq and additional_length (only for descriptor format).
210 sshdr->asc = sense_buffer[2]; in scsi_normalize_sense()
224 sshdr->asc = sense_buffer[12]; in scsi_normalize_sense()
279 * @asc: Additional sense code
283 void scsi_build_sense_buffer(int desc, u8 *buf, u8 key, u8 asc, u8 ascq) in scsi_build_sense_buffer() argument
288 buf[2] = asc; in scsi_build_sense_buffer()
295 buf[12] = asc; in scsi_build_sense_buffer()
H A Dscsi_error.c463 if (sshdr->asc == 0x3f && sshdr->ascq == 0x03) { in scsi_report_sense()
467 } else if (sshdr->asc == 0x3f && sshdr->ascq == 0x0e) { in scsi_report_sense()
474 } else if (sshdr->asc == 0x3f) in scsi_report_sense()
480 if (sshdr->asc == 0x38 && sshdr->ascq == 0x07) { in scsi_report_sense()
488 if (sshdr->asc == 0x29) { in scsi_report_sense()
499 if (sshdr->asc == 0x2a && sshdr->ascq == 0x01) { in scsi_report_sense()
503 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x06) { in scsi_report_sense()
507 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x09) { in scsi_report_sense()
511 } else if (sshdr->asc == 0x2a) in scsi_report_sense()
597 if (sshdr.asc in scsi_check_sense()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/device_handler/
H A Dscsi_dh_rdac.c501 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x01) in mode_select_handle_sense()
508 if (sense_hdr->asc == 0x91 && sense_hdr->ascq == 0x36) in mode_select_handle_sense()
521 sense_hdr->sense_key, sense_hdr->asc, sense_hdr->ascq); in mode_select_handle_sense()
667 sense_hdr->sense_key, sense_hdr->asc, sense_hdr->ascq); in rdac_check_sense()
671 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x01) in rdac_check_sense()
677 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x81) in rdac_check_sense()
684 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0xA1) in rdac_check_sense()
690 if (sense_hdr->asc == 0xA1 && sense_hdr->ascq == 0x02) in rdac_check_sense()
698 if (sense_hdr->asc == 0x94 && sense_hdr->ascq == 0x01) { in rdac_check_sense()
708 if (sense_hdr->asc in rdac_check_sense()
[all...]
H A Dscsi_dh_hp_sw.c53 if (sshdr->asc == 0x04 && sshdr->ascq == 2) { in tur_done()
67 HP_SW_NAME, sshdr->sense_key, sshdr->asc, in tur_done()
139 if (sshdr.asc == 0x04 && sshdr.ascq == 3) { in hp_sw_start_stop()
155 sshdr.sense_key, sshdr.asc, sshdr.ascq); in hp_sw_start_stop()
H A Dscsi_dh_alua.c413 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x0a) { in alua_check_sense()
422 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) { in alua_check_sense()
431 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x04) in alua_check_sense()
436 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x01) in alua_check_sense()
441 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x06) { in alua_check_sense()
448 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x07) { in alua_check_sense()
455 if (sense_hdr->asc == 0x3f && sense_hdr->ascq == 0x03) in alua_check_sense()
460 if (sense_hdr->asc == 0x3f && sense_hdr->ascq == 0x0e) in alua_check_sense()
489 sense_hdr.asc == 0x04 && sense_hdr.ascq == 0x0a) in alua_tur()
583 sense_hdr.asc in alua_rtpg()
[all...]
H A Dscsi_dh_emc.c108 sshdr->asc, sshdr->ascq); in trespass_endio()
110 if (sshdr->sense_key == 0x05 && sshdr->asc == 0x04 && in trespass_endio()
120 } else if (sshdr->sense_key == 0x02 && sshdr->asc == 0x04 && in trespass_endio()
288 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x03) in clariion_check_sense()
305 if (sense_hdr->asc == 0x25 && sense_hdr->ascq == 0x01) in clariion_check_sense()
319 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) in clariion_check_sense()
/kernel/linux/linux-6.6/drivers/scsi/device_handler/
H A Dscsi_dh_rdac.c501 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x01) in mode_select_handle_sense()
508 if (sense_hdr->asc == 0x91 && sense_hdr->ascq == 0x36) in mode_select_handle_sense()
521 sense_hdr->sense_key, sense_hdr->asc, sense_hdr->ascq); in mode_select_handle_sense()
669 sense_hdr->sense_key, sense_hdr->asc, sense_hdr->ascq); in rdac_check_sense()
673 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x01) in rdac_check_sense()
679 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x81) in rdac_check_sense()
686 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0xA1) in rdac_check_sense()
692 if (sense_hdr->asc == 0xA1 && sense_hdr->ascq == 0x02) in rdac_check_sense()
700 if (sense_hdr->asc == 0x94 && sense_hdr->ascq == 0x01) { in rdac_check_sense()
710 if (sense_hdr->asc in rdac_check_sense()
[all...]
H A Dscsi_dh_hp_sw.c53 if (sshdr->asc == 0x04 && sshdr->ascq == 2) { in tur_done()
67 HP_SW_NAME, sshdr->sense_key, sshdr->asc, in tur_done()
145 if (sshdr.asc == 0x04 && sshdr.ascq == 3) { in hp_sw_start_stop()
161 sshdr.sense_key, sshdr.asc, sshdr.ascq); in hp_sw_start_stop()
/kernel/linux/linux-6.6/include/media/
H A Dv4l2-async.h93 * @destroy: the asc is about to be freed
98 struct v4l2_async_connection *asc);
102 struct v4l2_async_connection *asc);
103 void (*destroy)(struct v4l2_async_connection *asc);
191 * Allocate a fwnode-matched asc of size asc_struct_size, and add it to the
/kernel/linux/linux-5.10/drivers/ata/
H A Dlibata-zpodd.c107 unsigned int ret, asc, ascq, add_len; in zpready() local
125 /* has asc and ascq */ in zpready()
129 asc = sense_buf[12]; in zpready()
134 return asc == 0x3a; in zpready()
137 return asc == 0x3a && ascq == 0x01; in zpready()
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/
H A Disp.h230 struct v4l2_async_connection *asc; in v4l2_subdev_to_bus_cfg() local
232 asc = v4l2_async_connection_unique(sd); in v4l2_subdev_to_bus_cfg()
233 if (!asc) in v4l2_subdev_to_bus_cfg()
236 return &container_of(asc, struct isp_async_subdev, asd)->bus; in v4l2_subdev_to_bus_cfg()
/kernel/linux/linux-6.6/drivers/ata/
H A Dlibata-zpodd.c107 unsigned int ret, asc, ascq, add_len; in zpready() local
125 /* has asc and ascq */ in zpready()
129 asc = sense_buf[12]; in zpready()
134 return asc == 0x3a; in zpready()
137 return asc == 0x3a && ascq == 0x01; in zpready()
/kernel/linux/linux-5.10/include/scsi/
H A Dscsi_common.h53 u8 asc; member
72 extern void scsi_build_sense_buffer(int desc, u8 *buf, u8 key, u8 asc, u8 ascq);
/kernel/linux/linux-6.6/include/scsi/
H A Dscsi_common.h66 u8 asc; member
85 extern void scsi_build_sense_buffer(int desc, u8 *buf, u8 key, u8 asc, u8 ascq);

Completed in 24 milliseconds

123456