/kernel/linux/linux-6.6/drivers/base/regmap/ |
H A D | regmap-w1.c | 30 mutex_lock(&sl->master->bus_mutex); in w1_reg_a8_v8_read() 32 w1_write_8(sl->master, W1_CMD_READ_DATA); in w1_reg_a8_v8_read() 33 w1_write_8(sl->master, reg); in w1_reg_a8_v8_read() 34 *val = w1_read_8(sl->master); in w1_reg_a8_v8_read() 38 mutex_unlock(&sl->master->bus_mutex); in w1_reg_a8_v8_read() 52 mutex_lock(&sl->master->bus_mutex); in w1_reg_a8_v8_write() 54 w1_write_8(sl->master, W1_CMD_WRITE_DATA); in w1_reg_a8_v8_write() 55 w1_write_8(sl->master, reg); in w1_reg_a8_v8_write() 56 w1_write_8(sl->master, val); in w1_reg_a8_v8_write() 60 mutex_unlock(&sl->master in w1_reg_a8_v8_write() [all...] |
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-ep93xx.c | 107 * @master: SPI master 112 static int ep93xx_spi_calc_divisors(struct spi_master *master, in ep93xx_spi_calc_divisors() argument 115 struct ep93xx_spi *espi = spi_master_get_devdata(master); in ep93xx_spi_calc_divisors() 123 rate = clamp(rate, master->min_speed_hz, master->max_speed_hz); in ep93xx_spi_calc_divisors() 146 static int ep93xx_spi_chip_setup(struct spi_master *master, in ep93xx_spi_chip_setup() argument 150 struct ep93xx_spi *espi = spi_master_get_devdata(master); in ep93xx_spi_chip_setup() 157 err = ep93xx_spi_calc_divisors(master, xfer->speed_hz, in ep93xx_spi_chip_setup() 169 dev_dbg(&master in ep93xx_spi_chip_setup() 179 ep93xx_do_write(struct spi_master *master) ep93xx_do_write() argument 197 ep93xx_do_read(struct spi_master *master) ep93xx_do_read() argument 226 ep93xx_spi_read_write(struct spi_master *master) ep93xx_spi_read_write() argument 272 ep93xx_spi_dma_prepare(struct spi_master *master, enum dma_data_direction dir) ep93xx_spi_dma_prepare() argument 376 ep93xx_spi_dma_finish(struct spi_master *master, enum dma_data_direction dir) ep93xx_spi_dma_finish() argument 396 struct spi_master *master = callback_param; ep93xx_spi_dma_callback() local 404 ep93xx_spi_dma_transfer(struct spi_master *master) ep93xx_spi_dma_transfer() argument 439 struct spi_master *master = dev_id; ep93xx_spi_interrupt() local 482 ep93xx_spi_transfer_one(struct spi_master *master, struct spi_device *spi, struct spi_transfer *xfer) ep93xx_spi_transfer_one() argument 519 ep93xx_spi_prepare_message(struct spi_master *master, struct spi_message *msg) ep93xx_spi_prepare_message() argument 547 ep93xx_spi_prepare_hardware(struct spi_master *master) ep93xx_spi_prepare_hardware() argument 564 ep93xx_spi_unprepare_hardware(struct spi_master *master) ep93xx_spi_unprepare_hardware() argument 649 struct spi_master *master; ep93xx_spi_probe() local 750 struct spi_master *master = platform_get_drvdata(pdev); ep93xx_spi_remove() local [all...] |
H A D | spi-uniphier.c | 29 struct spi_master *master; member 130 struct uniphier_spi_priv *priv = spi_master_get_devdata(spi->master); in uniphier_spi_set_mode() 183 struct uniphier_spi_priv *priv = spi_master_get_devdata(spi->master); in uniphier_spi_set_transfer_size() 201 struct uniphier_spi_priv *priv = spi_master_get_devdata(spi->master); in uniphier_spi_set_baudrate() 220 struct uniphier_spi_priv *priv = spi_master_get_devdata(spi->master); in uniphier_spi_setup_transfer() 336 struct uniphier_spi_priv *priv = spi_master_get_devdata(spi->master); in uniphier_spi_set_cs() 349 static bool uniphier_spi_can_dma(struct spi_master *master, in uniphier_spi_can_dma() argument 353 struct uniphier_spi_priv *priv = spi_master_get_devdata(master); in uniphier_spi_can_dma() 356 if ((!master->dma_tx && !master in uniphier_spi_can_dma() 366 struct spi_master *master = data; uniphier_spi_dma_rxcb() local 378 struct spi_master *master = data; uniphier_spi_dma_txcb() local 388 uniphier_spi_transfer_one_dma(struct spi_master *master, struct spi_device *spi, struct spi_transfer *t) uniphier_spi_transfer_one_dma() argument 471 uniphier_spi_transfer_one_irq(struct spi_master *master, struct spi_device *spi, struct spi_transfer *t) uniphier_spi_transfer_one_irq() argument 498 uniphier_spi_transfer_one_poll(struct spi_master *master, struct spi_device *spi, struct spi_transfer *t) uniphier_spi_transfer_one_poll() argument 526 uniphier_spi_transfer_one(struct spi_master *master, struct spi_device *spi, struct spi_transfer *t) uniphier_spi_transfer_one() argument 556 uniphier_spi_prepare_transfer_hardware(struct spi_master *master) uniphier_spi_prepare_transfer_hardware() argument 565 uniphier_spi_unprepare_transfer_hardware(struct spi_master *master) uniphier_spi_unprepare_transfer_hardware() argument 574 uniphier_spi_handle_err(struct spi_master *master, struct spi_message *msg) uniphier_spi_handle_err() argument 644 struct spi_master *master; uniphier_spi_probe() local 780 struct spi_master *master = platform_get_drvdata(pdev); uniphier_spi_remove() local [all...] |
H A D | spi-mt65xx.c | 195 static int mtk_spi_prepare_message(struct spi_master *master, in mtk_spi_prepare_message() argument 202 struct mtk_spi *mdata = spi_master_get_devdata(master); in mtk_spi_prepare_message() 270 struct mtk_spi *mdata = spi_master_get_devdata(spi->master); in mtk_spi_set_cs() 287 static void mtk_spi_prepare_transfer(struct spi_master *master, in mtk_spi_prepare_transfer() argument 291 struct mtk_spi *mdata = spi_master_get_devdata(master); in mtk_spi_prepare_transfer() 328 static void mtk_spi_setup_packet(struct spi_master *master) in mtk_spi_setup_packet() argument 331 struct mtk_spi *mdata = spi_master_get_devdata(master); in mtk_spi_setup_packet() 343 static void mtk_spi_enable_transfer(struct spi_master *master) in mtk_spi_enable_transfer() argument 346 struct mtk_spi *mdata = spi_master_get_devdata(master); in mtk_spi_enable_transfer() 368 static void mtk_spi_update_mdata_len(struct spi_master *master) in mtk_spi_update_mdata_len() argument 396 mtk_spi_setup_dma_addr(struct spi_master *master, struct spi_transfer *xfer) mtk_spi_setup_dma_addr() argument 422 mtk_spi_fifo_transfer(struct spi_master *master, struct spi_device *spi, struct spi_transfer *xfer) mtk_spi_fifo_transfer() argument 452 mtk_spi_dma_transfer(struct spi_master *master, struct spi_device *spi, struct spi_transfer *xfer) mtk_spi_dma_transfer() argument 497 mtk_spi_transfer_one(struct spi_master *master, struct spi_device *spi, struct spi_transfer *xfer) mtk_spi_transfer_one() argument 507 mtk_spi_can_dma(struct spi_master *master, struct spi_device *spi, struct spi_transfer *xfer) mtk_spi_can_dma() argument 533 struct spi_master *master = dev_id; mtk_spi_interrupt() local 628 struct spi_master *master; mtk_spi_probe() local 814 struct spi_master *master = platform_get_drvdata(pdev); mtk_spi_remove() local 828 struct spi_master *master = dev_get_drvdata(dev); mtk_spi_suspend() local 844 struct spi_master *master = dev_get_drvdata(dev); mtk_spi_resume() local 866 struct spi_master *master = dev_get_drvdata(dev); mtk_spi_runtime_suspend() local 876 struct spi_master *master = dev_get_drvdata(dev); mtk_spi_runtime_resume() local [all...] |
H A D | spi-cadence.c | 3 * Cadence SPI controller driver (master mode only) 143 * On reset the SPI controller is configured to be in master mode, baud rate 176 struct cdns_spi *xspi = spi_master_get_devdata(spi->master); in cdns_spi_chipselect() 207 struct cdns_spi *xspi = spi_master_get_devdata(spi->master); in cdns_spi_config_clock_mode() 250 struct cdns_spi *xspi = spi_master_get_devdata(spi->master); in cdns_spi_config_clock_freq() 288 struct cdns_spi *xspi = spi_master_get_devdata(spi->master); in cdns_spi_setup_transfer() 343 struct spi_master *master = dev_id; in cdns_spi_irq() local 344 struct cdns_spi *xspi = spi_master_get_devdata(master); in cdns_spi_irq() 357 spi_finalize_current_transfer(master); in cdns_spi_irq() 383 spi_finalize_current_transfer(master); in cdns_spi_irq() 391 cdns_prepare_message(struct spi_master *master, struct spi_message *msg) cdns_prepare_message() argument 410 cdns_transfer_one(struct spi_master *master, struct spi_device *spi, struct spi_transfer *transfer) cdns_transfer_one() argument 438 cdns_prepare_transfer_hardware(struct spi_master *master) cdns_prepare_transfer_hardware() argument 456 cdns_unprepare_transfer_hardware(struct spi_master *master) cdns_unprepare_transfer_hardware() argument 476 struct spi_master *master; cdns_spi_probe() local 604 struct spi_master *master = platform_get_drvdata(pdev); cdns_spi_remove() local 630 struct spi_master *master = dev_get_drvdata(dev); cdns_spi_suspend() local 645 struct spi_master *master = dev_get_drvdata(dev); cdns_spi_resume() local 662 struct spi_master *master = dev_get_drvdata(dev); cnds_runtime_resume() local 691 struct spi_master *master = dev_get_drvdata(dev); cnds_runtime_suspend() local [all...] |
H A D | spi-omap-100k.c | 80 static void spi100k_enable_clock(struct spi_master *master) in spi100k_enable_clock() argument 83 struct omap1_spi100k *spi100k = spi_master_get_devdata(master); in spi100k_enable_clock() 91 static void spi100k_disable_clock(struct spi_master *master) in spi100k_disable_clock() argument 94 struct omap1_spi100k *spi100k = spi_master_get_devdata(master); in spi100k_disable_clock() 102 static void spi100k_write_data(struct spi_master *master, int len, int data) in spi100k_write_data() argument 104 struct omap1_spi100k *spi100k = spi_master_get_devdata(master); in spi100k_write_data() 112 spi100k_enable_clock(master); in spi100k_write_data() 125 spi100k_disable_clock(master); in spi100k_write_data() 128 static int spi100k_read_data(struct spi_master *master, int len) in spi100k_read_data() argument 131 struct omap1_spi100k *spi100k = spi_master_get_devdata(master); in spi100k_read_data() 154 spi100k_open(struct spi_master *master) spi100k_open() argument 288 omap1_spi100k_transfer_one_message(struct spi_master *master, struct spi_message *m) omap1_spi100k_transfer_one_message() argument 347 struct spi_master *master; omap1_spi100k_probe() local 428 struct spi_master *master = platform_get_drvdata(pdev); omap1_spi100k_remove() local 442 struct spi_master *master = dev_get_drvdata(dev); omap1_spi100k_runtime_suspend() local 453 struct spi_master *master = dev_get_drvdata(dev); omap1_spi100k_runtime_resume() local [all...] |
H A D | spi-pic32.c | 58 #define CTRL_MSTEN BIT(5) /* enable master mode */ 103 struct spi_master *master; member 227 dev_err(&pic32s->master->dev, "%s\n", msg); in pic32_err_stop() 228 if (pic32s->master->cur_msg) in pic32_err_stop() 229 pic32s->master->cur_msg->status = -EIO; in pic32_err_stop() 253 if (!pic32s->master->cur_msg) { in pic32_spi_fault_irq() 303 struct spi_master *master = pic32s->master; in pic32_spi_dma_transfer() local 309 if (!master->dma_rx || !master in pic32_spi_dma_transfer() 360 struct spi_master *master = pic32s->master; pic32_spi_dma_config() local 435 pic32_spi_prepare_hardware(struct spi_master *master) pic32_spi_prepare_hardware() argument 444 pic32_spi_prepare_message(struct spi_master *master, struct spi_message *msg) pic32_spi_prepare_message() argument 486 pic32_spi_can_dma(struct spi_master *master, struct spi_device *spi, struct spi_transfer *xfer) pic32_spi_can_dma() argument 497 pic32_spi_one_transfer(struct spi_master *master, struct spi_device *spi, struct spi_transfer *transfer) pic32_spi_one_transfer() argument 565 pic32_spi_unprepare_message(struct spi_master *master, struct spi_message *msg) pic32_spi_unprepare_message() argument 572 pic32_spi_unprepare_hardware(struct spi_master *master) pic32_spi_unprepare_hardware() argument 612 struct spi_master *master = pic32s->master; pic32_spi_dma_prep() local 760 struct spi_master *master; pic32_spi_probe() local [all...] |
H A D | spi-cavium-octeon.c | 22 struct spi_master *master; in octeon_spi_probe() local 26 master = spi_alloc_master(&pdev->dev, sizeof(struct octeon_spi)); in octeon_spi_probe() 27 if (!master) in octeon_spi_probe() 29 p = spi_master_get_devdata(master); in octeon_spi_probe() 30 platform_set_drvdata(pdev, master); in octeon_spi_probe() 46 master->num_chipselect = 4; in octeon_spi_probe() 47 master->mode_bits = SPI_CPHA | in octeon_spi_probe() 53 master->transfer_one_message = octeon_spi_transfer_one_message; in octeon_spi_probe() 54 master->bits_per_word_mask = SPI_BPW_MASK(8); in octeon_spi_probe() 55 master in octeon_spi_probe() 74 struct spi_master *master = platform_get_drvdata(pdev); octeon_spi_remove() local [all...] |
H A D | spi-clps711x.c | 35 static int spi_clps711x_prepare_message(struct spi_master *master, in spi_clps711x_prepare_message() argument 38 struct spi_clps711x_data *hw = spi_master_get_devdata(master); in spi_clps711x_prepare_message() 47 static int spi_clps711x_transfer_one(struct spi_master *master, in spi_clps711x_transfer_one() argument 51 struct spi_clps711x_data *hw = spi_master_get_devdata(master); in spi_clps711x_transfer_one() 70 struct spi_master *master = dev_id; in spi_clps711x_isr() local 71 struct spi_clps711x_data *hw = spi_master_get_devdata(master); in spi_clps711x_isr() 85 spi_finalize_current_transfer(master); in spi_clps711x_isr() 93 struct spi_master *master; in spi_clps711x_probe() local 100 master = spi_alloc_master(&pdev->dev, sizeof(*hw)); in spi_clps711x_probe() 101 if (!master) in spi_clps711x_probe() [all...] |
H A D | spi-omap2-mcspi.c | 120 struct spi_master *master; member 144 static inline void mcspi_write_reg(struct spi_master *master, in mcspi_write_reg() argument 147 struct omap2_mcspi *mcspi = spi_master_get_devdata(master); in mcspi_write_reg() 152 static inline u32 mcspi_read_reg(struct spi_master *master, int idx) in mcspi_read_reg() argument 154 struct omap2_mcspi *mcspi = spi_master_get_devdata(master); in mcspi_read_reg() 238 struct omap2_mcspi *mcspi = spi_master_get_devdata(spi->master); in omap2_mcspi_set_cs() 270 static void omap2_mcspi_set_mode(struct spi_master *master) in omap2_mcspi_set_mode() argument 272 struct omap2_mcspi *mcspi = spi_master_get_devdata(master); in omap2_mcspi_set_mode() 277 * Choose master or slave mode in omap2_mcspi_set_mode() 279 l = mcspi_read_reg(master, OMAP2_MCSPI_MODULCTR in omap2_mcspi_set_mode() 295 struct spi_master *master = spi->master; omap2_mcspi_set_fifo() local 1015 omap2_mcspi_release_dma(struct spi_master *master) omap2_mcspi_release_dma() argument 1107 omap2_mcspi_slave_abort(struct spi_master *master) omap2_mcspi_slave_abort() argument 1120 omap2_mcspi_transfer_one(struct spi_master *master, struct spi_device *spi, struct spi_transfer *t) omap2_mcspi_transfer_one() argument 1255 omap2_mcspi_prepare_message(struct spi_master *master, struct spi_message *msg) omap2_mcspi_prepare_message() argument 1282 omap2_mcspi_can_dma(struct spi_master *master, struct spi_device *spi, struct spi_transfer *xfer) omap2_mcspi_can_dma() argument 1316 struct spi_master *master = mcspi->master; omap2_mcspi_controller_setup() local 1344 struct spi_master *master = dev_get_drvdata(dev); omap_mcspi_runtime_resume() local 1406 struct spi_master *master; omap2_mcspi_probe() local 1536 struct spi_master *master = platform_get_drvdata(pdev); omap2_mcspi_remove() local 1553 struct spi_master *master = dev_get_drvdata(dev); omap2_mcspi_suspend() local 1572 struct spi_master *master = dev_get_drvdata(dev); omap2_mcspi_resume() local [all...] |
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-uniphier.c | 29 struct spi_master *master; member 130 struct uniphier_spi_priv *priv = spi_master_get_devdata(spi->master); in uniphier_spi_set_mode() 183 struct uniphier_spi_priv *priv = spi_master_get_devdata(spi->master); in uniphier_spi_set_transfer_size() 201 struct uniphier_spi_priv *priv = spi_master_get_devdata(spi->master); in uniphier_spi_set_baudrate() 220 struct uniphier_spi_priv *priv = spi_master_get_devdata(spi->master); in uniphier_spi_setup_transfer() 336 struct uniphier_spi_priv *priv = spi_master_get_devdata(spi->master); in uniphier_spi_set_cs() 349 static bool uniphier_spi_can_dma(struct spi_master *master, in uniphier_spi_can_dma() argument 353 struct uniphier_spi_priv *priv = spi_master_get_devdata(master); in uniphier_spi_can_dma() 356 if ((!master->dma_tx && !master in uniphier_spi_can_dma() 366 struct spi_master *master = data; uniphier_spi_dma_rxcb() local 378 struct spi_master *master = data; uniphier_spi_dma_txcb() local 388 uniphier_spi_transfer_one_dma(struct spi_master *master, struct spi_device *spi, struct spi_transfer *t) uniphier_spi_transfer_one_dma() argument 471 uniphier_spi_transfer_one_irq(struct spi_master *master, struct spi_device *spi, struct spi_transfer *t) uniphier_spi_transfer_one_irq() argument 498 uniphier_spi_transfer_one_poll(struct spi_master *master, struct spi_device *spi, struct spi_transfer *t) uniphier_spi_transfer_one_poll() argument 526 uniphier_spi_transfer_one(struct spi_master *master, struct spi_device *spi, struct spi_transfer *t) uniphier_spi_transfer_one() argument 556 uniphier_spi_prepare_transfer_hardware(struct spi_master *master) uniphier_spi_prepare_transfer_hardware() argument 565 uniphier_spi_unprepare_transfer_hardware(struct spi_master *master) uniphier_spi_unprepare_transfer_hardware() argument 574 uniphier_spi_handle_err(struct spi_master *master, struct spi_message *msg) uniphier_spi_handle_err() argument 644 struct spi_master *master; uniphier_spi_probe() local 780 struct spi_master *master = platform_get_drvdata(pdev); uniphier_spi_remove() local [all...] |
H A D | spi-sun6i.c | 100 struct spi_master *master; member 184 struct sun6i_spi *sspi = spi_master_get_devdata(spi->master); in sun6i_spi_set_cs() 215 struct spi_master *master = sspi->master; in sun6i_spi_prepare_dma() local 226 dmaengine_slave_config(master->dma_rx, &rxconf); in sun6i_spi_prepare_dma() 228 rxdesc = dmaengine_prep_slave_sg(master->dma_rx, in sun6i_spi_prepare_dma() 248 dmaengine_slave_config(master->dma_tx, &txconf); in sun6i_spi_prepare_dma() 250 txdesc = dmaengine_prep_slave_sg(master->dma_tx, in sun6i_spi_prepare_dma() 257 dmaengine_terminate_sync(master->dma_rx); in sun6i_spi_prepare_dma() 264 dma_async_issue_pending(master in sun6i_spi_prepare_dma() 275 sun6i_spi_transfer_one(struct spi_master *master, struct spi_device *spi, struct spi_transfer *tfr) sun6i_spi_transfer_one() argument 567 struct spi_master *master = dev_get_drvdata(dev); sun6i_spi_runtime_resume() local 604 struct spi_master *master = dev_get_drvdata(dev); sun6i_spi_runtime_suspend() local 614 sun6i_spi_can_dma(struct spi_master *master, struct spi_device *spi, struct spi_transfer *xfer) sun6i_spi_can_dma() argument 630 struct spi_master *master; sun6i_spi_probe() local 769 struct spi_master *master = platform_get_drvdata(pdev); sun6i_spi_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/fsi/ |
H A D | fsi-core.c | 27 #include "fsi-master.h" 97 static int fsi_master_read(struct fsi_master *master, int link, 99 static int fsi_master_write(struct fsi_master *master, int link, 101 static int fsi_master_break(struct fsi_master *master, int link); 197 struct fsi_master *master = slave->master; in fsi_slave_report_and_clear_errors() local 205 rc = fsi_master_read(master, link, id, FSI_SLAVE_BASE + FSI_SISC, in fsi_slave_report_and_clear_errors() 210 rc = fsi_master_read(master, link, id, FSI_SLAVE_BASE + FSI_SSTAT, in fsi_slave_report_and_clear_errors() 219 return fsi_master_write(master, link, id, FSI_SLAVE_BASE + FSI_SISC, in fsi_slave_report_and_clear_errors() 266 return fsi_master_write(slave->master, slav in fsi_slave_set_smode() 274 struct fsi_master *master = slave->master; fsi_slave_handle_error() local 643 fsi_slave_find_of_node(struct fsi_master *master, int link, uint8_t id) fsi_slave_find_of_node() argument 770 struct fsi_master *master = slave->master; send_term_store() local 794 struct fsi_master *master = slave->master; slave_send_echo_store() local 981 fsi_slave_init(struct fsi_master *master, int link, uint8_t id) fsi_slave_init() argument 1136 fsi_master_read(struct fsi_master *master, int link, uint8_t slave_id, uint32_t addr, void *val, size_t size) fsi_master_read() argument 1153 fsi_master_write(struct fsi_master *master, int link, uint8_t slave_id, uint32_t addr, const void *val, size_t size) fsi_master_write() argument 1170 fsi_master_link_disable(struct fsi_master *master, int link) fsi_master_link_disable() argument 1178 fsi_master_link_enable(struct fsi_master *master, int link) fsi_master_link_enable() argument 1189 fsi_master_break(struct fsi_master *master, int link) fsi_master_break() argument 1203 fsi_master_scan(struct fsi_master *master) fsi_master_scan() argument 1247 fsi_master_unscan(struct fsi_master *master) fsi_master_unscan() argument 1253 fsi_master_rescan(struct fsi_master *master) fsi_master_rescan() argument 1269 struct fsi_master *master = to_fsi_master(dev); master_rescan_store() local 1284 struct fsi_master *master = to_fsi_master(dev); master_break_store() local 1299 ATTRIBUTE_GROUPS(master); global() variable 1306 fsi_master_register(struct fsi_master *master) fsi_master_register() argument 1346 fsi_master_unregister(struct fsi_master *master) fsi_master_unregister() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
H A D | omap_hwmod_2xxx_interconnect_data.c | 26 .master = &omap2xxx_l3_main_hwmod, 33 .master = &omap2xxx_mpu_hwmod, 40 .master = &omap2xxx_dss_core_hwmod, 53 .master = &omap2xxx_l4_core_hwmod, 60 .master = &omap2xxx_l4_core_hwmod, 68 .master = &omap2xxx_l4_core_hwmod, 76 .master = &omap2xxx_l4_core_hwmod, 84 .master = &omap2xxx_l4_core_hwmod, 92 .master = &omap2xxx_l4_core_hwmod, 100 .master [all...] |
/kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
H A D | omap_hwmod_2xxx_interconnect_data.c | 25 .master = &omap2xxx_l3_main_hwmod, 32 .master = &omap2xxx_mpu_hwmod, 39 .master = &omap2xxx_dss_core_hwmod, 52 .master = &omap2xxx_l4_core_hwmod, 59 .master = &omap2xxx_l4_core_hwmod, 67 .master = &omap2xxx_l4_core_hwmod, 75 .master = &omap2xxx_l4_core_hwmod, 83 .master = &omap2xxx_l4_core_hwmod, 91 .master = &omap2xxx_l4_core_hwmod, 99 .master [all...] |
/kernel/linux/linux-5.10/drivers/fsi/ |
H A D | fsi-core.c | 25 #include "fsi-master.h" 86 struct fsi_master *master; member 111 static int fsi_master_read(struct fsi_master *master, int link, 113 static int fsi_master_write(struct fsi_master *master, int link, 115 static int fsi_master_break(struct fsi_master *master, int link); 211 struct fsi_master *master = slave->master; in fsi_slave_report_and_clear_errors() local 219 rc = fsi_master_read(master, link, id, FSI_SLAVE_BASE + FSI_SISC, in fsi_slave_report_and_clear_errors() 224 rc = fsi_master_read(master, link, id, FSI_SLAVE_BASE + FSI_SSTAT, in fsi_slave_report_and_clear_errors() 233 return fsi_master_write(master, lin in fsi_slave_report_and_clear_errors() 288 struct fsi_master *master = slave->master; fsi_slave_handle_error() local 677 fsi_slave_find_of_node(struct fsi_master *master, int link, uint8_t id) fsi_slave_find_of_node() argument 804 struct fsi_master *master = slave->master; send_term_store() local 828 struct fsi_master *master = slave->master; slave_send_echo_store() local 985 fsi_slave_init(struct fsi_master *master, int link, uint8_t id) fsi_slave_init() argument 1137 fsi_master_read(struct fsi_master *master, int link, uint8_t slave_id, uint32_t addr, void *val, size_t size) fsi_master_read() argument 1154 fsi_master_write(struct fsi_master *master, int link, uint8_t slave_id, uint32_t addr, const void *val, size_t size) fsi_master_write() argument 1171 fsi_master_link_disable(struct fsi_master *master, int link) fsi_master_link_disable() argument 1179 fsi_master_link_enable(struct fsi_master *master, int link) fsi_master_link_enable() argument 1190 fsi_master_break(struct fsi_master *master, int link) fsi_master_break() argument 1204 fsi_master_scan(struct fsi_master *master) fsi_master_scan() argument 1247 fsi_master_unscan(struct fsi_master *master) fsi_master_unscan() argument 1252 fsi_master_rescan(struct fsi_master *master) fsi_master_rescan() argument 1268 struct fsi_master *master = to_fsi_master(dev); master_rescan_store() local 1283 struct fsi_master *master = to_fsi_master(dev); master_break_store() local 1298 ATTRIBUTE_GROUPS(master); global() variable 1305 fsi_master_register(struct fsi_master *master) fsi_master_register() argument 1335 fsi_master_unregister(struct fsi_master *master) fsi_master_unregister() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_lease.c | 21 * DRM leases provide information about whether a DRM master may control a DRM 25 * The original DRM master of a device 'owns' the available drm resources. It 27 * to the new DRM master. This gives the new DRM master control over the 28 * leased resources until the owner revokes the lease, or the new DRM master 62 * through the SETMASTER or DROPMASTER IOCTL, so &drm_device.master points to 74 struct drm_master *drm_lease_owner(struct drm_master *master) in drm_lease_owner() argument 76 while (master->lessor != NULL) in drm_lease_owner() 77 master = master in drm_lease_owner() 82 _drm_find_lessee(struct drm_master *master, int lessee_id) _drm_find_lessee() argument 88 _drm_lease_held_master(struct drm_master *master, int id) _drm_lease_held_master() argument 97 _drm_has_leased(struct drm_master *master, int id) _drm_has_leased() argument 112 struct drm_master *master; _drm_lease_held() local 128 struct drm_master *master; drm_lease_held() local 156 struct drm_master *master; drm_lease_filter_crtcs() local 266 drm_lease_destroy(struct drm_master *master) drm_lease_destroy() argument 304 struct drm_master *master = top; _drm_lease_revoke() local [all...] |
H A D | drm_lock.c | 169 struct drm_master *master = file_priv->master; in drm_legacy_lock() local 185 master->lock.hw_lock ? master->lock.hw_lock->lock : -1, in drm_legacy_lock() 188 add_wait_queue(&master->lock.lock_queue, &entry); in drm_legacy_lock() 189 spin_lock_bh(&master->lock.spinlock); in drm_legacy_lock() 190 master->lock.user_waiters++; in drm_legacy_lock() 191 spin_unlock_bh(&master->lock.spinlock); in drm_legacy_lock() 195 if (!master->lock.hw_lock) { in drm_legacy_lock() 201 if (drm_lock_take(&master in drm_legacy_lock() 260 struct drm_master *master = file_priv->master; drm_legacy_unlock() local 332 struct drm_master *master = file_priv->master; drm_legacy_i_have_hw_lock() local 355 drm_legacy_lock_master_cleanup(struct drm_device *dev, struct drm_master *master) drm_legacy_lock_master_cleanup() argument [all...] |
/kernel/linux/linux-6.6/drivers/mtd/ |
H A D | mtdcore.c | 453 struct mtd_info *master = mtd_get_master(mtd); in mtd_wunit_to_pairing_info() local 454 int npairs = mtd_wunit_per_eb(master) / mtd_pairing_groups(master); in mtd_wunit_to_pairing_info() 459 if (master->pairing && master->pairing->get_info) in mtd_wunit_to_pairing_info() 460 return master->pairing->get_info(master, wunit, info); in mtd_wunit_to_pairing_info() 496 struct mtd_info *master = mtd_get_master(mtd); in mtd_pairing_info_to_wunit() local 497 int ngroups = mtd_pairing_groups(master); in mtd_pairing_info_to_wunit() 498 int npairs = mtd_wunit_per_eb(master) / ngroup in mtd_pairing_info_to_wunit() 523 struct mtd_info *master = mtd_get_master(mtd); mtd_pairing_groups() local 644 struct mtd_info *master = mtd_get_master(mtd); add_mtd_device() local 1113 mtd_device_unregister(struct mtd_info *master) mtd_device_unregister() argument 1235 struct mtd_info *master = mtd_get_master(mtd); __get_mtd_device() local 1340 struct mtd_info *master = mtd_get_master(mtd); __put_mtd_device() local 1369 struct mtd_info *master = mtd_get_master(mtd); mtd_erase() local 1421 struct mtd_info *master = mtd_get_master(mtd); mtd_point() local 1442 struct mtd_info *master = mtd_get_master(mtd); mtd_unpoint() local 1477 mtd_update_ecc_stats(struct mtd_info *mtd, struct mtd_info *master, const struct mtd_ecc_stats *old_stats) mtd_update_ecc_stats() argument 1538 struct mtd_info *master = mtd_get_master(mtd); mtd_panic_write() local 1593 struct mtd_info *master = mtd_get_master(mtd); mtd_read_oob_std() local 1609 struct mtd_info *master = mtd_get_master(mtd); mtd_write_oob_std() local 1625 struct mtd_info *master = mtd_get_master(mtd); mtd_io_emulated_slc() local 1687 struct mtd_info *master = mtd_get_master(mtd); mtd_read_oob() local 1732 struct mtd_info *master = mtd_get_master(mtd); mtd_write_oob() local 1776 struct mtd_info *master = mtd_get_master(mtd); mtd_ooblayout_ecc() local 1810 struct mtd_info *master = mtd_get_master(mtd); mtd_ooblayout_free() local 2129 struct mtd_info *master = mtd_get_master(mtd); mtd_get_fact_prot_info() local 2142 struct mtd_info *master = mtd_get_master(mtd); mtd_read_fact_prot_reg() local 2156 struct mtd_info *master = mtd_get_master(mtd); mtd_get_user_prot_info() local 2169 struct mtd_info *master = mtd_get_master(mtd); mtd_read_user_prot_reg() local 2183 struct mtd_info *master = mtd_get_master(mtd); mtd_write_user_prot_reg() local 2205 struct mtd_info *master = mtd_get_master(mtd); mtd_lock_user_prot_reg() local 2217 struct mtd_info *master = mtd_get_master(mtd); mtd_erase_user_prot_reg() local 2230 struct mtd_info *master = mtd_get_master(mtd); mtd_lock() local 2250 struct mtd_info *master = mtd_get_master(mtd); mtd_unlock() local 2270 struct mtd_info *master = mtd_get_master(mtd); mtd_is_locked() local 2290 struct mtd_info *master = mtd_get_master(mtd); mtd_block_isreserved() local 2306 struct mtd_info *master = mtd_get_master(mtd); mtd_block_isbad() local 2322 struct mtd_info *master = mtd_get_master(mtd); mtd_block_markbad() local 2394 struct mtd_info *master = mtd_get_master(mtd); mtd_writev() local [all...] |
H A D | mtdpart.c | 45 struct mtd_info *master = mtd_get_master(parent); in allocate_partition() local 47 master->writesize : master->erasesize; in allocate_partition() 83 * However, it is very useful to have the master node present, in allocate_partition() 84 * so the MTD_PARTITIONED_MASTER option allows that. The master in allocate_partition() 171 child->erasesize = master->erasesize; in allocate_partition() 206 if (master->_block_isbad) { in allocate_partition() 248 struct mtd_info *master = mtd_get_master(parent); in mtd_add_partition() local 275 mutex_lock(&master->master in mtd_add_partition() 355 struct mtd_info *master = mtd_get_master(mtd); del_mtd_partitions() local 369 struct mtd_info *child, *master = mtd_get_master(mtd); mtd_del_partition() local 398 struct mtd_info *child, *master = mtd_get_master(parent); add_mtd_partitions() local 516 mtd_part_do_parse(struct mtd_part_parser *parser, struct mtd_info *master, struct mtd_partitions *pparts, struct mtd_part_parser_data *data) mtd_part_do_parse() argument 576 mtd_part_of_parse(struct mtd_info *master, struct mtd_partitions *pparts) mtd_part_of_parse() argument 664 parse_mtd_partitions(struct mtd_info *master, const char *const *types, struct mtd_part_parser_data *data) parse_mtd_partitions() argument 733 struct mtd_info *master = mtd_get_master((struct mtd_info *)mtd); mtd_get_device_size() local [all...] |
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-qcom-cci.c | 112 u16 master; member 134 struct cci_master master[NUM_MASTERS]; member 148 complete(&cci->master[0].irq_complete); in cci_isr() 149 if (cci->master[1].master) in cci_isr() 150 complete(&cci->master[1].irq_complete); in cci_isr() 157 cci->master[0].status = 0; in cci_isr() 158 complete(&cci->master[0].irq_complete); in cci_isr() 165 cci->master[1].status = 0; in cci_isr() 166 complete(&cci->master[ in cci_isr() 210 struct cci_master *master; cci_halt() local 295 cci_run_queue(struct cci *cci, u8 master, u8 queue) cci_run_queue() argument 318 cci_validate_queue(struct cci *cci, u8 master, u8 queue) cci_validate_queue() argument 335 cci_i2c_read(struct cci *cci, u16 master, u16 addr, u8 *buf, u16 len) cci_i2c_read() argument 388 cci_i2c_write(struct cci *cci, u16 master, u16 addr, u8 *buf, u16 len) cci_i2c_write() argument 544 struct cci_master *master; cci_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_lock.c | 169 struct drm_master *master = file_priv->master; in drm_legacy_lock() local 185 master->lock.hw_lock ? master->lock.hw_lock->lock : -1, in drm_legacy_lock() 188 add_wait_queue(&master->lock.lock_queue, &entry); in drm_legacy_lock() 189 spin_lock_bh(&master->lock.spinlock); in drm_legacy_lock() 190 master->lock.user_waiters++; in drm_legacy_lock() 191 spin_unlock_bh(&master->lock.spinlock); in drm_legacy_lock() 195 if (!master->lock.hw_lock) { in drm_legacy_lock() 201 if (drm_lock_take(&master in drm_legacy_lock() 260 struct drm_master *master = file_priv->master; drm_legacy_unlock() local 332 struct drm_master *master = file_priv->master; drm_legacy_i_have_hw_lock() local 355 drm_legacy_lock_master_cleanup(struct drm_device *dev, struct drm_master *master) drm_legacy_lock_master_cleanup() argument [all...] |
/kernel/linux/linux-5.10/drivers/mtd/ |
H A D | mtdcore.c | 474 struct mtd_info *master = mtd_get_master(mtd); in mtd_wunit_to_pairing_info() local 475 int npairs = mtd_wunit_per_eb(master) / mtd_pairing_groups(master); in mtd_wunit_to_pairing_info() 480 if (master->pairing && master->pairing->get_info) in mtd_wunit_to_pairing_info() 481 return master->pairing->get_info(master, wunit, info); in mtd_wunit_to_pairing_info() 517 struct mtd_info *master = mtd_get_master(mtd); in mtd_pairing_info_to_wunit() local 518 int ngroups = mtd_pairing_groups(master); in mtd_pairing_info_to_wunit() 519 int npairs = mtd_wunit_per_eb(master) / ngroup in mtd_pairing_info_to_wunit() 544 struct mtd_info *master = mtd_get_master(mtd); mtd_pairing_groups() local 609 struct mtd_info *master = mtd_get_master(mtd); add_mtd_device() local 904 mtd_device_unregister(struct mtd_info *master) mtd_device_unregister() argument 1021 struct mtd_info *master = mtd_get_master(mtd); __get_mtd_device() local 1096 struct mtd_info *master = mtd_get_master(mtd); __put_mtd_device() local 1120 struct mtd_info *master = mtd_get_master(mtd); mtd_erase() local 1172 struct mtd_info *master = mtd_get_master(mtd); mtd_point() local 1193 struct mtd_info *master = mtd_get_master(mtd); mtd_unpoint() local 1228 mtd_update_ecc_stats(struct mtd_info *mtd, struct mtd_info *master, const struct mtd_ecc_stats *old_stats) mtd_update_ecc_stats() argument 1289 struct mtd_info *master = mtd_get_master(mtd); mtd_panic_write() local 1344 struct mtd_info *master = mtd_get_master(mtd); mtd_read_oob_std() local 1360 struct mtd_info *master = mtd_get_master(mtd); mtd_write_oob_std() local 1376 struct mtd_info *master = mtd_get_master(mtd); mtd_io_emulated_slc() local 1438 struct mtd_info *master = mtd_get_master(mtd); mtd_read_oob() local 1478 struct mtd_info *master = mtd_get_master(mtd); mtd_write_oob() local 1522 struct mtd_info *master = mtd_get_master(mtd); mtd_ooblayout_ecc() local 1556 struct mtd_info *master = mtd_get_master(mtd); mtd_ooblayout_free() local 1875 struct mtd_info *master = mtd_get_master(mtd); mtd_get_fact_prot_info() local 1888 struct mtd_info *master = mtd_get_master(mtd); mtd_read_fact_prot_reg() local 1902 struct mtd_info *master = mtd_get_master(mtd); mtd_get_user_prot_info() local 1915 struct mtd_info *master = mtd_get_master(mtd); mtd_read_user_prot_reg() local 1929 struct mtd_info *master = mtd_get_master(mtd); mtd_write_user_prot_reg() local 1951 struct mtd_info *master = mtd_get_master(mtd); mtd_lock_user_prot_reg() local 1964 struct mtd_info *master = mtd_get_master(mtd); mtd_lock() local 1984 struct mtd_info *master = mtd_get_master(mtd); mtd_unlock() local 2004 struct mtd_info *master = mtd_get_master(mtd); mtd_is_locked() local 2024 struct mtd_info *master = mtd_get_master(mtd); mtd_block_isreserved() local 2040 struct mtd_info *master = mtd_get_master(mtd); mtd_block_isbad() local 2056 struct mtd_info *master = mtd_get_master(mtd); mtd_block_markbad() local 2128 struct mtd_info *master = mtd_get_master(mtd); mtd_writev() local [all...] |
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-qcom-cci.c | 112 u16 master; member 134 struct cci_master master[NUM_MASTERS]; member 148 complete(&cci->master[0].irq_complete); in cci_isr() 149 if (cci->master[1].master) in cci_isr() 150 complete(&cci->master[1].irq_complete); in cci_isr() 157 cci->master[0].status = 0; in cci_isr() 158 complete(&cci->master[0].irq_complete); in cci_isr() 165 cci->master[1].status = 0; in cci_isr() 166 complete(&cci->master[ in cci_isr() 210 struct cci_master *master; cci_halt() local 295 cci_run_queue(struct cci *cci, u8 master, u8 queue) cci_run_queue() argument 318 cci_validate_queue(struct cci *cci, u8 master, u8 queue) cci_validate_queue() argument 335 cci_i2c_read(struct cci *cci, u16 master, u16 addr, u8 *buf, u16 len) cci_i2c_read() argument 388 cci_i2c_write(struct cci *cci, u16 master, u16 addr, u8 *buf, u16 len) cci_i2c_write() argument [all...] |
/kernel/linux/linux-5.10/drivers/w1/slaves/ |
H A D | w1_ds2408.c | 48 mutex_lock(&sl->master->bus_mutex); in _read_reg() 52 mutex_unlock(&sl->master->bus_mutex); in _read_reg() 59 w1_write_block(sl->master, wrbuf, 3); in _read_reg() 60 *buf = w1_read_8(sl->master); in _read_reg() 62 mutex_unlock(&sl->master->bus_mutex); in _read_reg() 144 if (w1_reset_resume_command(sl->master)) in optional_read_back_valid() 151 w1_write_block(sl->master, w1_buf, 3); in optional_read_back_valid() 153 return (w1_read_8(sl->master) == expected); in optional_read_back_valid() 175 mutex_lock(&sl->master->bus_mutex); in output_write() 186 w1_write_block(sl->master, w1_bu in output_write() [all...] |