/kernel/linux/linux-6.6/drivers/mailbox/ |
H A D | pcc.c | 233 struct pcc_chan_info *pchan; in pcc_mbox_irq() local 238 pchan = chan->con_priv; in pcc_mbox_irq() 240 ret = pcc_chan_reg_read(&pchan->cmd_complete, &val); in pcc_mbox_irq() 245 val &= pchan->cmd_complete.status_mask; in pcc_mbox_irq() 250 ret = pcc_chan_reg_read(&pchan->error, &val); in pcc_mbox_irq() 253 val &= pchan->error.status_mask; in pcc_mbox_irq() 255 val &= ~pchan->error.status_mask; in pcc_mbox_irq() 256 pcc_chan_reg_write(&pchan->error, val); in pcc_mbox_irq() 260 if (pcc_chan_reg_read_modify_write(&pchan->plat_irq_ack)) in pcc_mbox_irq() 283 struct pcc_chan_info *pchan; in pcc_mbox_request_channel() local 311 pcc_mbox_free_channel(struct pcc_mbox_chan *pchan) pcc_mbox_free_channel() argument 337 struct pcc_chan_info *pchan = chan->con_priv; pcc_send_data() local 355 struct pcc_chan_info *pchan = chan->con_priv; pcc_startup() local 378 struct pcc_chan_info *pchan = chan->con_priv; pcc_shutdown() local 448 pcc_parse_subspace_irq(struct pcc_chan_info *pchan, struct acpi_subtable_header *pcct_entry) pcc_parse_subspace_irq() argument 498 pcc_parse_subspace_db_reg(struct pcc_chan_info *pchan, struct acpi_subtable_header *pcct_entry) pcc_parse_subspace_db_reg() argument 555 pcc_parse_subspace_shmem(struct pcc_chan_info *pchan, struct acpi_subtable_header *pcct_entry) pcc_parse_subspace_shmem() argument 678 struct pcc_chan_info *pchan = chan_info + i; pcc_mbox_probe() local [all...] |
H A D | arm_mhu_db.c | 49 * @pchan: Physical channel within which this doorbell resides in 54 unsigned int pchan; member 59 mhu_db_mbox_to_channel(struct mbox_controller *mbox, unsigned int pchan, in mhu_db_mbox_to_channel() argument 67 if (chan_info && chan_info->pchan == pchan && in mhu_db_mbox_to_channel() 78 void __iomem *base = chan_info->mhu->mlink[chan_info->pchan].rx_reg; in mhu_db_mbox_clear_irq() 85 unsigned int pchan; in mhu_db_mbox_irq_to_pchan_num() local 87 for (pchan = 0; pchan < MHU_CHANS; pchan in mhu_db_mbox_irq_to_pchan_num() 94 mhu_db_mbox_irq_to_channel(struct arm_mhu *mhu, unsigned int pchan) mhu_db_mbox_irq_to_channel() argument 127 unsigned int pchan = mhu_db_mbox_irq_to_pchan_num(mhu, irq); mhu_db_mbox_rx_handler() local 192 unsigned int pchan = spec->args[0]; mhu_db_mbox_xlate() local [all...] |
/kernel/linux/linux-5.10/drivers/mailbox/ |
H A D | arm_mhu_db.c | 50 * @pchan: Physical channel within which this doorbell resides in 55 unsigned int pchan; member 60 mhu_db_mbox_to_channel(struct mbox_controller *mbox, unsigned int pchan, in mhu_db_mbox_to_channel() argument 68 if (chan_info && chan_info->pchan == pchan && in mhu_db_mbox_to_channel() 79 void __iomem *base = chan_info->mhu->mlink[chan_info->pchan].rx_reg; in mhu_db_mbox_clear_irq() 86 unsigned int pchan; in mhu_db_mbox_irq_to_pchan_num() local 88 for (pchan = 0; pchan < MHU_CHANS; pchan in mhu_db_mbox_irq_to_pchan_num() 95 mhu_db_mbox_irq_to_channel(struct arm_mhu *mhu, unsigned int pchan) mhu_db_mbox_irq_to_channel() argument 128 unsigned int pchan = mhu_db_mbox_irq_to_pchan_num(mhu, irq); mhu_db_mbox_rx_handler() local 193 unsigned int pchan = spec->args[0]; mhu_db_mbox_xlate() local [all...] |
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | owl-dma.c | 197 * @pchan: the physical channel utilized by this channel 204 struct owl_dma_pchan *pchan; member 240 static void pchan_update(struct owl_dma_pchan *pchan, u32 reg, in pchan_update() argument 245 regval = readl(pchan->base + reg); in pchan_update() 252 writel(val, pchan->base + reg); in pchan_update() 255 static void pchan_writel(struct owl_dma_pchan *pchan, u32 reg, u32 data) in pchan_writel() argument 257 writel(data, pchan->base + reg); in pchan_writel() 260 static u32 pchan_readl(struct owl_dma_pchan *pchan, u32 reg) in pchan_readl() argument 262 return readl(pchan->base + reg); in pchan_readl() 470 struct owl_dma_pchan *pchan in owl_dma_get_pchan() local 490 owl_dma_pchan_busy(struct owl_dma *od, struct owl_dma_pchan *pchan) owl_dma_pchan_busy() argument 499 owl_dma_terminate_pchan(struct owl_dma *od, struct owl_dma_pchan *pchan) owl_dma_terminate_pchan() argument 524 owl_dma_pause_pchan(struct owl_dma_pchan *pchan) owl_dma_pause_pchan() argument 529 owl_dma_resume_pchan(struct owl_dma_pchan *pchan) owl_dma_resume_pchan() argument 538 struct owl_dma_pchan *pchan = vchan->pchan; owl_dma_start_next_txd() local 595 struct owl_dma_pchan *pchan; owl_dma_interrupt() local 772 struct owl_dma_pchan *pchan; owl_dma_getbytes_chan() local 840 struct owl_dma_pchan *pchan; owl_dma_phy_alloc_and_start() local 1176 struct owl_dma_pchan *pchan = &od->pchans[i]; owl_dma_probe() local [all...] |
H A D | sun4i-dma.c | 130 /* Is this a dedicated pchan? */ 137 struct sun4i_dma_pchan *pchan; member 220 struct sun4i_dma_pchan *pchan = NULL, *pchans = priv->pchans; in find_and_use_pchan() local 238 pchan = &pchans[i]; in find_and_use_pchan() 239 pchan->vchan = vchan; in find_and_use_pchan() 245 return pchan; in find_and_use_pchan() 249 struct sun4i_dma_pchan *pchan) in release_pchan() 252 int nr = pchan - priv->pchans; in release_pchan() 256 pchan->vchan = NULL; in release_pchan() 262 static void configure_pchan(struct sun4i_dma_pchan *pchan, in configure_pchan() argument 248 release_pchan(struct sun4i_dma_dev *priv, struct sun4i_dma_pchan *pchan) release_pchan() argument 283 set_pchan_interrupt(struct sun4i_dma_dev *priv, struct sun4i_dma_pchan *pchan, int half, int end) set_pchan_interrupt() argument 324 struct sun4i_dma_pchan *pchan; __execute_vchan_pending() local 871 struct sun4i_dma_pchan *pchan = vchan->pchan; sun4i_dma_terminate_all() local 948 struct sun4i_dma_pchan *pchan = vchan->pchan; sun4i_dma_tx_status() local 1013 struct sun4i_dma_pchan *pchans = priv->pchans, *pchan; sun4i_dma_interrupt() local [all...] |
H A D | sun6i-dma.c | 242 struct sun6i_pchan *pchan) in sun6i_dma_dump_chan_regs() 244 phys_addr_t reg = virt_to_phys(pchan->base); in sun6i_dma_dump_chan_regs() 255 pchan->idx, ®, in sun6i_dma_dump_chan_regs() 257 readl(pchan->base + DMA_CHAN_ENABLE), in sun6i_dma_dump_chan_regs() 259 readl(pchan->base + DMA_CHAN_PAUSE), in sun6i_dma_dump_chan_regs() 261 readl(pchan->base + DMA_CHAN_LLI_ADDR), in sun6i_dma_dump_chan_regs() 263 readl(pchan->base + DMA_CHAN_CUR_CFG), in sun6i_dma_dump_chan_regs() 265 readl(pchan->base + DMA_CHAN_CUR_SRC), in sun6i_dma_dump_chan_regs() 267 readl(pchan->base + DMA_CHAN_CUR_DST), in sun6i_dma_dump_chan_regs() 269 readl(pchan in sun6i_dma_dump_chan_regs() 241 sun6i_dma_dump_chan_regs(struct sun6i_dma_dev *sdev, struct sun6i_pchan *pchan) sun6i_dma_dump_chan_regs() argument 341 sun6i_get_chan_size(struct sun6i_pchan *pchan) sun6i_get_chan_size() argument 431 struct sun6i_pchan *pchan = vchan->phy; sun6i_dma_start_desc() local 474 struct sun6i_pchan *pchan; sun6i_dma_tasklet() local 539 struct sun6i_pchan *pchan; sun6i_dma_interrupt() local 843 struct sun6i_pchan *pchan = vchan->phy; sun6i_dma_pause() local 863 struct sun6i_pchan *pchan = vchan->phy; sun6i_dma_resume() local 888 struct sun6i_pchan *pchan = vchan->phy; sun6i_dma_terminate_all() local 932 struct sun6i_pchan *pchan = vchan->phy; sun6i_dma_tx_status() local 1349 struct sun6i_pchan *pchan = &sdc->pchans[i]; sun6i_dma_probe() local [all...] |
H A D | mmp_pdma.c | 240 static struct mmp_pdma_phy *lookup_phy(struct mmp_pdma_chan *pchan) in lookup_phy() argument 243 struct mmp_pdma_device *pdev = to_mmp_pdma_dev(pchan->chan.device); in lookup_phy() 262 phy->vchan = pchan; in lookup_phy() 274 static void mmp_pdma_free_phy(struct mmp_pdma_chan *pchan) in mmp_pdma_free_phy() argument 276 struct mmp_pdma_device *pdev = to_mmp_pdma_dev(pchan->chan.device); in mmp_pdma_free_phy() 280 if (!pchan->phy) in mmp_pdma_free_phy() 284 reg = DRCMR(pchan->drcmr); in mmp_pdma_free_phy() 285 writel(0, pchan->phy->base + reg); in mmp_pdma_free_phy() 288 pchan->phy->vchan = NULL; in mmp_pdma_free_phy() 289 pchan in mmp_pdma_free_phy() [all...] |
H A D | timb_dma.c | 685 struct timb_dma_platform_data_channel *pchan = in td_probe() local 689 if ((i % 2) == pchan->rx) { in td_probe() 702 td_chan->descs = pchan->descriptors; in td_probe() 703 td_chan->desc_elems = pchan->descriptor_elements; in td_probe() 704 td_chan->bytes_per_line = pchan->bytes_per_line; in td_probe() 705 td_chan->direction = pchan->rx ? DMA_DEV_TO_MEM : in td_probe() 710 (pchan->rx ? 0 : TIMBDMA_INSTANCE_TX_OFFSET); in td_probe()
|
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | owl-dma.c | 198 * @pchan: the physical channel utilized by this channel 205 struct owl_dma_pchan *pchan; member 241 static void pchan_update(struct owl_dma_pchan *pchan, u32 reg, in pchan_update() argument 246 regval = readl(pchan->base + reg); in pchan_update() 253 writel(val, pchan->base + reg); in pchan_update() 256 static void pchan_writel(struct owl_dma_pchan *pchan, u32 reg, u32 data) in pchan_writel() argument 258 writel(data, pchan->base + reg); in pchan_writel() 261 static u32 pchan_readl(struct owl_dma_pchan *pchan, u32 reg) in pchan_readl() argument 263 return readl(pchan->base + reg); in pchan_readl() 471 struct owl_dma_pchan *pchan in owl_dma_get_pchan() local 491 owl_dma_pchan_busy(struct owl_dma *od, struct owl_dma_pchan *pchan) owl_dma_pchan_busy() argument 500 owl_dma_terminate_pchan(struct owl_dma *od, struct owl_dma_pchan *pchan) owl_dma_terminate_pchan() argument 525 owl_dma_pause_pchan(struct owl_dma_pchan *pchan) owl_dma_pause_pchan() argument 530 owl_dma_resume_pchan(struct owl_dma_pchan *pchan) owl_dma_resume_pchan() argument 539 struct owl_dma_pchan *pchan = vchan->pchan; owl_dma_start_next_txd() local 596 struct owl_dma_pchan *pchan; owl_dma_interrupt() local 773 struct owl_dma_pchan *pchan; owl_dma_getbytes_chan() local 841 struct owl_dma_pchan *pchan; owl_dma_phy_alloc_and_start() local 1178 struct owl_dma_pchan *pchan = &od->pchans[i]; owl_dma_probe() local [all...] |
H A D | sun4i-dma.c | 140 /* Is this a dedicated pchan? */ 147 struct sun4i_dma_pchan *pchan; member 231 struct sun4i_dma_pchan *pchan = NULL, *pchans = priv->pchans; in find_and_use_pchan() local 249 pchan = &pchans[i]; in find_and_use_pchan() 250 pchan->vchan = vchan; in find_and_use_pchan() 256 return pchan; in find_and_use_pchan() 260 struct sun4i_dma_pchan *pchan) in release_pchan() 263 int nr = pchan - priv->pchans; in release_pchan() 267 pchan->vchan = NULL; in release_pchan() 273 static void configure_pchan(struct sun4i_dma_pchan *pchan, in configure_pchan() argument 259 release_pchan(struct sun4i_dma_dev *priv, struct sun4i_dma_pchan *pchan) release_pchan() argument 294 set_pchan_interrupt(struct sun4i_dma_dev *priv, struct sun4i_dma_pchan *pchan, int half, int end) set_pchan_interrupt() argument 335 struct sun4i_dma_pchan *pchan; __execute_vchan_pending() local 891 struct sun4i_dma_pchan *pchan = vchan->pchan; sun4i_dma_terminate_all() local 968 struct sun4i_dma_pchan *pchan = vchan->pchan; sun4i_dma_tx_status() local 1033 struct sun4i_dma_pchan *pchans = priv->pchans, *pchan; sun4i_dma_interrupt() local [all...] |
H A D | sun6i-dma.c | 252 struct sun6i_pchan *pchan) in sun6i_dma_dump_chan_regs() 263 pchan->idx, in sun6i_dma_dump_chan_regs() 265 readl(pchan->base + DMA_CHAN_ENABLE), in sun6i_dma_dump_chan_regs() 267 readl(pchan->base + DMA_CHAN_PAUSE), in sun6i_dma_dump_chan_regs() 269 readl(pchan->base + DMA_CHAN_LLI_ADDR), in sun6i_dma_dump_chan_regs() 271 readl(pchan->base + DMA_CHAN_CUR_CFG), in sun6i_dma_dump_chan_regs() 273 readl(pchan->base + DMA_CHAN_CUR_SRC), in sun6i_dma_dump_chan_regs() 275 readl(pchan->base + DMA_CHAN_CUR_DST), in sun6i_dma_dump_chan_regs() 277 readl(pchan->base + DMA_CHAN_CUR_CNT), in sun6i_dma_dump_chan_regs() 279 readl(pchan in sun6i_dma_dump_chan_regs() 251 sun6i_dma_dump_chan_regs(struct sun6i_dma_dev *sdev, struct sun6i_pchan *pchan) sun6i_dma_dump_chan_regs() argument 349 sun6i_get_chan_size(struct sun6i_pchan *pchan) sun6i_get_chan_size() argument 438 struct sun6i_pchan *pchan = vchan->phy; sun6i_dma_start_desc() local 481 struct sun6i_pchan *pchan; sun6i_dma_tasklet() local 546 struct sun6i_pchan *pchan; sun6i_dma_interrupt() local 868 struct sun6i_pchan *pchan = vchan->phy; sun6i_dma_pause() local 888 struct sun6i_pchan *pchan = vchan->phy; sun6i_dma_resume() local 913 struct sun6i_pchan *pchan = vchan->phy; sun6i_dma_terminate_all() local 957 struct sun6i_pchan *pchan = vchan->phy; sun6i_dma_tx_status() local 1399 struct sun6i_pchan *pchan = &sdc->pchans[i]; sun6i_dma_probe() local [all...] |
H A D | mmp_pdma.c | 239 static struct mmp_pdma_phy *lookup_phy(struct mmp_pdma_chan *pchan) in lookup_phy() argument 242 struct mmp_pdma_device *pdev = to_mmp_pdma_dev(pchan->chan.device); in lookup_phy() 261 phy->vchan = pchan; in lookup_phy() 273 static void mmp_pdma_free_phy(struct mmp_pdma_chan *pchan) in mmp_pdma_free_phy() argument 275 struct mmp_pdma_device *pdev = to_mmp_pdma_dev(pchan->chan.device); in mmp_pdma_free_phy() 279 if (!pchan->phy) in mmp_pdma_free_phy() 283 reg = DRCMR(pchan->drcmr); in mmp_pdma_free_phy() 284 writel(0, pchan->phy->base + reg); in mmp_pdma_free_phy() 287 pchan->phy->vchan = NULL; in mmp_pdma_free_phy() 288 pchan in mmp_pdma_free_phy() [all...] |
H A D | timb_dma.c | 685 struct timb_dma_platform_data_channel *pchan = in td_probe() local 689 if ((i % 2) == pchan->rx) { in td_probe() 702 td_chan->descs = pchan->descriptors; in td_probe() 703 td_chan->desc_elems = pchan->descriptor_elements; in td_probe() 704 td_chan->bytes_per_line = pchan->bytes_per_line; in td_probe() 705 td_chan->direction = pchan->rx ? DMA_DEV_TO_MEM : in td_probe() 710 (pchan->rx ? 0 : TIMBDMA_INSTANCE_TX_OFFSET); in td_probe()
|
/kernel/linux/linux-5.10/drivers/w1/masters/ |
H A D | ds2482.c | 265 struct ds2482_w1_chan *pchan = data; in ds2482_w1_touch_bit() local 266 struct ds2482_data *pdev = pchan->pdev; in ds2482_w1_touch_bit() 274 ds2482_set_channel(pdev, pchan->channel); in ds2482_w1_touch_bit() 297 struct ds2482_w1_chan *pchan = data; in ds2482_w1_triplet() local 298 struct ds2482_data *pdev = pchan->pdev; in ds2482_w1_triplet() 306 ds2482_set_channel(pdev, pchan->channel); in ds2482_w1_triplet() 327 struct ds2482_w1_chan *pchan = data; in ds2482_w1_write_byte() local 328 struct ds2482_data *pdev = pchan->pdev; in ds2482_w1_write_byte() 335 ds2482_set_channel(pdev, pchan->channel); in ds2482_w1_write_byte() 351 struct ds2482_w1_chan *pchan in ds2482_w1_read_byte() local 388 struct ds2482_w1_chan *pchan = data; ds2482_w1_reset_bus() local 420 struct ds2482_w1_chan *pchan = data; ds2482_w1_set_pullup() local [all...] |
/kernel/linux/linux-6.6/drivers/w1/masters/ |
H A D | ds2482.c | 262 struct ds2482_w1_chan *pchan = data; in ds2482_w1_touch_bit() local 263 struct ds2482_data *pdev = pchan->pdev; in ds2482_w1_touch_bit() 271 ds2482_set_channel(pdev, pchan->channel); in ds2482_w1_touch_bit() 294 struct ds2482_w1_chan *pchan = data; in ds2482_w1_triplet() local 295 struct ds2482_data *pdev = pchan->pdev; in ds2482_w1_triplet() 303 ds2482_set_channel(pdev, pchan->channel); in ds2482_w1_triplet() 324 struct ds2482_w1_chan *pchan = data; in ds2482_w1_write_byte() local 325 struct ds2482_data *pdev = pchan->pdev; in ds2482_w1_write_byte() 332 ds2482_set_channel(pdev, pchan->channel); in ds2482_w1_write_byte() 348 struct ds2482_w1_chan *pchan in ds2482_w1_read_byte() local 385 struct ds2482_w1_chan *pchan = data; ds2482_w1_reset_bus() local 417 struct ds2482_w1_chan *pchan = data; ds2482_w1_set_pullup() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
H A D | nouveau_chan.c | 84 nouveau_channel_del(struct nouveau_channel **pchan) in nouveau_channel_del() argument 86 struct nouveau_channel *chan = *pchan; in nouveau_channel_del() 118 *pchan = NULL; in nouveau_channel_del() 148 u32 size, struct nouveau_channel **pchan) in nouveau_channel_prep() 156 chan = *pchan = kzalloc(sizeof(*chan), GFP_KERNEL); in nouveau_channel_prep() 179 nouveau_channel_del(pchan); in nouveau_channel_prep() 201 nouveau_channel_del(pchan); in nouveau_channel_prep() 251 nouveau_channel_del(pchan); in nouveau_channel_prep() 260 u64 runlist, bool priv, struct nouveau_channel **pchan) in nouveau_channel_ind() 285 *pchan in nouveau_channel_ind() 147 nouveau_channel_prep(struct nouveau_drm *drm, struct nvif_device *device, u32 size, struct nouveau_channel **pchan) nouveau_channel_prep() argument 259 nouveau_channel_ind(struct nouveau_drm *drm, struct nvif_device *device, u64 runlist, bool priv, struct nouveau_channel **pchan) nouveau_channel_ind() argument 350 nouveau_channel_dma(struct nouveau_drm *drm, struct nvif_device *device, struct nouveau_channel **pchan) nouveau_channel_dma() argument 510 nouveau_channel_new(struct nouveau_drm *drm, struct nvif_device *device, u32 arg0, u32 arg1, bool priv, struct nouveau_channel **pchan) nouveau_channel_new() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/ |
H A D | nouveau_chan.c | 89 nouveau_channel_del(struct nouveau_channel **pchan) in nouveau_channel_del() argument 91 struct nouveau_channel *chan = *pchan; in nouveau_channel_del() 116 *pchan = NULL; in nouveau_channel_del() 146 u32 size, struct nouveau_channel **pchan) in nouveau_channel_prep() 154 chan = *pchan = kzalloc(sizeof(*chan), GFP_KERNEL); in nouveau_channel_prep() 177 nouveau_channel_del(pchan); in nouveau_channel_prep() 199 nouveau_channel_del(pchan); in nouveau_channel_prep() 249 nouveau_channel_del(pchan); in nouveau_channel_prep() 258 struct nouveau_channel **pchan) in nouveau_channel_ctor() 302 *pchan in nouveau_channel_ctor() 145 nouveau_channel_prep(struct nouveau_drm *drm, struct nvif_device *device, u32 size, struct nouveau_channel **pchan) nouveau_channel_prep() argument 257 nouveau_channel_ctor(struct nouveau_drm *drm, struct nvif_device *device, bool priv, u64 runm, struct nouveau_channel **pchan) nouveau_channel_ctor() argument 496 nouveau_channel_new(struct nouveau_drm *drm, struct nvif_device *device, bool priv, u64 runm, u32 vram, u32 gart, struct nouveau_channel **pchan) nouveau_channel_new() argument [all...] |
/kernel/linux/linux-5.10/drivers/iio/multiplexer/ |
H A D | iio-mux.c | 243 struct iio_chan_spec const *pchan = mux->parent->channel; in mux_configure_channel() local 250 chan->output = pchan->output; in mux_configure_channel() 260 if (iio_channel_has_info(pchan, IIO_CHAN_INFO_RAW)) in mux_configure_channel() 262 if (iio_channel_has_info(pchan, IIO_CHAN_INFO_SCALE)) in mux_configure_channel() 265 if (iio_channel_has_available(pchan, IIO_CHAN_INFO_RAW)) in mux_configure_channel() 291 if (!pchan->ext_info[i].write) in mux_configure_channel() 293 if (!pchan->ext_info[i].read) in mux_configure_channel() 301 pchan->ext_info[i].name); in mux_configure_channel() 306 pchan->ext_info[i].name); in mux_configure_channel()
|
/kernel/linux/linux-6.6/drivers/iio/multiplexer/ |
H A D | iio-mux.c | 246 struct iio_chan_spec const *pchan = mux->parent->channel; in mux_configure_channel() local 253 chan->output = pchan->output; in mux_configure_channel() 263 if (iio_channel_has_info(pchan, IIO_CHAN_INFO_RAW)) in mux_configure_channel() 265 if (iio_channel_has_info(pchan, IIO_CHAN_INFO_SCALE)) in mux_configure_channel() 268 if (iio_channel_has_available(pchan, IIO_CHAN_INFO_RAW)) in mux_configure_channel() 294 if (!pchan->ext_info[i].write) in mux_configure_channel() 296 if (!pchan->ext_info[i].read) in mux_configure_channel() 304 pchan->ext_info[i].name); in mux_configure_channel() 309 pchan->ext_info[i].name); in mux_configure_channel()
|
/kernel/linux/linux-5.10/drivers/firmware/ |
H A D | arm_scpi.c | 935 struct scpi_chan *pchan = scpi_drvinfo->channels + idx; in scpi_probe() local 936 struct mbox_client *cl = &pchan->cl; in scpi_probe() 947 pchan->rx_payload = devm_ioremap(dev, res.start, size); in scpi_probe() 948 if (!pchan->rx_payload) { in scpi_probe() 952 pchan->tx_payload = pchan->rx_payload + (size >> 1); in scpi_probe() 961 INIT_LIST_HEAD(&pchan->rx_pending); in scpi_probe() 962 INIT_LIST_HEAD(&pchan->xfers_list); in scpi_probe() 963 spin_lock_init(&pchan->rx_lock); in scpi_probe() 964 mutex_init(&pchan in scpi_probe() [all...] |
/kernel/linux/linux-6.6/drivers/firmware/ |
H A D | arm_scpi.c | 943 struct scpi_chan *pchan = scpi_drvinfo->channels + idx; in scpi_probe() local 944 struct mbox_client *cl = &pchan->cl; in scpi_probe() 958 pchan->rx_payload = devm_ioremap(dev, res.start, size); in scpi_probe() 959 if (!pchan->rx_payload) { in scpi_probe() 963 pchan->tx_payload = pchan->rx_payload + (size >> 1); in scpi_probe() 972 INIT_LIST_HEAD(&pchan->rx_pending); in scpi_probe() 973 INIT_LIST_HEAD(&pchan->xfers_list); in scpi_probe() 974 spin_lock_init(&pchan->rx_lock); in scpi_probe() 975 mutex_init(&pchan in scpi_probe() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | chan.c | 262 nvkm_chan_del(struct nvkm_chan **pchan) in nvkm_chan_del() argument 264 struct nvkm_chan *chan = *pchan; in nvkm_chan_del() 296 nvkm_chan_put(struct nvkm_chan **pchan, unsigned long irqflags) in nvkm_chan_put() argument 298 struct nvkm_chan *chan = *pchan; in nvkm_chan_put() 303 *pchan = NULL; in nvkm_chan_put() 349 struct nvkm_memory *userd, u64 ouserd, struct nvkm_chan **pchan) in nvkm_chan_new_() 371 if (!(chan = *pchan = kzalloc(sizeof(*chan), GFP_KERNEL))) in nvkm_chan_new_() 346 nvkm_chan_new_(const struct nvkm_chan_func *func, struct nvkm_runl *runl, int runq, struct nvkm_cgrp *cgrp, const char *name, bool priv, u32 devm, struct nvkm_vmm *vmm, struct nvkm_dmaobj *dmaobj, u64 offset, u64 length, struct nvkm_memory *userd, u64 ouserd, struct nvkm_chan **pchan) nvkm_chan_new_() argument
|
/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | l2cap_sock.c | 1789 struct l2cap_chan *pchan = l2cap_pi(parent)->chan; in l2cap_sock_init() local 1794 chan->chan_type = pchan->chan_type; in l2cap_sock_init() 1795 chan->imtu = pchan->imtu; in l2cap_sock_init() 1796 chan->omtu = pchan->omtu; in l2cap_sock_init() 1797 chan->conf_state = pchan->conf_state; in l2cap_sock_init() 1798 chan->mode = pchan->mode; in l2cap_sock_init() 1799 chan->fcs = pchan->fcs; in l2cap_sock_init() 1800 chan->max_tx = pchan->max_tx; in l2cap_sock_init() 1801 chan->tx_win = pchan->tx_win; in l2cap_sock_init() 1802 chan->tx_win_max = pchan in l2cap_sock_init() [all...] |
/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | l2cap_sock.c | 1755 struct l2cap_chan *pchan = l2cap_pi(parent)->chan; in l2cap_sock_init() local 1760 chan->chan_type = pchan->chan_type; in l2cap_sock_init() 1761 chan->imtu = pchan->imtu; in l2cap_sock_init() 1762 chan->omtu = pchan->omtu; in l2cap_sock_init() 1763 chan->conf_state = pchan->conf_state; in l2cap_sock_init() 1764 chan->mode = pchan->mode; in l2cap_sock_init() 1765 chan->fcs = pchan->fcs; in l2cap_sock_init() 1766 chan->max_tx = pchan->max_tx; in l2cap_sock_init() 1767 chan->tx_win = pchan->tx_win; in l2cap_sock_init() 1768 chan->tx_win_max = pchan in l2cap_sock_init() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | base.c | 67 struct nvkm_fifo_chan **pchan) in nvkm_fifo_chan_put() 69 struct nvkm_fifo_chan *chan = *pchan; in nvkm_fifo_chan_put() 71 *pchan = NULL; in nvkm_fifo_chan_put() 66 nvkm_fifo_chan_put(struct nvkm_fifo *fifo, unsigned long flags, struct nvkm_fifo_chan **pchan) nvkm_fifo_chan_put() argument
|