Home
last modified time | relevance | path

Searched refs:sr (Results 1 – 25 of 414) sorted by relevance

12345678910>>...17

/linux/drivers/crypto/cavium/nitrox/
A Dnitrox_reqmgr.c61 dma_unmap_sg(dev, sr->in.sg, sg_nents(sr->in.sg), in softreq_unmap_sgbufs()
69 dma_unmap_sg(dev, sr->out.sg, sg_nents(sr->out.sg), in softreq_unmap_sgbufs()
81 kfree(sr); in softreq_destroy()
175 ret = create_sg_component(sr, &sr->in, sr->in.sgmap_cnt); in dma_map_inbufs()
200 ret = create_sg_component(sr, &sr->out, sr->out.sgmap_cnt); in dma_map_outbufs()
393 sr = kzalloc(sizeof(*sr), req->gfp); in nitrox_process_se_request()
394 if (!sr) in nitrox_process_se_request()
452 sr->instr.ih.s.gsz = sr->in.sgmap_cnt; in nitrox_process_se_request()
453 sr->instr.ih.s.ssz = sr->out.sgmap_cnt; in nitrox_process_se_request()
455 sr->instr.ih.s.tlen = sr->instr.ih.s.fsz + sr->in.total_bytes; in nitrox_process_se_request()
[all …]
/linux/drivers/soc/ti/
A Dsmartreflex.c348 if (!sr) { in sr_configure_errgen()
415 if (!sr) { in sr_disable_errgen()
470 if (!sr) { in sr_configure_minmax()
555 if (!sr) { in sr_enable()
597 sr->enabled = 1; in sr_enable()
611 if (!sr) { in sr_disable()
618 if (!sr->enabled) in sr_disable()
635 sr->ip_type); in sr_disable()
640 sr->enabled = 0; in sr_disable()
693 if (IS_ERR(sr)) { in omap_sr_enable()
[all …]
/linux/net/tipc/
A Dname_table.c91 #define service_range_upper(sr) ((sr)->upper) argument
100 ((sr)->lower <= (end) && (sr)->upper >= (start)) in RB_DECLARE_CALLBACKS_MAX()
238 p->sr = ua->sr; in tipc_publ_create()
287 service_range_foreach_match(sr, sc, ua->sr.lower, ua->sr.upper) { in tipc_service_find_range()
289 if (sr->lower == ua->sr.lower && sr->upper == ua->sr.upper) in tipc_service_find_range()
317 sr = kzalloc(sizeof(*sr), GFP_ATOMIC); in tipc_service_create_range()
353 p->sr.type, p->sr.lower, p->sr.upper, in tipc_service_insert_publ()
372 p->sr.type, p->sr.lower, p->sr.upper); in tipc_service_insert_publ()
542 ua->sr.type, ua->sr.lower, ua->sr.upper, in tipc_nametbl_remove_publ()
689 service_range_foreach_match(sr, sc, ua->sr.lower, ua->sr.upper) { in tipc_nametbl_lookup_mcast_sockets()
[all …]
/linux/arch/mips/alchemy/devboards/
A Dplatform.c81 struct resource *sr; in db1x_register_pcmcia_socket() local
91 if (!sr) in db1x_register_pcmcia_socket()
115 sr[3].name = "insert"; in db1x_register_pcmcia_socket()
117 sr[3].start = sr[3].end = cd_irq; in db1x_register_pcmcia_socket()
119 sr[4].name = "card"; in db1x_register_pcmcia_socket()
121 sr[4].start = sr[4].end = card_irq; in db1x_register_pcmcia_socket()
127 sr[i].start = sr[i].end = stschg_irq; in db1x_register_pcmcia_socket()
131 sr[i].name = "eject"; in db1x_register_pcmcia_socket()
133 sr[i].start = sr[i].end = eject_irq; in db1x_register_pcmcia_socket()
136 pd->resource = sr; in db1x_register_pcmcia_socket()
[all …]
/linux/arch/ia64/kernel/
A Dunwind.c812 if (!(sr->in_body || sr->first_region)) in desc_prologue()
817 if (sr->when_target < sr->region_start + sr->region_len) { in desc_prologue()
886 sr->region_start + sr->region_len - 1, 0); in desc_br_mem()
901 sr->region_start + sr->region_len - 1, 0); in desc_frgr_mem()
910 sr->region_start + sr->region_len - 1, 0); in desc_frgr_mem()
925 sr->region_start + sr->region_len - 1, 0); in desc_fr_mem()
1028 sr->epilogue_start = sr->region_start + sr->region_len - 1 - t; in desc_epilogue()
1074 if (sr->when_target <= sr->region_start + min_t(int, t, sr->region_len - 1)) in desc_is_active()
1545 memset(&sr, 0, sizeof(sr)); in build_script()
1605 dp = unw_decode(dp, sr.in_body, &sr); in build_script()
[all …]
/linux/arch/parisc/include/asm/
A Duaccess.h28 #define LDD_USER(sr, val, ptr) __get_user_asm64(sr, val, ptr) argument
29 #define STD_USER(sr, x, ptr) __put_user_asm64(sr, x, ptr) argument
31 #define LDD_USER(sr, val, ptr) __get_user_asm(sr, val, "ldd", ptr) argument
32 #define STD_USER(sr, x, ptr) __put_user_asm(sr, "std", x, ptr) argument
70 case 8: LDD_USER(sr, val, ptr); break; \
86 __asm__("1: " ldx " 0(" sr "%2),%0\n" \
118 "1: ldw 0(" sr "%2),%0\n" \
119 "2: ldw 4(" sr "%2),%R0\n" \
176 "1: " stx " %2,0(" sr "%1)\n" \
187 "1: stw %2,0(" sr "%1)\n" \
[all …]
/linux/drivers/rtc/
A Drtc-isl1208.c273 return sr; in isl1208_rtc_proc()
282 (sr & ISL1208_REG_SR_ARST) ? " ARST" : "", sr); in isl1208_rtc_proc()
306 int sr; in isl1208_i2c_read_time() local
319 return sr; in isl1208_i2c_read_time()
355 return sr; in isl1208_i2c_read_alarm()
363 return sr; in isl1208_i2c_read_alarm()
447 int sr; in isl1208_i2c_set_time() local
470 return sr; in isl1208_i2c_set_time()
529 int sr; in timestamp0_store() local
553 int sr; in timestamp0_show() local
[all …]
/linux/arch/arm/mach-omap2/
A Dsmartreflex-class3.c15 static int sr_class3_enable(struct omap_sr *sr) in sr_class3_enable() argument
17 unsigned long volt = voltdm_get_voltage(sr->voltdm); in sr_class3_enable()
21 __func__, sr->name); in sr_class3_enable()
25 omap_vp_enable(sr->voltdm); in sr_class3_enable()
26 return sr_enable(sr, volt); in sr_class3_enable()
31 sr_disable_errgen(sr); in sr_class3_disable()
32 omap_vp_disable(sr->voltdm); in sr_class3_disable()
33 sr_disable(sr); in sr_class3_disable()
35 voltdm_reset(sr->voltdm); in sr_class3_disable()
40 static int sr_class3_configure(struct omap_sr *sr) in sr_class3_configure() argument
[all …]
/linux/drivers/macintosh/
A Dwindfarm_core.c285 if (sr->ops && sr->ops->release) in wf_sensor_release()
286 sr->ops->release(sr); in wf_sensor_release()
288 kfree(sr); in wf_sensor_release()
306 struct wf_sensor *sr; in wf_register_sensor() local
342 list_del(&sr->link); in wf_unregister_sensor()
347 wf_put_sensor(sr); in wf_unregister_sensor()
353 if (!try_module_get(sr->ops->owner)) in wf_get_sensor()
355 kref_get(&sr->ref); in wf_get_sensor()
362 struct module *mod = sr->ops->owner; in wf_put_sensor()
377 struct wf_sensor *sr; in wf_register_client() local
[all …]
A Dwindfarm_pm112.c272 struct wf_sensor *sr; in cpu_fans_tick() local
279 sr = sens_cpu_temp[cpu]; in cpu_fans_tick()
280 err = sr->ops->get_value(sr, &temp); in cpu_fans_tick()
294 sr = sens_cpu_power[cpu]; in cpu_fans_tick()
295 err = sr->ops->get_value(sr, &power); in cpu_fans_tick()
606 i = sr->name[9] - '0'; in pm112_new_sensor()
609 sens_cpu_temp[i] = sr; in pm112_new_sensor()
612 i = sr->name[10] - '0'; in pm112_new_sensor()
618 hd_temp = sr; in pm112_new_sensor()
621 slots_power = sr; in pm112_new_sensor()
[all …]
A Dwindfarm.h100 int (*get_value)(struct wf_sensor *sr, s32 *val);
101 void (*release)(struct wf_sensor *sr);
115 extern int wf_register_sensor(struct wf_sensor *sr);
116 extern void wf_unregister_sensor(struct wf_sensor *sr);
117 extern int wf_get_sensor(struct wf_sensor *sr);
118 extern void wf_put_sensor(struct wf_sensor *sr);
120 static inline int wf_sensor_get(struct wf_sensor *sr, s32 *val) in wf_sensor_get() argument
122 return sr->ops->get_value(sr, val); in wf_sensor_get()
/linux/arch/parisc/kernel/
A Dkgdb.c71 gr->sr0 = regs->sr[0]; in pt_regs_to_gdb_regs()
72 gr->sr1 = regs->sr[1]; in pt_regs_to_gdb_regs()
73 gr->sr2 = regs->sr[2]; in pt_regs_to_gdb_regs()
74 gr->sr3 = regs->sr[3]; in pt_regs_to_gdb_regs()
75 gr->sr4 = regs->sr[4]; in pt_regs_to_gdb_regs()
76 gr->sr5 = regs->sr[5]; in pt_regs_to_gdb_regs()
77 gr->sr6 = regs->sr[6]; in pt_regs_to_gdb_regs()
78 gr->sr7 = regs->sr[7]; in pt_regs_to_gdb_regs()
102 regs->sr[0] = gr->sr0; in gdb_regs_to_pt_regs()
103 regs->sr[1] = gr->sr1; in gdb_regs_to_pt_regs()
[all …]
/linux/arch/xtensa/variants/csp/include/variant/
A Dtie.h114 XCHAL_SA_REG(s,1,0,0,1, acclo, 4, 4, 4,0x0210, sr,16 , 32,0,0,0) \
115 XCHAL_SA_REG(s,1,0,0,1, acchi, 4, 4, 4,0x0211, sr,17 , 8,0,0,0) \
116 XCHAL_SA_REG(s,0,0,0,1, br, 4, 4, 4,0x0204, sr,4 , 16,0,0,0) \
117 XCHAL_SA_REG(s,0,0,0,1, scompare1, 4, 4, 4,0x020C, sr,12 , 32,0,0,0) \
118 XCHAL_SA_REG(s,0,0,0,1, m0, 4, 4, 4,0x0220, sr,32 , 32,0,0,0) \
119 XCHAL_SA_REG(s,0,0,0,1, m1, 4, 4, 4,0x0221, sr,33 , 32,0,0,0) \
120 XCHAL_SA_REG(s,0,0,0,1, m2, 4, 4, 4,0x0222, sr,34 , 32,0,0,0) \
121 XCHAL_SA_REG(s,0,0,0,1, m3, 4, 4, 4,0x0223, sr,35 , 32,0,0,0)
/linux/arch/xtensa/variants/de212/include/variant/
A Dtie.h90 XCHAL_SA_REG(s,1,0,0,1, acclo, 4, 4, 4,0x0210, sr,16 , 32,0,0,0) \
91 XCHAL_SA_REG(s,1,0,0,1, acchi, 4, 4, 4,0x0211, sr,17 , 8,0,0,0) \
92 XCHAL_SA_REG(s,0,0,0,1, scompare1, 4, 4, 4,0x020C, sr,12 , 32,0,0,0) \
93 XCHAL_SA_REG(s,0,0,0,1, m0, 4, 4, 4,0x0220, sr,32 , 32,0,0,0) \
94 XCHAL_SA_REG(s,0,0,0,1, m1, 4, 4, 4,0x0221, sr,33 , 32,0,0,0) \
95 XCHAL_SA_REG(s,0,0,0,1, m2, 4, 4, 4,0x0222, sr,34 , 32,0,0,0) \
96 XCHAL_SA_REG(s,0,0,0,1, m3, 4, 4, 4,0x0223, sr,35 , 32,0,0,0)
/linux/Documentation/devicetree/bindings/phy/
A Dbrcm,sr-pcie-phy.txt4 - compatible: must be "brcm,sr-pcie-phy"
6 - brcm,sr-cdru: phandle to the CDRU syscon node
7 - brcm,sr-mhb: phandle to the MHB syscon node
17 compatible = "brcm,sr-mhb", "syscon";
22 compatible = "brcm,sr-cdru", "syscon";
27 compatible = "brcm,sr-pcie-phy";
29 brcm,sr-cdru = <&cdru>;
30 brcm,sr-mhb = <&mhb>;
A Dbrcm,stingray-usb-phy.txt5 - "brcm,sr-usb-combo-phy" is combo PHY has two PHYs, one SS and one HS.
6 - "brcm,sr-usb-hs-phy" is a single HS PHY.
9 - Must be 1 for brcm,sr-usb-combo-phy as it expects one argument to indicate
11 - Must be 0 for brcm,sr-usb-hs-phy.
17 compatible = "brcm,sr-usb-combo-phy";
23 compatible = "brcm,sr-usb-combo-phy";
29 compatible = "brcm,sr-usb-hs-phy";
/linux/arch/xtensa/variants/dc232b/include/variant/
A Dtie.h94 XCHAL_SA_REG(s,1,0,0,1, acclo, 4, 4, 4,0x0210, sr,16 , 32,0,0,0) \
95 XCHAL_SA_REG(s,1,0,0,1, acchi, 4, 4, 4,0x0211, sr,17 , 8,0,0,0) \
96 XCHAL_SA_REG(s,0,0,0,1, m0, 4, 4, 4,0x0220, sr,32 , 32,0,0,0) \
97 XCHAL_SA_REG(s,0,0,0,1, m1, 4, 4, 4,0x0221, sr,33 , 32,0,0,0) \
98 XCHAL_SA_REG(s,0,0,0,1, m2, 4, 4, 4,0x0222, sr,34 , 32,0,0,0) \
99 XCHAL_SA_REG(s,0,0,0,1, m3, 4, 4, 4,0x0223, sr,35 , 32,0,0,0) \
100 XCHAL_SA_REG(s,0,0,0,1, scompare1, 4, 4, 4,0x020C, sr,12 , 32,0,0,0) \
/linux/arch/xtensa/variants/dc233c/include/variant/
A Dtie.h114 XCHAL_SA_REG(s,1,0,0,1, acclo, 4, 4, 4,0x0210, sr,16 , 32,0,0,0) \
115 XCHAL_SA_REG(s,1,0,0,1, acchi, 4, 4, 4,0x0211, sr,17 , 8,0,0,0) \
116 XCHAL_SA_REG(s,0,0,0,1, m0, 4, 4, 4,0x0220, sr,32 , 32,0,0,0) \
117 XCHAL_SA_REG(s,0,0,0,1, m1, 4, 4, 4,0x0221, sr,33 , 32,0,0,0) \
118 XCHAL_SA_REG(s,0,0,0,1, m2, 4, 4, 4,0x0222, sr,34 , 32,0,0,0) \
119 XCHAL_SA_REG(s,0,0,0,1, m3, 4, 4, 4,0x0223, sr,35 , 32,0,0,0) \
120 XCHAL_SA_REG(s,0,0,0,1, scompare1, 4, 4, 4,0x020C, sr,12 , 32,0,0,0)
/linux/lib/reed_solomon/
A Dreed_solomon.c107 sr = 1; in codec_init()
109 rs->index_of[sr] = i; in codec_init()
110 rs->alpha_to[i] = sr; in codec_init()
111 sr <<= 1; in codec_init()
113 sr ^= gfpoly; in codec_init()
114 sr &= rs->nn; in codec_init()
117 sr = gffunc(0); in codec_init()
119 rs->index_of[sr] = i; in codec_init()
120 rs->alpha_to[i] = sr; in codec_init()
121 sr = gffunc(sr); in codec_init()
[all …]
/linux/arch/xtensa/variants/test_kc705_be/include/variant/
A Dtie.h117 XCHAL_SA_REG(s,1,0,0,1, acclo, 4, 4, 4,0x0210, sr,16 , 32,0,0,0) \
118 XCHAL_SA_REG(s,1,0,0,1, acchi, 4, 4, 4,0x0211, sr,17 , 8,0,0,0) \
119 XCHAL_SA_REG(s,0,0,0,1, br, 4, 4, 4,0x0204, sr,4 , 16,0,0,0) \
120 XCHAL_SA_REG(s,0,0,0,1, scompare1, 4, 4, 4,0x020C, sr,12 , 32,0,0,0) \
121 XCHAL_SA_REG(s,0,0,0,1, m0, 4, 4, 4,0x0220, sr,32 , 32,0,0,0) \
122 XCHAL_SA_REG(s,0,0,0,1, m1, 4, 4, 4,0x0221, sr,33 , 32,0,0,0) \
123 XCHAL_SA_REG(s,0,0,0,1, m2, 4, 4, 4,0x0222, sr,34 , 32,0,0,0) \
124 XCHAL_SA_REG(s,0,0,0,1, m3, 4, 4, 4,0x0223, sr,35 , 32,0,0,0)
/linux/drivers/i2c/busses/
A Di2c-iop3xx.c115 iop3xx_adap->SR_received |= sr; in iop3xx_i2c_irq_handler()
123 iop3xx_i2c_error(u32 sr) in iop3xx_i2c_error() argument
127 if ((sr & IOP3XX_ISR_BERRD)) { in iop3xx_i2c_error()
131 if ((sr & IOP3XX_ISR_ALD)) { in iop3xx_i2c_error()
142 u32 sr; in iop3xx_i2c_get_srstat() local
145 sr = iop3xx_adap->SR_received; in iop3xx_i2c_get_srstat()
149 return sr; in iop3xx_i2c_get_srstat()
164 unsigned sr = 0; in iop3xx_i2c_wait_event() local
176 *status = sr; in iop3xx_i2c_wait_event()
179 *status = sr; in iop3xx_i2c_wait_event()
[all …]
/linux/drivers/mtd/spi-nor/
A Datmel.c73 u8 sr; in atmel_set_global_protection() local
83 sr = nor->bouncebuf[0]; in atmel_set_global_protection()
86 if (sr & SR_SRWD) { in atmel_set_global_protection()
87 sr &= ~SR_SRWD; in atmel_set_global_protection()
88 ret = spi_nor_write_sr_and_check(nor, sr); in atmel_set_global_protection()
96 sr |= ATMEL_SR_GLOBAL_PROTECT_MASK; in atmel_set_global_protection()
104 sr |= SR_SRWD; in atmel_set_global_protection()
106 sr &= ~ATMEL_SR_GLOBAL_PROTECT_MASK; in atmel_set_global_protection()
109 nor->bouncebuf[0] = sr; in atmel_set_global_protection()
/linux/include/linux/power/
A Dsmartreflex.h240 int (*enable)(struct omap_sr *sr);
241 int (*disable)(struct omap_sr *sr, int is_volt_reset);
242 int (*configure)(struct omap_sr *sr);
243 int (*notify)(struct omap_sr *sr, u32 status);
309 int sr_enable(struct omap_sr *sr, unsigned long volt);
310 void sr_disable(struct omap_sr *sr);
311 int sr_configure_errgen(struct omap_sr *sr);
312 int sr_disable_errgen(struct omap_sr *sr);
313 int sr_configure_minmax(struct omap_sr *sr);
/linux/arch/xtensa/variants/test_kc705_hifi/include/variant/
A Dtie.h117 XCHAL_SA_REG(s,1,0,0,1, acclo, 4, 4, 4,0x0210, sr,16 , 32,0,0,0) \
118 XCHAL_SA_REG(s,1,0,0,1, acchi, 4, 4, 4,0x0211, sr,17 , 8,0,0,0) \
119 XCHAL_SA_REG(s,0,0,0,1, m0, 4, 4, 4,0x0220, sr,32 , 32,0,0,0) \
120 XCHAL_SA_REG(s,0,0,0,1, m1, 4, 4, 4,0x0221, sr,33 , 32,0,0,0) \
121 XCHAL_SA_REG(s,0,0,0,1, m2, 4, 4, 4,0x0222, sr,34 , 32,0,0,0) \
122 XCHAL_SA_REG(s,0,0,0,1, m3, 4, 4, 4,0x0223, sr,35 , 32,0,0,0) \
123 XCHAL_SA_REG(s,0,0,0,1, br, 4, 4, 4,0x0204, sr,4 , 16,0,0,0) \
124 XCHAL_SA_REG(s,0,0,0,1, scompare1, 4, 4, 4,0x020C, sr,12 , 32,0,0,0)
/linux/arch/powerpc/kernel/
A Dsignal_32.c458 struct mcontext __user *sr, int sig) in restore_user_regs() argument
466 if (!user_read_access_begin(sr, sizeof(*sr))) in restore_user_regs()
474 unsafe_restore_general_regs(regs, sr, failed); in restore_user_regs()
493 sizeof(sr->mc_vregs), failed); in restore_user_regs()
560 struct mcontext __user *sr, in restore_tm_user_regs() argument
575 if (!user_read_access_begin(sr, sizeof(*sr))) in restore_tm_user_regs()
589 sizeof(sr->mc_vregs), failed); in restore_tm_user_regs()
600 (u32 __user *)&sr->mc_vregs[32], failed); in restore_tm_user_regs()
632 sizeof(sr->mc_vregs), failed); in restore_tm_user_regs()
1291 struct mcontext __user *sr; in COMPAT_SYSCALL_DEFINE0() local
[all …]

Completed in 58 milliseconds

12345678910>>...17