Home
last modified time | relevance | path

Searched refs:si (Results 1 – 25 of 184) sorted by relevance

12345678

/linux-2.6.39/drivers/net/irda/
Dpxaficp_ir.c126 static inline void pxa_irda_disable_clk(struct pxa_irda *si) in pxa_irda_disable_clk() argument
128 if (si->cur_clk) in pxa_irda_disable_clk()
129 clk_disable(si->cur_clk); in pxa_irda_disable_clk()
130 si->cur_clk = NULL; in pxa_irda_disable_clk()
133 static inline void pxa_irda_enable_firclk(struct pxa_irda *si) in pxa_irda_enable_firclk() argument
135 si->cur_clk = si->fir_clk; in pxa_irda_enable_firclk()
136 clk_enable(si->fir_clk); in pxa_irda_enable_firclk()
139 static inline void pxa_irda_enable_sirclk(struct pxa_irda *si) in pxa_irda_enable_sirclk() argument
141 si->cur_clk = si->sir_clk; in pxa_irda_enable_sirclk()
142 clk_enable(si->sir_clk); in pxa_irda_enable_sirclk()
[all …]
Dsa1100_ir.c72 #define IS_FIR(si) ((si)->speed >= 4000000) argument
79 static int sa1100_irda_rx_alloc(struct sa1100_irda *si) in sa1100_irda_rx_alloc() argument
81 if (si->rxskb) in sa1100_irda_rx_alloc()
84 si->rxskb = alloc_skb(HPSIR_MAX_RXLEN + 1, GFP_ATOMIC); in sa1100_irda_rx_alloc()
86 if (!si->rxskb) { in sa1100_irda_rx_alloc()
95 skb_reserve(si->rxskb, 1); in sa1100_irda_rx_alloc()
97 si->rxbuf_dma = dma_map_single(si->dev, si->rxskb->data, in sa1100_irda_rx_alloc()
107 static void sa1100_irda_rx_dma_start(struct sa1100_irda *si) in sa1100_irda_rx_dma_start() argument
109 if (!si->rxskb) { in sa1100_irda_rx_dma_start()
117 Ser2HSCR0 = si->hscr0 | HSCR0_HSSP; in sa1100_irda_rx_dma_start()
[all …]
/linux-2.6.39/fs/ocfs2/
Dslot_map.c62 static int __ocfs2_node_num_to_slot(struct ocfs2_slot_info *si,
65 static void ocfs2_invalidate_slot(struct ocfs2_slot_info *si, in ocfs2_invalidate_slot() argument
68 BUG_ON((slot_num < 0) || (slot_num >= si->si_num_slots)); in ocfs2_invalidate_slot()
69 si->si_slots[slot_num].sl_valid = 0; in ocfs2_invalidate_slot()
72 static void ocfs2_set_slot(struct ocfs2_slot_info *si, in ocfs2_set_slot() argument
75 BUG_ON((slot_num < 0) || (slot_num >= si->si_num_slots)); in ocfs2_set_slot()
77 si->si_slots[slot_num].sl_valid = 1; in ocfs2_set_slot()
78 si->si_slots[slot_num].sl_node_num = node_num; in ocfs2_set_slot()
82 static void ocfs2_update_slot_info_extended(struct ocfs2_slot_info *si) in ocfs2_update_slot_info_extended() argument
88 for (b = 0; b < si->si_blocks; b++) { in ocfs2_update_slot_info_extended()
[all …]
/linux-2.6.39/drivers/mtd/ubi/
Dscan.c92 static int paranoid_check_si(struct ubi_device *ubi, struct ubi_scan_info *si);
94 #define paranoid_check_si(ubi, si) 0 argument
117 static int add_to_list(struct ubi_scan_info *si, int pnum, int ec, int to_head, in add_to_list() argument
122 if (list == &si->free) { in add_to_list()
124 } else if (list == &si->erase) { in add_to_list()
126 } else if (list == &si->alien) { in add_to_list()
128 si->alien_peb_count += 1; in add_to_list()
132 seb = kmem_cache_alloc(si->scan_leb_slab, GFP_KERNEL); in add_to_list()
155 static int add_corrupted(struct ubi_scan_info *si, int pnum, int ec) in add_corrupted() argument
161 seb = kmem_cache_alloc(si->scan_leb_slab, GFP_KERNEL); in add_corrupted()
[all …]
Dvtbl.c305 static int create_vtbl(struct ubi_device *ubi, struct ubi_scan_info *si, in create_vtbl() argument
324 sv = ubi_scan_find_sv(si, UBI_LAYOUT_VOLUME_ID); in create_vtbl()
329 new_seb = ubi_scan_get_free_peb(ubi, si); in create_vtbl()
341 vid_hdr->sqnum = cpu_to_be64(++si->max_sqnum); in create_vtbl()
357 err = ubi_scan_add_used(ubi, si, new_seb->pnum, new_seb->ec, in create_vtbl()
369 list_add(&new_seb->u.list, &si->erase); in create_vtbl()
390 struct ubi_scan_info *si, in process_lvol() argument
466 err = create_vtbl(ubi, si, 1, leb[0]); in process_lvol()
489 err = create_vtbl(ubi, si, 0, leb[1]); in process_lvol()
513 struct ubi_scan_info *si) in create_empty_lvol() argument
[all …]
Dscan.h159 int ubi_scan_add_used(struct ubi_device *ubi, struct ubi_scan_info *si,
162 struct ubi_scan_volume *ubi_scan_find_sv(const struct ubi_scan_info *si,
166 void ubi_scan_rm_volume(struct ubi_scan_info *si, struct ubi_scan_volume *sv);
168 struct ubi_scan_info *si);
169 int ubi_scan_erase_peb(struct ubi_device *ubi, const struct ubi_scan_info *si,
172 void ubi_scan_destroy_si(struct ubi_scan_info *si);
/linux-2.6.39/drivers/staging/brcm80211/brcmfmac/
Dbcmsdbus.h50 extern SDIOH_API_RC sdioh_detach(sdioh_info_t *si);
51 extern SDIOH_API_RC sdioh_interrupt_register(sdioh_info_t *si,
53 extern SDIOH_API_RC sdioh_interrupt_deregister(sdioh_info_t *si);
56 extern SDIOH_API_RC sdioh_interrupt_query(sdioh_info_t *si, bool *onoff);
59 extern SDIOH_API_RC sdioh_interrupt_set(sdioh_info_t *si, bool enable_disable);
62 extern bool sdioh_interrupt_pending(sdioh_info_t *si);
65 extern int sdioh_claim_host_and_lock(sdioh_info_t *si);
66 extern int sdioh_release_host_and_unlock(sdioh_info_t *si);
69 extern SDIOH_API_RC sdioh_request_byte(sdioh_info_t *si, uint rw, uint fnc,
73 extern SDIOH_API_RC sdioh_request_word(sdioh_info_t *si, uint cmd_type,
[all …]
/linux-2.6.39/drivers/xen/
Dmanage.c68 struct suspend_info *si = data; in xen_suspend() local
85 if (si->pre) in xen_suspend()
86 si->pre(); in xen_suspend()
93 si->cancelled = HYPERVISOR_suspend(si->arg); in xen_suspend()
95 if (si->post) in xen_suspend()
96 si->post(si->cancelled); in xen_suspend()
98 if (!si->cancelled) { in xen_suspend()
113 struct suspend_info si; in do_suspend() local
143 si.cancelled = 1; in do_suspend()
146 si.arg = 0UL; in do_suspend()
[all …]
/linux-2.6.39/mm/
Dswapfile.c73 __try_to_reclaim_swap(struct swap_info_struct *si, unsigned long offset) in __try_to_reclaim_swap() argument
75 swp_entry_t entry = swp_entry(si->type, offset); in __try_to_reclaim_swap()
101 static int discard_swap(struct swap_info_struct *si) in discard_swap() argument
109 se = &si->first_swap_extent; in discard_swap()
113 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap()
120 list_for_each_entry(se, &si->first_swap_extent.list, list) { in discard_swap()
124 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap()
138 static void discard_swap_cluster(struct swap_info_struct *si, in discard_swap_cluster() argument
141 struct swap_extent *se = si->curr_swap_extent; in discard_swap_cluster()
159 si->curr_swap_extent = se; in discard_swap_cluster()
[all …]
/linux-2.6.39/arch/mips/sgi-ip27/
Dip27-irq.c71 struct slice_data *si = cpu_data[cpu].data; in alloc_level() local
79 si->level_to_irq[level] = irq; in alloc_level()
89 struct slice_data *si = cpu_data[cpu].data; in find_level() local
92 if (si->level_to_irq[i] == irq) { in find_level()
162 struct slice_data *si = cpu_data[cpu].data; in ip27_do_irq_mask0() local
164 irq = si->level_to_irq[swlevel]; in ip27_do_irq_mask0()
177 struct slice_data *si = cpu_data[cpu].data; in ip27_do_irq_mask1() local
189 irq = si->level_to_irq[swlevel]; in ip27_do_irq_mask1()
209 struct slice_data *si = cpu_data[cpu].data; in intr_connect_level() local
211 set_bit(bit, si->irq_enable_mask); in intr_connect_level()
[all …]
/linux-2.6.39/drivers/staging/brcm80211/include/
Dsiutils.h264 #define SI_FAST(si) (((si)->pub.buscoretype == PCIE_CORE_ID) || \ argument
265 (((si)->pub.buscoretype == PCI_CORE_ID) && (si)->pub.buscorerev >= 13))
267 #define PCIEREGS(si) (((char *)((si)->curmap) + PCI_16KB0_PCIREGS_OFFSET)) argument
268 #define CCREGS_FAST(si) (((char *)((si)->curmap) + PCI_16KB0_CCREGS_OFFSET)) argument
274 #define INTR_OFF(si, intr_val) \ argument
275 if ((si)->intrsoff_fn && (si)->coreid[(si)->curidx] == (si)->dev_coreid) { \
276 intr_val = (*(si)->intrsoff_fn)((si)->intr_arg); }
277 #define INTR_RESTORE(si, intr_val) \ argument
278 if ((si)->intrsrestore_fn && (si)->coreid[(si)->curidx] == (si)->dev_coreid) { \
279 (*(si)->intrsrestore_fn)((si)->intr_arg, intr_val); }
[all …]
/linux-2.6.39/arch/parisc/kernel/
Dtraps.c310 struct siginfo si; in handle_gdb_break() local
312 si.si_signo = SIGTRAP; in handle_gdb_break()
313 si.si_errno = 0; in handle_gdb_break()
314 si.si_code = wot; in handle_gdb_break()
315 si.si_addr = (void __user *) (regs->iaoq[0] & ~3); in handle_gdb_break()
316 force_sig_info(SIGTRAP, &si, current); in handle_gdb_break()
503 struct siginfo si; in handle_interruption() local
587 si.si_code = ILL_ILLOPC; in handle_interruption()
598 si.si_code = ILL_PRVOPC; in handle_interruption()
621 si.si_code = ILL_PRVREG; in handle_interruption()
[all …]
Dptrace.c64 struct siginfo si; in user_enable_single_step() local
78 si.si_code = TRAP_TRACE; in user_enable_single_step()
79 si.si_addr = (void __user *) (task_regs(task)->iaoq[0] & ~3); in user_enable_single_step()
80 si.si_signo = SIGTRAP; in user_enable_single_step()
81 si.si_errno = 0; in user_enable_single_step()
82 force_sig_info(SIGTRAP, &si, task); in user_enable_single_step()
/linux-2.6.39/arch/um/kernel/
Dtrap.c118 struct siginfo si; in bad_segv() local
120 si.si_signo = SIGSEGV; in bad_segv()
121 si.si_code = SEGV_ACCERR; in bad_segv()
122 si.si_addr = (void __user *) FAULT_ADDRESS(fi); in bad_segv()
124 force_sig_info(SIGSEGV, &si, current); in bad_segv()
159 struct siginfo si; in segv() local
176 &si.si_code); in segv()
206 si.si_signo = SIGBUS; in segv()
207 si.si_errno = 0; in segv()
208 si.si_code = BUS_ADRERR; in segv()
[all …]
/linux-2.6.39/fs/exofs/
Dios.c313 struct _striping_info *si) in _calc_stripe_info() argument
335 si->dev = (u32)(H - (N * U)) / stripe_unit + G * group_width; in _calc_stripe_info()
336 si->dev *= ios->layout->mirrors_p1; in _calc_stripe_info()
338 div_u64_rem(file_offset, stripe_unit, &si->unit_off); in _calc_stripe_info()
340 si->obj_offset = si->unit_off + (N * stripe_unit) + in _calc_stripe_info()
343 si->group_length = T - H; in _calc_stripe_info()
391 struct _striping_info *si) in _prepare_one_group() argument
396 unsigned dev = si->dev; in _prepare_one_group()
408 if (dev < si->dev) { in _prepare_one_group()
409 per_dev->offset = si->obj_offset + stripe_unit - in _prepare_one_group()
[all …]
/linux-2.6.39/arch/parisc/math-emu/
Ddriver.c83 struct siginfo si; in handle_fpe() local
119 si.si_signo = signalcode >> 24; in handle_fpe()
120 si.si_errno = 0; in handle_fpe()
121 si.si_code = signalcode & 0xffffff; in handle_fpe()
122 si.si_addr = (void __user *) regs->iaoq[0]; in handle_fpe()
123 force_sig_info(si.si_signo, &si, current); in handle_fpe()
/linux-2.6.39/arch/mips/sni/
Dsetup.c40 struct screen_info *si = &screen_info; in sni_display_setup() local
46 si->orig_x = di->CursorXPosition; in sni_display_setup()
47 si->orig_y = di->CursorYPosition; in sni_display_setup()
48 si->orig_video_cols = di->CursorMaxXPosition; in sni_display_setup()
49 si->orig_video_lines = di->CursorMaxYPosition; in sni_display_setup()
50 si->orig_video_isVGA = VIDEO_TYPE_VGAC; in sni_display_setup()
51 si->orig_video_points = 16; in sni_display_setup()
/linux-2.6.39/fs/sysv/
Dinode.c196 struct sysv_inode_info * si; in sysv_iget() local
232 si = SYSV_I(inode); in sysv_iget()
235 (u8 *)&si->i_data[block]); in sysv_iget()
237 si->i_dir_start_lookup = 0; in sysv_iget()
240 old_decode_dev(fs32_to_cpu(sbi, si->i_data[0]))); in sysv_iget()
257 struct sysv_inode_info * si; in __sysv_write_inode() local
282 si = SYSV_I(inode); in __sysv_write_inode()
284 si->i_data[0] = cpu_to_fs32(sbi, old_encode_dev(inode->i_rdev)); in __sysv_write_inode()
286 write3byte(sbi, (u8 *)&si->i_data[block], in __sysv_write_inode()
328 struct sysv_inode_info *si; in sysv_alloc_inode() local
[all …]
/linux-2.6.39/drivers/scsi/libfc/
Dfc_fcp.c151 struct fc_fcp_internal *si = fc_get_scsi_internal(lport); in fc_fcp_pkt_alloc() local
154 fsp = mempool_alloc(si->scsi_pkt_pool, gfp); in fc_fcp_pkt_alloc()
177 struct fc_fcp_internal *si = fc_get_scsi_internal(fsp->lp); in fc_fcp_pkt_release() local
179 mempool_free(fsp, si->scsi_pkt_pool); in fc_fcp_pkt_release()
343 struct fc_fcp_internal *si = fc_get_scsi_internal(lport); in fc_fcp_can_queue_ramp_up() local
346 if (si->last_can_queue_ramp_up_time && in fc_fcp_can_queue_ramp_up()
347 (time_before(jiffies, si->last_can_queue_ramp_up_time + in fc_fcp_can_queue_ramp_up()
351 if (time_before(jiffies, si->last_can_queue_ramp_down_time + in fc_fcp_can_queue_ramp_up()
355 si->last_can_queue_ramp_up_time = jiffies; in fc_fcp_can_queue_ramp_up()
358 if (can_queue >= si->max_can_queue) { in fc_fcp_can_queue_ramp_up()
[all …]
/linux-2.6.39/arch/ia64/mm/
Dfault.c81 struct siginfo si; in ia64_do_page_fault() local
222 si.si_signo = signal; in ia64_do_page_fault()
223 si.si_errno = 0; in ia64_do_page_fault()
224 si.si_code = code; in ia64_do_page_fault()
225 si.si_addr = (void __user *) address; in ia64_do_page_fault()
226 si.si_isr = isr; in ia64_do_page_fault()
227 si.si_flags = __ISR_VALID; in ia64_do_page_fault()
228 force_sig_info(signal, &si, current); in ia64_do_page_fault()
/linux-2.6.39/drivers/gpu/drm/ttm/
Dttm_memory.c245 const struct sysinfo *si) in ttm_mem_init_kernel_zone() argument
254 mem = si->totalram - si->totalhigh; in ttm_mem_init_kernel_zone()
255 mem *= si->mem_unit; in ttm_mem_init_kernel_zone()
277 const struct sysinfo *si) in ttm_mem_init_highmem_zone() argument
283 if (si->totalhigh == 0) in ttm_mem_init_highmem_zone()
290 mem = si->totalram; in ttm_mem_init_highmem_zone()
291 mem *= si->mem_unit; in ttm_mem_init_highmem_zone()
312 const struct sysinfo *si) in ttm_mem_init_dma32_zone() argument
321 mem = si->totalram; in ttm_mem_init_dma32_zone()
322 mem *= si->mem_unit; in ttm_mem_init_dma32_zone()
[all …]
/linux-2.6.39/arch/parisc/mm/
Dfault.c236 struct siginfo si; in do_page_fault() local
249 si.si_signo = SIGSEGV; in do_page_fault()
250 si.si_errno = 0; in do_page_fault()
251 si.si_code = SEGV_MAPERR; in do_page_fault()
252 si.si_addr = (void __user *) address; in do_page_fault()
253 force_sig_info(SIGSEGV, &si, current); in do_page_fault()
/linux-2.6.39/arch/ia64/kernel/
Dsignal.c174 struct siginfo si; in ia64_rt_sigreturn() local
227 si.si_signo = SIGSEGV; in ia64_rt_sigreturn()
228 si.si_errno = 0; in ia64_rt_sigreturn()
229 si.si_code = SI_KERNEL; in ia64_rt_sigreturn()
230 si.si_pid = task_pid_vnr(current); in ia64_rt_sigreturn()
231 si.si_uid = current_uid(); in ia64_rt_sigreturn()
232 si.si_addr = sc; in ia64_rt_sigreturn()
233 force_sig_info(SIGSEGV, &si, current); in ia64_rt_sigreturn()
308 struct siginfo si; in force_sigsegv_info() local
324 si.si_signo = SIGSEGV; in force_sigsegv_info()
[all …]
/linux-2.6.39/crypto/
Dtwofish_common.c506 ctx->s[0][i] = mds[0][q0[q0[(b) ^ sa] ^ se] ^ si]; \
514 ctx->s[0][i] = mds[0][q0[q0[q1[(b) ^ sa] ^ se] ^ si] ^ sm]; \
597 u8 si = 0, sj = 0, sk = 0, sl = 0, sm = 0, sn = 0, so = 0, sp = 0; in twofish_setkey() local
632 CALC_S (si, sj, sk, sl, 16, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ in twofish_setkey()
633 CALC_S (si, sj, sk, sl, 17, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ in twofish_setkey()
634 CALC_S (si, sj, sk, sl, 18, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ in twofish_setkey()
635 CALC_S (si, sj, sk, sl, 19, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ in twofish_setkey()
636 CALC_S (si, sj, sk, sl, 20, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ in twofish_setkey()
637 CALC_S (si, sj, sk, sl, 21, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */ in twofish_setkey()
638 CALC_S (si, sj, sk, sl, 22, 0xED, 0x37, 0x4F, 0xE0); /* DB 68 3D 9E */ in twofish_setkey()
[all …]
/linux-2.6.39/arch/s390/mm/
Dfault.c151 struct siginfo si; in do_sigsegv() local
158 si.si_signo = SIGSEGV; in do_sigsegv()
159 si.si_code = si_code; in do_sigsegv()
160 si.si_addr = (void __user *) address; in do_sigsegv()
161 force_sig_info(SIGSEGV, &si, current); in do_sigsegv()
212 struct siginfo si; in do_sigbus() local
221 si.si_signo = SIGBUS; in do_sigbus()
222 si.si_errno = 0; in do_sigbus()
223 si.si_code = BUS_ADRERR; in do_sigbus()
224 si.si_addr = (void __user *) address; in do_sigbus()
[all …]

12345678