Searched refs:map (Results 251 - 275 of 2546) sorted by last modified time

<<11121314151617181920>>

/linux-master/drivers/staging/media/atomisp/pci/runtime/pipeline/src/
H A Dpipeline.c85 void ia_css_pipeline_map(unsigned int pipe_num, bool map) argument
88 IA_CSS_ENTER_PRIVATE("pipe_num = %d, map = %d", pipe_num, map);
95 if (map)
/linux-master/drivers/scsi/mpt3sas/
H A Dmpt3sas_scsih.c2933 * scsih_tm_cmd_map_status - map the target reset & LUN reset TM status
11866 * scsih_map_queues - map reply queues with request queues
11873 struct blk_mq_queue_map *map; local
11882 map = &shost->tag_set.map[i];
11883 map->nr_queues = 0;
11886 map->nr_queues =
11890 map->nr_queues = iopoll_q_count;
11892 if (!map->nr_queues)
11899 map
[all...]
/linux-master/drivers/scsi/mpi3mr/
H A Dmpi3mr_os.c3116 * descriptor type. Based on the descriptor map the MPI3 request
3874 struct blk_mq_queue_map *map = NULL; local
3879 map = &shost->tag_set.map[i];
3881 map->nr_queues = 0;
3884 map->nr_queues = mrioc->default_qcount;
3886 map->nr_queues = mrioc->active_poll_qcount;
3888 if (!map->nr_queues) {
3897 map->queue_offset = qoff;
3899 blk_mq_pci_map_queues(map, mrio
[all...]
/linux-master/drivers/of/
H A Dunittest.c657 /* Check for missing cells,map,mask property */
949 const struct bus_dma_region *map = NULL; local
958 rc = of_dma_get_range(np, &map);
970 kfree(map);
974 dev_bogus->dma_range_map = map;
985 kfree(map);
H A Dof_private.h164 const struct bus_dma_region **map);
168 const struct bus_dma_region **map)
167 of_dma_get_range(struct device_node *np, const struct bus_dma_region **map) argument
H A Dbase.c1361 * a <@stem_name>-map property.
1378 * list-map = <0 &phandle2 3>,
1381 * list-map-mask = <0x3>;
1399 const __be32 *map, *mask, *pass; local
1415 map_name = kasprintf(GFP_KERNEL, "%s-map", stem_name);
1419 mask_name = kasprintf(GFP_KERNEL, "%s-map-mask", stem_name);
1423 pass_name = kasprintf(GFP_KERNEL, "%s-map-pass-thru", stem_name);
1444 /* Get the <list>-map property */
1445 map = of_get_property(cur, map_name, &map_len);
1446 if (!map) {
2013 const __be32 *map = NULL; local
[all...]
/linux-master/drivers/mtd/spi-nor/
H A Dsfdp.c332 * spi_nor_map_cmp_erase_type() - compare the map's erase types by size
333 * @l: member in the left half of the map's erase_type array
334 * @r: member in the right half of the map's erase_type array
337 * map's erase types, the smallest erase type size being the first member in the
351 * @map: the erase map of the SPI NOR
354 * Replicate the sort done for the map's erase types in BFPT: sort the erase
360 static u8 spi_nor_sort_erase_mask(struct spi_nor_erase_map *map, u8 erase_mask) argument
362 struct spi_nor_erase_type *erase_type = map->erase_type;
369 /* Replicate the sort done for the map'
389 spi_nor_regions_sort_erase_types(struct spi_nor_erase_map *map) argument
436 struct spi_nor_erase_map *map = &params->erase_map; local
836 struct spi_nor_erase_map *map = &nor->params->erase_map; local
999 struct spi_nor_erase_map *map = &params->erase_map; local
[all...]
H A Dcore.h260 * struct spi_nor_erase_map - Structure to describe the SPI NOR erase map
363 * @erase_map: the erase map parsed from the SFDP Sector Map Parameter
668 void spi_nor_init_uniform_erase_map(struct spi_nor_erase_map *map,
H A Dcore.c1171 struct spi_nor_erase_map *map = &nor->params->erase_map; local
1176 erase = &map->erase_type[i];
1530 * @map: the erase map of the SPI NOR
1538 spi_nor_find_best_erase_type(const struct spi_nor_erase_map *map, argument
1555 erase = &map->erase_type[i];
1636 const struct spi_nor_erase_map *map = &nor->params->erase_map; local
1644 for (i = 0; i < map->n_regions && len; i++) {
1645 region = &map->regions[i];
1649 erase = spi_nor_find_best_erase_type(map, regio
2405 spi_nor_init_uniform_erase_map(struct spi_nor_erase_map *map, u8 erase_mask, u64 flash_size) argument
2495 spi_nor_select_uniform_erase(struct spi_nor_erase_map *map) argument
2544 struct spi_nor_erase_map *map = &nor->params->erase_map; local
2730 struct spi_nor_erase_map *map = &params->erase_map; local
3391 const struct spi_nor_erase_map *map = &nor->params->erase_map; local
[all...]
/linux-master/drivers/mtd/maps/
H A Dphysmap-core.c35 #include <linux/mtd/map.h>
94 static void physmap_set_vpp(struct map_info *map, int state) argument
101 pdev = (struct platform_device *)map->map_priv_1;
142 static map_word physmap_addr_gpios_read(struct map_info *map, argument
150 pdev = (struct platform_device *)map->map_priv_1;
154 word = readw(map->virt + (ofs & win_mask(info->win_order)));
159 static void physmap_addr_gpios_copy_from(struct map_info *map, void *buf, argument
165 pdev = (struct platform_device *)map->map_priv_1;
174 memcpy_fromio(buf, map->virt + winofs, chunklen);
181 static void physmap_addr_gpios_write(struct map_info *map, map_wor argument
196 physmap_addr_gpios_copy_to(struct map_info *map, unsigned long ofs, const void *buf, ssize_t len) argument
218 physmap_addr_gpios_map_init(struct map_info *map) argument
229 physmap_addr_gpios_map_init(struct map_info *map) argument
[all...]
H A Dsun_uflash.c24 #include <linux/mtd/map.h>
40 struct map_info map; /* mtd map info */ member in struct:uflash_dev
69 memcpy(&up->map, &uflash_map_templ, sizeof(uflash_map_templ));
71 up->map.size = resource_size(&op->resource[0]);
75 up->map.name = up->name;
77 up->map.phys = op->resource[0].start;
79 up->map.virt = of_ioremap(&op->resource[0], 0, up->map.size,
81 if (!up->map
[all...]
/linux-master/drivers/mtd/chips/
H A Dcfi_cmdset_0002.c35 #include <linux/mtd/map.h>
97 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
98 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr);
129 static int cfi_check_err_status(struct map_info *map, struct flchip *chip, argument
132 struct cfi_private *cfi = map->fldrv_priv;
138 cfi_send_gen_cmd(0x70, cfi->addr_unlock1, chip->start, map, cfi,
140 status = map_read(map, adr);
143 if (!map_word_bitsset(map, status, CMD(CFI_SR_DRB)))
146 if (map_word_bitsset(map, status, CMD(0x3a))) {
151 map
226 struct map_info *map = mtd->priv; local
276 struct map_info *map = mtd->priv; local
292 struct map_info *map = mtd->priv; local
330 struct map_info *map = mtd->priv; local
352 struct map_info *map = mtd->priv; local
366 struct map_info *map = mtd->priv; local
377 struct map_info *map = mtd->priv; local
390 struct map_info *map = mtd->priv; local
406 struct map_info *map = mtd->priv; local
418 struct map_info *map = mtd->priv; local
430 struct map_info *map = mtd->priv; local
444 struct map_info *map = mtd->priv; local
557 cfi_fixup_m29ew_erase_suspend(struct map_info *map, unsigned long adr) argument
600 cfi_cmdset_0002(struct map_info *map, int primary) argument
767 struct map_info *map = mtd->priv; local
831 chip_ready(struct map_info *map, struct flchip *chip, unsigned long addr, map_word *expected) argument
862 chip_good(struct map_info *map, struct flchip *chip, unsigned long addr, map_word *expected) argument
874 get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) argument
980 put_chip(struct map_info *map, struct flchip *chip, unsigned long adr) argument
1021 xip_disable(struct map_info *map, struct flchip *chip, unsigned long adr) argument
1029 xip_enable(struct map_info *map, struct flchip *chip, unsigned long adr) argument
1056 xip_udelay(struct map_info *map, struct flchip *chip, unsigned long adr, int usec) argument
1203 do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf) argument
1237 struct map_info *map = mtd->priv; local
1275 otp_enter(struct map_info *map, struct flchip *chip, loff_t adr, size_t len) argument
1290 otp_exit(struct map_info *map, struct flchip *chip, loff_t adr, size_t len) argument
1307 do_read_secsi_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf, size_t grouplen) argument
1345 struct map_info *map = mtd->priv; local
1386 do_otp_write(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf, size_t grouplen) argument
1416 do_otp_lock(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf, size_t grouplen) argument
1484 struct map_info *map = mtd->priv; local
1644 do_write_oneword_once(struct map_info *map, struct flchip *chip, unsigned long adr, map_word datum, int mode, struct cfi_private *cfi) argument
1715 do_write_oneword_start(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) argument
1735 do_write_oneword_done(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) argument
1749 do_write_oneword_retry(struct map_info *map, struct flchip *chip, unsigned long adr, map_word datum, int mode) argument
1792 do_write_oneword(struct map_info *map, struct flchip *chip, unsigned long adr, map_word datum, int mode) argument
1818 struct map_info *map = mtd->priv; local
1939 do_write_buffer_wait(struct map_info *map, struct flchip *chip, unsigned long adr, map_word datum) argument
1994 do_write_buffer_reset(struct map_info *map, struct flchip *chip, struct cfi_private *cfi) argument
2019 do_write_buffer(struct map_info *map, struct flchip *chip, unsigned long adr, const u_char *buf, int len) argument
2098 struct map_info *map = mtd->priv; local
2179 cfi_amdstd_panic_wait(struct map_info *map, struct flchip *chip, unsigned long adr) argument
2231 do_panic_write_oneword(struct map_info *map, struct flchip *chip, unsigned long adr, map_word datum) argument
2310 struct map_info *map = mtd->priv; local
2411 do_erase_chip(struct map_info *map, struct flchip *chip) argument
2512 do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument
2620 struct map_info *map = mtd->priv; local
2632 do_atmel_lock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument
2667 do_atmel_unlock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument
2718 do_ppb_xxlock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument
2802 struct map_info *map = mtd->priv; local
2912 struct map_info *map = mtd->priv; local
2974 struct map_info *map = mtd->priv; local
3029 struct map_info *map = mtd->priv; local
3061 struct map_info *map = mtd->priv; local
3099 struct map_info *map = mtd->priv; local
[all...]
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-cci.c19 int cci_read(struct regmap *map, u32 reg, u64 *val, int *err) argument
33 ret = regmap_bulk_read(map, reg, buf, len);
35 dev_err(regmap_get_device(map), "Error reading reg 0x%04x: %d\n",
69 dev_err(regmap_get_device(map), "Error invalid reg-width %u for reg 0x%04x\n",
83 int cci_write(struct regmap *map, u32 reg, u64 val, int *err) argument
126 dev_err(regmap_get_device(map), "Error invalid reg-width %u for reg 0x%04x\n",
132 ret = regmap_bulk_write(map, reg, buf, len);
134 dev_err(regmap_get_device(map), "Error writing reg 0x%04x: %d\n",
145 int cci_update_bits(struct regmap *map, u32 reg, u64 mask, u64 val, int *err) argument
150 ret = cci_read(map, re
160 cci_multi_reg_write(struct regmap *map, const struct cci_reg_sequence *regs, unsigned int num_regs, int *err) argument
[all...]
/linux-master/drivers/media/tuners/
H A Dtda18271-fe.c17 MODULE_PARM_DESC(debug, "set debug level (info=1, map=2, reg=4, adv=8, cal=16 (or-able))");
74 struct tda18271_std_map_item *map,
86 regs[R_EP3] |= (map->agc_mode << 3) | map->std;
98 regs[R_EP4] |= (map->if_lvl << 2);
102 regs[R_EP4] |= map->fm_rfn << 7;
106 regs[R_EB22] |= map->rfagc_top;
154 N = map->if_freq * 1000 + freq;
188 if (map->fm_rfn)
246 struct tda18271_rf_tracking_filter_cal *map local
73 tda18271_channel_configuration(struct dvb_frontend *fe, struct tda18271_std_map_item *map, u32 freq, u32 bw) argument
561 struct tda18271_rf_tracking_filter_cal *map = priv->rf_cal_state; local
883 tda18271_tune(struct dvb_frontend *fe, struct tda18271_std_map_item *map, u32 freq, u32 bw) argument
927 struct tda18271_std_map_item *map; local
987 struct tda18271_std_map_item *map; local
1117 tda18271_update_std_map(struct dvb_frontend *fe, struct tda18271_std_map *map) argument
[all...]
/linux-master/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-reg.c810 struct regmap *map = fimc->sysreg; local
814 if (map == NULL)
817 ret = regmap_read(map, SYSREG_CAMBLK, &camblk_cfg);
827 ret = regmap_update_bits(map, SYSREG_CAMBLK, mask, val);
834 ret = regmap_update_bits(map, SYSREG_CAMBLK, mask, val);
839 ret = regmap_update_bits(map, SYSREG_ISPBLK, mask, ~mask);
845 return regmap_update_bits(map, SYSREG_ISPBLK, mask, mask);
/linux-master/drivers/media/i2c/
H A Dtvp5150.c612 struct regmap *map = decoder->regmap; local
617 regmap_write(map, TVP5150_FULL_FIELD_ENA, 0);
621 regmap_write(map, i, 0xff);
630 regmap_write(map, TVP5150_CONF_RAM_ADDR_HIGH, regs->reg >> 8);
631 regmap_write(map, TVP5150_CONF_RAM_ADDR_LOW, regs->reg);
634 regmap_write(map, TVP5150_VDP_CONF_RAM_DATA,
881 struct regmap *map = decoder->regmap; local
887 regmap_read(map, TVP5150_INT_STATUS_REG_A, &status);
889 regmap_write(map, TVP5150_INT_STATUS_REG_A, status);
897 regmap_update_bits(map, TVP5150_MISC_CT
918 struct regmap *map = decoder->regmap; local
2120 struct regmap *map; local
[all...]
H A Dmt9v032.c229 struct regmap *map = mt9v032->regmap; local
238 ret = regmap_write(map, MT9V032_AEC_AGC_ENABLE, value);
265 struct regmap *map = mt9v032->regmap; local
293 ret = regmap_write(map, MT9V032_RESET, 1);
297 ret = regmap_write(map, MT9V032_RESET, 0);
301 ret = regmap_write(map, MT9V032_CHIP_CONTROL,
320 struct regmap *map = mt9v032->regmap; local
334 ret = regmap_write(map, mt9v032->model->data->pclk_reg,
341 ret = regmap_write(map, MT9V032_ROW_NOISE_CORR_CONTROL, 0);
388 struct regmap *map local
652 struct regmap *map = mt9v032->regmap; local
[all...]
/linux-master/drivers/i2c/busses/
H A Di2c-designware-platdrv.c119 dev->map = devm_regmap_init(dev->dev, NULL, dev, &bt1_i2c_cfg);
120 return PTR_ERR_OR_ZERO(dev->map);
173 dev->map = dev_get_regmap(dev->dev->parent, NULL);
174 if (!dev->map)
H A Di2c-designware-master.c34 regmap_write(dev->map, DW_IC_TX_TL, dev->tx_fifo_depth / 2);
35 regmap_write(dev->map, DW_IC_RX_TL, 0);
38 regmap_write(dev->map, DW_IC_CON, dev->master_cfg);
54 ret = regmap_read(dev->map, DW_IC_COMP_PARAM_1, &comp_param1);
188 regmap_write(dev->map, DW_IC_SS_SCL_HCNT, dev->ss_hcnt);
189 regmap_write(dev->map, DW_IC_SS_SCL_LCNT, dev->ss_lcnt);
192 regmap_write(dev->map, DW_IC_FS_SCL_HCNT, dev->fs_hcnt);
193 regmap_write(dev->map, DW_IC_FS_SCL_LCNT, dev->fs_lcnt);
197 regmap_write(dev->map, DW_IC_HS_SCL_HCNT, dev->hs_hcnt);
198 regmap_write(dev->map, DW_IC_HS_SCL_LCN
[all...]
H A Di2c-designware-core.h193 * @map: IO registers map
194 * @sysmap: System controller registers map
252 struct regmap *map; member in struct:dw_i2c_dev
348 regmap_write(dev->map, DW_IC_ENABLE, 1);
353 regmap_write(dev->map, DW_IC_ENABLE, 0);
362 regmap_write(dev->map, DW_IC_INTR_MASK, val);
370 regmap_read(dev->map, DW_IC_INTR_MASK, intr_mask);
H A Di2c-designware-common.c119 * i2c_dw_init_regmap() - Initialize registers map
141 * Skip detecting the registers map configuration if the regmap has
144 if (dev->map)
175 dev->map = devm_regmap_init(dev->dev, NULL, dev, &map_cfg);
176 if (IS_ERR(dev->map)) {
177 dev_err(dev->dev, "Failed to init the registers map\n");
178 return PTR_ERR(dev->map);
402 ret = regmap_read(dev->map, DW_IC_COMP_VERSION, &reg);
409 ret = regmap_read(dev->map, DW_IC_SDA_HOLD,
451 regmap_read(dev->map, DW_IC_RAW_INTR_STA
[all...]
/linux-master/drivers/dma/
H A Dmcf-edma-main.c240 mcf_edma->dma_dev.filter.map = pdata->slave_map;
H A Damba-pl08x.c2811 pl08x->slave.filter.map = pl08x->pd->slave_map;
/linux-master/drivers/cxl/core/
H A Dpci.c40 struct cxl_register_map map; local
55 rc = cxl_find_regblock(pdev, CXL_REGLOC_RBI_COMPONENT, &map);
60 dport = devm_cxl_add_dport(port, &pdev->dev, port_num, map.resource);
792 struct cxl_register_map *map = &dport->reg_map; local
795 if (!map->component_map.ras.valid)
797 else if (cxl_map_component_regs(map, &dport->regs.component,
799 dev_dbg(dev, "Failed to map RAS capability.\n");
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_pfvf_msg.h261 u16 map; member in struct:ring_to_svc_map_v1

Completed in 687 milliseconds

<<11121314151617181920>>