/drivers/pinctrl/aspeed/ |
D | pinmux-aspeed.h | 513 #define SIG_DESC_LIST_SYM(sig, group) sig_descs_ ## sig ## _ ## group argument 514 #define SIG_DESC_LIST_DECL(sig, group, ...) \ argument 515 static const struct aspeed_sig_desc SIG_DESC_LIST_SYM(sig, group)[] = \ 518 #define SIG_EXPR_SYM(sig, group) sig_expr_ ## sig ## _ ## group argument 519 #define SIG_EXPR_DECL_(sig, group, func) \ argument 520 static const struct aspeed_sig_expr SIG_EXPR_SYM(sig, group) = \ 522 .signal = #sig, \ 524 .ndescs = ARRAY_SIZE(SIG_DESC_LIST_SYM(sig, group)), \ 525 .descs = &(SIG_DESC_LIST_SYM(sig, group))[0], \ 545 #define SIG_EXPR_DECL(sig, group, func, ...) \ argument [all …]
|
/drivers/gpu/ipu-v3/ |
D | ipu-di.c | 203 struct ipu_di_signal_cfg *sig) in ipu_di_sync_config_interlaced() argument 205 u32 h_total = sig->mode.hactive + sig->mode.hsync_len + in ipu_di_sync_config_interlaced() 206 sig->mode.hback_porch + sig->mode.hfront_porch; in ipu_di_sync_config_interlaced() 207 u32 v_total = sig->mode.vactive + sig->mode.vsync_len + in ipu_di_sync_config_interlaced() 208 sig->mode.vback_porch + sig->mode.vfront_porch; in ipu_di_sync_config_interlaced() 220 .cnt_down = sig->mode.hsync_len * 2, in ipu_di_sync_config_interlaced() 227 .cnt_down = sig->mode.vsync_len * 2, in ipu_di_sync_config_interlaced() 240 .offset_count = (sig->mode.vsync_len + in ipu_di_sync_config_interlaced() 241 sig->mode.vback_porch) / 2, in ipu_di_sync_config_interlaced() 243 .repeat_count = sig->mode.vactive / 2, in ipu_di_sync_config_interlaced() [all …]
|
/drivers/eisa/ |
D | eisa-bus.c | 20 #define EISA_DEVINFO(i,s) { .id = { .sig = i }, .name = s } 62 if (!strcmp(edev->id.sig, eisa_table[i].id.sig)) { in eisa_name_device() 71 sprintf(edev->pretty_name, "EISA device %.7s", edev->id.sig); in eisa_name_device() 78 u8 sig[4]; in decode_eisa_sig() local 93 sig[i] = inb(addr + i); in decode_eisa_sig() 95 if (!i && (sig[0] & 0x80)) in decode_eisa_sig() 99 sig_str[0] = ((sig[0] >> 2) & 0x1f) + ('A' - 1); in decode_eisa_sig() 100 sig_str[1] = (((sig[0] & 3) << 3) | (sig[1] >> 5)) + ('A' - 1); in decode_eisa_sig() 101 sig_str[2] = (sig[1] & 0x1f) + ('A' - 1); in decode_eisa_sig() 102 rev = (sig[2] << 8) | sig[3]; in decode_eisa_sig() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/acr/ |
D | hsfw.c | 35 kfree(hsfw->sig.prod.data); in nvkm_acr_hsfw_del() 36 kfree(hsfw->sig.dbg.data); in nvkm_acr_hsfw_del() 58 u32 loc, sig; in nvkm_acr_hsfw_load_image() local 75 sig = *(u32 *)(fw->data + fwhdr->patch_sig); in nvkm_acr_hsfw_load_image() 79 sig = fwhdr->patch_sig; in nvkm_acr_hsfw_load_image() 102 hsfw->sig.prod.size = fwhdr->sig_prod_size; in nvkm_acr_hsfw_load_image() 103 hsfw->sig.prod.data = kmemdup(fw->data + fwhdr->sig_prod_offset + sig, in nvkm_acr_hsfw_load_image() 104 hsfw->sig.prod.size, GFP_KERNEL); in nvkm_acr_hsfw_load_image() 105 if (!hsfw->sig.prod.data) { in nvkm_acr_hsfw_load_image() 110 hsfw->sig.dbg.size = fwhdr->sig_dbg_size; in nvkm_acr_hsfw_load_image() [all …]
|
D | gm200.c | 116 if (WARN_ON(lsfw->sig->size != sizeof(hdr.signature))) in gm200_acr_wpr_build_lsb() 119 memcpy(&hdr.signature, lsfw->sig->data, lsfw->sig->size); in gm200_acr_wpr_build_lsb() 303 if (hsfw->sig.patch_loc) { in gm200_acr_hsfw_load() 306 memcpy(hsfw->image + hsfw->sig.patch_loc, in gm200_acr_hsfw_load() 307 hsfw->sig.prod.data, in gm200_acr_hsfw_load() 308 hsfw->sig.prod.size); in gm200_acr_hsfw_load() 311 memcpy(hsfw->image + hsfw->sig.patch_loc, in gm200_acr_hsfw_load() 312 hsfw->sig.dbg.data, in gm200_acr_hsfw_load() 313 hsfw->sig.dbg.size); in gm200_acr_hsfw_load()
|
D | gp102.c | 64 if (WARN_ON(lsfw->sig->size != sizeof(hdr.signature))) in gp102_acr_wpr_build_lsb() 67 memcpy(&hdr.signature, lsfw->sig->data, lsfw->sig->size); in gp102_acr_wpr_build_lsb() 83 struct lsf_signature_v1 *sig = (void *)lsfw->sig->data; in gp102_acr_wpr_build() local 89 .bin_version = sig->version, in gp102_acr_wpr_build()
|
D | tu102.c | 54 struct lsf_signature_v1 *sig = (void *)lsfw->sig->data; in tu102_acr_wpr_build() local 60 .bin_version = sig->version, in tu102_acr_wpr_build()
|
/drivers/net/wireless/ |
D | wl3501_cs.c | 369 static int wl3501_esbq_exec(struct wl3501_card *this, void *sig, int sig_size) in wl3501_esbq_exec() argument 376 wl3501_set_to_wla(this, ptr, sig, sig_size); in wl3501_esbq_exec() 386 struct wl3501_get_req sig = { in wl3501_request_mib() local 395 u16 ptr = wl3501_get_tx_buffer(this, sizeof(sig)); in wl3501_request_mib() 397 wl3501_set_to_wla(this, ptr, &sig, sizeof(sig)); in wl3501_request_mib() 428 struct wl3501_pwr_mgmt_req sig = { in wl3501_pwr_mgmt() local 439 u16 ptr = wl3501_get_tx_buffer(this, sizeof(sig)); in wl3501_pwr_mgmt() 441 wl3501_set_to_wla(this, ptr, &sig, sizeof(sig)); in wl3501_pwr_mgmt() 469 struct wl3501_md_req sig = { in wl3501_send_pkt() local 472 size_t sig_addr_len = sizeof(sig.addr); in wl3501_send_pkt() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/engine/pm/ |
D | base.c | 92 nvkm_perfsig_count_perfsrc(struct nvkm_perfsig *sig) in nvkm_perfsig_count_perfsrc() argument 96 for (i = 0; i < ARRAY_SIZE(sig->source); i++) { in nvkm_perfsig_count_perfsrc() 97 if (sig->source[i]) in nvkm_perfsig_count_perfsrc() 104 nvkm_perfsrc_find(struct nvkm_pm *pm, struct nvkm_perfsig *sig, int si) in nvkm_perfsrc_find() argument 111 for (i = 0; i < ARRAY_SIZE(sig->source) && sig->source[i]; i++) { in nvkm_perfsrc_find() 112 if (sig->source[i] == si) { in nvkm_perfsrc_find() 134 struct nvkm_perfsig *sig; in nvkm_perfsrc_enable() local 141 sig = nvkm_perfsig_find(pm, ctr->domain, in nvkm_perfsrc_enable() 143 if (!sig) in nvkm_perfsrc_enable() 146 src = nvkm_perfsrc_find(pm, sig, ctr->source[i][j]); in nvkm_perfsrc_enable() [all …]
|
/drivers/scsi/ |
D | fdomain_isa.c | 91 struct signature *sig = NULL; in fdomain_isa_match() local 107 sig = &signatures[i]; in fdomain_isa_match() 110 if (sig->base_offset) in fdomain_isa_match() 111 base = readb(p + sig->base_offset) + in fdomain_isa_match() 112 (readb(p + sig->base_offset + 1) << 8); in fdomain_isa_match() 120 saved_sig = sig; in fdomain_isa_match() 127 if (!sig && saved_sig) in fdomain_isa_match() 128 sig = saved_sig; in fdomain_isa_match() 135 if (sig) in fdomain_isa_match() 136 this_id = sig->this_id; in fdomain_isa_match()
|
/drivers/gpu/drm/vc4/ |
D | vc4_validate_shaders.c | 118 uint32_t sig = QPU_GET_FIELD(inst, QPU_SIG); in raddr_add_a_to_live_reg_index() local 125 else if (add_a == QPU_MUX_B && sig != QPU_SIG_SMALL_IMM) in raddr_add_a_to_live_reg_index() 196 uint32_t sig = QPU_GET_FIELD(inst, QPU_SIG); in check_tmu_write() local 202 if (sig == QPU_SIG_SMALL_IMM) { in check_tmu_write() 247 if (raddr_a == QPU_R_UNIF || (sig != QPU_SIG_SMALL_IMM && in check_tmu_write() 394 uint32_t sig = QPU_GET_FIELD(inst, QPU_SIG); in check_reg_write() local 403 if (sig == QPU_SIG_LOAD_IMM && in check_reg_write() 490 uint32_t sig = QPU_GET_FIELD(inst, QPU_SIG); in track_live_clamps() local 528 if (sig != QPU_SIG_SMALL_IMM || raddr_b != 0 || in track_live_clamps() 543 sig != QPU_SIG_SMALL_IMM)) { in track_live_clamps() [all …]
|
/drivers/crypto/marvell/octeontx2/ |
D | otx2_cptpf_mbox.c | 29 msg->sig = req->sig; in forward_to_af() 57 rsp->hdr.sig = OTX2_MBOX_RSP_SIG; in handle_msg_get_caps() 80 rsp->hdr.sig = OTX2_MBOX_RSP_SIG; in handle_msg_get_eng_grp_num() 101 rsp->hdr.sig = OTX2_MBOX_RSP_SIG; in handle_msg_kvf_limits() 115 if (req->sig != OTX2_MBOX_REQ_SIG) in cptpf_handle_vf_req() 241 if (msg->sig != OTX2_MBOX_RSP_SIG) { in process_afpf_mbox_msg() 243 msg->sig, msg->id); in process_afpf_mbox_msg() 290 if (msg->sig != OTX2_MBOX_RSP_SIG) { in forward_to_vf() 293 msg->sig, msg->id); in forward_to_vf() 317 fwd->sig = msg->sig; in forward_to_vf()
|
D | otx2_cpt_mbox_common.c | 34 req->sig = OTX2_MBOX_REQ_SIG; in otx2_cpt_send_ready_msg() 59 reg_msg->hdr.sig = OTX2_MBOX_REQ_SIG; in otx2_cpt_add_read_af_reg() 84 reg_msg->hdr.sig = OTX2_MBOX_REQ_SIG; in otx2_cpt_add_write_af_reg() 134 req->hdr.sig = OTX2_MBOX_REQ_SIG; in otx2_cpt_attach_rscrs_msg() 162 req->hdr.sig = OTX2_MBOX_REQ_SIG; in otx2_cpt_detach_rsrcs_msg() 189 req->sig = OTX2_MBOX_REQ_SIG; in otx2_cpt_msix_offset_msg()
|
D | otx2_cptvf_mbox.c | 84 if (msg->sig != OTX2_MBOX_RSP_SIG) { in process_pfvf_mbox_mbox_msg() 87 msg->sig, msg->id); in process_pfvf_mbox_mbox_msg() 182 req->hdr.sig = OTX2_MBOX_REQ_SIG; in otx2_cptvf_send_eng_grp_num_msg() 204 req->sig = OTX2_MBOX_REQ_SIG; in otx2_cptvf_send_kvf_limits_msg()
|
/drivers/comedi/drivers/ni_routing/tools/ |
D | make_blank_csv.py | 20 fieldnames = [sig for sig_val, sig in sorted(value_to_name.items())] 27 for sig in fieldnames[1:]: 28 dR.writerow({CSVCollection.source_column_name: sig})
|
D | convert_c_to_py.c | 83 bool is_valid_ni_sig(unsigned int sig) in is_valid_ni_sig() argument 85 return (sig >= NI_NAMES_BASE) && (sig < (NI_NAMES_BASE + NI_NUM_NAMES)); in is_valid_ni_sig()
|
/drivers/md/ |
D | dm-verity-verify-sig.c | 51 sig_opts->sig = kmalloc(ukp->datalen, GFP_KERNEL); in verity_verify_get_sig_from_key() 52 if (!sig_opts->sig) { in verity_verify_get_sig_from_key() 58 memcpy(sig_opts->sig, ukp->data, sig_opts->sig_size); in verity_verify_get_sig_from_key() 135 kfree(sig_opts->sig); in verity_verify_sig_opts_cleanup() 136 sig_opts->sig = NULL; in verity_verify_sig_opts_cleanup()
|
/drivers/infiniband/hw/mlx5/ |
D | wr.c | 556 inl->dif_apptag = cpu_to_be16(domain->sig.dif.app_tag); in mlx5_fill_inl_bsf() 557 inl->dif_reftag = cpu_to_be32(domain->sig.dif.ref_tag); in mlx5_fill_inl_bsf() 560 inl->sig_type = domain->sig.dif.bg_type == IB_T10DIF_CRC ? in mlx5_fill_inl_bsf() 563 if (domain->sig.dif.ref_remap) in mlx5_fill_inl_bsf() 566 if (domain->sig.dif.app_escape) { in mlx5_fill_inl_bsf() 567 if (domain->sig.dif.ref_escape) in mlx5_fill_inl_bsf() 574 cpu_to_be16(domain->sig.dif.apptag_check_mask); in mlx5_fill_inl_bsf() 581 struct mlx5_core_sig_ctx *msig = to_mmr(sig_mr)->sig; in mlx5_set_bsf() 599 basic->mem.bs_selector = bs_selector(mem->sig.dif.pi_interval); in mlx5_set_bsf() 612 if (mem->sig.dif.pi_interval == wire->sig.dif.pi_interval && in mlx5_set_bsf() [all …]
|
D | mr.c | 1952 mr->sig, NULL, GFP_KERNEL); in mlx5_ib_dereg_mr() 1968 mr->sig->psv_memory.psv_idx)) in mlx5_ib_dereg_mr() 1970 mr->sig->psv_memory.psv_idx); in mlx5_ib_dereg_mr() 1971 if (mlx5_core_destroy_psv(dev->mdev, mr->sig->psv_wire.psv_idx)) in mlx5_ib_dereg_mr() 1973 mr->sig->psv_wire.psv_idx); in mlx5_ib_dereg_mr() 1974 kfree(mr->sig); in mlx5_ib_dereg_mr() 1975 mr->sig = NULL; in mlx5_ib_dereg_mr() 2130 mr->sig = kzalloc(sizeof(*mr->sig), GFP_KERNEL); in mlx5_alloc_integrity_descs() 2131 if (!mr->sig) in mlx5_alloc_integrity_descs() 2139 mr->sig->psv_memory.psv_idx = psv_index[0]; in mlx5_alloc_integrity_descs() [all …]
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rx.c | 540 int sig = -data->beacon_filter_average_energy; in iwl_mvm_stat_iterator() local 570 if (sig == 0) { in iwl_mvm_stat_iterator() 575 mvmvif->bf_data.ave_beacon_signal = sig; in iwl_mvm_stat_iterator() 581 if (sig > mvmvif->bf_data.bt_coex_max_thold && in iwl_mvm_stat_iterator() 584 mvmvif->bf_data.last_bt_coex_event = sig; in iwl_mvm_stat_iterator() 586 sig); in iwl_mvm_stat_iterator() 588 } else if (sig < mvmvif->bf_data.bt_coex_min_thold && in iwl_mvm_stat_iterator() 591 mvmvif->bf_data.last_bt_coex_event = sig; in iwl_mvm_stat_iterator() 593 sig); in iwl_mvm_stat_iterator() 603 if (thold && sig < thold && (last_event == 0 || in iwl_mvm_stat_iterator() [all …]
|
/drivers/infiniband/ulp/iser/ |
D | iser_memory.c | 161 domain->sig.dif.pi_interval = scsi_prot_interval(sc); in iser_set_dif_domain() 162 domain->sig.dif.ref_tag = t10_pi_ref_tag(scsi_cmd_to_rq(sc)); in iser_set_dif_domain() 167 domain->sig.dif.apptag_check_mask = 0xffff; in iser_set_dif_domain() 168 domain->sig.dif.app_escape = true; in iser_set_dif_domain() 169 domain->sig.dif.ref_escape = true; in iser_set_dif_domain() 171 domain->sig.dif.ref_remap = true; in iser_set_dif_domain() 182 sig_attrs->wire.sig.dif.bg_type = IB_T10DIF_CRC; in iser_set_sig_attrs() 188 sig_attrs->mem.sig.dif.bg_type = sc->prot_flags & SCSI_PROT_IP_CHECKSUM ? in iser_set_sig_attrs() 194 sig_attrs->wire.sig.dif.bg_type = IB_T10DIF_CRC; in iser_set_sig_attrs() 196 sig_attrs->mem.sig.dif.bg_type = sc->prot_flags & SCSI_PROT_IP_CHECKSUM ? in iser_set_sig_attrs()
|
/drivers/scsi/aic94xx/ |
D | aic94xx_sds.c | 28 char sig[2]; member 55 .sig = {0x4D, 0x4F}, /* signature */ 92 char sig[4]; member 138 if (dir->sig[0] != 'M' || dir->sig[1] != 'O') { in asd_read_ocm_dir() 140 dir->sig[0], dir->sig[1]); in asd_read_ocm_dir() 221 if (strncmp(bc_struct->sig, "SOIB", 4) in asd_get_bios_chim() 222 && strncmp(bc_struct->sig, "IPSA", 4)) { in asd_get_bios_chim() 224 bc_struct->sig[0], bc_struct->sig[1], in asd_get_bios_chim() 225 bc_struct->sig[2], bc_struct->sig[3]); in asd_get_bios_chim() 399 char sig[2]; /* 'S', 'M' */ member [all …]
|
/drivers/gpu/drm/etnaviv/ |
D | etnaviv_perfmon.c | 528 const struct etnaviv_pm_signal *sig; in etnaviv_pm_query_sig() local 540 sig = &dom->signal[signal->iter]; in etnaviv_pm_query_sig() 543 strncpy(signal->name, sig->name, sizeof(signal->name)); in etnaviv_pm_query_sig() 574 const struct etnaviv_pm_signal *sig; in etnaviv_perfmon_process() local 579 sig = &dom->signal[pmr->signal]; in etnaviv_perfmon_process() 580 val = sig->sample(gpu, dom, sig); in etnaviv_perfmon_process()
|
/drivers/tty/ |
D | tty_jobctrl.c | 16 static int is_ignored(int sig) in is_ignored() argument 18 return (sigismember(¤t->blocked, sig) || in is_ignored() 19 current->sighand->action[sig-1].sa.sa_handler == SIG_IGN); in is_ignored() 33 int __tty_check_change(struct tty_struct *tty, int sig) in __tty_check_change() argument 50 if (is_ignored(sig)) { in __tty_check_change() 51 if (sig == SIGTTIN) in __tty_check_change() 56 kill_pgrp(pgrp, sig, 1); in __tty_check_change() 64 tty_warn(tty, "sig=%d, tty->pgrp == NULL!\n", sig); in __tty_check_change()
|
/drivers/cpufreq/ |
D | mediatek-cpufreq-hw.c | 199 int sig, pwr_hw = CPUFREQ_HW_STATUS | SVS_HW_STATUS; in mtk_cpufreq_hw_cpu_init() local 222 if (readl_poll_timeout(data->reg_bases[REG_FREQ_HW_STATE], sig, in mtk_cpufreq_hw_cpu_init() 223 (sig & pwr_hw) == pwr_hw, POLL_USEC, in mtk_cpufreq_hw_cpu_init() 225 if (!(sig & CPUFREQ_HW_STATUS)) { in mtk_cpufreq_hw_cpu_init()
|