js                 79 drivers/gpu/drm/panfrost/panfrost_device.h 	struct panfrost_job_slot *js;
js                 87 drivers/gpu/drm/panfrost/panfrost_job.c 	struct panfrost_job_slot *js = pfdev->js;
js                 95 drivers/gpu/drm/panfrost/panfrost_job.c 	fence->seqno = ++js->queue[js_num].emit_seqno;
js                 96 drivers/gpu/drm/panfrost/panfrost_job.c 	dma_fence_init(&fence->base, &panfrost_fence_ops, &js->job_lock,
js                 97 drivers/gpu/drm/panfrost/panfrost_job.c 		       js->queue[js_num].fence_context, fence->seqno);
js                126 drivers/gpu/drm/panfrost/panfrost_job.c 					int js)
js                137 drivers/gpu/drm/panfrost/panfrost_job.c 	job_write(pfdev, JS_AFFINITY_NEXT_LO(js), affinity & 0xFFFFFFFF);
js                138 drivers/gpu/drm/panfrost/panfrost_job.c 	job_write(pfdev, JS_AFFINITY_NEXT_HI(js), affinity >> 32);
js                141 drivers/gpu/drm/panfrost/panfrost_job.c static void panfrost_job_hw_submit(struct panfrost_job *job, int js)
js                152 drivers/gpu/drm/panfrost/panfrost_job.c 	if (WARN_ON(job_read(pfdev, JS_COMMAND_NEXT(js)))) {
js                159 drivers/gpu/drm/panfrost/panfrost_job.c 	panfrost_devfreq_record_transition(pfdev, js);
js                161 drivers/gpu/drm/panfrost/panfrost_job.c 	job_write(pfdev, JS_HEAD_NEXT_LO(js), jc_head & 0xFFFFFFFF);
js                162 drivers/gpu/drm/panfrost/panfrost_job.c 	job_write(pfdev, JS_HEAD_NEXT_HI(js), jc_head >> 32);
js                164 drivers/gpu/drm/panfrost/panfrost_job.c 	panfrost_job_write_affinity(pfdev, job->requirements, js);
js                178 drivers/gpu/drm/panfrost/panfrost_job.c 	job_write(pfdev, JS_CONFIG_NEXT(js), cfg);
js                181 drivers/gpu/drm/panfrost/panfrost_job.c 		job_write(pfdev, JS_FLUSH_ID_NEXT(js), job->flush_id);
js                185 drivers/gpu/drm/panfrost/panfrost_job.c 				job, js, jc_head);
js                187 drivers/gpu/drm/panfrost/panfrost_job.c 	job_write(pfdev, JS_COMMAND_NEXT(js), JS_COMMAND_START);
js                381 drivers/gpu/drm/panfrost/panfrost_job.c 	int js = panfrost_job_get_slot(job);
js                393 drivers/gpu/drm/panfrost/panfrost_job.c 		js,
js                394 drivers/gpu/drm/panfrost/panfrost_job.c 		job_read(pfdev, JS_CONFIG(js)),
js                395 drivers/gpu/drm/panfrost/panfrost_job.c 		job_read(pfdev, JS_STATUS(js)),
js                396 drivers/gpu/drm/panfrost/panfrost_job.c 		job_read(pfdev, JS_HEAD_LO(js)),
js                397 drivers/gpu/drm/panfrost/panfrost_job.c 		job_read(pfdev, JS_TAIL_LO(js)),
js                404 drivers/gpu/drm/panfrost/panfrost_job.c 		struct drm_gpu_scheduler *sched = &pfdev->js->queue[i].sched;
js                407 drivers/gpu/drm/panfrost/panfrost_job.c 		if (js != i)
js                414 drivers/gpu/drm/panfrost/panfrost_job.c 	spin_lock_irqsave(&pfdev->js->job_lock, flags);
js                421 drivers/gpu/drm/panfrost/panfrost_job.c 	spin_unlock_irqrestore(&pfdev->js->job_lock, flags);
js                425 drivers/gpu/drm/panfrost/panfrost_job.c 	panfrost_devfreq_record_transition(pfdev, js);
js                429 drivers/gpu/drm/panfrost/panfrost_job.c 		drm_sched_resubmit_jobs(&pfdev->js->queue[i].sched);
js                433 drivers/gpu/drm/panfrost/panfrost_job.c 		drm_sched_start(&pfdev->js->queue[i].sched, true);
js                475 drivers/gpu/drm/panfrost/panfrost_job.c 			drm_sched_fault(&pfdev->js->queue[j].sched);
js                481 drivers/gpu/drm/panfrost/panfrost_job.c 			spin_lock(&pfdev->js->job_lock);
js                493 drivers/gpu/drm/panfrost/panfrost_job.c 			spin_unlock(&pfdev->js->job_lock);
js                504 drivers/gpu/drm/panfrost/panfrost_job.c 	struct panfrost_job_slot *js;
js                507 drivers/gpu/drm/panfrost/panfrost_job.c 	pfdev->js = js = devm_kzalloc(pfdev->dev, sizeof(*js), GFP_KERNEL);
js                508 drivers/gpu/drm/panfrost/panfrost_job.c 	if (!js)
js                511 drivers/gpu/drm/panfrost/panfrost_job.c 	spin_lock_init(&js->job_lock);
js                525 drivers/gpu/drm/panfrost/panfrost_job.c 		js->queue[j].fence_context = dma_fence_context_alloc(1);
js                527 drivers/gpu/drm/panfrost/panfrost_job.c 		ret = drm_sched_init(&js->queue[j].sched,
js                543 drivers/gpu/drm/panfrost/panfrost_job.c 		drm_sched_fini(&js->queue[j].sched);
js                550 drivers/gpu/drm/panfrost/panfrost_job.c 	struct panfrost_job_slot *js = pfdev->js;
js                556 drivers/gpu/drm/panfrost/panfrost_job.c 		drm_sched_fini(&js->queue[j].sched);
js                563 drivers/gpu/drm/panfrost/panfrost_job.c 	struct panfrost_job_slot *js = pfdev->js;
js                568 drivers/gpu/drm/panfrost/panfrost_job.c 		rq = &js->queue[i].sched.sched_rq[DRM_SCHED_PRIORITY_NORMAL];
js                586 drivers/gpu/drm/panfrost/panfrost_job.c 	struct panfrost_job_slot *js = pfdev->js;
js                591 drivers/gpu/drm/panfrost/panfrost_job.c 		if (atomic_read(&js->queue[i].sched.hw_rq_count))
js                 41 drivers/input/joystick/analog.c static char *js[ANALOG_PORTS];
js                 44 drivers/input/joystick/analog.c module_param_array_named(map, js, charp, &js_nargs, 0);
js                742 drivers/input/joystick/analog.c 			if (!strcmp(analog_types[j].name, js[i])) {
js                748 drivers/input/joystick/analog.c 		analog_options[i] = simple_strtoul(js[i], &end, 0);
js                749 drivers/input/joystick/analog.c 		if (end != js[i]) continue;
js                752 drivers/input/joystick/analog.c 		if (!strlen(js[i])) continue;
js                754 drivers/input/joystick/analog.c 		printk(KERN_WARNING "analog.c: Bad config for port %d - \"%s\"\n", i, js[i]);
js                678 drivers/md/dm-integrity.c 	struct journal_sector *js;
js                685 drivers/md/dm-integrity.c 	js = access_journal(ic, section, rel_sector);
js                686 drivers/md/dm-integrity.c 	return (struct journal_entry *)((char *)js + offset * ic->journal_entry_size);
js                763 drivers/md/dm-integrity.c 		struct journal_sector *js = access_journal(ic, section, j);
js                766 drivers/md/dm-integrity.c 			memcpy(&js->mac, result + (j * JOURNAL_MAC_PER_SECTOR), JOURNAL_MAC_PER_SECTOR);
js                768 drivers/md/dm-integrity.c 			if (memcmp(&js->mac, result + (j * JOURNAL_MAC_PER_SECTOR), JOURNAL_MAC_PER_SECTOR))
js               1722 drivers/md/dm-integrity.c 				struct journal_sector *js;
js               1735 drivers/md/dm-integrity.c 				js = access_journal_data(ic, journal_section, journal_entry);
js               1739 drivers/md/dm-integrity.c 					memcpy(mem_ptr, js, JOURNAL_SECTOR_DATA);
js               1741 drivers/md/dm-integrity.c 					js++;
js               1782 drivers/md/dm-integrity.c 				struct journal_sector *js;
js               1785 drivers/md/dm-integrity.c 				js = access_journal_data(ic, journal_section, journal_entry);
js               1786 drivers/md/dm-integrity.c 				memcpy(js, mem + bv.bv_offset, ic->sectors_per_block << SECTOR_SHIFT);
js               1790 drivers/md/dm-integrity.c 					je->last_bytes[s] = js[s].commit_id;
js               1797 drivers/md/dm-integrity.c 						integrity_sector_checksum(ic, logical_sector, (char *)js, checksums_onstack);
js               1800 drivers/md/dm-integrity.c 						integrity_sector_checksum(ic, logical_sector, (char *)js, journal_entry_tag(ic, je));
js               2100 drivers/md/dm-integrity.c 			struct journal_sector *js;
js               2101 drivers/md/dm-integrity.c 			js = access_journal(ic, i, j);
js               2102 drivers/md/dm-integrity.c 			js->commit_id = dm_integrity_commit_id(ic, i, j, ic->commit_seq);
js               2144 drivers/md/dm-integrity.c static void restore_last_bytes(struct dm_integrity_c *ic, struct journal_sector *js,
js               2149 drivers/md/dm-integrity.c 		js->commit_id = je->last_bytes[s];
js               2150 drivers/md/dm-integrity.c 		js++;
js               2572 drivers/md/dm-integrity.c 			struct journal_sector *js = access_journal(ic, i, j);
js               2573 drivers/md/dm-integrity.c 			memset(&js->entries, 0, JOURNAL_SECTOR_DATA);
js               2574 drivers/md/dm-integrity.c 			js->commit_id = dm_integrity_commit_id(ic, i, j, commit_seq);
js               2640 drivers/md/dm-integrity.c 			struct journal_sector *js = access_journal(ic, i, j);
js               2641 drivers/md/dm-integrity.c 			k = find_commit_seq(ic, i, j, js->commit_id);
js               2689 drivers/md/dm-integrity.c 			struct journal_sector *js = access_journal(ic, i, j);
js               2691 drivers/md/dm-integrity.c 			if (js->commit_id != dm_integrity_commit_id(ic, i, j, want_commit_seq)) {
js               2698 drivers/md/dm-integrity.c 					    i, j, find_commit_seq(ic, i, j, js->commit_id), want_commit_seq);
js                 77 drivers/misc/altera-stapl/altera-jtag.c 	struct altera_jtag *js = &astate->js;
js                 80 drivers/misc/altera-stapl/altera-jtag.c 	js->jtag_state = ILLEGAL_JTAG_STATE;
js                 83 drivers/misc/altera-stapl/altera-jtag.c 	js->drstop_state = IDLE;
js                 84 drivers/misc/altera-stapl/altera-jtag.c 	js->irstop_state = IDLE;
js                 85 drivers/misc/altera-stapl/altera-jtag.c 	js->dr_pre  = 0;
js                 86 drivers/misc/altera-stapl/altera-jtag.c 	js->dr_post = 0;
js                 87 drivers/misc/altera-stapl/altera-jtag.c 	js->ir_pre  = 0;
js                 88 drivers/misc/altera-stapl/altera-jtag.c 	js->ir_post = 0;
js                 89 drivers/misc/altera-stapl/altera-jtag.c 	js->dr_length    = 0;
js                 90 drivers/misc/altera-stapl/altera-jtag.c 	js->ir_length    = 0;
js                 92 drivers/misc/altera-stapl/altera-jtag.c 	js->dr_pre_data  = NULL;
js                 93 drivers/misc/altera-stapl/altera-jtag.c 	js->dr_post_data = NULL;
js                 94 drivers/misc/altera-stapl/altera-jtag.c 	js->ir_pre_data  = NULL;
js                 95 drivers/misc/altera-stapl/altera-jtag.c 	js->ir_post_data = NULL;
js                 96 drivers/misc/altera-stapl/altera-jtag.c 	js->dr_buffer	 = NULL;
js                 97 drivers/misc/altera-stapl/altera-jtag.c 	js->ir_buffer	 = NULL;
js                102 drivers/misc/altera-stapl/altera-jtag.c int altera_set_drstop(struct altera_jtag *js, enum altera_jtag_state state)
js                104 drivers/misc/altera-stapl/altera-jtag.c 	js->drstop_state = state;
js                109 drivers/misc/altera-stapl/altera-jtag.c int altera_set_irstop(struct altera_jtag *js, enum altera_jtag_state state)
js                111 drivers/misc/altera-stapl/altera-jtag.c 	js->irstop_state = state;
js                116 drivers/misc/altera-stapl/altera-jtag.c int altera_set_dr_pre(struct altera_jtag *js,
js                124 drivers/misc/altera-stapl/altera-jtag.c 	if (count > js->dr_pre) {
js                125 drivers/misc/altera-stapl/altera-jtag.c 		kfree(js->dr_pre_data);
js                126 drivers/misc/altera-stapl/altera-jtag.c 		js->dr_pre_data = (u8 *)alt_malloc((count + 7) >> 3);
js                127 drivers/misc/altera-stapl/altera-jtag.c 		if (js->dr_pre_data == NULL)
js                130 drivers/misc/altera-stapl/altera-jtag.c 			js->dr_pre = count;
js                132 drivers/misc/altera-stapl/altera-jtag.c 		js->dr_pre = count;
js                139 drivers/misc/altera-stapl/altera-jtag.c 				js->dr_pre_data[i >> 3] |= (1 << (i & 7));
js                142 drivers/misc/altera-stapl/altera-jtag.c 					js->dr_pre_data[i >> 3] |=
js                145 drivers/misc/altera-stapl/altera-jtag.c 					js->dr_pre_data[i >> 3] &=
js                155 drivers/misc/altera-stapl/altera-jtag.c int altera_set_ir_pre(struct altera_jtag *js, u32 count, u32 start_index,
js                162 drivers/misc/altera-stapl/altera-jtag.c 	if (count > js->ir_pre) {
js                163 drivers/misc/altera-stapl/altera-jtag.c 		kfree(js->ir_pre_data);
js                164 drivers/misc/altera-stapl/altera-jtag.c 		js->ir_pre_data = (u8 *)alt_malloc((count + 7) >> 3);
js                165 drivers/misc/altera-stapl/altera-jtag.c 		if (js->ir_pre_data == NULL)
js                168 drivers/misc/altera-stapl/altera-jtag.c 			js->ir_pre = count;
js                171 drivers/misc/altera-stapl/altera-jtag.c 		js->ir_pre = count;
js                177 drivers/misc/altera-stapl/altera-jtag.c 				js->ir_pre_data[i >> 3] |= (1 << (i & 7));
js                180 drivers/misc/altera-stapl/altera-jtag.c 					js->ir_pre_data[i >> 3] |=
js                183 drivers/misc/altera-stapl/altera-jtag.c 					js->ir_pre_data[i >> 3] &=
js                193 drivers/misc/altera-stapl/altera-jtag.c int altera_set_dr_post(struct altera_jtag *js, u32 count, u32 start_index,
js                200 drivers/misc/altera-stapl/altera-jtag.c 	if (count > js->dr_post) {
js                201 drivers/misc/altera-stapl/altera-jtag.c 		kfree(js->dr_post_data);
js                202 drivers/misc/altera-stapl/altera-jtag.c 		js->dr_post_data = (u8 *)alt_malloc((count + 7) >> 3);
js                204 drivers/misc/altera-stapl/altera-jtag.c 		if (js->dr_post_data == NULL)
js                207 drivers/misc/altera-stapl/altera-jtag.c 			js->dr_post = count;
js                210 drivers/misc/altera-stapl/altera-jtag.c 		js->dr_post = count;
js                217 drivers/misc/altera-stapl/altera-jtag.c 				js->dr_post_data[i >> 3] |= (1 << (i & 7));
js                220 drivers/misc/altera-stapl/altera-jtag.c 					js->dr_post_data[i >> 3] |=
js                223 drivers/misc/altera-stapl/altera-jtag.c 					js->dr_post_data[i >> 3] &=
js                233 drivers/misc/altera-stapl/altera-jtag.c int altera_set_ir_post(struct altera_jtag *js, u32 count, u32 start_index,
js                240 drivers/misc/altera-stapl/altera-jtag.c 	if (count > js->ir_post) {
js                241 drivers/misc/altera-stapl/altera-jtag.c 		kfree(js->ir_post_data);
js                242 drivers/misc/altera-stapl/altera-jtag.c 		js->ir_post_data = (u8 *)alt_malloc((count + 7) >> 3);
js                243 drivers/misc/altera-stapl/altera-jtag.c 		if (js->ir_post_data == NULL)
js                246 drivers/misc/altera-stapl/altera-jtag.c 			js->ir_post = count;
js                249 drivers/misc/altera-stapl/altera-jtag.c 		js->ir_post = count;
js                258 drivers/misc/altera-stapl/altera-jtag.c 			js->ir_post_data[i >> 3] |= (1 << (i & 7));
js                261 drivers/misc/altera-stapl/altera-jtag.c 				js->ir_post_data[i >> 3] |= (1 << (i & 7));
js                263 drivers/misc/altera-stapl/altera-jtag.c 				js->ir_post_data[i >> 3] &=
js                274 drivers/misc/altera-stapl/altera-jtag.c 	struct altera_jtag *js = &astate->js;
js                282 drivers/misc/altera-stapl/altera-jtag.c 	js->jtag_state = IDLE;
js                288 drivers/misc/altera-stapl/altera-jtag.c 	struct altera_jtag *js = &astate->js;
js                293 drivers/misc/altera-stapl/altera-jtag.c 	if (js->jtag_state == ILLEGAL_JTAG_STATE)
js                297 drivers/misc/altera-stapl/altera-jtag.c 	if (js->jtag_state == state) {
js                311 drivers/misc/altera-stapl/altera-jtag.c 		while ((js->jtag_state != state) && (count < 9)) {
js                313 drivers/misc/altera-stapl/altera-jtag.c 			tms = (altera_jtag_path_map[js->jtag_state] &
js                321 drivers/misc/altera-stapl/altera-jtag.c 				js->jtag_state =
js                322 drivers/misc/altera-stapl/altera-jtag.c 					altera_transitions[js->jtag_state].tms_high;
js                324 drivers/misc/altera-stapl/altera-jtag.c 				js->jtag_state =
js                325 drivers/misc/altera-stapl/altera-jtag.c 					altera_transitions[js->jtag_state].tms_low;
js                331 drivers/misc/altera-stapl/altera-jtag.c 	if (js->jtag_state != state)
js                341 drivers/misc/altera-stapl/altera-jtag.c 	struct altera_jtag *js = &astate->js;
js                346 drivers/misc/altera-stapl/altera-jtag.c 	if (js->jtag_state != wait_state)
js                376 drivers/misc/altera-stapl/altera-jtag.c 	struct altera_jtag *js = &astate->js;
js                379 drivers/misc/altera-stapl/altera-jtag.c 	if ((js->jtag_state != ILLEGAL_JTAG_STATE) &&
js                380 drivers/misc/altera-stapl/altera-jtag.c 	    (js->jtag_state != wait_state))
js                589 drivers/misc/altera-stapl/altera-jtag.c 	struct altera_jtag *js = &astate->js;
js                592 drivers/misc/altera-stapl/altera-jtag.c 	u32 shift_count = js->ir_pre + count + js->ir_post;
js                596 drivers/misc/altera-stapl/altera-jtag.c 	switch (js->jtag_state) {
js                632 drivers/misc/altera-stapl/altera-jtag.c 		if (js->jtag_state != start_state)
js                636 drivers/misc/altera-stapl/altera-jtag.c 		if (shift_count > js->ir_length) {
js                638 drivers/misc/altera-stapl/altera-jtag.c 			kfree(js->ir_buffer);
js                639 drivers/misc/altera-stapl/altera-jtag.c 			js->ir_buffer = (u8 *)alt_malloc(alloc_chars);
js                640 drivers/misc/altera-stapl/altera-jtag.c 			if (js->ir_buffer == NULL)
js                643 drivers/misc/altera-stapl/altera-jtag.c 				js->ir_length = alloc_chars * 8;
js                653 drivers/misc/altera-stapl/altera-jtag.c 		altera_concatenate_data(js->ir_buffer,
js                654 drivers/misc/altera-stapl/altera-jtag.c 					js->ir_pre_data,
js                655 drivers/misc/altera-stapl/altera-jtag.c 					js->ir_pre,
js                659 drivers/misc/altera-stapl/altera-jtag.c 					js->ir_post_data,
js                660 drivers/misc/altera-stapl/altera-jtag.c 					js->ir_post);
js                665 drivers/misc/altera-stapl/altera-jtag.c 				js->ir_buffer,
js                669 drivers/misc/altera-stapl/altera-jtag.c 		js->jtag_state = IRPAUSE;
js                673 drivers/misc/altera-stapl/altera-jtag.c 		if (js->irstop_state != IRPAUSE)
js                674 drivers/misc/altera-stapl/altera-jtag.c 			status = altera_goto_jstate(astate, js->irstop_state);
js                688 drivers/misc/altera-stapl/altera-jtag.c 	struct altera_jtag *js = &astate->js;
js                691 drivers/misc/altera-stapl/altera-jtag.c 	u32 shift_count = js->ir_pre + count + js->ir_post;
js                695 drivers/misc/altera-stapl/altera-jtag.c 	switch (js->jtag_state) {
js                731 drivers/misc/altera-stapl/altera-jtag.c 		if (js->jtag_state != start_state)
js                735 drivers/misc/altera-stapl/altera-jtag.c 		if (shift_count > js->ir_length) {
js                737 drivers/misc/altera-stapl/altera-jtag.c 			kfree(js->ir_buffer);
js                738 drivers/misc/altera-stapl/altera-jtag.c 			js->ir_buffer = (u8 *)alt_malloc(alloc_chars);
js                739 drivers/misc/altera-stapl/altera-jtag.c 			if (js->ir_buffer == NULL)
js                742 drivers/misc/altera-stapl/altera-jtag.c 				js->ir_length = alloc_chars * 8;
js                752 drivers/misc/altera-stapl/altera-jtag.c 		altera_concatenate_data(js->ir_buffer,
js                753 drivers/misc/altera-stapl/altera-jtag.c 					js->ir_pre_data,
js                754 drivers/misc/altera-stapl/altera-jtag.c 					js->ir_pre,
js                758 drivers/misc/altera-stapl/altera-jtag.c 					js->ir_post_data,
js                759 drivers/misc/altera-stapl/altera-jtag.c 					js->ir_post);
js                765 drivers/misc/altera-stapl/altera-jtag.c 				js->ir_buffer,
js                766 drivers/misc/altera-stapl/altera-jtag.c 				js->ir_buffer);
js                769 drivers/misc/altera-stapl/altera-jtag.c 		js->jtag_state = IRPAUSE;
js                773 drivers/misc/altera-stapl/altera-jtag.c 		if (js->irstop_state != IRPAUSE)
js                774 drivers/misc/altera-stapl/altera-jtag.c 			status = altera_goto_jstate(astate, js->irstop_state);
js                779 drivers/misc/altera-stapl/altera-jtag.c 		altera_extract_target_data(js->ir_buffer,
js                781 drivers/misc/altera-stapl/altera-jtag.c 					js->ir_pre, count);
js                792 drivers/misc/altera-stapl/altera-jtag.c 	struct altera_jtag *js = &astate->js;
js                795 drivers/misc/altera-stapl/altera-jtag.c 	u32 shift_count = js->dr_pre + count + js->dr_post;
js                799 drivers/misc/altera-stapl/altera-jtag.c 	switch (js->jtag_state) {
js                835 drivers/misc/altera-stapl/altera-jtag.c 		if (js->jtag_state != start_state)
js                839 drivers/misc/altera-stapl/altera-jtag.c 		if (shift_count > js->dr_length) {
js                841 drivers/misc/altera-stapl/altera-jtag.c 			kfree(js->dr_buffer);
js                842 drivers/misc/altera-stapl/altera-jtag.c 			js->dr_buffer = (u8 *)alt_malloc(alloc_chars);
js                843 drivers/misc/altera-stapl/altera-jtag.c 			if (js->dr_buffer == NULL)
js                846 drivers/misc/altera-stapl/altera-jtag.c 				js->dr_length = alloc_chars * 8;
js                856 drivers/misc/altera-stapl/altera-jtag.c 		altera_concatenate_data(js->dr_buffer,
js                857 drivers/misc/altera-stapl/altera-jtag.c 					js->dr_pre_data,
js                858 drivers/misc/altera-stapl/altera-jtag.c 					js->dr_pre,
js                862 drivers/misc/altera-stapl/altera-jtag.c 					js->dr_post_data,
js                863 drivers/misc/altera-stapl/altera-jtag.c 					js->dr_post);
js                866 drivers/misc/altera-stapl/altera-jtag.c 				js->dr_buffer, NULL);
js                868 drivers/misc/altera-stapl/altera-jtag.c 		js->jtag_state = DRPAUSE;
js                872 drivers/misc/altera-stapl/altera-jtag.c 		if (js->drstop_state != DRPAUSE)
js                873 drivers/misc/altera-stapl/altera-jtag.c 			status = altera_goto_jstate(astate, js->drstop_state);
js                883 drivers/misc/altera-stapl/altera-jtag.c 	struct altera_jtag *js = &astate->js;
js                886 drivers/misc/altera-stapl/altera-jtag.c 	u32 shift_count = js->dr_pre + count + js->dr_post;
js                890 drivers/misc/altera-stapl/altera-jtag.c 	switch (js->jtag_state) {
js                926 drivers/misc/altera-stapl/altera-jtag.c 		if (js->jtag_state != start_state)
js                930 drivers/misc/altera-stapl/altera-jtag.c 		if (shift_count > js->dr_length) {
js                932 drivers/misc/altera-stapl/altera-jtag.c 			kfree(js->dr_buffer);
js                933 drivers/misc/altera-stapl/altera-jtag.c 			js->dr_buffer = (u8 *)alt_malloc(alloc_chars);
js                935 drivers/misc/altera-stapl/altera-jtag.c 			if (js->dr_buffer == NULL)
js                938 drivers/misc/altera-stapl/altera-jtag.c 				js->dr_length = alloc_chars * 8;
js                948 drivers/misc/altera-stapl/altera-jtag.c 		altera_concatenate_data(js->dr_buffer,
js                949 drivers/misc/altera-stapl/altera-jtag.c 				js->dr_pre_data,
js                950 drivers/misc/altera-stapl/altera-jtag.c 				js->dr_pre,
js                954 drivers/misc/altera-stapl/altera-jtag.c 				js->dr_post_data,
js                955 drivers/misc/altera-stapl/altera-jtag.c 				js->dr_post);
js                961 drivers/misc/altera-stapl/altera-jtag.c 				js->dr_buffer,
js                962 drivers/misc/altera-stapl/altera-jtag.c 				js->dr_buffer);
js                965 drivers/misc/altera-stapl/altera-jtag.c 		js->jtag_state = DRPAUSE;
js                969 drivers/misc/altera-stapl/altera-jtag.c 		if (js->drstop_state != DRPAUSE)
js                970 drivers/misc/altera-stapl/altera-jtag.c 			status = altera_goto_jstate(astate, js->drstop_state);
js                974 drivers/misc/altera-stapl/altera-jtag.c 		altera_extract_target_data(js->dr_buffer,
js                977 drivers/misc/altera-stapl/altera-jtag.c 					js->dr_pre,
js                985 drivers/misc/altera-stapl/altera-jtag.c 	struct altera_jtag *js = &astate->js;
js                987 drivers/misc/altera-stapl/altera-jtag.c 	if (js->jtag_state != ILLEGAL_JTAG_STATE)
js                990 drivers/misc/altera-stapl/altera-jtag.c 	kfree(js->dr_pre_data);
js                991 drivers/misc/altera-stapl/altera-jtag.c 	js->dr_pre_data = NULL;
js                993 drivers/misc/altera-stapl/altera-jtag.c 	kfree(js->dr_post_data);
js                994 drivers/misc/altera-stapl/altera-jtag.c 	js->dr_post_data = NULL;
js                996 drivers/misc/altera-stapl/altera-jtag.c 	kfree(js->dr_buffer);
js                997 drivers/misc/altera-stapl/altera-jtag.c 	js->dr_buffer = NULL;
js                999 drivers/misc/altera-stapl/altera-jtag.c 	kfree(js->ir_pre_data);
js               1000 drivers/misc/altera-stapl/altera-jtag.c 	js->ir_pre_data = NULL;
js               1002 drivers/misc/altera-stapl/altera-jtag.c 	kfree(js->ir_post_data);
js               1003 drivers/misc/altera-stapl/altera-jtag.c 	js->ir_post_data = NULL;
js               1005 drivers/misc/altera-stapl/altera-jtag.c 	kfree(js->ir_buffer);
js               1006 drivers/misc/altera-stapl/altera-jtag.c 	js->ir_buffer = NULL;
js                 65 drivers/misc/altera-stapl/altera-jtag.h 	struct altera_jtag	js;
js                 71 drivers/misc/altera-stapl/altera-jtag.h int altera_set_drstop(struct altera_jtag *js, enum altera_jtag_state state);
js                 72 drivers/misc/altera-stapl/altera-jtag.h int altera_set_irstop(struct altera_jtag *js, enum altera_jtag_state state);
js                 73 drivers/misc/altera-stapl/altera-jtag.h int altera_set_dr_pre(struct altera_jtag *js, u32 count, u32 start_index,
js                 75 drivers/misc/altera-stapl/altera-jtag.h int altera_set_ir_pre(struct altera_jtag *js, u32 count, u32 start_index,
js                 77 drivers/misc/altera-stapl/altera-jtag.h int altera_set_dr_post(struct altera_jtag *js, u32 count, u32 start_index,
js                 79 drivers/misc/altera-stapl/altera-jtag.h int altera_set_ir_post(struct altera_jtag *js, u32 count, u32 start_index,
js                770 drivers/misc/altera-stapl/altera.c 			status = altera_set_dr_pre(&astate->js, count, 0, NULL);
js                783 drivers/misc/altera-stapl/altera.c 			status = altera_set_dr_pre(&astate->js, count, 0,
js                793 drivers/misc/altera-stapl/altera.c 				status = altera_set_dr_post(&astate->js, count,
js                808 drivers/misc/altera-stapl/altera.c 			status = altera_set_dr_post(&astate->js, count, 0,
js                814 drivers/misc/altera-stapl/altera.c 				status = altera_set_ir_pre(&astate->js, count,
js                828 drivers/misc/altera-stapl/altera.c 				status = altera_set_ir_pre(&astate->js, count,
js                839 drivers/misc/altera-stapl/altera.c 				status = altera_set_ir_post(&astate->js, count,
js                854 drivers/misc/altera-stapl/altera.c 			status = altera_set_ir_post(&astate->js, count, 0,
js               1061 drivers/misc/altera-stapl/altera.c 			status = altera_set_irstop(&astate->js, args[0]);
js               1068 drivers/misc/altera-stapl/altera.c 			status = altera_set_drstop(&astate->js, args[0]);
js               1397 drivers/misc/altera-stapl/altera.c 			status = altera_set_dr_pre(&astate->js, count, index,
js               1420 drivers/misc/altera-stapl/altera.c 			status = altera_set_dr_post(&astate->js, count, index,
js               1443 drivers/misc/altera-stapl/altera.c 			status = altera_set_ir_pre(&astate->js, count, index,
js               1467 drivers/misc/altera-stapl/altera.c 			status = altera_set_ir_post(&astate->js, count, index,
js                484 kernel/rcu/tree_stall.h 	unsigned long js;
js                513 kernel/rcu/tree_stall.h 	js = READ_ONCE(rcu_state.jiffies_stall);
js                519 kernel/rcu/tree_stall.h 	    ULONG_CMP_LT(j, js) ||
js                520 kernel/rcu/tree_stall.h 	    ULONG_CMP_GE(gps, js))
js                526 kernel/rcu/tree_stall.h 	    cmpxchg(&rcu_state.jiffies_stall, js, jn) == js) {
js                534 kernel/rcu/tree_stall.h 		   ULONG_CMP_GE(j, js + RCU_STALL_RAT_DELAY) &&
js                535 kernel/rcu/tree_stall.h 		   cmpxchg(&rcu_state.jiffies_stall, js, jn) == js) {
js                 59 tools/perf/pmu-events/jsmn.c static jsmnerr_t jsmn_parse_primitive(jsmn_parser *parser, const char *js,
js                 69 tools/perf/pmu-events/jsmn.c 		switch (js[parser->pos]) {
js                 88 tools/perf/pmu-events/jsmn.c 		if (js[parser->pos] < 32 || js[parser->pos] >= 127) {
js                116 tools/perf/pmu-events/jsmn.c static jsmnerr_t jsmn_parse_string(jsmn_parser *parser, const char *js,
js                127 tools/perf/pmu-events/jsmn.c 		char c = js[parser->pos];
js                144 tools/perf/pmu-events/jsmn.c 			switch (js[parser->pos]) {
js                173 tools/perf/pmu-events/jsmn.c jsmnerr_t jsmn_parse(jsmn_parser *parser, const char *js, size_t len,
js                184 tools/perf/pmu-events/jsmn.c 		c = js[parser->pos];
js                222 tools/perf/pmu-events/jsmn.c 			r = jsmn_parse_string(parser, js, len, tokens,
js                263 tools/perf/pmu-events/jsmn.c 			r = jsmn_parse_primitive(parser, js, len, tokens,
js                 62 tools/perf/pmu-events/jsmn.h jsmnerr_t jsmn_parse(jsmn_parser *parser, const char *js,