Home
last modified time | relevance | path

Searched refs:js (Results 1 – 7 of 7) sorted by relevance

/drivers/misc/altera-stapl/
Daltera-jtag.c77 struct altera_jtag *js = &astate->js; in altera_jinit() local
80 js->jtag_state = ILLEGAL_JTAG_STATE; in altera_jinit()
83 js->drstop_state = IDLE; in altera_jinit()
84 js->irstop_state = IDLE; in altera_jinit()
85 js->dr_pre = 0; in altera_jinit()
86 js->dr_post = 0; in altera_jinit()
87 js->ir_pre = 0; in altera_jinit()
88 js->ir_post = 0; in altera_jinit()
89 js->dr_length = 0; in altera_jinit()
90 js->ir_length = 0; in altera_jinit()
[all …]
Daltera-jtag.h65 struct altera_jtag js; member
71 int altera_set_drstop(struct altera_jtag *js, enum altera_jtag_state state);
72 int altera_set_irstop(struct altera_jtag *js, enum altera_jtag_state state);
73 int altera_set_dr_pre(struct altera_jtag *js, u32 count, u32 start_index,
75 int altera_set_ir_pre(struct altera_jtag *js, u32 count, u32 start_index,
77 int altera_set_dr_post(struct altera_jtag *js, u32 count, u32 start_index,
79 int altera_set_ir_post(struct altera_jtag *js, u32 count, u32 start_index,
Daltera.c767 status = altera_set_dr_pre(&astate->js, count, 0, NULL); in altera_execute()
780 status = altera_set_dr_pre(&astate->js, count, 0, in altera_execute()
790 status = altera_set_dr_post(&astate->js, count, in altera_execute()
805 status = altera_set_dr_post(&astate->js, count, 0, in altera_execute()
811 status = altera_set_ir_pre(&astate->js, count, in altera_execute()
825 status = altera_set_ir_pre(&astate->js, count, in altera_execute()
836 status = altera_set_ir_post(&astate->js, count, in altera_execute()
851 status = altera_set_ir_post(&astate->js, count, 0, in altera_execute()
1040 status = altera_set_irstop(&astate->js, args[0]); in altera_execute()
1047 status = altera_set_drstop(&astate->js, args[0]); in altera_execute()
[all …]
/drivers/gpu/drm/panfrost/
Dpanfrost_job.c91 struct panfrost_job_slot *js = pfdev->js; in panfrost_fence_create() local
99 fence->seqno = ++js->queue[js_num].emit_seqno; in panfrost_fence_create()
100 dma_fence_init(&fence->base, &panfrost_fence_ops, &js->job_lock, in panfrost_fence_create()
101 js->queue[js_num].fence_context, fence->seqno); in panfrost_fence_create()
130 int js) in panfrost_job_write_affinity() argument
141 job_write(pfdev, JS_AFFINITY_NEXT_LO(js), lower_32_bits(affinity)); in panfrost_job_write_affinity()
142 job_write(pfdev, JS_AFFINITY_NEXT_HI(js), upper_32_bits(affinity)); in panfrost_job_write_affinity()
187 static void panfrost_job_hw_submit(struct panfrost_job *job, int js) in panfrost_job_hw_submit() argument
201 if (WARN_ON(job_read(pfdev, JS_COMMAND_NEXT(js)))) { in panfrost_job_hw_submit()
207 job_write(pfdev, JS_HEAD_NEXT_LO(js), lower_32_bits(jc_head)); in panfrost_job_hw_submit()
[all …]
Dpanfrost_device.h103 struct panfrost_job_slot *js; member
/drivers/input/joystick/
Danalog.c35 static char *js[ANALOG_PORTS]; variable
38 module_param_array_named(map, js, charp, &js_nargs, 0);
660 if (!strcmp(analog_types[j].name, js[i])) { in analog_parse_options()
666 analog_options[i] = simple_strtoul(js[i], &end, 0); in analog_parse_options()
667 if (end != js[i]) continue; in analog_parse_options()
670 if (!strlen(js[i])) continue; in analog_parse_options()
672 printk(KERN_WARNING "analog.c: Bad config for port %d - \"%s\"\n", i, js[i]); in analog_parse_options()
/drivers/md/
Ddm-integrity.c780 struct journal_sector *js; in access_journal_entry() local
787 js = access_journal(ic, section, rel_sector); in access_journal_entry()
788 return (struct journal_entry *)((char *)js + offset * ic->journal_entry_size); in access_journal_entry()
882 struct journal_sector *js = access_journal(ic, section, j); in rw_section_mac() local
885 memcpy(&js->mac, result + (j * JOURNAL_MAC_PER_SECTOR), JOURNAL_MAC_PER_SECTOR); in rw_section_mac()
887 if (memcmp(&js->mac, result + (j * JOURNAL_MAC_PER_SECTOR), JOURNAL_MAC_PER_SECTOR)) { in rw_section_mac()
2037 struct journal_sector *js; in __journal_read_write() local
2050 js = access_journal_data(ic, journal_section, journal_entry); in __journal_read_write()
2054 memcpy(mem_ptr, js, JOURNAL_SECTOR_DATA); in __journal_read_write()
2056 js++; in __journal_read_write()
[all …]