Home
last modified time | relevance | path

Searched full:pcb (Results 1 – 25 of 186) sorted by relevance

12345678

/OK3568_Linux_fs/kernel/fs/erofs/
H A Dpcpubuf.c22 __acquires(pcb->lock) in erofs_get_pcpubuf()
24 struct erofs_pcpubuf *pcb = &get_cpu_var(erofs_pcb); in erofs_get_pcpubuf() local
26 raw_spin_lock(&pcb->lock); in erofs_get_pcpubuf()
28 if (requiredpages > pcb->nrpages) { in erofs_get_pcpubuf()
29 raw_spin_unlock(&pcb->lock); in erofs_get_pcpubuf()
31 /* (for sparse checker) pretend pcb->lock is still taken */ in erofs_get_pcpubuf()
32 __acquire(pcb->lock); in erofs_get_pcpubuf()
35 return pcb->ptr; in erofs_get_pcpubuf()
38 void erofs_put_pcpubuf(void *ptr) __releases(pcb->lock) in erofs_put_pcpubuf()
40 struct erofs_pcpubuf *pcb = &per_cpu(erofs_pcb, smp_processor_id()); in erofs_put_pcpubuf() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/
H A Dmlan_shim.c137 pmlan_callbacks pcb; in wlan_process_pending_ioctl() local
146 pcb = &pmadapter->callbacks; in wlan_process_pending_ioctl()
151 pcb->moal_spin_lock, in wlan_process_pending_ioctl()
152 pcb->moal_spin_unlock))) { in wlan_process_pending_ioctl()
178 pcb->moal_ioctl_complete(pmadapter->pmoal_handle, in wlan_process_pending_ioctl()
220 pmlan_callbacks pcb = MNULL; in mlan_register() local
266 pcb = &pmadapter->callbacks; in mlan_register()
269 pmdevice->callbacks.moal_memmove(pmadapter->pmoal_handle, pcb, in mlan_register()
274 MASSERT(pcb->moal_get_hw_spec_complete); in mlan_register()
275 MASSERT(pcb->moal_init_fw_complete); in mlan_register()
[all …]
H A Dmlan_init.c763 pmlan_callbacks pcb = &pmadapter->callbacks; in wlan_init_priv_lock_list() local
769 if (pcb-> in wlan_init_priv_lock_list()
776 if (pcb-> in wlan_init_priv_lock_list()
784 if (pcb-> in wlan_init_priv_lock_list()
864 pmlan_callbacks pcb = &pmadapter->callbacks; in wlan_init_lock_list() local
867 if (pcb->moal_init_lock(pmadapter->pmoal_handle, &pmadapter->pmlan_lock) in wlan_init_lock_list()
872 if (pcb->moal_init_lock(pmadapter->pmoal_handle, &pmadapter->pint_lock) in wlan_init_lock_list()
877 if (pcb-> in wlan_init_lock_list()
883 if (pcb-> in wlan_init_lock_list()
889 if (pcb-> in wlan_init_lock_list()
[all …]
H A Dmlan_sdio.c60 pmlan_callbacks pcb = &pmadapter->callbacks; in wlan_sdio_init_ioport() local
77 if (MLAN_STATUS_SUCCESS == pcb->moal_read_reg(pmadapter->pmoal_handle, in wlan_sdio_init_ioport()
80 pcb->moal_write_reg(pmadapter->pmoal_handle, in wlan_sdio_init_ioport()
89 if (MLAN_STATUS_SUCCESS == pcb->moal_read_reg(pmadapter->pmoal_handle, in wlan_sdio_init_ioport()
91 pcb->moal_write_reg(pmadapter->pmoal_handle, in wlan_sdio_init_ioport()
99 if (MLAN_STATUS_SUCCESS == pcb->moal_read_reg(pmadapter->pmoal_handle, in wlan_sdio_init_ioport()
101 pcb->moal_write_reg(pmadapter->pmoal_handle, in wlan_sdio_init_ioport()
110 pcb->moal_write_reg(pmadapter->pmoal_handle, SCRATCH_REG_32, in wlan_sdio_init_ioport()
115 pcb->moal_read_reg(pmadapter->pmoal_handle, host_int_rsr_reg, in wlan_sdio_init_ioport()
117 pcb->moal_write_reg(pmadapter->pmoal_handle, host_int_rsr_reg, in wlan_sdio_init_ioport()
[all …]
H A Dmlan_sta_event.c357 pmlan_callbacks pcb = &pmadapter->callbacks; in wlan_process_nan_event() local
361 ret = pcb->moal_malloc(pmadapter->pmoal_handle, MAX_EVENT_SIZE, in wlan_process_nan_event()
380 pcb->moal_mfree(pmadapter->pmoal_handle, evt_buf); in wlan_process_nan_event()
398 pcb->moal_mfree(pmadapter->pmoal_handle, evt_buf); in wlan_process_nan_event()
681 pmlan_callbacks pcb = &pmadapter->callbacks; in wlan_ops_sta_process_event() local
834 ret = pcb->moal_malloc(pmadapter->pmoal_handle, in wlan_ops_sta_process_event()
848 pcb->moal_mfree(pmadapter->pmoal_handle, evt_buf); in wlan_ops_sta_process_event()
956 ret = pcb->moal_malloc(pmadapter->pmoal_handle, in wlan_ops_sta_process_event()
982 pcb->moal_mfree(pmadapter->pmoal_handle, evt_buf); in wlan_ops_sta_process_event()
1027 ret = pcb->moal_malloc(pmadapter->pmoal_handle, MAX_EVENT_SIZE, in wlan_ops_sta_process_event()
[all …]
H A Dmlan_wmm.h89 mlan_callbacks *pcb = (mlan_callbacks *)&pmadapter->callbacks; in wlan_request_ralist_lock() local
94 pcb->moal_spin_lock(pmadapter->pmoal_handle, in wlan_request_ralist_lock()
112 mlan_callbacks *pcb = (mlan_callbacks *)&pmadapter->callbacks; in wlan_release_ralist_lock() local
117 pcb->moal_spin_unlock(pmadapter->pmoal_handle, in wlan_release_ralist_lock()
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/
H A Dmlan_shim.c147 pmlan_callbacks pcb; in wlan_process_pending_ioctl() local
156 pcb = &pmadapter->callbacks; in wlan_process_pending_ioctl()
160 pcb->moal_spin_lock, pcb->moal_spin_unlock))) { in wlan_process_pending_ioctl()
187 pcb->moal_ioctl_complete(pmadapter->pmoal_handle, in wlan_process_pending_ioctl()
227 pmlan_callbacks pcb = MNULL; in mlan_register() local
281 pcb = &pmadapter->callbacks; in mlan_register()
284 pmdevice->callbacks.moal_memmove(pmadapter->pmoal_handle, pcb, in mlan_register()
289 MASSERT(pcb->moal_get_hw_spec_complete); in mlan_register()
290 MASSERT(pcb->moal_init_fw_complete); in mlan_register()
291 MASSERT(pcb->moal_shutdown_fw_complete); in mlan_register()
[all …]
H A Dmlan_pcie.c229 pmlan_callbacks pcb = &pmadapter->callbacks; in wlan_init_adma() local
282 if (pcb->moal_write_reg(pmadapter->pmoal_handle, in wlan_init_adma()
292 if (pcb->moal_read_reg(pmadapter->pmoal_handle, in wlan_init_adma()
314 if (pcb->moal_read_reg(pmadapter->pmoal_handle, in wlan_init_adma()
323 if (pcb->moal_write_reg(pmadapter->pmoal_handle, in wlan_init_adma()
347 if (pcb->moal_read_reg(pmadapter->pmoal_handle, in wlan_init_adma()
361 if (pcb->moal_write_reg(pmadapter->pmoal_handle, in wlan_init_adma()
376 if (pcb->moal_write_reg(pmadapter->pmoal_handle, in wlan_init_adma()
385 if (pcb->moal_read_reg(pmadapter->pmoal_handle, q_addr + ADMA_DMA_CFG, in wlan_init_adma()
394 if (pcb->moal_write_reg(pmadapter->pmoal_handle, in wlan_init_adma()
[all …]
H A Dmlan_init.c201 pmlan_callbacks pcb = &pmadapter->callbacks; in vdll_deinit() local
204 if (pcb->moal_vmalloc && pcb->moal_vfree) in vdll_deinit()
205 pcb->moal_vfree(pmadapter->pmoal_handle, in vdll_deinit()
208 pcb->moal_mfree(pmadapter->pmoal_handle, in vdll_deinit()
992 pmlan_callbacks pcb = &pmadapter->callbacks; in wlan_init_priv_lock_list() local
998 if (pcb->moal_init_lock(pmadapter->pmoal_handle, in wlan_init_priv_lock_list()
1004 if (pcb->moal_init_lock(pmadapter->pmoal_handle, in wlan_init_priv_lock_list()
1011 if (pcb->moal_init_lock(pmadapter->pmoal_handle, in wlan_init_priv_lock_list()
1088 pmlan_callbacks pcb = &pmadapter->callbacks; in wlan_init_lock_list() local
1094 if (pcb->moal_init_lock(pmadapter->pmoal_handle, in wlan_init_lock_list()
[all …]
H A Dmlan_sdio.c377 pmlan_callbacks pcb = &pmadapter->callbacks; in wlan_sdio_init_ioport() local
391 pcb->moal_read_reg(pmadapter->pmoal_handle, in wlan_sdio_init_ioport()
400 pcb->moal_read_reg(pmadapter->pmoal_handle, in wlan_sdio_init_ioport()
409 pcb->moal_read_reg(pmadapter->pmoal_handle, in wlan_sdio_init_ioport()
424 pcb->moal_read_reg(pmadapter->pmoal_handle, in wlan_sdio_init_ioport()
426 pcb->moal_write_reg(pmadapter->pmoal_handle, in wlan_sdio_init_ioport()
437 pcb->moal_read_reg(pmadapter->pmoal_handle, cmd_config_0, in wlan_sdio_init_ioport()
439 pcb->moal_write_reg(pmadapter->pmoal_handle, in wlan_sdio_init_ioport()
449 pcb->moal_read_reg(pmadapter->pmoal_handle, cmd_config_1, in wlan_sdio_init_ioport()
451 pcb->moal_write_reg(pmadapter->pmoal_handle, in wlan_sdio_init_ioport()
[all …]
H A Dmlan_usb.c125 pmlan_callbacks pcb = &pmadapter->callbacks; in wlan_usb_check_revision() local
134 ret = pcb->moal_malloc(pmadapter->pmoal_handle, FW_DNLD_TX_BUF_SIZE, in wlan_usb_check_revision()
142 ret = pcb->moal_malloc(pmadapter->pmoal_handle, FW_DNLD_RX_BUF_SIZE, in wlan_usb_check_revision()
153 ret = pcb->moal_write_data_sync(pmadapter->pmoal_handle, &mbuf, in wlan_usb_check_revision()
164 ret = pcb->moal_read_data_sync(pmadapter->pmoal_handle, &mbuf, in wlan_usb_check_revision()
179 pcb->moal_mfree(pmadapter->pmoal_handle, recv_buff); in wlan_usb_check_revision()
181 pcb->moal_mfree(pmadapter->pmoal_handle, tx_buff); in wlan_usb_check_revision()
200 pmlan_callbacks pcb = &pmadapter->callbacks; in wlan_usb_prog_fw_w_helper() local
216 if (!firmware && !pcb->moal_get_fw_data) { in wlan_usb_prog_fw_w_helper()
223 ret = pcb->moal_malloc(pmadapter->pmoal_handle, FW_DNLD_TX_BUF_SIZE, in wlan_usb_prog_fw_w_helper()
[all …]
H A Dmlan_wmm.h90 mlan_callbacks *pcb = (mlan_callbacks *)&pmadapter->callbacks; in wlan_request_ralist_lock() local
95 pcb->moal_spin_lock(pmadapter->pmoal_handle, in wlan_request_ralist_lock()
112 mlan_callbacks *pcb = (mlan_callbacks *)&pmadapter->callbacks; in wlan_release_ralist_lock() local
117 pcb->moal_spin_unlock(pmadapter->pmoal_handle, in wlan_release_ralist_lock()
/OK3568_Linux_fs/kernel/drivers/nfc/st-nci/
H A Dndlc.c76 u8 pcb = PCB_TYPE_DATAFRAME | PCB_DATAFRAME_RETRANSMIT_NO | in ndlc_send() local
79 *(u8 *)skb_push(skb, 1) = pcb; in ndlc_send()
125 u8 pcb; in llt_ndlc_requeue_data_pending() local
128 pcb = skb->data[0]; in llt_ndlc_requeue_data_pending()
129 switch (pcb & PCB_TYPE_MASK) { in llt_ndlc_requeue_data_pending()
131 skb->data[0] = (pcb & ~PCB_SUPERVISOR_RETRANSMIT_MASK) | in llt_ndlc_requeue_data_pending()
135 skb->data[0] = (pcb & ~PCB_DATAFRAME_RETRANSMIT_MASK) | in llt_ndlc_requeue_data_pending()
139 pr_err("UNKNOWN Packet Control Byte=%d\n", pcb); in llt_ndlc_requeue_data_pending()
150 u8 pcb; in llt_ndlc_rcv_queue() local
157 pcb = skb->data[0]; in llt_ndlc_rcv_queue()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/esa/
H A Dhostsa_init.c558 pmlan_callbacks pcb = &pmadapter->callbacks; in hostsa_mlan_callbacks() local
561 putil_fns->moal_malloc = pcb->moal_malloc; in hostsa_mlan_callbacks()
562 putil_fns->moal_mfree = pcb->moal_mfree; in hostsa_mlan_callbacks()
563 putil_fns->moal_memset = pcb->moal_memset; in hostsa_mlan_callbacks()
564 putil_fns->moal_memcpy = pcb->moal_memcpy; in hostsa_mlan_callbacks()
565 putil_fns->moal_memmove = pcb->moal_memmove; in hostsa_mlan_callbacks()
566 putil_fns->moal_memcmp = pcb->moal_memcmp; in hostsa_mlan_callbacks()
567 putil_fns->moal_udelay = pcb->moal_udelay; in hostsa_mlan_callbacks()
568 putil_fns->moal_get_system_time = pcb->moal_get_system_time; in hostsa_mlan_callbacks()
569 putil_fns->moal_init_timer = pcb->moal_init_timer; in hostsa_mlan_callbacks()
[all …]
/OK3568_Linux_fs/kernel/sound/core/seq/
H A Dseq_dummy.c109 struct snd_seq_port_callback pcb; in create_port() local
132 memset(&pcb, 0, sizeof(pcb)); in create_port()
133 pcb.owner = THIS_MODULE; in create_port()
134 pcb.event_input = dummy_input; in create_port()
135 pcb.private_free = dummy_free; in create_port()
136 pcb.private_data = rec; in create_port()
137 pinfo.kernel = &pcb; in create_port()
/OK3568_Linux_fs/kernel/arch/alpha/mm/
H A Dinit.c91 load_PCB(struct pcb_struct *pcb) in load_PCB() argument
94 pcb->ksp = sp; in load_PCB()
95 return __reload_thread(pcb); in load_PCB()
98 /* Set up initial PCB, VPTB, and other such nicities. */
121 /* Also set up the real kernel PCB while we're at it. */ in switch_to_system_map()
122 init_thread_info.pcb.ptbr = newptbr; in switch_to_system_map()
123 init_thread_info.pcb.flags = 1; /* set FEN, clear everything else */ in switch_to_system_map()
124 original_pcb_ptr = load_PCB(&init_thread_info.pcb); in switch_to_system_map()
127 /* Save off the contents of the original PCB so that we can in switch_to_system_map()
130 Note that the PCB is supposed to be a physical address, but in switch_to_system_map()
H A Dfault.c45 struct pcb_struct *pcb; in __load_new_mm_context() local
50 pcb = &current_thread_info()->pcb; in __load_new_mm_context()
51 pcb->asn = mmc & HARDWARE_ASN_MASK; in __load_new_mm_context()
52 pcb->ptbr = ((unsigned long) next_mm->pgd - IDENT_ADDR) >> PAGE_SHIFT; in __load_new_mm_context()
54 __reload_thread(pcb); in __load_new_mm_context()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/s-nail/files/
H A Dmake-errors.patch15 mk/pcb-cc.sh | 2 +-
19 diff --git a/mk/pcb-cc.sh b/mk/pcb-cc.sh
21 --- a/mk/pcb-cc.sh
22 +++ b/mk/pcb-cc.sh
/OK3568_Linux_fs/kernel/arch/alpha/kernel/
H A Dprocess.c225 current_thread_info()->pcb.unique = 0; in flush_thread()
249 childti->pcb.ksp = (unsigned long) childstack; in copy_thread()
250 childti->pcb.flags = 1; /* set FEN, clear everything else */ in copy_thread()
260 childti->pcb.usp = 0; in copy_thread()
269 childti->pcb.unique = tls; in copy_thread()
272 childti->pcb.usp = usp ?: rdusp(); in copy_thread()
322 dest[30] = ti == current_thread_info() ? rdusp() : ti->pcb.usp; in dump_elf_thread()
328 dest[32] = ti->pcb.unique; in dump_elf_thread()
367 unsigned long fp, sp = task_thread_info(t)->pcb.ksp; in thread_saved_pc()
397 schedule_frame = ((unsigned long *)task_thread_info(p)->pcb.ksp)[6]; in get_wchan()
/OK3568_Linux_fs/kernel/arch/alpha/boot/
H A Dmain.c49 * PCB for that. The kernel proper should replace this PCB with
68 /* Create the dummy PCB. */ in pal_init()
82 * a1 = return address, but we give the asm the vaddr of the PCB in pal_init()
83 * a2 = physical addr of PCB in pal_init()
H A Dbootp.c55 * PCB for that. The kernel proper should replace this PCB with
74 /* Create the dummy PCB. */ in pal_init()
88 * a1 = return address, but we give the asm the vaddr of the PCB in pal_init()
89 * a2 = physical addr of PCB in pal_init()
/OK3568_Linux_fs/kernel/arch/alpha/include/asm/
H A Dmmu_context.h30 __reload_thread(struct pcb_struct *pcb) in __reload_thread() argument
35 a0 = virt_to_phys(pcb); in __reload_thread()
159 /* Always update the PCB ASN. Another thread may have allocated in ev5_switch_mm()
162 task_thread_info(next)->pcb.asn = mmc & HARDWARE_ASN_MASK; in ev5_switch_mm()
240 task_thread_info(tsk)->pcb.ptbr in init_new_context()
254 task_thread_info(tsk)->pcb.ptbr in enter_lazy_tlb()
/OK3568_Linux_fs/kernel/Documentation/admin-guide/media/
H A Dbttv.rst554 #) These cards have a number printed on the PCB just above the tuner metal box:
574 #) There is a print on the PCB:
654 - 50692 "TV/FM Tuner" (small PCB)
845 - TV-Boostar = Terratec Terra TV+ Version 1.0 (Bt848, tda9821) "ceb105.pcb"
852 - Face to Face Capture (Bt848 capture only) (PCB "VP-2848")
853 - Face To Face TV MAX (Bt848) (PCB "VP-8482 Rev1.3")
854 - Genie TV (Bt878) (PCB "VP-8790 Rev 2.1")
873 PCB PCI-ID Model-Name Eeprom Tuner Sound Country
942 - MD9592 = Avermedia TVphone98 (PCI_ID=1461:0003), PCB-Rev=M168II-B (w/TDA9873H)
962 - Terra TV+ Version 1.0 (Bt848), "ceb105.PCB" printed on the PCB, TDA9821
[all …]
/OK3568_Linux_fs/kernel/drivers/thermal/ti-soc-thermal/
H A Dti-thermal-common.c91 /* In case pcb zone is available, use the extrapolation rule with it */ in __ti_thermal_get_temp()
95 tmp -= pcb_temp; /* got a valid PCB temp */ in __ti_thermal_get_temp()
100 "Failed to read PCB state. Using defaults\n"); in __ti_thermal_get_temp()
159 data->pcb_tz = thermal_zone_get_zone_by_name("pcb"); in ti_thermal_build_data()
/OK3568_Linux_fs/kernel/net/nfc/
H A Ddigital_technology.c77 #define DIGITAL_ISO_DEP_PCB_TYPE(pcb) ((pcb) & 0xC0) argument
81 #define DIGITAL_ISO_DEP_BLOCK_HAS_DID(pcb) ((pcb) & 0x08) argument
170 u8 pcb; in digital_in_iso_dep_pull_sod() local
176 pcb = *skb->data; in digital_in_iso_dep_pull_sod()
177 block_type = DIGITAL_ISO_DEP_PCB_TYPE(pcb); in digital_in_iso_dep_pull_sod()
185 if (DIGITAL_ISO_DEP_BLOCK_HAS_DID(pcb)) { in digital_in_iso_dep_pull_sod()
186 pr_err("DID field in ISO_DEP PCB not supported\n"); in digital_in_iso_dep_pull_sod()
199 * Chaining not supported so skb->len + 1 PCB byte + 2 CRC bytes must in digital_in_iso_dep_push_sod()

12345678