/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | imx219.c | 716 if (code->index >= (ARRAY_SIZE(codes) / 4)) in imx219_enum_mbus_code() 719 code->code = imx219_get_format_code(imx219, codes[code->index * 4]); in imx219_enum_mbus_code() 730 if (fse->index >= ARRAY_SIZE(supported_modes)) in imx219_enum_frame_size() 736 fse->min_width = supported_modes[fse->index].width; in imx219_enum_frame_size() 738 fse->min_height = supported_modes[fse->index].height; in imx219_enum_frame_size()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_rule.c | 256 mlx5dr_dbg(matcher->tbl->dmn, "Failed adding collision entry, index: %d\n", in dr_rule_rehash_copy_ste() 784 int index; in dr_rule_handle_ste_branch() local 790 index = mlx5dr_ste_calc_hash_index(hw_ste, cur_htbl); in dr_rule_handle_ste_branch() 791 miss_list = &cur_htbl->chunk->miss_list[index]; in dr_rule_handle_ste_branch() 792 ste = &cur_htbl->ste_arr[index]; in dr_rule_handle_ste_branch() 801 /* Hash table index in use, check if this ste is in the miss list */ in dr_rule_handle_ste_branch() 815 /* Hash table index in use, try to resize of the hash */ in dr_rule_handle_ste_branch() 835 /* Hash table index in use, add another collision (miss) */ in dr_rule_handle_ste_branch() 843 mlx5dr_dbg(dmn, "failed adding collision entry, index: %d\n", in dr_rule_handle_ste_branch() 844 index); in dr_rule_handle_ste_branch() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
H A D | mlx4.h | 472 unsigned int index; member 980 void __mlx4_mpt_release(struct mlx4_dev *dev, u32 index); 981 int __mlx4_mpt_alloc_icm(struct mlx4_dev *dev, u32 index); 982 void __mlx4_mpt_free_icm(struct mlx4_dev *dev, u32 index); 1251 int __mlx4_register_vlan(struct mlx4_dev *dev, u8 port, u16 vlan, int *index); 1410 /* Returns the VF index of slave */
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | chip.h | 833 u64 read_dev_cntr(struct hfi1_devdata *dd, int index, int vl); 834 u64 write_dev_cntr(struct hfi1_devdata *dd, int index, int vl, u64 data); 835 u64 read_port_cntr(struct hfi1_pportdata *ppd, int index, int vl); 836 u64 write_port_cntr(struct hfi1_pportdata *ppd, int index, int vl, u64 data); 1427 void hfi1_put_tid(struct hfi1_devdata *dd, u32 index,
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wcn36xx/ |
H A D | main.c | 1080 wcn36xx_dbg(WCN36XX_DBG_MAC, "mac sta remove vif %p sta %pM index %d\n", in wcn36xx_sta_remove() 1299 int index; in wcn36xx_platform_get_resources() local 1343 index = of_property_match_string(mmio_node, "reg-names", "ccu"); in wcn36xx_platform_get_resources() 1344 wcn->ccu_base = of_iomap(mmio_node, index); in wcn36xx_platform_get_resources() 1352 index = of_property_match_string(mmio_node, "reg-names", "dxe"); in wcn36xx_platform_get_resources() 1353 wcn->dxe_base = of_iomap(mmio_node, index); in wcn36xx_platform_get_resources()
|
/kernel/linux/linux-5.10/drivers/net/ieee802154/ |
H A D | mcr20a.c | 1087 u8 index; in mcr20a_phy_init() local 1169 for (index = 0; index < MCR20A_PHY_INDIRECT_QUEUE_SIZE; index++) { in mcr20a_phy_init() 1170 phy_reg = (u8)(((index & DAR_SRC_CTRL_INDEX) << in mcr20a_phy_init()
|
/kernel/linux/linux-5.10/drivers/net/ |
H A D | thunderbolt.c | 50 * @frame_index: running index on the frames 473 unsigned int index = ring->prod & (TBNET_RING_SIZE - 1); in tbnet_alloc_rx_buffers() local 474 struct tbnet_frame *tf = &ring->frames[index]; in tbnet_alloc_rx_buffers() 517 unsigned int index; in tbnet_get_tx_buffer() local 522 index = ring->cons++ & (TBNET_RING_SIZE - 1); in tbnet_get_tx_buffer() 524 tf = &ring->frames[index]; in tbnet_get_tx_buffer()
|
/kernel/linux/linux-5.10/drivers/s390/cio/ |
H A D | qdio_main.c | 509 "found state %#x at index %u on queue %u\n", in get_inbound_buffer_frontier() 627 static void qdio_check_pending(struct qdio_q *q, unsigned int index) in qdio_check_pending() argument 631 if (get_buf_state(q, index, &state, 0) > 0 && in qdio_check_pending() 633 q->u.out.aobs[index]) { in qdio_check_pending() 634 q->u.out.sbal_state[index].flags |= in qdio_check_pending() 636 q->u.out.aobs[index] = NULL; in qdio_check_pending() 692 "found state %#x at index %u on queue %u\n", in get_outbound_buffer_frontier()
|
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | amiserial.c | 942 ss->line = tty->index; in get_serial_info() 1381 struct serial_state *info = rs_table + tty->index; in rs_open() 1693 static struct tty_driver *serial_console_device(struct console *c, int *index) in serial_console_device() argument 1695 *index = 0; in serial_console_device() 1704 .index = -1,
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | zs.c | 1148 int chip = co->index / ZS_NUM_CHAN, side = co->index % ZS_NUM_CHAN; in zs_console_write() 1198 int chip = co->index / ZS_NUM_CHAN, side = co->index % ZS_NUM_CHAN; in zs_console_setup() 1226 .index = -1,
|
H A D | sunsab.c | 154 (up->port.line == up->port.cons->index)) in receive_chars() 860 struct uart_sunsab_port *up = &sunsab_ports[con->index]; in sunsab_console_write() 878 struct uart_sunsab_port *up = &sunsab_ports[con->index]; in sunsab_console_setup() 892 (sunsab_reg.minor - 64) + con->index); in sunsab_console_setup() 951 .index = -1,
|
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | nhi.c | 63 int index; in ring_interrupt_active() local 66 index = ring->hop; in ring_interrupt_active() 68 index = ring->hop + ring->nhi->hop_count; in ring_interrupt_active() 81 step = index / REG_INT_VEC_ALLOC_REGS * REG_INT_VEC_ALLOC_BITS; in ring_interrupt_active() 82 shift = index % REG_INT_VEC_ALLOC_REGS * REG_INT_VEC_ALLOC_BITS; in ring_interrupt_active()
|
/kernel/linux/linux-5.10/drivers/video/console/ |
H A D | sticore.c | 145 .index = c_index(sti, c), in sti_putc() 320 * b) sti_font=<index>, where index is (1..x) with 1 selecting in sti_font_setup() 831 "index.php/Graphics_howto for more info.\n"); in sti_read_rom() 1089 * index = 0 gives default sti 1090 * index > 0 gives other stis in detection order 1092 struct sti_struct * sti_get_rom(unsigned int index) in sti_get_rom() argument 1097 if (index == 0) in sti_get_rom() 1100 if (index > num_sti_roms) in sti_get_rom() 1103 return sti_roms[index in sti_get_rom() [all...] |
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | f81534.c | 482 * index 0: port phy idx (e.g., 0,1,2,3) in f81534_prepare_write_buffer() 483 * index 1: only F81534_TOKEN_WRITE in f81534_prepare_write_buffer() 484 * index 2: serial TX out length in f81534_prepare_write_buffer() 485 * index 3: fix to 0 in f81534_prepare_write_buffer() 486 * index 4~127: serial out data block in f81534_prepare_write_buffer() 726 * for latest configuration index. If nothing found 727 * (*index = F81534_CUSTOM_NO_CUSTOM_DATA), We'll load default configure in 730 * Due to we only use block0 to save data, so *index should be 0 or 733 static int f81534_find_config_idx(struct usb_serial *serial, u8 *index) in f81534_find_config_idx() argument 748 *index in f81534_find_config_idx() 845 int index = 0; f81534_calc_num_ports() local [all...] |
/kernel/linux/linux-5.10/drivers/vhost/ |
H A D | vdpa.c | 958 u16 index = vma->vm_pgoff; in vhost_vdpa_fault() local 960 notify = ops->get_vq_notification(vdpa, index); in vhost_vdpa_fault() 981 unsigned long index = vma->vm_pgoff; in vhost_vdpa_mmap() local 989 if (index > 65535) in vhost_vdpa_mmap() 998 notify = ops->get_vq_notification(vdpa, index); in vhost_vdpa_mmap()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | u_serial.c | 595 int port_num = tty->index; in gs_open() 957 static struct tty_driver *gs_console_device(struct console *co, int *index) in gs_console_device() argument 959 *index = co->index; in gs_console_device() 1032 cons->console.index = port->port_num; in gs_console_init()
|
/kernel/linux/linux-5.10/sound/pci/hda/ |
H A D | hda_controller.c | 245 sbits |= 1 << azx_dev->core.index; in azx_pcm_trigger() 980 if (s->index == chip->playback_index_offset) in azx_get_dsp_loader_dev() 1318 static int stream_direction(struct azx *chip, unsigned char index) in stream_direction() argument 1320 if (index >= chip->capture_index_offset && in stream_direction() 1321 index < chip->capture_index_offset + chip->capture_streams) in stream_direction()
|
/kernel/linux/linux-5.10/sound/isa/msnd/ |
H A D | msnd_pinnacle.c | 744 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ variable 747 module_param_array(index, int, NULL, 0444); 748 MODULE_PARM_DESC(index, "Index value for msnd_pinnacle soundcard."); 895 err = snd_card_new(pdev, index[idx], id[idx], THIS_MODULE, in snd_msnd_isa_probe() 1112 index[idx], id[idx], THIS_MODULE, in snd_msnd_pnp_detect()
|
/kernel/linux/linux-5.10/sound/pci/asihpi/ |
H A D | hpi6000.c | 330 HPI_DEBUG_LOG(DEBUG, "invalid adapter index: %d \n", in HPI_6000() 398 /* create temp adapter obj, because we don't know what index yet */ in subsys_create_adapter() 433 pao = hpi_find_adapter(ao.index); in subsys_create_adapter() 447 phr->u.s.adapter_index = ao.index; in subsys_create_adapter() 551 pao->index = hr0.u.ax.info.adapter_index; in create_adapter_obj() 575 HPI_DEBUG_LOG(DEBUG, "get adapter info ASI%04X index %d\n", pao->type, in create_adapter_obj() 576 pao->index); in create_adapter_obj() 579 phw->p_cache->adap_idx = pao->index; in create_adapter_obj() 610 phr->u.ax.assert.dsp_index = -1; /* "dsp index" */ in adapter_get_asserts() 1706 /** Get dsp index fo [all...] |
/kernel/linux/linux-5.10/sound/pci/ice1712/ |
H A D | prodigy_hifi.c | 312 static void wm_set_vol(struct snd_ice1712 *ice, unsigned int index, in wm_set_vol() argument 325 wm_put(ice, index, nvol); in wm_set_vol() 326 wm_put_nocache(ice, index, 0x100 | nvol); in wm_set_vol() 329 static void wm8766_set_vol(struct snd_ice1712 *ice, unsigned int index, in wm8766_set_vol() argument 342 wm8766_spi_write(ice, index, (0x0100 | nvol)); in wm8766_set_vol()
|
/kernel/linux/linux-5.10/sound/spi/ |
H A D | at73c213.c | 642 .index = xindex, \ 653 .index = xindex, \ 672 .index = 0, 685 .index = 0, 696 .index = 0,
|
/kernel/linux/linux-5.10/sound/usb/ |
H A D | endpoint.c | 372 ctx->index, err, ctx->urb); in queue_pending_output_urbs() 374 set_bit(ctx->index, &ep->active_mask); in queue_pending_output_urbs() 440 clear_bit(ctx->index, &ep->active_mask); in snd_complete_urb() 959 u->index = i; in data_ep_set_params() 1005 u->index = i; in sync_ep_set_params()
|
/kernel/linux/linux-5.10/tools/bpf/ |
H A D | bpf_dbg.c | 588 unsigned int index = bpf_regs_len - 1 + off; in bpf_restore_regs() local 590 if (index == 0) { in bpf_restore_regs() 593 } else if (index < bpf_regs_len) { in bpf_restore_regs() 594 memcpy(&bpf_curr, &bpf_regs[index], sizeof(bpf_curr)); in bpf_restore_regs() 595 bpf_regs_len = index; in bpf_restore_regs()
|
/kernel/linux/linux-5.10/sound/soc/intel/boards/ |
H A D | sof_sdw.c | 704 int index = 0; in get_slave_info() local 714 cpu_dai_id[index++] = ffs(adr_link->mask) - 1; in get_slave_info() 737 if (index >= SDW_MAX_CPU_DAIS) { in get_slave_info() 742 cpu_dai_id[index++] = ffs(adr_next->mask) - 1; in get_slave_info() 751 *cpu_dai_num = index; in get_slave_info() 851 dev_err(dev, "invalid cpu dai index %d", in create_sdw_dailink() 860 dev_err(dev, " invalid be dai index %d", *be_index); in create_sdw_dailink() 865 dev_err(dev, " invalid cpu dai index %d", *cpu_id); in create_sdw_dailink()
|
/kernel/linux/linux-5.10/fs/afs/ |
H A D | internal.h | 208 unsigned int index; /* Which page we're reading into */ member 446 u8 index; /* Server currently in use */ member 709 signed char index; /* Current address */ member 726 short index; /* Current server */ member 838 short index; /* Current server */ member
|