Home
last modified time | relevance | path

Searched refs:mesg (Results 1 – 25 of 27) sorted by relevance

12

/drivers/spi/
A Dspi-sh.c150 static int spi_sh_send(struct spi_sh_data *ss, struct spi_message *mesg, in spi_sh_send() argument
197 if (list_is_last(&t->transfer_list, &mesg->transfers)) { in spi_sh_send()
272 struct spi_message *mesg) in spi_sh_transfer_one_message() argument
282 list_for_each_entry(t, &mesg->transfers, transfer_list) { in spi_sh_transfer_one_message()
289 ret = spi_sh_send(ss, mesg, t); in spi_sh_transfer_one_message()
294 ret = spi_sh_receive(ss, mesg, t); in spi_sh_transfer_one_message()
298 mesg->actual_length += t->len; in spi_sh_transfer_one_message()
301 mesg->status = 0; in spi_sh_transfer_one_message()
316 mesg->status = ret; in spi_sh_transfer_one_message()
318 if (mesg->complete) in spi_sh_transfer_one_message()
[all …]
A Dspi-fsi.c425 struct spi_message *mesg) in fsi_spi_transfer_one_message() argument
428 u8 seq_slave = SPI_FSI_SEQUENCE_SEL_SLAVE(spi_get_chipselect(mesg->spi, 0) + 1); in fsi_spi_transfer_one_message()
437 list_for_each_entry(transfer, &mesg->transfers, transfer_list) { in fsi_spi_transfer_one_message()
465 &mesg->transfers)) { in fsi_spi_transfer_one_message()
520 mesg->status = rc; in fsi_spi_transfer_one_message()
A Dspi.c2147 struct spi_message *mesg; in spi_finalize_current_message() local
2150 mesg = ctlr->cur_msg; in spi_finalize_current_message()
2163 spi_unmap_msg(ctlr, mesg); in spi_finalize_current_message()
2165 if (mesg->prepared && ctlr->unprepare_message) { in spi_finalize_current_message()
2166 ret = ctlr->unprepare_message(ctlr, mesg); in spi_finalize_current_message()
2173 mesg->prepared = false; in spi_finalize_current_message()
2175 spi_maybe_unoptimize_message(mesg); in spi_finalize_current_message()
2182 trace_spi_message_done(mesg); in spi_finalize_current_message()
2184 mesg->state = NULL; in spi_finalize_current_message()
2185 if (mesg->complete) in spi_finalize_current_message()
[all …]
A Dspi-pic32-sqi.c258 struct spi_message *mesg, in pic32_sqi_one_transfer() argument
261 struct spi_device *spi = mesg->spi; in pic32_sqi_one_transfer()
/drivers/misc/sgi-gru/
A Dgrukservices.c578 void *mesg) in send_noop_message() argument
584 struct message_header save_mhdr, *mhdr = mesg; in send_noop_message()
614 gru_vstore(cb, m, gru_get_tri(mesg), XTYPE_CL, 1, 1, in send_noop_message()
636 void *mesg, int lines) in send_message_queue_full() argument
667 if (send_noop_message(cb, mqd, mesg)) { in send_message_queue_full()
705 void *mesg, int lines) in send_message_put_nacked() argument
732 ret = send_noop_message(cb, mqd, mesg); in send_message_put_nacked()
753 void *mesg, int lines) in send_message_failure() argument
769 ret = send_message_queue_full(cb, mqd, mesg, lines); in send_message_failure()
777 ret = send_message_put_nacked(cb, mqd, mesg, lines); in send_message_failure()
[all …]
A Dgrukservices.h82 void *mesg, unsigned int bytes);
/drivers/iio/dac/
A Dti-dac082s085.c52 struct spi_message mesg; member
72 return spi_sync(ti_dac->mesg.spi, &ti_dac->mesg); in ti_dac_cmd()
281 spi_message_init_with_transfers(&ti_dac->mesg, &ti_dac->xfer, 1); in ti_dac_probe()
282 ti_dac->mesg.spi = spi; in ti_dac_probe()
/drivers/ata/
A Dacard-ahci.c65 static int acard_ahci_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg);
112 static int acard_ahci_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in acard_ahci_pci_device_suspend() argument
119 if (mesg.event & PM_EVENT_SUSPEND && in acard_ahci_pci_device_suspend()
126 if (mesg.event & PM_EVENT_SLEEP) { in acard_ahci_pci_device_suspend()
137 return ata_pci_device_suspend(pdev, mesg); in acard_ahci_pci_device_suspend()
A Dpata_triflex.c198 static int triflex_ata_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in triflex_ata_pci_device_suspend() argument
202 ata_host_suspend(host, mesg); in triflex_ata_pci_device_suspend()
A Dpata_cs5520.c253 static int cs5520_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in cs5520_pci_device_suspend() argument
257 ata_host_suspend(host, mesg); in cs5520_pci_device_suspend()
A Dpata_macio.c871 static int pata_macio_do_suspend(struct pata_macio_priv *priv, pm_message_t mesg) in pata_macio_do_suspend() argument
874 ata_host_suspend(priv->host, mesg); in pata_macio_do_suspend()
1223 static int pata_macio_suspend(struct macio_dev *mdev, pm_message_t mesg) in pata_macio_suspend() argument
1227 return pata_macio_do_suspend(host->private_data, mesg); in pata_macio_suspend()
1327 static int pata_macio_pci_suspend(struct pci_dev *pdev, pm_message_t mesg) in pata_macio_pci_suspend() argument
1331 return pata_macio_do_suspend(host->private_data, mesg); in pata_macio_pci_suspend()
A Data_piix.c992 static int piix_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in piix_pci_device_suspend() argument
997 ata_host_suspend(host, mesg); in piix_pci_device_suspend()
1004 if (piix_broken_suspend() && (mesg.event & PM_EVENT_SLEEP)) { in piix_pci_device_suspend()
1019 ata_pci_device_do_suspend(pdev, mesg); in piix_pci_device_suspend()
A Dlibata-core.c5216 ap->pm_mesg = mesg; in ata_port_request_pm()
5231 static void ata_port_suspend(struct ata_port *ap, pm_message_t mesg, in ata_port_suspend() argument
5250 ata_port_request_pm(ap, mesg, 0, in ata_port_suspend()
5285 static void ata_port_resume(struct ata_port *ap, pm_message_t mesg, in ata_port_resume() argument
5288 ata_port_request_pm(ap, mesg, ATA_EH_RESET, in ata_port_resume()
5373 void ata_host_suspend(struct ata_host *host, pm_message_t mesg) in ata_host_suspend() argument
5375 host->dev->power.power_state = mesg; in ata_host_suspend()
6282 if (mesg.event & PM_EVENT_SLEEP) in ata_pci_device_do_suspend()
6306 int ata_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in ata_pci_device_suspend() argument
6310 ata_host_suspend(host, mesg); in ata_pci_device_suspend()
[all …]
A Dsata_nv.c309 static int nv_adma_port_suspend(struct ata_port *ap, pm_message_t mesg);
331 static int nv_swncq_port_suspend(struct ata_port *ap, pm_message_t mesg);
1199 static int nv_adma_port_suspend(struct ata_port *ap, pm_message_t mesg) in nv_adma_port_suspend() argument
1810 static int nv_swncq_port_suspend(struct ata_port *ap, pm_message_t mesg) in nv_swncq_port_suspend() argument
A Dlibahci.c81 static int ahci_port_suspend(struct ata_port *ap, pm_message_t mesg);
2461 static int ahci_port_suspend(struct ata_port *ap, pm_message_t mesg) in ahci_port_suspend() argument
/drivers/gpio/
A Dgpio-max3191x.c81 struct spi_message mesg; member
117 val = spi_sync(spi, &max3191x->mesg); in max3191x_readout_locked()
400 spi_message_init_with_transfers(&max3191x->mesg, &max3191x->xfer, 1); in max3191x_probe()
/drivers/video/fbdev/nvidia/
A Dnvidia.c1045 static int nvidiafb_suspend_late(struct device *dev, pm_message_t mesg) in nvidiafb_suspend_late() argument
1050 if (mesg.event == PM_EVENT_PRETHAW) in nvidiafb_suspend_late()
1051 mesg.event = PM_EVENT_FREEZE; in nvidiafb_suspend_late()
1053 par->pm_state = mesg.event; in nvidiafb_suspend_late()
1055 if (mesg.event & PM_EVENT_SLEEP) { in nvidiafb_suspend_late()
1060 dev->power.power_state = mesg; in nvidiafb_suspend_late()
/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic_minidump.c1298 char mesg[64]; in qlcnic_dump_fw() local
1299 char *msg[] = {mesg, NULL}; in qlcnic_dump_fw()
1390 snprintf(mesg, sizeof(mesg), "FW_DUMP=%s", adapter->netdev->name); in qlcnic_dump_fw()
/drivers/video/fbdev/savage/
A Dsavagefb_driver.c2361 static int savagefb_suspend_late(struct device *dev, pm_message_t mesg) in savagefb_suspend_late() argument
2368 if (mesg.event == PM_EVENT_PRETHAW) in savagefb_suspend_late()
2369 mesg.event = PM_EVENT_FREEZE; in savagefb_suspend_late()
2370 par->pm_state = mesg.event; in savagefb_suspend_late()
2371 dev->power.power_state = mesg; in savagefb_suspend_late()
2377 if (mesg.event == PM_EVENT_FREEZE) in savagefb_suspend_late()
/drivers/video/fbdev/i810/
A Di810_main.c1567 static int i810fb_suspend(struct pci_dev *dev, pm_message_t mesg) in i810fb_suspend() argument
1572 par->cur_state = mesg.event; in i810fb_suspend()
1574 switch (mesg.event) { in i810fb_suspend()
1577 dev->dev.power.power_state = mesg; in i810fb_suspend()
1593 pci_set_power_state(dev, pci_choose_state(dev, mesg)); in i810fb_suspend()
/drivers/video/fbdev/aty/
A Dradeon_pm.c2613 static int radeonfb_pci_suspend_late(struct device *dev, pm_message_t mesg) in radeonfb_pci_suspend_late() argument
2619 if (mesg.event == pdev->dev.power.power_state.event) in radeonfb_pci_suspend_late()
2623 pci_name(pdev), mesg.event); in radeonfb_pci_suspend_late()
2630 switch (mesg.event) { in radeonfb_pci_suspend_late()
2697 pdev->dev.power.power_state = mesg; in radeonfb_pci_suspend_late()
/drivers/base/
A Dplatform.c1095 static int platform_legacy_suspend(struct device *dev, pm_message_t mesg) in platform_legacy_suspend() argument
1102 ret = pdrv->suspend(pdev, mesg); in platform_legacy_suspend()
/drivers/scsi/
A Dmesh.c1756 static int mesh_suspend(struct macio_dev *mdev, pm_message_t mesg) in mesh_suspend() argument
1761 switch (mesg.event) { in mesh_suspend()
/drivers/video/fbdev/
A Datmel_lcdfb.c1258 static int atmel_lcdfb_suspend(struct platform_device *pdev, pm_message_t mesg) in atmel_lcdfb_suspend() argument
/drivers/video/fbdev/omap/
A Domapfb_main.c1809 static int omapfb_suspend(struct platform_device *pdev, pm_message_t mesg) in omapfb_suspend() argument

Completed in 102 milliseconds

12