Home
last modified time | relevance | path

Searched refs:asc (Results 1 – 25 of 140) sorted by relevance

123456

/openbmc/qemu/hw/ssi/
H A Daspeed_smc.c194 #define DMA_DRAM_ADDR(asc, val) ((val) & (asc)->dma_dram_mask) argument
196 #define DMA_FLASH_ADDR(asc, val) ((val) & (asc)->dma_flash_mask) argument
218 static inline bool aspeed_smc_has_dma(const AspeedSMCClass *asc) in aspeed_smc_has_dma() argument
220 return !!(asc->features & ASPEED_SMC_FEATURE_DMA); in aspeed_smc_has_dma()
223 static inline bool aspeed_smc_has_wdt_control(const AspeedSMCClass *asc) in aspeed_smc_has_wdt_control() argument
225 return !!(asc->features & ASPEED_SMC_FEATURE_WDT_CONTROL); in aspeed_smc_has_wdt_control()
228 static inline bool aspeed_smc_has_dma64(const AspeedSMCClass *asc) in aspeed_smc_has_dma64() argument
230 return !!(asc->features & ASPEED_SMC_FEATURE_DMA_DRAM_ADDR_HIGH); in aspeed_smc_has_dma64()
240 AspeedSMCClass *asc = ASPEED_SMC_GET_CLASS(s); in aspeed_smc_flash_overlap() local
244 for (i = 0; i < asc->cs_num_max; i++) { in aspeed_smc_flash_overlap()
[all …]
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-async.c31 struct v4l2_async_connection *asc) in v4l2_async_nf_call_bound() argument
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() argument
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() argument
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->match)) in v4l2_async_find_match()
[all …]
/openbmc/qemu/scsi/
H A Dutils.c107 sense.asc = in_buf[12]; in scsi_parse_sense_buf()
114 sense.asc = in_buf[2]; in scsi_parse_sense_buf()
131 buf[12] = sense.asc; in scsi_build_sense_buf()
137 buf[2] = sense.asc; in scsi_build_sense_buf()
157 .key = NO_SENSE , .asc = 0x00 , .ascq = 0x00
162 .key = NOT_READY, .asc = 0x04, .ascq = 0x03
167 .key = NOT_READY, .asc = 0x3a, .ascq = 0x00
172 .key = NOT_READY, .asc = 0x53, .ascq = 0x02
177 .key = HARDWARE_ERROR, .asc = 0x44, .ascq = 0x00
182 .key = ILLEGAL_REQUEST, .asc = 0x20, .ascq = 0x00
[all …]
/openbmc/qemu/hw/misc/
H A Daspeed_scu.c264 AspeedSCUClass *asc = ASPEED_SCU_GET_CLASS(s); in aspeed_2400_scu_get_apb_freq() local
265 uint32_t hpll = asc->calc_hpll(s, s->regs[HPLL_PARAM]); in aspeed_2400_scu_get_apb_freq()
268 / asc->apb_divider; in aspeed_2400_scu_get_apb_freq()
273 AspeedSCUClass *asc = ASPEED_SCU_GET_CLASS(s); in aspeed_2600_scu_get_apb_freq() local
274 uint32_t hpll = asc->calc_hpll(s, s->regs[AST2600_HPLL_PARAM]); in aspeed_2600_scu_get_apb_freq()
277 / asc->apb_divider; in aspeed_2600_scu_get_apb_freq()
282 AspeedSCUClass *asc = ASPEED_SCU_GET_CLASS(s); in aspeed_1030_scu_get_apb_freq() local
283 uint32_t hpll = asc->calc_hpll(s, s->regs[AST2600_HPLL_PARAM]); in aspeed_1030_scu_get_apb_freq()
286 / asc->apb_divider; in aspeed_1030_scu_get_apb_freq()
291 AspeedSCUClass *asc = ASPEED_SCU_GET_CLASS(s); in aspeed_2700_scu_get_apb_freq() local
[all …]
H A Daspeed_sdmc.c179 AspeedSDMCClass *asc = ASPEED_SDMC_GET_CLASS(s); in aspeed_sdmc_write() local
191 asc->write(s, addr, data); in aspeed_sdmc_write()
205 AspeedSDMCClass *asc = ASPEED_SDMC_GET_CLASS(s); in aspeed_sdmc_reset() local
210 s->regs[R_CONF] = asc->compute_conf(s, 0); in aspeed_sdmc_reset()
242 AspeedSDMCClass *asc = ASPEED_SDMC_GET_CLASS(s); in aspeed_sdmc_set_ram_size() local
248 for (i = 0; asc->valid_ram_sizes[i]; i++) { in aspeed_sdmc_set_ram_size()
249 if (value == asc->valid_ram_sizes[i]) { in aspeed_sdmc_set_ram_size()
271 AspeedSDMCClass *asc = ASPEED_SDMC_GET_CLASS(s); in aspeed_sdmc_realize() local
273 assert(asc->max_ram_size < 4 * GiB || asc->is_bus64bit); in aspeed_sdmc_realize()
280 s->max_ram_size = asc->max_ram_size; in aspeed_sdmc_realize()
[all …]
/openbmc/linux/drivers/target/
H A Dtarget_core_ua.c77 u8 asc, in core_scsi3_ua_allocate() argument
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() argument
171 core_scsi3_ua_allocate(deve, asc, ascq); in target_ua_allocate_lun()
193 bool core_scsi3_ua_for_check_condition(struct se_cmd *cmd, u8 *key, u8 *asc, in core_scsi3_ua_for_check_condition() argument
217 *asc = 0x25; /* LOGICAL UNIT NOT SUPPORTED */ in core_scsi3_ua_for_check_condition()
[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 = 0x26,
[all …]
/openbmc/linux/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->pressed_numlock); in hidinput_apple_event()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/serial/
H A Dlantiq_asc.txt4 - compatible : Should be "lantiq,asc"
11 - clock-names: Should be "freq" and "asc"
16 compatible = "lantiq,asc";
23 clock-names = "freq", "asc";
27 compatible = "lantiq,asc";
H A Dst-asc.txt1 *st-asc(Serial Port)
4 - compatible : Should be "st,asc".
11 - st,force-m1 bool flat to force asc to be in Mode-1 recommended
15 compatible = "st,asc";
/openbmc/qemu/hw/sd/
H A Daspeed_sdhci.c151 AspeedSDHCIClass *asc = ASPEED_SDHCI_GET_CLASS(sdhci); in aspeed_sdhci_realize() local
171 asc->capareg, errp)) { in aspeed_sdhci_realize()
225 AspeedSDHCIClass *asc = ASPEED_SDHCI_CLASS(klass); in aspeed_2400_sdhci_class_init() local
228 asc->capareg = 0x0000000001e80080; in aspeed_2400_sdhci_class_init()
234 AspeedSDHCIClass *asc = ASPEED_SDHCI_CLASS(klass); in aspeed_2500_sdhci_class_init() local
237 asc->capareg = 0x0000000001e80080; in aspeed_2500_sdhci_class_init()
243 AspeedSDHCIClass *asc = ASPEED_SDHCI_CLASS(klass); in aspeed_2600_sdhci_class_init() local
246 asc->capareg = 0x0000000701f80080; in aspeed_2600_sdhci_class_init()
252 AspeedSDHCIClass *asc = ASPEED_SDHCI_CLASS(klass); in aspeed_2700_sdhci_class_init() local
255 asc->capareg = 0x0000000719f80080; in aspeed_2700_sdhci_class_init()
/openbmc/qemu/target/s390x/
H A Dmmu_helper.c59 static bool lowprot_enabled(const CPUS390XState *env, uint64_t asc) in lowprot_enabled() argument
69 switch (asc) { in lowprot_enabled()
127 uint64_t asc, uint64_t asce, target_ulong *raddr, in mmu_translate_asce() argument
385 int mmu_translate(CPUS390XState *env, target_ulong vaddr, int rw, uint64_t asc, in mmu_translate() argument
391 *tec = (vaddr & TARGET_PAGE_MASK) | (asc >> 46) | in mmu_translate()
395 if (is_low_address(vaddr & TARGET_PAGE_MASK) && lowprot_enabled(env, asc)) { in mmu_translate()
419 switch (asc) { in mmu_translate()
436 r = mmu_translate_asce(env, vaddr, asc, asce, raddr, flags); in mmu_translate()
478 uint64_t asc = cpu->env.psw.mask & PSW_MASK_ASC; in translate_pages() local
483 ret = mmu_translate(env, addr, is_write, asc, &pages[i], &pflags, tec); in translate_pages()
H A Dhelper.c47 uint64_t asc = env->psw.mask & PSW_MASK_ASC; in s390_cpu_get_phys_page_debug() local
56 if (asc != PSW_ASC_HOME) { in s390_cpu_get_phys_page_debug()
57 asc = PSW_ASC_PRIMARY; in s390_cpu_get_phys_page_debug()
64 if (mmu_translate(env, vaddr, MMU_DATA_LOAD, asc, &raddr, &prot, &tec)) { in s390_cpu_get_phys_page_debug()
/openbmc/linux/drivers/media/platform/renesas/rcar-vin/
H A Drcar-core.c254 struct v4l2_async_connection *asc) in rvin_group_notify_unbind() argument
266 if (vin->group->remotes[i].asc != asc) in rvin_group_notify_unbind()
280 struct v4l2_async_connection *asc) in rvin_group_notify_bound() argument
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()
336 vin->group->remotes[vep.base.id].asc = asc; in rvin_group_parse_of()
389 if (vin->group->remotes[id].asc) in rvin_group_notifier_init()
[all …]
/openbmc/linux/drivers/scsi/
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 == 0x10) /* DIF */ in scsi_check_sense()
[all …]
H A Dscsi_common.c210 sshdr->asc = sense_buffer[2]; in scsi_normalize_sense()
224 sshdr->asc = sense_buffer[12]; in scsi_normalize_sense()
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 Dps3rom.c247 unsigned char *asc, unsigned char *ascq) in DEF_SCSI_QCMD()
253 *asc = (status >> 8) & 0xff; in DEF_SCSI_QCMD()
266 unsigned char sense_key, asc, ascq; in ps3rom_interrupt() local
313 if (decode_lv1_status(status, &sense_key, &asc, &ascq)) { in ps3rom_interrupt()
318 scsi_build_sense(cmd, 0, sense_key, asc, ascq); in ps3rom_interrupt()
/openbmc/u-boot/drivers/misc/
H A Daltera_sysid.c29 char asc[32]; in display_sysid() local
43 asctime_r(&t, asc); in display_sysid()
44 printf("SYSID: %08x, %s", sysid[0], asc); in display_sysid()
/openbmc/linux/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 == 0x29 && sense_hdr->ascq == 0x00) 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()
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()
291 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x03) in clariion_check_sense()
308 if (sense_hdr->asc == 0x25 && sense_hdr->ascq == 0x01) in clariion_check_sense()
322 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) in clariion_check_sense()
/openbmc/linux/include/media/
H A Dv4l2-async.h98 struct v4l2_async_connection *asc);
102 struct v4l2_async_connection *asc);
103 void (*destroy)(struct v4l2_async_connection *asc);
/openbmc/linux/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()
/openbmc/linux/drivers/ata/
H A Dlibata-zpodd.c107 unsigned int ret, asc, ascq, add_len; in zpready() local
129 asc = sense_buf[12]; in zpready()
134 return asc == 0x3a; in zpready()
137 return asc == 0x3a && ascq == 0x01; in zpready()
/openbmc/linux/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);

123456