/kernel/linux/linux-5.10/net/mac80211/ |
H A D | rx.c | 963 /* Get the BIP key index from MMIE; return -1 if this is not a BIP frame */ 1092 int index) in ieee80211_rx_reorder_ready() 1094 struct sk_buff_head *frames = &tid_agg_rx->reorder_buf[index]; in ieee80211_rx_reorder_ready() 1098 if (tid_agg_rx->reorder_buf_filtered & BIT_ULL(index)) in ieee80211_rx_reorder_ready() 1113 int index, in ieee80211_release_reorder_frame() 1116 struct sk_buff_head *skb_list = &tid_agg_rx->reorder_buf[index]; in ieee80211_release_reorder_frame() 1125 if (!ieee80211_rx_reorder_ready(tid_agg_rx, index)) { in ieee80211_release_reorder_frame() 1139 tid_agg_rx->reorder_buf_filtered &= ~BIT_ULL(index); in ieee80211_release_reorder_frame() 1148 int index; in ieee80211_release_reorder_frames() local 1153 index in ieee80211_release_reorder_frames() 1091 ieee80211_rx_reorder_ready(struct tid_ampdu_rx *tid_agg_rx, int index) ieee80211_rx_reorder_ready() argument 1111 ieee80211_release_reorder_frame(struct ieee80211_sub_if_data *sdata, struct tid_ampdu_rx *tid_agg_rx, int index, struct sk_buff_head *frames) ieee80211_release_reorder_frame() argument 1174 int index, i, j; ieee80211_sta_reorder_release() local 1257 int index; ieee80211_sta_manage_reorder_buf() local 4024 int index = (ssn + i) % tid_agg_rx->buf_size; ieee80211_mark_rx_ba_filtered_frames() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 2035 static bool i40e_active_tx_ring_index(struct i40e_vsi *vsi, u16 index) in i40e_active_tx_ring_index() argument 2038 return index < vsi->num_queue_pairs || in i40e_active_tx_ring_index() 2039 (index >= vsi->alloc_queue_pairs && in i40e_active_tx_ring_index() 2040 index < vsi->alloc_queue_pairs + vsi->num_queue_pairs); in i40e_active_tx_ring_index() 2043 return index < vsi->num_queue_pairs; in i40e_active_tx_ring_index() 2331 * @i: the index of traffic class in (veb->tc_stats) structure to copy 3365 u16 index; in i40e_get_ethtool_fdir_entry() local 3410 index = I40E_FILTER_PCTYPE_NONF_IPV4_SCTP; in i40e_get_ethtool_fdir_entry() 3413 index = I40E_FILTER_PCTYPE_NONF_IPV4_TCP; in i40e_get_ethtool_fdir_entry() 3416 index in i40e_get_ethtool_fdir_entry() 4061 int index = flex_pit_start + i; __i40e_reprogram_flex_pit() local 4301 u16 index, src_offset = 0; i40e_check_fdir_input_set() local [all...] |
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | rx.c | 974 /* Get the BIP key index from MMIE; return -1 if this is not a BIP frame */ 1080 int index) in ieee80211_rx_reorder_ready() 1082 struct sk_buff_head *frames = &tid_agg_rx->reorder_buf[index]; in ieee80211_rx_reorder_ready() 1087 tid_agg_rx->reorder_buf_filtered & BIT_ULL(index)) in ieee80211_rx_reorder_ready() 1102 int index, in ieee80211_release_reorder_frame() 1105 struct sk_buff_head *skb_list = &tid_agg_rx->reorder_buf[index]; in ieee80211_release_reorder_frame() 1114 if (!ieee80211_rx_reorder_ready(tid_agg_rx, index)) { in ieee80211_release_reorder_frame() 1129 tid_agg_rx->reorder_buf_filtered &= ~BIT_ULL(index); in ieee80211_release_reorder_frame() 1138 int index; in ieee80211_release_reorder_frames() local 1143 index in ieee80211_release_reorder_frames() 1079 ieee80211_rx_reorder_ready(struct tid_ampdu_rx *tid_agg_rx, int index) ieee80211_rx_reorder_ready() argument 1100 ieee80211_release_reorder_frame(struct ieee80211_sub_if_data *sdata, struct tid_ampdu_rx *tid_agg_rx, int index, struct sk_buff_head *frames) ieee80211_release_reorder_frame() argument 1164 int index, i, j; ieee80211_sta_reorder_release() local 1247 int index; ieee80211_sta_manage_reorder_buf() local 4332 int index = (ssn + i) % tid_agg_rx->buf_size; ieee80211_mark_rx_ba_filtered_frames() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | vc1_block.c | 226 index = 1 + get_vlc2(gb, ff_vc1_mv_diff_vlc[s->mv_table_index].table, \ 228 if (index > 36) { \ 230 index -= 37; \ 234 if (!index) { \ 236 } else if (index == 35) { \ 239 } else if (index == 36) { \ 244 index1 = index % 6; \ 253 index1 = index / 6; \ 266 int index, index1; in get_mvdata_interlaced() local 281 index in get_mvdata_interlaced() 516 int index, run, level, lst, sign; vc1_decode_ac_coeff() local 1299 int index, index1; /* LUT indexes */ vc1_decode_p_mb() local 1863 int index, index1; /* LUT indexes */ vc1_decode_b_mb() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | mxfenc.c | 79 int index; ///< index in mxf_essence_container_uls table member 133 enum ULIndex index; member 255 * SMPTE RP210 http://www.smpte-ra.org/mdd/index.html 402 uint8_t slice_count; ///< index slice count minus 1 (1 if no audio, 0 otherwise) 406 int last_key_index; ///< index of last key frame 422 int cbr_index; ///< use a constant bitrate index 490 * Get essence container ul index 497 return mxf_essence_mappings[i].index; in mxf_get_essence_container_ul_index() 856 avio_wb32(pb, st->index in mxf_write_track() [all...] |
/third_party/node/deps/v8/src/compiler/backend/loong64/ |
H A D | instruction-selector-loong64.cc | 357 Node* index = node->InputAt(1); in EmitLoad() local 360 if (m.HasResolvedValue() && g.IsIntegerConstant(index) && in EmitLoad() 363 g.GetIntegerConstantValue(index) + in EmitLoad() 377 if (g.CanBeImmediate(index, opcode)) { in EmitLoad() 380 g.UseRegister(base), g.UseImmediate(index)); in EmitLoad() 384 g.UseRegister(base), g.UseRegister(index)); in EmitLoad() 488 Node* index = node->InputAt(1); in VisitStore() local 506 // OutOfLineRecordWrite uses the index in an arithmetic instruction, so we in VisitStore() 508 if (g.CanBeImmediate(index, kLoong64Add_d)) { in VisitStore() 509 inputs[input_count++] = g.UseImmediate(index); in VisitStore() 1912 Node* index = node->InputAt(1); VisitAtomicLoad() local 1964 Node* index = node->InputAt(1); VisitAtomicStore() local 2034 Node* index = node->InputAt(1); VisitAtomicExchange() local 2058 Node* index = node->InputAt(1); VisitAtomicCompareExchange() local 2084 Node* index = node->InputAt(1); VisitAtomicBinop() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/prism54/ |
H A D | isl_ioctl.c | 1069 int index = (dwrq->flags & IW_ENCODE_INDEX) - 1; in prism54_set_encode() local 1073 /* get the current key index */ in prism54_set_encode() 1096 if ((index < 0) || (index > 3)) in prism54_set_encode() 1097 /* no index provided use the current one */ in prism54_set_encode() 1098 index = current_index; in prism54_set_encode() 1102 mgt_set_request(priv, DOT11_OID_DEFKEYX, index, in prism54_set_encode() 1110 if ((index == current_index) && (key.length > 0)) in prism54_set_encode() 1113 int index = (dwrq->flags & IW_ENCODE_INDEX) - 1; in prism54_set_encode() local 1114 if ((index > in prism54_set_encode() 1161 u32 devindex, index = (dwrq->flags & IW_ENCODE_INDEX) - 1; prism54_get_encode() local [all...] |
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | mxser.c | 651 if (mxser_set_baud_method[tty->index] == 0) in mxser_change_speed() 1010 line = tty->index; in mxser_open() 1081 if (tty->index == MXSER_PORTS || info == NULL) in mxser_close() 1219 if (tty->index == MXSER_PORTS) in mxser_get_serial_info() 1224 ss->line = tty->index, in mxser_get_serial_info() 1246 if (tty->index == MXSER_PORTS) in mxser_set_serial_info() 1347 if (tty->index == MXSER_PORTS) in mxser_tiocmget() 1374 if (tty->index == MXSER_PORTS) in mxser_tiocmset() 1686 if (tty->index == MXSER_PORTS) in mxser_ioctl() 1699 p = tty->index in mxser_ioctl() [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | amba-pl011.c | 2208 struct uart_amba_port *uap = amba_ports[co->index]; in pl011_console_write() 2301 if (co->index >= UART_NR) in pl011_console_setup() 2302 co->index = 0; in pl011_console_setup() 2303 uap = amba_ports[co->index]; in pl011_console_setup() 2341 * @idx: index from console command line 2389 co->index = i; in pl011_console_match() 2405 .index = -1, 2539 static int pl011_probe_dt_alias(int index, struct device *dev) in pl011_probe_dt_alias() argument 2544 int ret = index; in pl011_probe_dt_alias() 2556 ret = index; in pl011_probe_dt_alias() 2599 pl011_setup_port(struct device *dev, struct uart_amba_port *uap, struct resource *mmiobase, int index) pl011_setup_port() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | atmel_usba_udc.c | 585 if (((desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK) != ep->index) in usba_ep_enable() 586 || ep->index == 0 in usba_ep_enable() 648 usba_int_enb_set(udc, USBA_BF(EPT_INT, 1 << ep->index) | in usba_ep_enable() 649 USBA_BF(DMA_INT, 1 << ep->index)); in usba_ep_enable() 653 usba_int_enb_set(udc, USBA_BF(EPT_INT, 1 << ep->index)); in usba_ep_enable() 658 DBG(DBG_HW, "EPT_CFG%d after init: %#08lx\n", ep->index, in usba_ep_enable() 691 usba_int_enb_clear(udc, USBA_BF(EPT_INT, 1 << ep->index)); in usba_ep_disable() 896 usba_writel(udc, EPT_RST, 1 << ep->index); in usba_ep_dequeue() 974 usba_writel(udc, EPT_RST, 1 << ep->index); in usba_ep_fifo_flush() 1357 if (target->index ! in handle_ep0_setup() [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | amba-pl011.c | 2324 struct uart_amba_port *uap = amba_ports[co->index]; in pl011_console_write() 2417 if (co->index >= UART_NR) in pl011_console_setup() 2418 co->index = 0; in pl011_console_setup() 2419 uap = amba_ports[co->index]; in pl011_console_setup() 2457 * @idx: index from console command line 2505 co->index = i; in pl011_console_match() 2521 .index = -1, 2655 static int pl011_probe_dt_alias(int index, struct device *dev) in pl011_probe_dt_alias() argument 2660 int ret = index; in pl011_probe_dt_alias() 2672 ret = index; in pl011_probe_dt_alias() 2727 pl011_setup_port(struct device *dev, struct uart_amba_port *uap, struct resource *mmiobase, int index) pl011_setup_port() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
H A D | atmel_usba_udc.c | 585 if (((desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK) != ep->index) in usba_ep_enable() 586 || ep->index == 0 in usba_ep_enable() 648 usba_int_enb_set(udc, USBA_BF(EPT_INT, 1 << ep->index) | in usba_ep_enable() 649 USBA_BF(DMA_INT, 1 << ep->index)); in usba_ep_enable() 653 usba_int_enb_set(udc, USBA_BF(EPT_INT, 1 << ep->index)); in usba_ep_enable() 658 DBG(DBG_HW, "EPT_CFG%d after init: %#08lx\n", ep->index, in usba_ep_enable() 691 usba_int_enb_clear(udc, USBA_BF(EPT_INT, 1 << ep->index)); in usba_ep_disable() 899 usba_writel(udc, EPT_RST, 1 << ep->index); in usba_ep_dequeue() 977 usba_writel(udc, EPT_RST, 1 << ep->index); in usba_ep_fifo_flush() 1360 if (target->index ! in handle_ep0_setup() [all...] |
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | icm.c | 233 unsigned int port, unsigned int index, u32 *data) in pcie2cio_read() 239 cmd = index; in pcie2cio_read() 254 unsigned int port, unsigned int index, u32 data) in pcie2cio_write() 262 cmd = index; in pcie2cio_write() 389 int index; in icm_fr_get_switch_index() local 394 index = port >> ICM_PORT_INDEX_SHIFT; in icm_fr_get_switch_index() 395 return index != 0xff ? index : 0; in icm_fr_get_switch_index() 405 int ret, index; in icm_fr_get_route() local 418 index in icm_fr_get_route() 232 pcie2cio_read(struct icm *icm, enum tb_cfg_space cs, unsigned int port, unsigned int index, u32 *data) pcie2cio_read() argument 253 pcie2cio_write(struct icm *icm, enum tb_cfg_space cs, unsigned int port, unsigned int index, u32 data) pcie2cio_write() argument [all...] |
/kernel/linux/linux-6.6/drivers/clk/qcom/ |
H A D | gcc-msm8917.c | 63 .index = DT_XO, 123 .index = DT_XO, 154 .index = DT_XO, 186 .index = DT_XO, 217 { .index = DT_XO }, 229 { .index = DT_XO }, 232 { .index = DT_SLEEP_CLK }, 243 { .index = DT_XO }, 531 { .index = DT_XO }, 532 { .index [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_resource.h | 94 unsigned int index); 179 #define CS_COMMON_REG_LIST_DCN3_0_RI(index, pllid) \ 181 SRI_ARR_ALPHABET(PIXCLK_RESYNC_CNTL, PHYPLL, index, pllid), \ 182 SRII_ARR_2(PHASE, DP_DTO, 0, index), \ 183 SRII_ARR_2(PHASE, DP_DTO, 1, index), \ 184 SRII_ARR_2(PHASE, DP_DTO, 2, index), \ 185 SRII_ARR_2(PHASE, DP_DTO, 3, index), \ 186 SRII_ARR_2(MODULO, DP_DTO, 0, index), \ 187 SRII_ARR_2(MODULO, DP_DTO, 1, index), \ 188 SRII_ARR_2(MODULO, DP_DTO, 2, index), \ [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | ov8865.c | 2214 unsigned int index) in ov8865_test_pattern_configure() 2216 if (index >= ARRAY_SIZE(ov8865_test_pattern_bits)) in ov8865_test_pattern_configure() 2220 ov8865_test_pattern_bits[index]); in ov8865_test_pattern_configure() 2461 unsigned int index; in ov8865_s_ctrl() local 2502 index = (unsigned int)ctrl->val; in ov8865_s_ctrl() 2503 return ov8865_test_pattern_configure(sensor, index); in ov8865_s_ctrl() 2678 if (code_enum->index >= ARRAY_SIZE(ov8865_mbus_codes)) in ov8865_enum_mbus_code() 2681 code_enum->code = ov8865_mbus_codes[code_enum->index]; in ov8865_enum_mbus_code() 2733 unsigned int index; in ov8865_set_fmt() local 2745 for (index in ov8865_set_fmt() 2213 ov8865_test_pattern_configure(struct ov8865_sensor *sensor, unsigned int index) ov8865_test_pattern_configure() argument [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | md-bitmap.c | 145 struct page *page, unsigned long index, int size) in read_sb_page() 149 index * (PAGE_SIZE / SECTOR_SIZE); in read_sb_page() 351 static int read_file_page(struct file *file, unsigned long index, in read_file_page() argument 361 (unsigned long long)index << PAGE_SHIFT); in read_file_page() 369 blk_cur = index << (PAGE_SHIFT - inode->i_blkbits); in read_file_page() 409 (unsigned long long)index << PAGE_SHIFT, in read_file_page() 417 static int read_file_page(struct file *file, unsigned long index, in read_file_page() argument 780 /* calculate the index of the page that contains this bit */ 953 unsigned long index = file_page_index(store, chunk); in md_bitmap_file_set_bit() local 956 index in md_bitmap_file_set_bit() 144 read_sb_page(struct mddev *mddev, loff_t offset, struct page *page, unsigned long index, int size) read_sb_page() argument 984 unsigned long index = file_page_index(store, chunk); md_bitmap_file_clear_bit() local [all...] |
/kernel/linux/linux-6.6/sound/soc/ |
H A D | soc-core.c | 2287 template.index = 0; in snd_soc_cnew() 2886 "ASoC: Property '%s' index %d read error:%d\n", in snd_soc_of_parse_audio_simple_widgets() 2911 "ASoC: Property '%s' index %d read error:%d\n", in snd_soc_of_parse_audio_simple_widgets() 3088 "ASoC: Property '%s' index %d could not be read: %d\n", in snd_soc_of_parse_audio_routing() 3096 "ASoC: Property '%s' index %d could not be read: %d\n", in snd_soc_of_parse_audio_routing() 3437 int index) in snd_soc_of_get_dlc() 3446 "#sound-dai-cells", index, args); in snd_soc_of_get_dlc() 3468 const char **dai_name, int index) in snd_soc_of_get_dai_name() 3471 int ret = snd_soc_of_get_dlc(of_node, NULL, &dlc, index); in snd_soc_of_get_dai_name() 3542 int index; in snd_soc_of_put_dai_link_codecs() local 3434 snd_soc_of_get_dlc(struct device_node *of_node, struct of_phandle_args *args, struct snd_soc_dai_link_component *dlc, int index) snd_soc_of_get_dlc() argument 3467 snd_soc_of_get_dai_name(struct device_node *of_node, const char **dai_name, int index) snd_soc_of_get_dai_name() argument 3568 int index, ret; snd_soc_of_get_dai_link_codecs() local 3599 int index; snd_soc_of_put_dai_link_cpus() local 3622 int index, ret; snd_soc_of_get_dai_link_cpus() local [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta_clear.c | 439 uint32_t samples, int index, bool unrestricted, VkPipeline *pipeline) in create_depthstencil_pipeline() 498 extra.db_depth_clear = index == DEPTH_CLEAR_SLOW ? false : true; in create_depthstencil_pipeline() 501 extra.db_stencil_clear = index == DEPTH_CLEAR_SLOW ? false : true; in create_depthstencil_pipeline() 549 int index = fast ? DEPTH_CLEAR_FAST : DEPTH_CLEAR_SLOW; in pick_depthstencil_pipeline() local 555 ? &meta_state->ds_clear[samples_log2].depthstencil_unrestricted_pipeline[index] in pick_depthstencil_pipeline() 556 : &meta_state->ds_clear[samples_log2].depthstencil_pipeline[index]; in pick_depthstencil_pipeline() 560 ? &meta_state->ds_clear[samples_log2].depth_only_unrestricted_pipeline[index] in pick_depthstencil_pipeline() 561 : &meta_state->ds_clear[samples_log2].depth_only_pipeline[index]; in pick_depthstencil_pipeline() 565 ? &meta_state->ds_clear[samples_log2].stencil_only_unrestricted_pipeline[index] in pick_depthstencil_pipeline() 566 : &meta_state->ds_clear[samples_log2].stencil_only_pipeline[index]; in pick_depthstencil_pipeline() 438 create_depthstencil_pipeline(struct radv_device *device, VkImageAspectFlags aspects, uint32_t samples, int index, bool unrestricted, VkPipeline *pipeline) create_depthstencil_pipeline() argument 1575 int index = desc->swizzle[i] - PIPE_SWIZZLE_X; gfx8_get_fast_clear_parameters() local 1666 int index = desc->swizzle[i] - PIPE_SWIZZLE_X; gfx11_get_fast_clear_parameters() local [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | js-create-lowering.cc | 1392 for (int index = NameDictionary::kElementsStartIndex; index < length; in ReduceJSCreateObject() 1393 index++) { in ReduceJSCreateObject() 1394 a.Store(AccessBuilder::ForFixedArraySlot(index, kNoWriteBarrier), in ReduceJSCreateObject() 1635 Node* index = jsgraph()->Constant(i); in AllocateElements() local 1636 a.Store(access, index, value); in AllocateElements() 1660 Node* index = jsgraph()->Constant(i); in AllocateElements() local 1661 a.Store(access, index, values[i]); in AllocateElements() 1727 FieldIndex index = boilerplate_map.GetFieldIndexFor(i); in TryAllocateFastLiteral() local 1730 index in TryAllocateFastLiteral() [all...] |
/third_party/node/deps/v8/src/codegen/arm64/ |
H A D | macro-assembler-arm64.h | 16 #include "src/objects/tagged-index.h" 187 void Mov(const VRegister& vd, const VRegister& vn, int index) { in Mov() argument 189 mov(vd, vn, index); in Mov() 1177 void Dup(const VRegister& vd, const VRegister& vn, int index) { in Dup() argument 1179 dup(vd, vn, index); in Dup() 1284 int index) { in Ext() 1286 ext(vd, vn, vm, index); in Ext() 1301 void LoadRoot(Register destination, RootIndex index) final; 1302 void PushRoot(RootIndex index); 1410 const Register& base, const Register& index, 1283 Ext(const VRegister& vd, const VRegister& vn, const VRegister& vm, int index) Ext() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
H A D | capture_gles_3_1_autogen.cpp | 286 GLuint index, in CaptureGetBooleani_v() 292 paramBuffer.addValueParam("index", ParamType::TGLuint, index); in CaptureGetBooleani_v() 298 CaptureGetBooleani_v_data(glState, isCallValid, target, index, data, &dataParam); in CaptureGetBooleani_v() 345 GLuint index, in CaptureGetMultisamplefv() 351 paramBuffer.addValueParam("index", ParamType::TGLuint, index); in CaptureGetMultisamplefv() 357 CaptureGetMultisamplefv_val(glState, isCallValid, pname, index, val, &valParam); in CaptureGetMultisamplefv() 557 GLuint index, in CaptureGetProgramResourceName() 567 paramBuffer.addValueParam("index", ParamTyp in CaptureGetProgramResourceName() 283 CaptureGetBooleani_v(const State &glState, bool isCallValid, GLenum target, GLuint index, GLboolean *data) CaptureGetBooleani_v() argument 342 CaptureGetMultisamplefv(const State &glState, bool isCallValid, GLenum pname, GLuint index, GLfloat *val) CaptureGetMultisamplefv() argument 553 CaptureGetProgramResourceName(const State &glState, bool isCallValid, ShaderProgramID programPacked, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name) CaptureGetProgramResourceName() argument 604 CaptureGetProgramResourceiv(const State &glState, bool isCallValid, ShaderProgramID programPacked, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params) CaptureGetProgramResourceiv() argument [all...] |
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/ |
H A D | qm.c | 313 __le16 index; member 326 u8 cmd, u16 index, u8 priority); 542 static void qm_db_v1(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db_v1() argument 547 ((u64)index << QM_DB_INDEX_SHIFT_V1) | in qm_db_v1() 553 static void qm_db_v2(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db_v2() argument 566 ((u64)index << QM_DB_INDEX_SHIFT_V2) | in qm_db_v2() 572 static void qm_db(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db() argument 574 dev_dbg(&qm->pdev->dev, "QM doorbell request: qn=%u, cmd=%u, index=%u\n", in qm_db() 575 qn, cmd, index); in qm_db() 577 qm->ops->qm_db(qm, qn, cmd, index, priorit in qm_db() 914 enum qm_debug_file index = file->index; qm_debug_read() local 940 enum qm_debug_file index = file->index; qm_debug_write() local 1520 qm_create_debugfs_file(struct hisi_qm *qm, enum qm_debug_file index) qm_create_debugfs_file() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_device.c | 494 * @index: doorbell index 497 * requested doorbell index (CIK). 499 u32 amdgpu_mm_rdoorbell(struct amdgpu_device *adev, u32 index) in amdgpu_mm_rdoorbell() argument 504 if (index < adev->doorbell.num_doorbells) { in amdgpu_mm_rdoorbell() 505 return readl(adev->doorbell.ptr + index); in amdgpu_mm_rdoorbell() 507 DRM_ERROR("reading beyond doorbell aperture: 0x%08x!\n", index); in amdgpu_mm_rdoorbell() 516 * @index: doorbell index 520 * requested doorbell index (CI 522 amdgpu_mm_wdoorbell(struct amdgpu_device *adev, u32 index, u32 v) amdgpu_mm_wdoorbell() argument 543 amdgpu_mm_rdoorbell64(struct amdgpu_device *adev, u32 index) amdgpu_mm_rdoorbell64() argument 566 amdgpu_mm_wdoorbell64(struct amdgpu_device *adev, u32 index, u64 v) amdgpu_mm_wdoorbell64() argument 3097 int index = 0; amdgpu_device_get_job_timeout_settings() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi_tgt/ |
H A D | ibmvscsi_tgt.c | 279 vscsi->cmd_q.index = 0; in ibmvscsis_free_command_q() 294 * @mask: Mask to use in case index wraps 295 * @current_index: Current index into command queue 362 crq = ibmvscsis_cmd_q_dequeue(vscsi->cmd_q.mask, &vscsi->cmd_q.index, in ibmvscsis_check_init_msg() 377 &vscsi->cmd_q.index, in ibmvscsis_check_init_msg() 981 crq = vscsi->cmd_q.base_addr + vscsi->cmd_q.index; in ibmvscsis_ready_for_suspend() 1174 dev_dbg(&vscsi->dev, "poll_cmd_q: flags 0x%x, state 0x%hx, q index %ud\n", in ibmvscsis_poll_cmd_q() 1175 vscsi->flags, vscsi->state, vscsi->cmd_q.index); in ibmvscsis_poll_cmd_q() 1178 crq = vscsi->cmd_q.base_addr + vscsi->cmd_q.index; in ibmvscsis_poll_cmd_q() 1184 vscsi->cmd_q.index in ibmvscsis_poll_cmd_q() [all...] |