Home
last modified time | relevance | path

Searched refs:index (Results 251 – 275 of 15619) sorted by relevance

1...<<11121314151617181920>>...625

/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/core/
H A Devent.c26 nvkm_event_put(struct nvkm_event *event, u32 types, int index) in nvkm_event_put() argument
31 if (--event->refs[index * event->types_nr + type] == 0) { in nvkm_event_put()
33 event->func->fini(event, 1 << type, index); in nvkm_event_put()
39 nvkm_event_get(struct nvkm_event *event, u32 types, int index) in nvkm_event_get() argument
44 if (++event->refs[index * event->types_nr + type] == 1) { in nvkm_event_get()
46 event->func->init(event, 1 << type, index); in nvkm_event_get()
52 nvkm_event_send(struct nvkm_event *event, u32 types, int index, in nvkm_event_send() argument
58 if (!event->refs || WARN_ON(index >= event->index_nr)) in nvkm_event_send()
63 if (notify->index == index && (notify->types & types)) { in nvkm_event_send()
/OK3568_Linux_fs/kernel/include/linux/fsl/bestcomm/
H A Dbestcomm.h55 unsigned short index; member
108 return ((tsk->index + 1) == tsk->num_bd) ? 0 : tsk->index + 1; in _bcom_next_index()
129 return tsk->index == tsk->outdex; in bcom_queue_empty()
148 *bcom_get_bd(struct bcom_task *tsk, unsigned int index) in bcom_get_bd() argument
152 return ((void *)tsk->bd) + (index * tsk->bd_size); in bcom_get_bd()
181 bd = bcom_get_bd(tsk, tsk->index); in bcom_prepare_next_buffer()
189 struct bcom_bd *bd = bcom_get_bd(tsk, tsk->index); in bcom_submit_next_buffer()
191 tsk->cookie[tsk->index] = cookie; in bcom_submit_next_buffer()
194 tsk->index = _bcom_next_index(tsk); in bcom_submit_next_buffer()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-sunxi/
H A Dusb_phy.h15 void sunxi_usb_phy_init(int index);
16 void sunxi_usb_phy_exit(int index);
17 void sunxi_usb_phy_power_on(int index);
18 void sunxi_usb_phy_power_off(int index);
19 int sunxi_usb_phy_vbus_detect(int index);
20 int sunxi_usb_phy_id_detect(int index);
21 void sunxi_usb_phy_enable_squelch_detect(int index, int enable);
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/hal_hci/
H A Dhal_usb.c270 u16 index; in usb_write_async() local
275 index = REALTEK_USB_VENQT_CMD_IDX;/* n/a */ in usb_write_async()
279 ret = _usbctrl_vendorreq_async_write(udev, request, wvalue, index, pdata, len, requesttype); in usb_write_async()
329 u16 index; in usb_read8() local
336 index = 0;/* n/a */ in usb_read8()
347 usbctrl_vendorreq(pintfhdl, request, wvalue, index, in usb_read8()
359 u16 index; in usb_read16() local
366 index = 0;/* n/a */ in usb_read16()
377 usbctrl_vendorreq(pintfhdl, request, wvalue, index, in usb_read16()
390 u16 index; in usb_read32() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/hal_hci/
H A Dhal_usb.c267 u16 index; in usb_write_async() local
272 index = REALTEK_USB_VENQT_CMD_IDX;/* n/a */ in usb_write_async()
276 ret = _usbctrl_vendorreq_async_write(udev, request, wvalue, index, pdata, len, requesttype); in usb_write_async()
326 u16 index; in usb_read8() local
333 index = 0;/* n/a */ in usb_read8()
344 usbctrl_vendorreq(pintfhdl, request, wvalue, index, in usb_read8()
356 u16 index; in usb_read16() local
363 index = 0;/* n/a */ in usb_read16()
374 usbctrl_vendorreq(pintfhdl, request, wvalue, index, in usb_read16()
387 u16 index; in usb_read32() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/hal_hci/
H A Dhal_usb.c267 u16 index; in usb_write_async() local
272 index = REALTEK_USB_VENQT_CMD_IDX;/* n/a */ in usb_write_async()
276 ret = _usbctrl_vendorreq_async_write(udev, request, wvalue, index, pdata, len, requesttype); in usb_write_async()
326 u16 index; in usb_read8() local
333 index = 0;/* n/a */ in usb_read8()
344 usbctrl_vendorreq(pintfhdl, request, wvalue, index, in usb_read8()
356 u16 index; in usb_read16() local
363 index = 0;/* n/a */ in usb_read16()
374 usbctrl_vendorreq(pintfhdl, request, wvalue, index, in usb_read16()
387 u16 index; in usb_read32() local
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/misc/sisusbvga/
H A Dsisusb_init.c73 unsigned short index, unsigned short data) in SiS_SetReg() argument
75 sisusb_setidxreg(SiS_Pr->sisusb, port, index, data); in SiS_SetReg()
86 SiS_GetReg(struct SiS_Private *SiS_Pr, unsigned long port, unsigned short index) in SiS_GetReg() argument
90 sisusb_getidxreg(SiS_Pr->sisusb, port, index, &data); in SiS_GetReg()
107 unsigned short index, unsigned short DataAND, in SiS_SetRegANDOR() argument
110 sisusb_setidxregandor(SiS_Pr->sisusb, port, index, DataAND, DataOR); in SiS_SetRegANDOR()
115 unsigned short index, unsigned short DataAND) in SiS_SetRegAND() argument
117 sisusb_setidxregand(SiS_Pr->sisusb, port, index, DataAND); in SiS_SetRegAND()
122 unsigned short index, unsigned short DataOR) in SiS_SetRegOR() argument
124 sisusb_setidxregor(SiS_Pr->sisusb, port, index, DataOR); in SiS_SetRegOR()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/phydm/rtl8723b/
H A Dhalphyrf_8723b_ce.c2426 u4Byte tmpReg, index, offset, apkbound; in phy_APCalibrate_8723B() local
2544 for(index = 0; index < PATH_NUM; index ++) in phy_APCalibrate_8723B()
2546 APK_offset[index] = APK_normal_offset[index]; in phy_APCalibrate_8723B()
2547 APK_value[index] = APK_normal_value[index]; in phy_APCalibrate_8723B()
2548 AFE_on_off[index] = 0x6fdb25a4; in phy_APCalibrate_8723B()
2551 for(index = 0; index < APK_BB_REG_NUM; index ++) in phy_APCalibrate_8723B()
2555 APK_RF_init_value[path][index] = APK_normal_RF_init_value[path][index]; in phy_APCalibrate_8723B()
2556 APK_RF_value_0[path][index] = APK_normal_RF_value_0[path][index]; in phy_APCalibrate_8723B()
2558 BB_AP_MODE[index] = BB_normal_AP_MODE[index]; in phy_APCalibrate_8723B()
2564 for(index = 0; index < APK_BB_REG_NUM ; index++) in phy_APCalibrate_8723B()
[all …]
H A Dhalphyrf_8723b_win.c2430 u4Byte tmpReg, index, offset, apkbound; in phy_APCalibrate_8723B() local
2548 for(index = 0; index < PATH_NUM; index ++) in phy_APCalibrate_8723B()
2550 APK_offset[index] = APK_normal_offset[index]; in phy_APCalibrate_8723B()
2551 APK_value[index] = APK_normal_value[index]; in phy_APCalibrate_8723B()
2552 AFE_on_off[index] = 0x6fdb25a4; in phy_APCalibrate_8723B()
2555 for(index = 0; index < APK_BB_REG_NUM; index ++) in phy_APCalibrate_8723B()
2559 APK_RF_init_value[path][index] = APK_normal_RF_init_value[path][index]; in phy_APCalibrate_8723B()
2560 APK_RF_value_0[path][index] = APK_normal_RF_value_0[path][index]; in phy_APCalibrate_8723B()
2562 BB_AP_MODE[index] = BB_normal_AP_MODE[index]; in phy_APCalibrate_8723B()
2568 for(index = 0; index < APK_BB_REG_NUM ; index++) in phy_APCalibrate_8723B()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/hal_hci/
H A Dhal_sdio.c26 int index = 0, i = 0; in dump_mac_page0() local
30 for (index = 0 ; index < 0x100 ; index += 16) { in dump_mac_page0()
33 "0x%02x: ", index); in dump_mac_page0()
39 rtw_read8(padapter, index + i)); in dump_mac_page0()
61 int index = 0; in sdio_power_on_check() local
83 while (index < 100) { in sdio_power_on_check()
89 RTW_INFO("%s: 0x100 cmd52 and cmd53 is not the same(index:%d).\n", __func__, index); in sdio_power_on_check()
91 index++; in sdio_power_on_check()
97 index = 0; in sdio_power_on_check()
98 while (index < 100) { in sdio_power_on_check()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/sensors/lsensor/
H A Dls_stk3171.c177 unsigned char index = 0; in light_report_value() local
179 index = 0;goto report; in light_report_value()
182 index = 1;goto report; in light_report_value()
185 index = 2;goto report; in light_report_value()
188 index = 3;goto report; in light_report_value()
191 index = 4;goto report; in light_report_value()
194 index = 5;goto report; in light_report_value()
197 index = 6;goto report; in light_report_value()
200 index = 7;goto report; in light_report_value()
204 input_report_abs(input, ABS_MISC, index); in light_report_value()
[all …]
H A Dls_em3071x.c158 unsigned char index = 0; in light_report_value() local
161 index = 0; in light_report_value()
164 index = 1; in light_report_value()
167 index = 2; in light_report_value()
170 index = 3; in light_report_value()
173 index = 4; in light_report_value()
176 index = 5; in light_report_value()
179 index = 6; in light_report_value()
182 index = 7; in light_report_value()
187 input_report_abs(input, ABS_MISC, index); in light_report_value()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dcacheinfo.c34 struct cache_index_dir *index; /* list of index objects */ member
525 struct cache_index_dir *index; in cache_index_release() local
527 index = kobj_to_cache_index_dir(kobj); in cache_index_release()
530 index->cache->level, cache_type_string(index->cache)); in cache_index_release()
532 kfree(index); in cache_index_release()
546 struct cache_index_dir *index; in index_kobj_to_cache() local
548 index = kobj_to_cache_index_dir(k); in index_kobj_to_cache()
550 return index->cache; in index_kobj_to_cache()
632 struct cache_index_dir *index; in level_show() local
635 index = kobj_to_cache_index_dir(k); in level_show()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/amd/renoir/
H A Drn-pci-acp3x.c209 int ret, index; in snd_rn_acp_probe() local
312 for (index = 0; index < ACP_DEVS; index++) { in snd_rn_acp_probe()
313 adata->pdev[index] = in snd_rn_acp_probe()
314 platform_device_register_full(&pdevinfo[index]); in snd_rn_acp_probe()
315 if (IS_ERR(adata->pdev[index])) { in snd_rn_acp_probe()
317 pdevinfo[index].name); in snd_rn_acp_probe()
318 ret = PTR_ERR(adata->pdev[index]); in snd_rn_acp_probe()
329 for (index = 0; index < ACP_DEVS; index++) in snd_rn_acp_probe()
330 platform_device_unregister(adata->pdev[index]); in snd_rn_acp_probe()
383 int ret, index; in snd_rn_acp_remove() local
[all …]
/OK3568_Linux_fs/kernel/drivers/vhost/
H A Dtest.c147 static void vhost_test_flush_vq(struct vhost_test *n, int index) in vhost_test_flush_vq() argument
149 vhost_poll_flush(&n->vqs[index].poll); in vhost_test_flush_vq()
177 int r, index; in vhost_test_run() local
187 for (index = 0; index < n->dev.nvqs; ++index) { in vhost_test_run()
189 if (!vhost_vq_access_ok(&n->vqs[index])) { in vhost_test_run()
195 for (index = 0; index < n->dev.nvqs; ++index) { in vhost_test_run()
196 vq = n->vqs + index; in vhost_test_run()
204 r = vhost_vq_init_access(&n->vqs[index]); in vhost_test_run()
212 vhost_test_flush_vq(n, index); in vhost_test_run()
266 static long vhost_test_set_backend(struct vhost_test *n, unsigned index, int fd) in vhost_test_set_backend() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/vfio/platform/
H A Dvfio_platform_common.c333 if (info.index >= vdev->num_regions) in vfio_platform_ioctl()
337 info.offset = VFIO_PLATFORM_INDEX_TO_OFFSET(info.index); in vfio_platform_ioctl()
338 info.size = vdev->regions[info.index].size; in vfio_platform_ioctl()
339 info.flags = vdev->regions[info.index].flags; in vfio_platform_ioctl()
355 if (info.index >= vdev->num_irqs) in vfio_platform_ioctl()
358 info.flags = vdev->irqs[info.index].flags; in vfio_platform_ioctl()
359 info.count = vdev->irqs[info.index].count; in vfio_platform_ioctl()
389 ret = vfio_platform_set_irqs_ioctl(vdev, hdr.flags, hdr.index, in vfio_platform_ioctl()
462 unsigned int index = VFIO_PLATFORM_OFFSET_TO_INDEX(*ppos); in vfio_platform_read() local
465 if (index >= vdev->num_regions) in vfio_platform_read()
[all …]
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Darraymap.c178 u32 index = *(u32 *)key; in array_map_lookup_elem() local
180 if (unlikely(index >= array->map.max_entries)) in array_map_lookup_elem()
183 return array->value + array->elem_size * (index & array->index_mask); in array_map_lookup_elem()
224 const int index = BPF_REG_2; in array_map_gen_lookup() local
230 *insn++ = BPF_LDX_MEM(BPF_W, ret, index, 0); in array_map_gen_lookup()
253 u32 index = *(u32 *)key; in percpu_array_map_lookup_elem() local
255 if (unlikely(index >= array->map.max_entries)) in percpu_array_map_lookup_elem()
258 return this_cpu_ptr(array->pptrs[index & array->index_mask]); in percpu_array_map_lookup_elem()
264 u32 index = *(u32 *)key; in bpf_percpu_array_copy() local
269 if (unlikely(index >= array->map.max_entries)) in bpf_percpu_array_copy()
[all …]
/OK3568_Linux_fs/kernel/arch/s390/crypto/
H A Dsha_common.c20 unsigned int index, n; in s390_sha_update() local
23 index = ctx->count % bsize; in s390_sha_update()
26 if ((index + len) < bsize) in s390_sha_update()
30 if (index) { in s390_sha_update()
31 memcpy(ctx->buf + index, data, bsize - index); in s390_sha_update()
33 data += bsize - index; in s390_sha_update()
34 len -= bsize - index; in s390_sha_update()
35 index = 0; in s390_sha_update()
47 memcpy(ctx->buf + index , data, len); in s390_sha_update()
/OK3568_Linux_fs/kernel/drivers/hid/
H A Dhid-zydacron.c115 unsigned short index; in zc_raw_event() local
120 for (index = 0; index < 4; index++) { in zc_raw_event()
121 key = zc->last_key[index]; in zc_raw_event()
124 zc->last_key[index] = 0; in zc_raw_event()
135 index = 0; in zc_raw_event()
139 index = 1; in zc_raw_event()
143 index = 2; in zc_raw_event()
147 index = 3; in zc_raw_event()
153 zc->last_key[index] = key; in zc_raw_event()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/index/detail/rtree/rstar/
H A Dredistribute_elements.hpp25 namespace boost { namespace geometry { namespace index { namespace
37 typedef index::detail::bounded_view<indexable_type, bounds_type> bounded_view_type;
96 typedef typename index::detail::default_margin_result<Box>::type margin_type;
97 typedef typename index::detail::default_content_result<Box>::type content_type;
147 … sum_of_margins += index::detail::comparable_margin(box1) + index::detail::comparable_margin(box2); in apply()
149 content_type ovl = index::detail::intersection_content(box1, box2); in apply()
150 content_type con = index::detail::content(box1) + index::detail::content(box2); in apply()
174 typedef typename index::detail::default_margin_result<Box>::type margin_type;
175 typedef typename index::detail::default_content_result<Box>::type content_type;
229 typedef typename index::detail::default_margin_result<Box>::type margin_type;
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/microchip/
H A Dlan743x_main.c420 int index; in lan743x_intr_get_vector_flags() local
422 for (index = 0; index < LAN743X_MAX_VECTOR_COUNT; index++) { in lan743x_intr_get_vector_flags()
423 if (adapter->intr.vector_list[index].int_mask & int_mask) in lan743x_intr_get_vector_flags()
424 return adapter->intr.vector_list[index].flags; in lan743x_intr_get_vector_flags()
432 int index = 0; in lan743x_intr_close() local
437 for (index = 0; index < LAN743X_MAX_VECTOR_COUNT; index++) { in lan743x_intr_close()
438 if (intr->flags & INTR_FLAG_IRQ_REQUESTED(index)) { in lan743x_intr_close()
439 lan743x_intr_unregister_isr(adapter, index); in lan743x_intr_close()
440 intr->flags &= ~INTR_FLAG_IRQ_REQUESTED(index); in lan743x_intr_close()
463 int index = 0; in lan743x_intr_open() local
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_doorbell.h292 u32 amdgpu_mm_rdoorbell(struct amdgpu_device *adev, u32 index);
293 void amdgpu_mm_wdoorbell(struct amdgpu_device *adev, u32 index, u32 v);
294 u64 amdgpu_mm_rdoorbell64(struct amdgpu_device *adev, u32 index);
295 void amdgpu_mm_wdoorbell64(struct amdgpu_device *adev, u32 index, u64 v);
297 #define RDOORBELL32(index) amdgpu_mm_rdoorbell(adev, (index)) argument
298 #define WDOORBELL32(index, v) amdgpu_mm_wdoorbell(adev, (index), (v)) argument
299 #define RDOORBELL64(index) amdgpu_mm_rdoorbell64(adev, (index)) argument
300 #define WDOORBELL64(index, v) amdgpu_mm_wdoorbell64(adev, (index), (v)) argument
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/
H A Doccupation_info.hpp140 inline void move_index(Pieces const& pieces, signed_size_type& index, signed_size_type& piece_index… in move_index() argument
147 index >= 0 in move_index()
148 && index < static_cast<signed_size_type>(boost::size(pieces[piece_index].robust_ring))); in move_index()
154 index += direction; in move_index()
155 if (direction == -1 && index < 0) in move_index()
162 index = boost::size(pieces[piece_index].robust_ring) - 1; in move_index()
165 && index >= static_cast<signed_size_type>(boost::size(pieces[piece_index].robust_ring))) in move_index()
172 index = 0; in move_index()
199 signed_size_type index = turn.operations[operation_index].index_in_robust_ring; in add_incoming_and_outgoing_angles() local
201 while(comparator(pieces[piece_index].robust_ring[index], intersection_point)) in add_incoming_and_outgoing_angles()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/hwi/isp20/
H A DTnrStatsStream.cpp68 …kg_indx=%d,g_indx=%d,frame_id=%d\n",__FUNCTION__, stats->gainkg.index, stats->gain.index, stats->f… in new_video_buffer()
69 gainkg->set_buff_info(get_fd_by_index(stats->gainkg.index), stats->gainkg.size); in new_video_buffer()
86 gainwr->set_buff_info(get_fd_by_index(stats->gain.index), stats->gain.size); in poll_buffer_ready()
97 int TnrStatsStream::get_fd_by_index(uint32_t index) in get_fd_by_index() argument
100 if (index < 0) in get_fd_by_index()
103 if (index == (int)_idx_array[i]) { in get_fd_by_index()
111 it = _idx_fd_map.find(index); in get_fd_by_index()
132 LOGE("tnrbuf_fd[%u]:%d is illegal!",isppbuf_fd.index[i],isppbuf_fd.dmafd[i]); in init_tnrbuf()
137 _idx_array[i] = isppbuf_fd.index[i]; in init_tnrbuf()
138 _idx_fd_map[isppbuf_fd.index[i]] = isppbuf_fd.dmafd[i]; in init_tnrbuf()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/pseries/
H A Dnvram.c37 static ssize_t pSeries_nvram_read(char *buf, size_t count, loff_t *index) in pSeries_nvram_read() argument
49 if (*index >= nvram_size) in pSeries_nvram_read()
52 i = *index; in pSeries_nvram_read()
77 *index = i; in pSeries_nvram_read()
81 static ssize_t pSeries_nvram_write(char *buf, size_t count, loff_t *index) in pSeries_nvram_write() argument
92 if (*index >= nvram_size) in pSeries_nvram_write()
95 i = *index; in pSeries_nvram_write()
119 *index = i; in pSeries_nvram_write()
168 if (rtas_log_partition.index == -1) in nvram_clear_error_log()
171 tmp_index = rtas_log_partition.index; in nvram_clear_error_log()
[all …]

1...<<11121314151617181920>>...625